Re: [PATCHv2] KVM: emulator: do not needlesly sync registers from emulator ctxt to vcpu

2011-04-14 Thread Marcelo Tosatti
On Thu, Mar 31, 2011 at 12:06:41PM +0200, Gleb Natapov wrote: Currently we sync registers back and forth before/after exiting to userspace for IO, but during IO device model shouldn't need to read/write the registers, so we can as well skip those sync points. The only exaception is broken

[PATCHv2] KVM: emulator: do not needlesly sync registers from emulator ctxt to vcpu

2011-03-31 Thread Gleb Natapov
Currently we sync registers back and forth before/after exiting to userspace for IO, but during IO device model shouldn't need to read/write the registers, so we can as well skip those sync points. The only exaception is broken vmware backdor interface. The new code sync registers content during