Re: [PATCH] virtio-pci: also bind to Amazon PCI vendor ID
flat view
From: Matt Wilson <hidden>
Date: 2014-09-15 03:43:42
On Sun, Sep 14, 2014 at 08:29:33PM -0700, Anthony Liguori wrote:
From: Anthony Liguori <redacted> See https://issues.oasis-open.org/browse/VIRTIO-16 although it was prematurely closed. Red Hat has non-redistributable Windows drivers and Microsoft will not allow anyone else to WHQL certify drivers using that vendor ID. That makes it impossible to use virtio drivers with a Windows guest without changing the vendor ID. Cc: Matt Wilson <redacted> Cc: Rusty Russell <redacted> Cc: Michael Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <redacted>
Reviewed-by: Matt Wilson <redacted> --msw
quoted hunk ↗ jump to hunk
--- drivers/virtio/virtio_pci.c | 2 ++ 1 file changed, 2 insertions(+)diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index 101db3f..9cbac33 100644 --- a/drivers/virtio/virtio_pci.c +++ b/drivers/virtio/virtio_pci.c@@ -93,6 +93,8 @@ struct virtio_pci_vq_info /* Qumranet donated their vendor ID for devices 0x1000 thru 0x10FF. */ static DEFINE_PCI_DEVICE_TABLE(virtio_pci_id_table) = { { PCI_DEVICE(0x1af4, PCI_ANY_ID) }, + /* Amazon.com vendor ID */ + { PCI_DEVICE(0x1d0f, PCI_ANY_ID) }, { 0 } };