From: Wincy Van Date: Thu, 11 Dec 2014 05:52:58 +0000 (+0300) Subject: KVM: nVMX: Add nested msr load/restore algorithm X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~97^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff651cb613b4cc8aa2e4284525948872b4d77d66;p=pandora-kernel.git KVM: nVMX: Add nested msr load/restore algorithm Several 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, writing 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. Signed-off-by: Wincy Van Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed