virtio_pci: Fix misleading comment for queue vector
authorLiming Wu <liming.wu@jaguarmicro.com>
Thu, 31 Jul 2025 09:27:57 +0000 (17:27 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 26 Aug 2025 07:38:10 +0000 (03:38 -0400)
commita39d13e291c2681e475d9fd41655764dab09be7b
treea8bcf6711d52c788cf3f141ac48cef4d9dd15937
parent1b237f190eb3d36f52dffe07a40b5eb210280e00
virtio_pci: Fix misleading comment for queue vector

This patch fixes misleading comments in both legacy and modern
virtio-pci device implementations. The comments previously referred to
the "config vector" for parameters and return values of the
`vp_legacy_queue_vector()` and `vp_modern_queue_vector()` functions,
which is incorrect.

Signed-off-by: Liming Wu <liming.wu@jaguarmicro.com>
Message-Id: <20250731092757.1000-1-liming.wu@jaguarmicro.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_legacy_dev.c
drivers/virtio/virtio_pci_modern_dev.c