+ kvm-less-common-exit-handlers-handle-rdmsrmsr_efer.patch added to -mm tree

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

 



The patch titled
     KVM: Handle rdmsr(MSR_EFER)
has been added to the -mm tree.  Its filename is
     kvm-less-common-exit-handlers-handle-rdmsrmsr_efer.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: KVM: Handle rdmsr(MSR_EFER)
From: Yaniv Kamay <yaniv@xxxxxxxxxxxx>

Allow guests to read the EFER msr.

Signed-off-by: Yaniv Kamay <yaniv@xxxxxxxxxxxx>
Signed-off-by: Avi Kivity <avi@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/kvm/kvm_main.c |    3 +++
 1 files changed, 3 insertions(+)

diff -puN drivers/kvm/kvm_main.c~kvm-less-common-exit-handlers-handle-rdmsrmsr_efer drivers/kvm/kvm_main.c
--- a/drivers/kvm/kvm_main.c~kvm-less-common-exit-handlers-handle-rdmsrmsr_efer
+++ a/drivers/kvm/kvm_main.c
@@ -2284,6 +2284,9 @@ static int handle_rdmsr(struct kvm_vcpu 
 	case MSR_GS_BASE:
 		data = vmcs_readl(GUEST_GS_BASE);
 		break;
+	case MSR_EFER:
+		data = vcpu->shadow_efer;
+		break;
 #endif
 	case MSR_IA32_SYSENTER_CS:
 		data = vmcs_read32(GUEST_SYSENTER_CS);
_

Patches currently in -mm which might be from yaniv@xxxxxxxxxxxx are

kvm-userspace-interface.patch
kvm-intel-virtual-mode-extensions-definitions.patch
kvm-kvm-data-structures.patch
kvm-random-accessors-and-constants.patch
kvm-virtualization-infrastructure.patch
kvm-virtualization-infrastructure-fix-segment-state-changes-across-processor-mode-switches.patch
kvm-memory-slot-management.patch
kvm-vcpu-creation-and-maintenance.patch
kvm-vcpu-execution-loop.patch
kvm-define-exit-handlers.patch
kvm-less-common-exit-handlers.patch
kvm-less-common-exit-handlers-handle-rdmsrmsr_efer.patch
kvm-mmu.patch
kvm-x86-emulator.patch
kvm-pass-fs-gs-segment-bases-to-x86-emulator.patch
kvm-fix-mmu-reset-locking-when-setting-cr0.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux