On 11.07.23 17:37, Michael S. Tsirkin wrote:
On Tue, Jul 11, 2023 at 05:34:38PM +0200, David Hildenbrand wrote:
One limitation of virtio-mem is that we cannot currently unplug virtio-mem
devices that have all memory unplugged from the VM.

Let's properly handle forced unplug (as can be triggered by the VM) and
add support for ordinary unplug (requests) of virtio-mem devices that are
in a compatible state (no legacy mode, no plugged memory, no plug request).

Briefly tested on both, x86_64 and aarch64.


Reviewed-by: Michael S. Tsirkin <m...@redhat.com>


feel free to merge.

Will queue tomorrow (and send a PR soonish) if there is no more feedback, thanks!

--
Cheers,

David / dhildenb


Reply via email to