On Tue, Jul 06, 2010, Dong, Eddie wrote about "RE: [PATCH 10/24] Implement VMPTRLD": > Nadav Har'El wrote: > > This patch implements the VMPTRLD instruction. >.. > > +/* Emulate the VMPTRLD instruction */ > > +static int handle_vmptrld(struct kvm_vcpu *vcpu) > > +{ >.. > > How about the "Launch" status? Should we get that status from vmcs1x to distinguish guest VMLaunch & VMResume? What do you mean? What does VMPTRLD need to do with the launch status? The VMCLEAR and VMLAUNCH/VMRESUME emulation need to clear and check the emulated-VMX launch status (which we called vmcs12->launch_state), and indeed they already do so (that code appears in other patches, not this specific one). -- Nadav Har'El | Thursday, Aug 5 2010, 25 Av 5770 nyh@xxxxxxxxxxxxxxxxxxx |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |I am not a complete idiot - some parts http://nadav.harel.org.il |are missing. -- 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