[virt-tools-list] [PATCH v2 0/5] virt-manager: add spice+virgl support

Marc-André Lureau marcandre.lureau at redhat.com
Fri Mar 4 11:31:50 UTC 2016


Hi

The following series allows to setup and use a local-only spice & virgl-enabled
VM. It depends qemu and libvirt from git.

It currently allows to setup a VM with virt-install, and I added minor details
tweaking to the virt-manager UI. I haven't checked setting up a VM from
virt-manager, this is left to do/check. To allow local framebuffer sharing, the
communication must happen through a UNIX socket. There is no need for a
listening socket on spice server, libvirt openGraphicsFD does the job just fine,
so I opted for that.

review and help welcome,

v1->v2:
- fix domain xml for spice gl parameter (changed during libvirt patches review)
- fix gfx.gl usage after Cole review

Marc-André Lureau (5):
  virtinst: add --graphics gl option
  virtinst: add virtio device model and accel3d attribute
  virtinst: use virtio if spice+gl
  virt-manager: connect with openGraphicsFD
  virt-manager: add opengl graphics option

 man/virt-install.pod                               |  7 ++-
 .../compare/virt-install-many-devices.xml          |  4 ++
 .../cli-test-xml/compare/virt-install-spice-gl.xml | 70 ++++++++++++++++++++++
 tests/clitest.py                                   |  8 +++
 tests/xmlparse-xml/change-graphics-out.xml         |  1 +
 tests/xmlparse-xml/change-videos-out.xml           |  4 +-
 tests/xmlparse.py                                  |  2 +
 ui/gfxdetails.ui                                   | 29 +++++++++
 virtManager/console.py                             |  2 +-
 virtManager/details.py                             |  9 ++-
 virtManager/domain.py                              |  8 ++-
 virtManager/gfxdetails.py                          | 11 +++-
 virtManager/sshtunnels.py                          |  7 ++-
 virtManager/viewers.py                             |  9 +++
 virtinst/cli.py                                    |  1 +
 virtinst/devicegraphics.py                         |  3 +-
 virtinst/devicevideo.py                            |  3 +-
 virtinst/guest.py                                  |  7 +++
 virtinst/osdict.py                                 |  5 +-
 19 files changed, 177 insertions(+), 13 deletions(-)
 create mode 100644 tests/cli-test-xml/compare/virt-install-spice-gl.xml

-- 
2.5.0




More information about the virt-tools-list mailing list