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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]