]> xenbits.xensource.com Git - libvirt.git/commit
qemu: add -display dbus support
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 13 May 2022 18:38:13 +0000 (20:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 19 May 2022 10:36:20 +0000 (12:36 +0200)
commitbde66322e848708825cf791ef8c6710b24c362a9
tree13aec88fab4fb83493e97a95ab85dd1f198843c8
parent5c1e203a80f2b9811e66f5738297eb225cc5337b
qemu: add -display dbus support

By default, libvirt will start a private bus and tell QEMU to connect to
it. Instead, a D-Bus "address" to connect to can be specified, or the
p2p mode enabled.

D-Bus display works best with GL & a rendernode, which can be specified
with <gl> child element.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
tests/qemuxml2argvdata/graphics-dbus-address.args [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-dbus-p2p.args [new file with mode: 0644]
tests/qemuxml2argvdata/graphics-dbus.args [new file with mode: 0644]
tests/qemuxml2argvtest.c