[libvirt] [PATCH 0/2] Expose flags for several commands
Osier Yang
jyang at redhat.com
Tue Jun 21 05:37:30 UTC 2011
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
More information about the libvir-list
mailing list