From: Paul Durrant Date: Wed, 11 Nov 2020 13:10:50 +0000 (+0000) Subject: debug X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fex-processor-masks2;p=people%2Fpauldu%2Fxen.git debug Signed-off-by: Paul Durrant --- diff --git a/xen/arch/x86/hvm/viridian/viridian.c b/xen/arch/x86/hvm/viridian/viridian.c index 0f34a5223a..2b558a6fb8 100644 --- a/xen/arch/x86/hvm/viridian/viridian.c +++ b/xen/arch/x86/hvm/viridian/viridian.c @@ -679,6 +679,13 @@ static int hvcall_flush(union hypercall_input *input, uint64_t flags; uint64_t vcpu_mask; } input_params; + static bool called; + + if ( !called ) + { + printk("%s: called\n", __func__); + called = true; + } /* These hypercalls should never use the fast-call convention. */ if ( input->fast ) @@ -736,6 +743,13 @@ static int hvcall_flush_ex(union hypercall_input *input, uint64_t flags; struct hv_vpset set; } input_params; + static bool called; + + if ( !called ) + { + printk("%s: called\n", __func__); + called = true; + } /* These hypercalls should never use the fast-call convention. */ if ( input->fast ) @@ -816,6 +830,13 @@ static int hvcall_ipi(union hypercall_input *input, uint32_t vector; uint64_t vcpu_mask; unsigned int vp; + static bool called; + + if ( !called ) + { + printk("%s: called\n", __func__); + called = true; + } /* Get input parameters. */ if ( input->fast ) @@ -885,6 +906,13 @@ static int hvcall_ipi_ex(union hypercall_input *input, struct hv_vpset *set = &vpset->set; size_t size; int rc; + static bool called; + + if ( !called ) + { + printk("%s: called\n", __func__); + called = true; + } /* These hypercalls should never use the fast-call convention. */ if ( input->fast )