mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
virtio-9p: use symbolic constant, add to pci-ids.txt
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
4ea9296c07
commit
13744bd0a0
3 changed files with 3 additions and 1 deletions
|
@ -170,7 +170,7 @@ static void virtio_9p_class_init(ObjectClass *klass, void *data)
|
|||
|
||||
k->init = virtio_9p_init_pci;
|
||||
k->vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET;
|
||||
k->device_id = 0x1009;
|
||||
k->device_id = PCI_DEVICE_ID_VIRTIO_9P;
|
||||
k->revision = VIRTIO_PCI_ABI_VERSION;
|
||||
k->class_id = 0x2;
|
||||
dc->props = virtio_9p_properties;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue