summaryrefslogtreecommitdiff
path: root/kvm_emulate.c
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-05-10 11:56:32 -0700
committerBryan Cantrill <bryan@joyent.com>2011-05-10 11:56:32 -0700
commit0432cb090d27b1273b6829913deaf596436d0f6e (patch)
tree5d33d9bf70391d72bad96c28fc4503ecd6d2f0c9 /kvm_emulate.c
parent230157ff9133a25a5bfb58fd166a15eb8363e687 (diff)
downloadillumos-kvm-0432cb090d27b1273b6829913deaf596436d0f6e.tar.gz
realmode_lmsw() not implemented
Diffstat (limited to 'kvm_emulate.c')
-rw-r--r--kvm_emulate.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kvm_emulate.c b/kvm_emulate.c
index e25c0c4..8cece7d 100644
--- a/kvm_emulate.c
+++ b/kvm_emulate.c
@@ -69,6 +69,7 @@ extern void kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
extern void kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3);
extern void kvm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4);
extern void kvm_set_cr8(struct kvm_vcpu *vcpu, unsigned long cr8);
+extern void kvm_lmsw(struct kvm_vcpu *vcpu, unsigned long msw);
extern gpa_t kvm_mmu_gva_to_gpa_write(struct kvm_vcpu *vcpu, gva_t gva,
uint32_t *error);
extern int kvm_get_msr(struct kvm_vcpu *vcpu, uint32_t msr_index,
@@ -1938,11 +1939,7 @@ realmode_lidt(struct kvm_vcpu *vcpu, uint16_t limit, unsigned long base)
void
realmode_lmsw(struct kvm_vcpu *vcpu, unsigned long msw, unsigned long *rflags)
{
-#ifdef XXX
kvm_lmsw(vcpu, msw);
-#else
- XXX_KVM_PROBE;
-#endif
*rflags = kvm_get_rflags(vcpu);
}