kvm-testsuite: Fix halt callback
PATCH 1/1 kvm-testsuite: Fix halt callback
Change halt callback in testsuite to conform with latest refactorings.
Signed-off-by Jan Kiszka <[email protected]>
---
user/main.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
user/main.c +2 -3
@@ -304,13 +304,12 @@ static int test_debug(void *opaque, void *vcpu)return 0 ; } -static int test_halt (void *opaque,void *_vcpu) +static int test_halt (void *opaque,int vcpu) { -struct vcpu_info *vcpu = _vcpu;int n;sigwait (&ipi_sigmask, &n); -kvm_inject_irq (kvm, vcpu->id, apic_ipi_vector); +kvm_inject_irq (kvm, vcpus[vcpu].id, apic_ipi_vector);return 0 ; }
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 ES-OS Corporate Competence Center Embedded Linux
Avi Kivity
AppliedQuoted 3 lines · Jan Kiszka
Change halt callback in testsuite to conform with latest refactorings.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function