- kvm-vmx-hack-set_cr0_no_modeswitch-to-actually-do.patch removed from -mm tree

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

 



The patch titled
     KVM: vmx: hack set_cr0_no_modeswitch() to actually do modeswitch
has been removed from the -mm tree.  Its filename was
     kvm-vmx-hack-set_cr0_no_modeswitch-to-actually-do.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: KVM: vmx: hack set_cr0_no_modeswitch() to actually do modeswitch
From: Markus Rechberger <markus.rechberger@xxxxxxx>

The whole thing is rotten, but this allows vmx to boot with the guest reboot
fix.

Signed-off-by: Markus Rechberger <markus.rechberger@xxxxxxx>
Signed-off-by: Joerg Roedel <joerg.roedel@xxxxxxx>
Signed-off-by: Avi Kivity <avi@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

diff -puN drivers/kvm/vmx.c~kvm-vmx-hack-set_cr0_no_modeswitch-to-actually-do drivers/kvm/vmx.c
--- a/drivers/kvm/vmx.c~kvm-vmx-hack-set_cr0_no_modeswitch-to-actually-do
+++ a/drivers/kvm/vmx.c
@@ -791,6 +791,9 @@ static void vmx_set_cr0(struct kvm_vcpu 
  */
 static void vmx_set_cr0_no_modeswitch(struct kvm_vcpu *vcpu, unsigned long cr0)
 {
+	if (!vcpu->rmode.active && !(cr0 & CR0_PE_MASK))
+		enter_rmode(vcpu);
+
 	vcpu->rmode.active = ((cr0 & CR0_PE_MASK) == 0);
 	update_exception_bitmap(vcpu);
 	vmcs_writel(CR0_READ_SHADOW, cr0);
_

Patches currently in -mm which might be from markus.rechberger@xxxxxxx are

git-kvm.patch
pcmcia-pccard-deadlock-fix.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