hyperv: process POST_MESSAGE hypercall
commit76036a5fc7ca632f805748aeef416355b1d212a3
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 21 Sep 2018 08:22:16 +0000 (21 11:22 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:14 +0000 (19 13:44 +0200)
tree88ecf75fe76e18d8bdd4f13f206236b97fc36b63
parent8d3bc0b75318dce70928b8bde1a49e632adf5137
hyperv: process POST_MESSAGE hypercall

Add handling of POST_MESSAGE hypercall.  For that, add an interface to
regsiter a handler for the messages arrived from the guest on a
particular connection id (IOW set up a message connection in Hyper-V
speak).

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Message-Id: <20180921082217.29481-10-rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/hyperv/hyperv.c
include/hw/hyperv/hyperv.h
target/i386/hyperv.c