]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virsh: Fix semantics of --config for "update-device" command
authorPeter Krempa <pkrempa@redhat.com>
Fri, 15 Mar 2013 16:11:28 +0000 (17:11 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2013 14:14:14 +0000 (16:14 +0200)
commit69ce3ffa8d431e9810607c6e00b7cfcc481b491d
treecab7232f713e019d112f114741adee68c6fe71ec
parentcc0cc6b714a3aeff1a8abecb26ef8d246b5e65b3
virsh: Fix semantics of --config for "update-device" command

The man page states that with --config the next boot is affected. This
can be understood as if _only_ the next boot was affected. This isn't
true if the machine is running.

This patch adds the full --live, --config, --current infrastructure and
tweaks stuff to correctly support the obsolete --persistent flag.

Note that this patch changes the the behavior of the --config flag to match the
use of this flag in rest of libvirt. This flag was mistakenly renamed from
--persistent that originaly had different semantics.
tools/virsh-domain.c
tools/virsh.pod