[RFC PATCH 02/10] qemu_capabilities: Added capabilites for qemu's "rss" and "hash".

Michal Prívozník mprivozn at redhat.com
Fri Aug 20 12:57:26 UTC 2021


On 7/28/21 10:17 AM, Andrew Melnychenko wrote:
> Added qemu's property check for virtio-net.
> And added capability QEMU_CAPS_VIRTIO_RSS.
> With "rss" and "rss_hash_report" from domain config,
> qemu should enable "rss" and "hash" for virtio-net.
> 
> Signed-off-by: Andrew Melnychenko <andrew at daynix.com>
> ---
>  src/qemu/qemu_capabilities.c |  2 ++
>  src/qemu/qemu_capabilities.h |  1 +
>  src/qemu/qemu_validate.c     | 16 ++++++++++++++++
>  3 files changed, 19 insertions(+)
> 
> diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
> index 9558938866..7cd6dab259 100644
> --- a/src/qemu/qemu_capabilities.c
> +++ b/src/qemu/qemu_capabilities.c
> @@ -637,6 +637,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
>                "confidential-guest-support",
>                "query-display-options",
>                "s390-pv-guest",
> +              "virtio-net.rss",

This needs to be updated because meanwhile we introduced comments to
these enum items.

Michal




More information about the libvir-list mailing list