[RFC 0/2] virtio: implement suspend and resume feature

Zhu Lingshan posted 2 patches 2 weeks, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250912061125.262457-1-lingshan.zhu@amd.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
hw/net/virtio-net.c                           | 115 ++++++++++++++++++
hw/virtio/virtio-pci.c                        |   5 +
hw/virtio/virtio.c                            |  24 ++++
include/hw/virtio/virtio.h                    |   1 +
.../standard-headers/linux/virtio_config.h    |   6 +
5 files changed, 151 insertions(+)
[RFC 0/2] virtio: implement suspend and resume feature
Posted by Zhu Lingshan 2 weeks, 2 days ago
According to the spec changes[1,2], this RFC series implements
suspend and resume facility for virtio, and a reference design
on virtio-net.

This suspend and resume feature will be supported on more
device types after the basic facilities settling down.

Plese help review, Thanks!!!


[1] https://lore.kernel.org/virtio-comment/20250704101739.354522-1-lingshan.zhu@amd.com
[2] https://github.com/oasis-tcs/virtio-spec/issues/229

Zhu Lingshan (2):
  virtio: implement virtio data-plane suspend and resume facility
  virtio: implement virtio control-plane suspend and resume facility

 hw/net/virtio-net.c                           | 115 ++++++++++++++++++
 hw/virtio/virtio-pci.c                        |   5 +
 hw/virtio/virtio.c                            |  24 ++++
 include/hw/virtio/virtio.h                    |   1 +
 .../standard-headers/linux/virtio_config.h    |   6 +
 5 files changed, 151 insertions(+)

-- 
2.51.0