[PATCH] qemu: Add check for needed paths for memory devices

Michal Prívozník mprivozn at redhat.com
Fri May 21 06:52:01 UTC 2021


On 5/20/21 4:29 PM, Kristina Hanicova wrote:
> When building a commandline for a DIMM memory device with
> non-default access mode, the qemuBuildMemoryBackendProps() will
> tell QEMU to allocate memory from per-domain memory backing dir.
> But later, when preparing the host, the
> qemuProcessNeedMemoryBackingPath() does not check for memory
> devices at all resulting in per-domain memory backing dir not
> being created which upsets QEMU.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1961114
> 
> Signed-off-by: Kristina Hanicova <khanicov at redhat.com>
> ---
>  src/qemu/qemu_process.c | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

and pushed.

Michal




More information about the libvir-list mailing list