summaryrefslogtreecommitdiff
path: root/kvm_x86.c
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-08-09 20:16:37 -0700
committerBryan Cantrill <bryan@joyent.com>2011-08-09 20:16:37 -0700
commit06b94f79e459c7c9a936aee0404e06dc547350a5 (patch)
treea82be76740d2e1deb11bd94c3d3c49a242eb1230 /kvm_x86.c
parent9e5869ee0361462beb09936ef2b466a671988eea (diff)
downloadillumos-kvm-06b94f79e459c7c9a936aee0404e06dc547350a5.tar.gz
HVM-590 yet more XXX cleanup
Diffstat (limited to 'kvm_x86.c')
-rw-r--r--kvm_x86.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/kvm_x86.c b/kvm_x86.c
index f272e2b..a56e468 100644
--- a/kvm_x86.c
+++ b/kvm_x86.c
@@ -4650,19 +4650,13 @@ kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu)
{
int r;
-#ifdef XXX
- /* We do fxsave: this must be aligned. */
- BUG_ON((unsigned long)&vcpu->arch.host_fx_image & 0xF);
-#else
- XXX_KVM_PROBE;
-#endif
-
vcpu->arch.mtrr_state.have_fixed = 1;
vcpu_load(vcpu);
r = kvm_arch_vcpu_reset(vcpu);
if (r == 0)
r = kvm_mmu_setup(vcpu);
+
vcpu_put(vcpu);
if (r < 0)
goto free_vcpu;