Re: [PATCH 9/24] Implement VMCLEAR

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

 



 On 08/05/2010 03:01 PM, Nadav Har'El wrote:
On Thu, Aug 05, 2010, Gleb Natapov wrote about "Re: [PATCH 9/24] Implement VMCLEAR":
In any case, I don't think this should be considered an internal error, or
that we have a reason to exit to user space in this case.

But you can't emulate this either, no?
I could, if I knew what to emulate ;-) Does anybody know what a real processor
with VMX does when you give it VMCLEAR with a physical address which is beyond
the amount of available memory? If the answer was "it throws #GP" or "it
does VMFail(Invalid Physical Address) or something of this sort, I could
easily do this in the emulation too - I just don't know yet what it does...

As far as the processor is concerned, there is no end to physical memory. The VMCLEAR will write some stuff out, and the chipset will throw it away. However, eventually the guest will crash and burn, better to take it out in a controlled way.


--
error compiling committee.c: too many arguments to function

--
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