Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-09 Thread Michael S. Tsirkin
, Cloud Infrastructure Service Product Dept.) > > > > Cc: stefa...@redhat.com; jasow...@redhat.com; sgarz...@redhat.com; > > coh...@redhat.com; pbonz...@redhat.com; Gonglei (Arei) > > ; Yechuan ; Huangzhichao > > ; qemu-devel@nongnu.org > > Subject: Re: [RFC 01/10

RE: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-09 Thread longpeng2--- via
...@redhat.com; pbonz...@redhat.com; Gonglei (Arei) > ; Yechuan ; Huangzhichao > ; qemu-devel@nongnu.org > Subject: Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio > id > > On Wed, Jan 05, 2022 at 08:58:51AM +0800, Longpeng(Mike) wrote: > > From: Longpeng >

Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-09 Thread Michael S. Tsirkin
On Wed, Jan 05, 2022 at 08:58:51AM +0800, Longpeng(Mike) wrote: > From: Longpeng > > Add helpers to get the "Transitional PCI Device ID" and "class_id" of the > deivce which is specificed by the "Virtio Device ID". ton of typos here. > These helpers will be used to build the generic vDPA device

RE: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-09 Thread longpeng2--- via
Gonglei (Arei) ; Yechuan > ; Huangzhichao ; qemu-devel > > Subject: Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio > id > > On Wed, Jan 5, 2022 at 1:48 PM Longpeng (Mike, Cloud Infrastructure > Service Product Dept.) wrote: > > > > &g

RE: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-05 Thread longpeng2--- via
at.com > Cc: pbonz...@redhat.com; Gonglei (Arei) ; Yechuan > ; Huangzhichao ; > qemu-devel@nongnu.org; Longpeng (Mike, Cloud Infrastructure Service Product > Dept.) > Subject: Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio > id > > On Wed, Jan 05 2022, &quo

Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-05 Thread Cornelia Huck
On Wed, Jan 05 2022, "Longpeng(Mike)" wrote: > From: Longpeng > > Add helpers to get the "Transitional PCI Device ID" and "class_id" of the > deivce which is specificed by the "Virtio Device ID". > > These helpers will be used to build the generic vDPA device later. > > Signed-off-by: Longpeng

Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-04 Thread Jason Wang
frastructure Service Product Dept.) > > > > Cc: Stefan Hajnoczi ; mst ; Stefano > > Garzarella ; Cornelia Huck ; > > pbonzini > > ; Gonglei (Arei) ; Yechuan > > ; Huangzhichao ; qemu-devel > > > > Subject: Re: [RFC 01/10] virtio: get class_id a

RE: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-04 Thread longpeng2--- via
Gonglei (Arei) ; Yechuan > ; Huangzhichao ; qemu-devel > > Subject: Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio > id > > On Wed, Jan 5, 2022 at 8:59 AM Longpeng(Mike) wrote: > > > > From: Longpeng > > > > Add helpers to get the &

Re: [RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-04 Thread Jason Wang
On Wed, Jan 5, 2022 at 8:59 AM Longpeng(Mike) wrote: > > From: Longpeng > > Add helpers to get the "Transitional PCI Device ID" and "class_id" of the > deivce which is specificed by the "Virtio Device ID". > > These helpers will be used to build the generic vDPA device later. > > Signed-off-by: L

[RFC 01/10] virtio: get class_id and pci device id by the virtio id

2022-01-04 Thread Longpeng(Mike)
From: Longpeng Add helpers to get the "Transitional PCI Device ID" and "class_id" of the deivce which is specificed by the "Virtio Device ID". These helpers will be used to build the generic vDPA device later. Signed-off-by: Longpeng --- hw/virtio/virtio-pci.c | 93 +++