mirror of https://gitee.com/openkylin/libvirt.git
06f5c092b8
The property is parsed using virTristateBoolTypeFromString() but
formatted as if it was a regular bool, which results in the
following incorrect conversion:
BOOL_ABSENT -> managed='no'
BOOL_YES -> managed='yes'
BOOL_NO -> managed='yes'
Use the virTristateBoolTypeToString() helper to ensure the
setting can survive a roundtrip conversion.
Fixes:
|
||
---|---|---|
.. | ||
plug-bridge-mactbl.xml | ||
plug-bridge.xml | ||
plug-direct.xml | ||
plug-hostdev-pci-unmanaged.xml | ||
plug-hostdev-pci.xml | ||
plug-network.xml | ||
plug-none.xml |