diff options
author | Vitaliy Gusev <gusev.vitaliy@gmail.com> | 2022-06-23 18:46:06 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2023-01-26 19:29:17 +0000 |
commit | b22b31b380e8810f59ada8e60fb87dcddc585054 (patch) | |
tree | d0fd418d6cc10b16361138f0add9e87dfe96e31d /usr.sbin/accton | |
parent | 2c86bac0a8e0b462444a9c9f641032c33c41c640 (diff) | |
download | src-b22b31b380e8810f59ada8e60fb87dcddc585054.tar.gz src-b22b31b380e8810f59ada8e60fb87dcddc585054.zip |
bhyve: Snapshot impovements for 'blockif' backend
When pausing a block I/O device model as part of suspending a VM, wait
for all active block I/O requests to finish before saving snapshot
data. This avoids having to save information about in-flight requests
both in the block_if layer and in storage device models.
For the AHCI device model, the queues are now guaranteed to be idle
when taking a snapshot, so remove the code to save queue state and
rely on the initial state in a resumed VM having all queues already
idle.
This will also simplify adding NVMe snapshot support in the future.
Reviewed by: jhb
Sponsored by: vStack
Differential Revision: https://reviews.freebsd.org/D26267
(cherry picked from commit cd9618bdb274375139080ee4e33ccbdc980513f3)
Diffstat (limited to 'usr.sbin/accton')
0 files changed, 0 insertions, 0 deletions