tools/misc/xen-hvmctx: fix the build
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
@@ -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
Quoted 7 lines · Paul Durrant
The recent commit
66bf4ef0"x86/hvm: re-work viridian APIC assist code" modified one of the field names in structhvm_viridian_vcpu_contextbut did not accordingly modify xen-hvmctx, leading to a failure to build tools.This patch makes the necessary change to fix the build.
Signed-off-by Paul Durrant <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel