hyperv_testdev: add SynIC message and event testmodes
commit6738ccfff0043b9fd6ecc823884c6f114a35a3c5
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 21 Sep 2018 08:22:17 +0000 (21 11:22 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:14 +0000 (19 13:44 +0200)
tree5deee956ce88a67f84d359b7809dfdefaa5e40ba
parent76036a5fc7ca632f805748aeef416355b1d212a3
hyperv_testdev: add SynIC message and event testmodes

Add testmodes for SynIC messages and events.  The message or event
connection setup / teardown is initiated by the guest via new control
codes written to the test device port.  Then the test connections bounce
the respective operations back to the guest, i.e. the incoming messages
are posted or the incoming events are signaled on the configured vCPUs.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/hyperv/hyperv_testdev.c