hyperv: qom-ify SynIC
commit606c34bfd57a0ecda67b395bea022bb307a5384e
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 21 Sep 2018 08:22:09 +0000 (21 11:22 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:14 +0000 (19 13:44 +0200)
tree448b94dd535847b0cd358a13332e46085d563c6f
parent729ce7e1b6b6e035012544f51878d1ef5864bf39
hyperv: qom-ify SynIC

Make Hyper-V SynIC a device which is attached as a child to a CPU.  For
now it only makes SynIC visibile in the qom hierarchy, and maintains its
internal fields in sync with the respecitve msrs of the parent cpu (the
fields will be used in followup patches).

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