[libvirt] [PATCH v3 11/18] qemu: assign virtio devices to PCIe slot when appropriate

Gerd Hoffmann kraxel at redhat.com
Wed Nov 16 08:43:15 UTC 2016


  Hi,

> I looked at "lspci" of a guest that has virtio-gpu directly connected to 
> pci-root, and found that it does show up as a legacy device in that 
> case, which I guess is what we want, right?
> 
> Let's ask the author of virtio-gpu: Gerd, what is your opinion - when 
> using virtio-gpu as the primary video device, is it better to have it 
> directly plugged into 00:01.0 (i.e. a legacy integrated device)? Or is 
> it better to plug it into a pcie-root-port?

virtio-vga or virtio-gpu-pci?

virtio-gpu-pci should have zero issues in a pcie-root-port.

For virtio-vga I'd tend to place it directly in 00:01.0, to avoid ioport
access issues for the vga compatibility part of the device.

cheers,
  Gerd





More information about the libvir-list mailing list