Skip to contentSkip to conversation

tools/misc/xen-hvmctx: fix the build

PATCH In review Paul Durrant 2 participants 2 messages Jan 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/misc/xen-hvmctx: fix the build

The recent commit 66bf4ef0 "x86/hvm: re-work viridian APIC assist code" modified one of the field names in struct hvm_viridian_vcpu_context but did not accordingly modify xen-hvmctx, leading to a failure to build tools.

This patch makes the necessary change to fix the build.

---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>

---
 tools/misc/xen-hvmctx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/misc/xen-hvmctx.c +2 -2
index bde41f3816..026bed8134 100644
@@ -379,9 +379,9 @@ static void dump_viridian_vcpu(void)
 {
     HVM_SAVE_TYPE(VIRIDIAN_VCPU) p;
     READ(p);
-    printf("    VIRIDIAN_VCPU: vp_assist_msr 0x%llx, vp_assist_vector 0x%x\n",
+    printf("    VIRIDIAN_VCPU: vp_assist_msr 0x%llx, vp_assist_pending %s\n",
 	   (unsigned long long) p.vp_assist_msr,
-	   p.vp_assist_vector);
+	   p.vp_assist_pending ? "true" : "false");
 }
 
 static void dump_vmce_vcpu(void)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Paul Durrant

The recent commit 66bf4ef0 "x86/hvm: re-work viridian APIC assist code" modified one of the field names in struct hvm_viridian_vcpu_context but did not accordingly modify xen-hvmctx, leading to a failure to build tools.

This patch makes the necessary change to fix the build.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel