Searched hist:"5 fde952bbdd521c10fc018ee04f922a7dca5f663" (Results 1 – 3 of 3) sorted by relevance
/qemu/hw/virtio/ |
H A D | vhost-shadow-virtqueue.h | 5fde952bbdd521c10fc018ee04f922a7dca5f663 Thu Dec 15 11:31:36 UTC 2022 Eugenio Pérez <eperezma@redhat.com> vhost: move iova_tree set to vhost_svq_start
Since we don't know if we will use SVQ at qemu initialization, let's allocate iova_tree only if needed. To do so, accept it at SVQ start, not at initialization.
This will avoid to create it if the device does not support SVQ.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20221215113144.322011-5-eperezma@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
H A D | vhost-shadow-virtqueue.c | 5fde952bbdd521c10fc018ee04f922a7dca5f663 Thu Dec 15 11:31:36 UTC 2022 Eugenio Pérez <eperezma@redhat.com> vhost: move iova_tree set to vhost_svq_start
Since we don't know if we will use SVQ at qemu initialization, let's allocate iova_tree only if needed. To do so, accept it at SVQ start, not at initialization.
This will avoid to create it if the device does not support SVQ.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20221215113144.322011-5-eperezma@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
H A D | vhost-vdpa.c | 5fde952bbdd521c10fc018ee04f922a7dca5f663 Thu Dec 15 11:31:36 UTC 2022 Eugenio Pérez <eperezma@redhat.com> vhost: move iova_tree set to vhost_svq_start
Since we don't know if we will use SVQ at qemu initialization, let's allocate iova_tree only if needed. To do so, accept it at SVQ start, not at initialization.
This will avoid to create it if the device does not support SVQ.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20221215113144.322011-5-eperezma@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|