diff options
| author | Daniil Tatianin <d-tatianin@yandex-team.ru> | 2025-06-10 00:25:46 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-14 09:16:40 -0400 |
| commit | 2f527fff460a2c67fd37298dbd7fe42fffdb738b (patch) | |
| tree | 35b02b88b4762b1de4de82799a6315aa7fe9ac7f /rust/qemu-api/src | |
| parent | 260f826cf8f2fe54f3cf4de541d761cf616e15ea (diff) | |
| download | focaccia-qemu-2f527fff460a2c67fd37298dbd7fe42fffdb738b.tar.gz focaccia-qemu-2f527fff460a2c67fd37298dbd7fe42fffdb738b.zip | |
vhost: add a helper for force stopping a device
This adds an ability to skip GET_VRING_BASE during device stop entirely, and thus the expensive drain operation that this call entails as well, which may be useful during a non-graceful shutdown in case the guest operating system hangs or refuses to react to a previously requested ACPI shutdown for whatever reason. Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru> Message-Id: <20250609212547.2859224-3-d-tatianin@yandex-team.ru> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions