Re: KVM: x86: stop IO emulation cycle if instruction pointer is modified

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 06, 2013 at 10:41:12AM +0300, Gleb Natapov wrote:
> On Fri, Jul 05, 2013 at 04:16:55PM -0300, Marcelo Tosatti wrote:
> > 
> > MMIO/PIO emulation should be interrupted if the system is restarted.
> > Otherwise in progress IO emulation continues at the instruction pointer,
> > even after vcpus' IP has been modified by KVM_SET_REGS.
> > 
> > Use IP change as an indicator to reset MMIO/PIO emulation state.
> > 
> Userspace has to return to the kernel to complete pending IO operation.
> This is documented in Documentation/virtual/kvm/api.txt. If this is not
> what program does it is a bug. What userspace you see the problem with?

You're right, this patch should not be necessary.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux