vvmx: fix intended assignment
authorJan Beulich <jbeulich@suse.com>
Thu, 1 Dec 2011 15:24:19 +0000 (15:24 +0000)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Dec 2011 15:24:19 +0000 (15:24 +0000)
From what I can tell, this was supposed to be an assignment (not warned
about by the compiler due to -Wno-unused, which is about to be removed).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/hvm/vmx/vvmx.c

index 571c2544c9e23d5b30a1edc9949e47dd36b799f9..3d7092bbef12f5e2bb98df87e8662e73de9f304a 100644 (file)
@@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu *v)
     __clear_current_vvmcs(v);
     if ( nvcpu->nv_vvmcxaddr != VMCX_EADDR )
         hvm_unmap_guest_frame(nvcpu->nv_vvmcx);
-    nvcpu->nv_vvmcx == NULL;
+    nvcpu->nv_vvmcx = NULL;
     nvcpu->nv_vvmcxaddr = VMCX_EADDR;
     for (i=0; i<2; i++) {
         if ( nvmx->iobitmap[i] ) {