Re: [PATCH 1/4] kvm: provide synchronous registers in kvm_run

2012-01-09 Thread Alexander Graf
On 05.01.2012, at 10:54, Christian Borntraeger wrote: On some cpus the overhead for virtualization instructions is in the same range as a system call. Having to call multiple ioctls to get set registers will make certain userspace handled exits more expensive than necessary. Lets provide two

Re: [PATCH 1/4] kvm: provide synchronous registers in kvm_run

2012-01-09 Thread Avi Kivity
On 01/09/2012 03:01 PM, Alexander Graf wrote: On 05.01.2012, at 10:54, Christian Borntraeger wrote: On some cpus the overhead for virtualization instructions is in the same range as a system call. Having to call multiple ioctls to get set registers will make certain userspace handled exits

[PATCH 1/4] kvm: provide synchronous registers in kvm_run

2012-01-05 Thread Christian Borntraeger
On some cpus the overhead for virtualization instructions is in the same range as a system call. Having to call multiple ioctls to get set registers will make certain userspace handled exits more expensive than necessary. Lets provide two sections in kvm_run to have a shared save area for guest