Re: [PATCH] kvm tools, vesa: Use guest-mapped memory for framebuffer

2011-06-06 Thread Pekka Enberg
On Mon, 2011-06-06 at 15:56 +0200, Alexander Graf wrote: > > @@ -216,7 +216,7 @@ void kvm__init_ram(struct kvm *kvm) > > phys_size = kvm->ram_size - phys_size; > > host_mem = kvm->ram_start + phys_start; > > > > - kvm_register_mem_slot(kvm, 1, phys_start, phys_

Re: [PATCH] kvm tools, vesa: Use guest-mapped memory for framebuffer

2011-06-06 Thread Alexander Graf
On 06.06.2011, at 15:51, Pekka Enberg wrote: > This patch converts hw/vesa.c to use guest-mapped memory for framebuffer and > drops the slow MMIO emulation. This speeds up framebuffer accesses > considerably. Please note that this can be optimized even more with the > KVM_GET_DIRTY_LOG ioctl() as

[PATCH] kvm tools, vesa: Use guest-mapped memory for framebuffer

2011-06-06 Thread Pekka Enberg
This patch converts hw/vesa.c to use guest-mapped memory for framebuffer and drops the slow MMIO emulation. This speeds up framebuffer accesses considerably. Please note that this can be optimized even more with the KVM_GET_DIRTY_LOG ioctl() as explained by Alexander Graf. Cc: Alexander Graf Cc: