xen: introduce new 'XenBus' and 'XenDevice' object hierarchy
commit108f7bba15d6ee4136b543fc22005921e7ce4048
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 8 Jan 2019 14:48:47 +0000 (8 14:48 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 14 Jan 2019 13:45:40 +0000 (14 13:45 +0000)
tree112e8a69a89c8e22eec750b313c35b1fb4e24e8e
parent2d0ed5e642d597f031a35c6f804b49ec438aef22
xen: introduce new 'XenBus' and 'XenDevice' object hierarchy

This patch adds the basic boilerplate for a 'XenBus' object that will act
as a parent to 'XenDevice' PV backends.
A new 'XenBridge' object is also added to connect XenBus to the system bus.

The XenBus object is instantiated by a new xen_bus_init() function called
from the same sites as the legacy xen_be_init() function.

Subsequent patches will flesh-out the functionality of these objects.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Anthony Perard <anthony.perard@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
hw/i386/xen/xen-hvm.c
hw/xen/Makefile.objs
hw/xen/trace-events
hw/xen/xen-bus.c [new file with mode: 0644]
hw/xenpv/xen_machine_pv.c
include/hw/xen/xen-bus.h [new file with mode: 0644]