qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/4] virtio-mem: Add support for suspend+wake-up with plugged


From: David Hildenbrand
Subject: Re: [PATCH 4/4] virtio-mem: Add support for suspend+wake-up with plugged memory
Date: Tue, 6 Aug 2024 18:43:35 +0200
User-agent: Mozilla Thunderbird

On 06.08.24 18:07, Juraj Marcin wrote:
Before, the virtio-mem device would unplug all the memory with any reset
of the device, including during the wake-up of the guest from a
suspended state. Due to this, the virtio-mem driver in the Linux kernel
disallowed suspend-to-ram requests in the guest when the
VIRTIO_MEM_F_PERSISTENT_SUSPEND feature is not exposed by QEMU.

This patch adds the code to skip the reset on wake-up and exposes
theVIRTIO_MEM_F_PERSISTENT_SUSPEND feature to the guest kernel driver
when suspending is possible in QEMU (currently only x86).

Signed-off-by: Juraj Marcin <jmarcin@redhat.com>
---

All looks good and straight-forward to me. Will try finding time to play with this this week!

Thanks!

Reviewed-by: David Hildenbrand <david@redhat.com>

--
Cheers,

David / dhildenb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]