Re: Nested paging in nested SVM setup

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

 



On 02.09.2014 15:45, Paolo Bonzini wrote:
This *is* different though.  I don't see any kvm_inj_exception at all
(with my patch it should be for vector 0xfe).
I've applied the part of your patch, that fixes the uninitialized exception vector problem, otherwise the lockup will trigger before my code will have chance to hang on APIC. Namely, I did the following change:

--- a/arch/x86/kvm/paging_tmpl.h	2014-09-02 21:53:26.035112557 +0600
+++ b/arch/x86/kvm/paging_tmpl.h	2014-09-02 21:53:46.145110721 +0600
@@ -366,7 +366,7 @@

 	real_gpa = mmu->translate_gpa(vcpu, gfn_to_gpa(gfn), access);
 	if (real_gpa == UNMAPPED_GVA)
-		return 0;
+		goto error;

 	walker->gfn = real_gpa >> PAGE_SHIFT;

So they should look like regular page faults (as they ought to, I guess) now.

Thanks,
Valentine
--
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