Re: [PATCH] RFC: qemu: add spice/virgl rendernode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

----- Original Message -----
> On Mon, Feb 13, 2017 at 03:51:48PM +0400, marcandre.lureau@xxxxxxxxxx wrote:
> > From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> > 
> > I am working on a WIP series to add QEMU Spice/virgl rendernode option.
> > Since rendernodes are not stable across reboots, I propose that QEMU
> > accepts also a PCI address (other bus types may be added in the future).
> 
> Hmm, can you elaborate on this aspect ?  It feels like a parallel
> to saying NIC device names are not stable, so we should configure
> guests using PCI addresses instead of 'eth0', etc but we stuck with
> using NIC names in libvirt on the basis that you can create udev
> rules to ensure stable naming ?
> 
> So is there not a case to be made that if you want stable render
> device names when multiple NICs are present, then you should use
> udev to ensure a given device always maps to the same PCI dev.

I thought it was simpler to use a PCI address (do you expect users to create udev rules for the GPUs?)

We could also allow both form (this is what I'll propose in qemu, fyi https://github.com/elmarco/qemu/commits/spice)

> > This is how I translated it to libvirt. I picked <gpu> over
> > <rendernode>, since it seems more generic. Comments welcome!
> 
> 
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org              -o-             http://virt-manager.org :|
> |: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|
> 

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux