APIs virDomainAttachDeviceFlags, virDomainDetachDeviceFlags, and virDomainUpdateDeviceFlags support three flags: VIR_DOMAIN_AFFECT_LIVE, VIR_DOMAIN_AFFECT_CONFIG, and VIR_DOMAIN_AFFECT_CURRENT, however, the commands based on those 3 APIs only expose one option "--persistent". These two patches expose the other two options as "--live" and "--current", and changes "--persistent" into "--config", just as other similiar commands do, e.g. "vcpupin", "schedinfo". Affected commands: attach-device attach-disk attach-interface detach-device detach-disk detach-interface update-device [PATCH 1/2] virsh: Add options for several commands which change domain config [PATCH 2/2] doc: Update docs for the changed commands Regards Osier -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list