Re: [PATCH] KVM: x86: Introduce segmented_write_std

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

 




On 20/01/2017 17:55, Jim Mattson wrote:
> Why attempt to emulate these instructions at all, if we're not going
> to handle a data access to emulated/special memory?
> 
> It seems that one of the following three cases must hold:
> 
> 1) The data accessed by the instruction is emulated/special memory.
> 2) The instruction was fetched from emulated/special memory.
> 3) The instruction has been modified since the VM-exit.

4) The processor is in big real mode and you don't have unrestricted
guest support in your processor (or you disabled EPT).

Paolo

> The proposed patch is incorrect for case (1). Case (2) violates the
> emulator's assumptions outlined in kvm_emulate.h. Case (3) seems best
> handled by simply re-entering VMX non-root mode.
--
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