[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54703BB4.1040306@web.de>
Date: Sat, 22 Nov 2014 08:31:00 +0100
From: Jan Kiszka <jan.kiszka@....de>
To: Wincy Van <fanwenyi0529@...il.com>,
Paolo Bonzini <pbonzini@...hat.com>
CC: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Bandan Das <bsd@...hat.com>
Subject: Re: [PATCH] KVM: nVMX: nested MSR auto load/restore emulation.
On 2014-11-22 05:24, Wincy Van wrote:
> Some hypervisors need MSR auto load/restore feature.
>
> We read MSRs from vm-entry MSR load area which specified by L1,
> and load them via kvm_set_msr in the nested entry.
> When nested exit occurs, we get MSRs via kvm_get_msr, writting
> them to L1`s MSR store area. After this, we read MSRs from vm-exit
> MSR load area, and load them via kvm_set_msr.
>
> VirtualBox will work fine with this patch.
Cool! This feature is long overdue.
Patch is unfortunately misformatted which makes it very hard to read.
Please check via linux/scripts/checkpatch.pl for the proper style.
Could you also write a corresponding kvm-unit-test (see x86/vmx_tests.c)?
Jan
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists