Hello All,
I was reading code of launching and resuming the VM code. While
reading code I came across a small typo. I am not sure if it is
important/necessary to make this change. Anyways here is the patch
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 200533e..990a67a 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3923,7 +3923,7 @@ static void noinline do_vmx_vcpu_run(struct
kvm_vcpu *vcpu)
"je 2f \n\t"
"mov %%"R"ax, %%cr2 \n\t"
"2: \n\t"
- /* Check if vmlaunch of vmresume is needed */
+ /* Check if vmlaunch or vmresume is needed */
"cmpl $0, %c[launched](%0) \n\t"
/* Load guest registers. Don't clobber flags. */
"mov %c[rax](%0), %%"R"ax \n\t"
---
Signed-off-by: Prasad Joshi<[email protected]>
Thanks and Regards,
Prasad
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html