diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2025-09-22 16:18:24 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-04 10:50:37 -0400 |
| commit | f412c1f57ab58fd595efee26264193759220ca6f (patch) | |
| tree | 7426c5bd0a9b3bbde37c89c54619279287d73d42 /hw/net/virtio-net.c | |
| parent | a76f5b795cab8ea0654e4813caa694470d7250a9 (diff) | |
| download | focaccia-qemu-f412c1f57ab58fd595efee26264193759220ca6f.tar.gz focaccia-qemu-f412c1f57ab58fd595efee26264193759220ca6f.zip | |
vhost-backend: implement extended features support
Leverage the kernel extended features manipulation ioctls(), if available, and fallback to old ops otherwise. Error out when setting extended features but kernel support is not available. Note that extended support for get/set backend features is not needed, as the only feature that can be changed belongs to the 64 bit range. Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> Acked-by: Jason Wang <jasowang@redhat.com> Acked-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Tested-by: Lei Yang <leiyang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <150daade3d59e77629276920e014ee8e5fc12121.1758549625.git.pabeni@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