summary refs log tree commit diff stats
path: root/hw/net
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2025-09-22 16:18:21 +0200
committerMichael S. Tsirkin <mst@redhat.com>2025-10-04 10:50:37 -0400
commit712c79d6d374e7abe94599de5ba2d155d5a79955 (patch)
tree6c27843c752e8589783de27664dab9819b0fe941 /hw/net
parent64a6a336f42bc6305ab7589fd874cb4a3d403bd0 (diff)
downloadfocaccia-qemu-712c79d6d374e7abe94599de5ba2d155d5a79955.tar.gz
focaccia-qemu-712c79d6d374e7abe94599de5ba2d155d5a79955.zip
virtio-pci: implement support for extended features
Extend the features configuration space to 128 bits. If the virtio
device supports any extended features, allow the common read/write
operation to access all of it, otherwise keep exposing only the
lower 64 bits.

On migration, save the 128 bit version of the features only if the
upper bits are non zero. Relay on reset to clear all the feature
space before load.

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: <c0b81601f65b41ca8310eba8f05e2dcf3702de89.1758549625.git.pabeni@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net')
0 files changed, 0 insertions, 0 deletions