diff options
author | Max Bruning <max@joyent.com> | 2011-06-14 05:42:08 -0700 |
---|---|---|
committer | Max Bruning <max@joyent.com> | 2011-06-14 05:42:08 -0700 |
commit | 01d2951db24a5e797b59f241e98efc8aa6397e68 (patch) | |
tree | 7984cf6b9d6ad91a225d984de1d335b355b67ddc /kvm_vmx.c | |
parent | f2ea4b24b0888a77328071b34cffabf7898848cf (diff) | |
download | illumos-kvm-01d2951db24a5e797b59f241e98efc8aa6397e68.tar.gz |
HVM-331 Implement XXXs in vmx_create_vcpu
Diffstat (limited to 'kvm_vmx.c')
-rw-r--r-- | kvm_vmx.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -4349,16 +4349,9 @@ vmx_create_vcpu(struct kvm *kvm, unsigned int id) free_vmcs: kmem_free(vmx->vmcs, PAGESIZE); vmx->vmcs = 0; -#ifdef XXX -free_msrs: - kfree(vmx->guest_msrs); -uninit_vcpu: + kmem_free(vmx->guest_msrs, PAGESIZE); kvm_vcpu_uninit(&vmx->vcpu); -free_vcpu: kmem_cache_free(kvm_vcpu_cache, vmx); -#else - XXX_KVM_PROBE; -#endif return (NULL); } |