oasis-tcs / virtio-spec

OASIS Virtual I/O Device TC: Source code for the VIRTIO (Virtual I/O) Specification maintained by the OASIS Virtual I/O Device (VIRTIO) Technical Committee
https://github.com/oasis-tcs/virtio-spec
Other
241 stars 72 forks source link

Support device state handling for PCI VFs #176

Closed paravmellanox closed 1 month ago

paravmellanox commented 1 year ago

Problem statement:

In some systems, there is a need to capture the state of all or part of a device and subsequently restore either the same device or a different one to this captured state. This can be useful for debug, snapshot, migration etc use cases.

Solution: A set of administration commands using existing infrastructure can facilitate query and setting the device state and stop the device before setting such state.

Link to the proposed spec: https://lore.kernel.org/virtio-comment/20240601145042.2074739-2-parav@nvidia.com/T/#u

mstsirkin commented 5 months ago

BALLOT CREATED AT URL: https://groups.oasis-open.org/higherlogic/ws/public/ballot?id=3842

paravmellanox commented 1 month ago

Following commits fix the issues:

52d320c admin: Add requirements of device parts commands 617aa2d admin: Define common device parts aa4f6f0 admin: Add admin commands for device parts a1281ad admin: Extend resource objects for sr-iov group type 67141d1 admin: Add theory of operation for device parts