From: Marc-André Lureau <marcandre.lureau(a)redhat.com>
Start the daemon if necessary (it is already stopped in qemuProcessStop)
Signed-off-by: Marc-André Lureau <marcandre.lureau(a)redhat.com>
---
src/qemu/qemu_extdevice.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/qemu/qemu_extdevice.c b/src/qemu/qemu_extdevice.c
index 537b13039488..8ada8324bed1 100644
--- a/src/qemu/qemu_extdevice.c
+++ b/src/qemu/qemu_extdevice.c
@@ -201,6 +201,19 @@ qemuExtDevicesStart(virQEMUDriver *driver,
}
}
+ for (i = 0; i < def->ngraphics; i++) {
+ virDomainGraphicsDef *graphics = def->graphics[i];
+
+ if (graphics->type != VIR_DOMAIN_GRAPHICS_TYPE_DBUS)
+ continue;
+
+ if (graphics->data.dbus.p2p || graphics->data.dbus.fromConfig)
+ continue;
+
+ if (qemuDBusStart(driver, vm) < 0)
+ return -1;
+ }
+
return 0;
}
--
2.34.1.8.g35151cf07204