On Wed, Dec 13, 2017 at 10:07:12AM +0000, Stefan Hajnoczi wrote: > On Wed, Dec 13, 2017 at 12:26:44AM -0800, Ben Warren via Qemu-devel wrote: > > From: Ben Warren <b...@skyportsystems.com> > > > > Now that virtio-win guest drivers provided by non-Redhat vendors need to > > use a different Subsystem Vendor ID value, a way is needed to set this > > parameter on the host. This works with all of the PCI-based devices, > > such as NetKVM, viostor, vioscsi, vioserial and balloon. > > > > Signed-off-by: Ben Warren <b...@skyportsystems.com> > > --- > > hw/virtio/virtio-pci.c | 5 +++++ > > hw/virtio/virtio-pci.h | 1 + > > 2 files changed, 6 insertions(+) > > Is it possible to put this property in hw/pci/pci.c:pci_props[] so that > users can override the Subsystem Vendor ID for any PCI adapter, not just > virtio-pci?
The difficulty is that some devices override the ID you would set, and there's no way for management to find out. So I think virtio is preferable for now.