|
@@ -13,6 +13,7 @@
|
|
#include "hw/sysbus.h"
|
|
#include "hw/sysbus.h"
|
|
#include "hw/xen/xen.h"
|
|
#include "hw/xen/xen.h"
|
|
#include "hw/xen/xen-backend.h"
|
|
#include "hw/xen/xen-backend.h"
|
|
|
|
+#include "hw/xen/xen-legacy-backend.h" /* xen_be_init() */
|
|
#include "hw/xen/xen-bus.h"
|
|
#include "hw/xen/xen-bus.h"
|
|
#include "hw/xen/xen-bus-helper.h"
|
|
#include "hw/xen/xen-bus-helper.h"
|
|
#include "monitor/monitor.h"
|
|
#include "monitor/monitor.h"
|
|
@@ -329,6 +330,9 @@ static void xen_bus_realize(BusState *bus, Error **errp)
|
|
goto fail;
|
|
goto fail;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /* Initialize legacy backend core & drivers */
|
|
|
|
+ xen_be_init();
|
|
|
|
+
|
|
if (xs_node_scanf(xenbus->xsh, XBT_NULL, "", /* domain root node */
|
|
if (xs_node_scanf(xenbus->xsh, XBT_NULL, "", /* domain root node */
|
|
"domid", NULL, "%u", &domid) == 1) {
|
|
"domid", NULL, "%u", &domid) == 1) {
|
|
xenbus->backend_id = domid;
|
|
xenbus->backend_id = domid;
|