diff options
author | Bryan Cantrill <bryan@joyent.com> | 2011-08-06 18:52:54 -0700 |
---|---|---|
committer | Bryan Cantrill <bryan@joyent.com> | 2011-08-06 18:52:54 -0700 |
commit | a72ed4a6406c2f906e2b2e50ce57c7e35858199c (patch) | |
tree | a4c557ff365790e8acdc7c2506f3b1f7fb6bf86e /kvm_x86.c | |
parent | 9e952eddf9817156c9eb424200bc47464ff2433a (diff) | |
download | illumos-kvm-a72ed4a6406c2f906e2b2e50ce57c7e35858199c.tar.gz |
HVM-566 KVM: Don't allow lmsw to clear cr0.pe
Diffstat (limited to 'kvm_x86.c')
-rw-r--r-- | kvm_x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -440,7 +440,7 @@ kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) void kvm_lmsw(struct kvm_vcpu *vcpu, unsigned long msw) { - kvm_set_cr0(vcpu, kvm_read_cr0_bits(vcpu, ~0x0ful) | (msw & 0x0f)); + kvm_set_cr0(vcpu, kvm_read_cr0_bits(vcpu, ~0x0eul) | (msw & 0x0f)); } void |