[libvirt] [PATCH 1/2] Fix CPU hotplug command names

Eric Blake eblake at redhat.com
Thu Apr 22 15:56:24 UTC 2010


On 04/22/2010 09:49 AM, Daniel P. Berrange wrote:
> Probably as a result of a merge error, the CPU hotplug command
> names were completely wrong.
> 
> * src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_text.c: Fix
>   the CPU hotplug command names
> ---
>  src/qemu/qemu_monitor_json.c |    2 +-
>  src/qemu/qemu_monitor_text.c |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c
> index cde9899..96f246f 100644
> --- a/src/qemu/qemu_monitor_json.c
> +++ b/src/qemu/qemu_monitor_json.c
> @@ -1181,7 +1181,7 @@ int qemuMonitorJSONSetCPU(qemuMonitorPtr mon,
>                            int cpu, int online)
>  {
>      int ret;
> -    virJSONValuePtr cmd = qemuMonitorJSONMakeCommand("balloon",
> +    virJSONValuePtr cmd = qemuMonitorJSONMakeCommand("cpu_set",
>                                                       "U:cpu", (unsigned long long)cpu,
>                                                       "s:state", online ? "online" : "offline",
>                                                       NULL);

ACK.

-- 
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: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100422/a929dbf6/attachment-0001.sig>


More information about the libvir-list mailing list