[libvirt] [PATCH 3/3] Introduce UPDATE_CPU flag for virDomainGetXMLDesc
Eric Blake
eblake at redhat.com
Fri Mar 26 16:07:00 UTC 2010
On 03/26/2010 07:11 AM, Jiri Denemark wrote:
> This flag is used in migration prepare step to send updated XML
> definition of a guest.
>
> Also ``virsh dumpxml --update-cpu [--inactive] guest'' command can be
> used to see the updated CPU requirements.
>
> +++ b/tools/virsh.c
> @@ -2504,6 +2504,7 @@ static const vshCmdOptDef opts_dumpxml[] = {
> {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
> {"inactive", VSH_OT_BOOL, 0, N_("show inactive defined XML")},
> {"security-info", VSH_OT_BOOL, 0, N_("include security sensitive information in XML dump")},
> + {"update-cpu", VSH_OT_BOOL, 0, N_("update guest CPU according to host CPU")},
> {NULL, 0, 0, NULL}
> };
ACK, but could you also update tools/libvirsh.pod to mention this in the
man page (either rebase this patch, or a followup patch)?
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100326/82796bc7/attachment-0001.sig>
More information about the libvir-list
mailing list