From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony PERARD Subject: [PATCH v3 0/2] CPU hotplug for qemu-xen Date: Mon, 24 Jun 2013 14:32:58 +0100 Message-ID: <1372080780-17379-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen Devel Cc: Anthony PERARD , Stefano Stabellini , Ian Campbell List-Id: xen-devel@lists.xenproject.org Hi all, This series implements the 'cpu-add' QMP command to hotplug CPU with qemu-xen. This time, only the patches for libxl and SeaBIOS are sent as the qemu-xen patches haven't changed. There are two patches for libxl and one patch for SeaBIOS. When using adding vcpus with this series, libxl will report many "error". This is because libxl call the QMP command 'cpu-add' for every plugged vcpus, even those that have been plugged before. There is currently no way to list cpus that are plugged by QEMU. Also, the way errors are handled by libxl_qmp those not help yet to suppress this error printing. Unplug of vcpu is not supported by the series. Change since the last set: - use more and different macro in the libxl patch. - don't run smp_probe() at all in SeaBIOS. Anthony PERARD (2): libxl: Add "cpu-add" QMP command. libxl: Use QMP cpu-add to hotplug CPU with qemu-xen. tools/libxl/libxl.c | 49 ++++++++++++++++++++++++++++++++++++++------ tools/libxl/libxl_internal.h | 2 ++ tools/libxl/libxl_qmp.c | 21 +++++++++++++++++++ 3 files changed, 66 insertions(+), 6 deletions(-) -- Anthony PERARD