Skip to contentSkip to conversation

vvmx: fix intended assignment

PATCH Applied Jan Beulich 4 participants 5 messages Dec 1, 2011 – Dec 2, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vvmx: fix intended assignment

Quoted 1 line

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).

xen/arch/x86/hvm/vmx/vvmx.c +1 -1
@@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu
     __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] ) {

vvmx: fix intended assignment

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).

xen/arch/x86/hvm/vmx/vvmx.c +1 -1
@@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu
     __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] ) {

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hi, Jan,

I think you cannot cc He Qing any more. As He Qing (who had done some work on nested) has left Intel, while this email address is going to another people who just has the same name.

Shan Haitao

Quoted 18 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Jan Beulich
Sent: Thursday, December 01, 2011 6:51 PM
To: [email protected]
Cc: Dong, Eddie; Tim Deegan; He, Qing
Subject: [Xen-devel] [PATCH] vvmx: fix intended assignment

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).

xen/arch/x86/hvm/vmx/vvmx.c static void nvmx_purge_vvmcs(struct vcpu · line 587

Quoted 8 lines
xen/arch/x86/hvm/vmx/vvmx.c +1 -1
@@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu
     __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] ) {

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 2 lines · Haitao

Hi, Jan,

Hello,

Quoted 4 lines

I think you cannot cc He Qing any more. As He Qing (who had done some work on nested) has left Intel, while this email address is going to another people who just has the same name.

Is there anyone from Intel currently working on nested virt?

-- Pasi

Quoted 36 lines

Shan Haitao

Quoted 18 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Jan Beulich
Sent: Thursday, December 01, 2011 6:51 PM
To: [email protected]
Cc: Dong, Eddie; Tim Deegan; He, Qing
Subject: [Xen-devel] [PATCH] vvmx: fix intended assignment

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).

xen/arch/x86/hvm/vmx/vvmx.c static void nvmx_purge_vvmcs(struct vcpu · line 587

Quoted 8 lines
xen/arch/x86/hvm/vmx/vvmx.c +1 -1
@@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu
     __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] ) {

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

You can still contact Dong Eddie for nested virtualization topics.

Shan Haitao

Quoted 33 lines

-----Original Message-----
From: Pasi Kärkkäinen [mailto:[email protected]]
Sent: Friday, December 02, 2011 2:07 AM
To: Shan, Haitao
Cc: Jan Beulich; [email protected]; Dong, Eddie; Tim Deegan; He, Qing
Subject: Re: [Xen-devel] [PATCH] vvmx: fix intended assignment

Quoted 2 lines · Haitao

Hi, Jan,

Hello,

Quoted 4 lines

I think you cannot cc He Qing any more. As He Qing (who had done some work on nested) has left Intel, while this email address is going to another people who just has the same name.

Is there anyone from Intel currently working on nested virt?

-- Pasi

Quoted 10 lines

Shan Haitao

Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Jan Beulich
Sent: Thursday, December 01, 2011 6:51 PM
To: [email protected]
Cc: Dong, Eddie; Tim Deegan; He, Qing
Subject: [Xen-devel] [PATCH] vvmx: fix intended assignment

Quoted 27 lines
Quoted 2 lines
Quoted 2 lines

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).

Quoted 24 lines
Quoted 8 lines

xen/arch/x86/hvm/vmx/vvmx.c static void nvmx_purge_vvmcs(struct vcpu · line 587

Quoted 8 lines
xen/arch/x86/hvm/vmx/vvmx.c +1 -1
@@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu
     __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] ) {

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#4 lore raw
In reply to Jan Beulich
Quoted 11 lines · Jan Beulich

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).

xen/arch/x86/hvm/vmx/vvmx.c static void nvmx_purge_vvmcs(struct vcpu · line 587

Quoted 8 lines
xen/arch/x86/hvm/vmx/vvmx.c +1 -1
@@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu
     __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] ) {

Applied, thanks.

Tim.