[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] virtio-pci: Add subsystem-vendor-id property
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH] virtio-pci: Add subsystem-vendor-id property |
Date: |
Wed, 20 Dec 2017 19:24:20 +0200 |
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 <address@hidden>
> >
> > 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 <address@hidden>
> > ---
> > 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.