]> git.proxmox.com Git - mirror_qemu.git/commit
hyperv: allow passing arbitrary data to sint ack callback
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 21 Sep 2018 08:18:33 +0000 (11:18 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:13 +0000 (13:44 +0200)
commitb56920245c1f708976b6f1bf8ddc4a1e9bd33059
tree0d759a198f2be17db5fdb4a55eb2c90756b15ea9
parentbd4ed63caafe0bd14393db0d7ef3a70860ec6f2d
hyperv: allow passing arbitrary data to sint ack callback

Make sint ack callback accept an opaque pointer, that is stored on
sint_route at creation time.

This allows for more convenient interaction with the callback.

Besides, nothing outside hyperv.c should need to know the layout of
HvSintRoute fields any more so its declaration can be removed from the
header.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Message-Id: <20180921081836.29230-6-rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/misc/hyperv_testdev.c
target/i386/hyperv.c
target/i386/hyperv.h