diff options
author | Longpeng <longpeng2@huawei.com> | 2022-12-15 21:49:40 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-12-21 06:35:28 -0500 |
commit | 22733245406a3d4e5428032172fdf041a48ac23d (patch) | |
tree | 9bee81275cc5fd4525ef813599f38e47f2bfc0b5 /hw/pci-host/uninorth.c | |
parent | ee1c08bd732283aa15e5b6fa840511b7c9c18006 (diff) | |
download | qemu-22733245406a3d4e5428032172fdf041a48ac23d.zip qemu-22733245406a3d4e5428032172fdf041a48ac23d.tar.gz qemu-22733245406a3d4e5428032172fdf041a48ac23d.tar.bz2 |
virtio: get class_id and pci device id by the virtio id
Add helpers to get the "Transitional PCI Device ID" and "class_id"
of the device specified by the "Virtio Device ID".
These helpers will be used to build the generic vDPA device later.
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Longpeng <longpeng2@huawei.com>
Message-Id: <20221215134944.2809-2-longpeng2@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-host/uninorth.c')
0 files changed, 0 insertions, 0 deletions