[PATCH 4/7] qemu: domain: Allow preserving translated disk type='volume' data into XML if needed

Ján Tomko jtomko at redhat.com
Fri Oct 13 13:48:24 UTC 2023


On a Thursday in 2023, Peter Krempa wrote:
>Re-translating a disk type='volume' definition from a storage pool is
>not a good idea in cases when the volume might have changed or we might
>not have access to the storage driver.
>
>Specific cases are if a storage pool is not activated on daemon restart,
>then re-connecting to a VM fails, or if the virt-aa-helper program tries
>to setup labelling for apparmor.
>
>Add a new flag which will preserve the translated data in the
>definition.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 69 ++++++++++++++++++++++++++++++------------
> src/conf/domain_conf.h |  4 +++
> 2 files changed, 53 insertions(+), 20 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20231013/3f2ca493/attachment-0001.sig>


More information about the libvir-list mailing list