diff options
| author | Cindy Lu <lulu@redhat.com> | 2022-12-22 15:04:44 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-01-08 01:54:22 -0500 |
| commit | ee3b8dc6cc496ba7f4e27aed4493275c706a7942 (patch) | |
| tree | 9a3e8c7e96154e39f24a33b29df793b0ef9119b1 /hw/net/virtio-net.c | |
| parent | 2e07f69d0c828e21515b63dc22884d548540b382 (diff) | |
| download | focaccia-qemu-ee3b8dc6cc496ba7f4e27aed4493275c706a7942.tar.gz focaccia-qemu-ee3b8dc6cc496ba7f4e27aed4493275c706a7942.zip | |
virtio-pci: decouple the single vector from the interrupt process
To reuse the interrupt process in configure interrupt Need to decouple the single vector from the interrupt process. We add new function kvm_virtio_pci_vector_use_one and _release_one. These functions are used for the single vector, the whole process will finish in the loop with vq number. Signed-off-by: Cindy Lu <lulu@redhat.com> Message-Id: <20221222070451.936503-4-lulu@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions