[libvirt] [PATCH v3 1/3] conf: Always format seclabel's model
Eric Blake
eblake at redhat.com
Fri Jul 11 16:55:59 UTC 2014
On 07/11/2014 03:32 AM, Michal Privoznik wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1113860
>
> We've always done that. Well, until 990e46c45. Point is, if we don't
> format model, we may lose a domain on libvirtd restart. If the
> seclabel is implicit however, we should skip it's formatting.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/conf/domain_conf.c | 34 +++++++++++++++-------
> .../qemuxml2argv-seclabel-dynamic-none.xml | 28 ++++++++++++++++++
> tests/qemuxml2xmltest.c | 1 +
> 3 files changed, 52 insertions(+), 11 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-seclabel-dynamic-none.xml
>
ACK
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140711/477f51f3/attachment-0001.sig>
More information about the libvir-list
mailing list