qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/8] [PATCH RFC v2] s390-qemu: cpu hotplug


From: Christian Borntraeger
Subject: Re: [Qemu-devel] [PATCH 0/8] [PATCH RFC v2] s390-qemu: cpu hotplug
Date: Thu, 13 Jun 2013 10:50:56 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 07/06/13 19:27, Jason J. Herne wrote:
> Latest code for cpu Hotplug designed to be controled via the QOM 
> infrastructure.
> cpu on S390 are treated as devices via a new platform independent
> infrastructure I designed to allow this "new way" to exist with the "old way"
> of representing cpus.
> 
> The Qemu command line now allows "-device s390-cpu" which will instantiate a 
> cpu device. This is additive to anything that might be specified on the -smp
> parameter.
> 
> Devices can be hot plugged via the monitor command "device_add s390-cpu".
> Hotplugged cpus are created in the configured state and can be used by the
> guest after the guest onlines the cpu by: 
> "echo 1 > /sys/bus/cpu/devices/cpuN/online"
> 
> Hot unplugging is currently not implemented by this code. 

Adding Viktor, Andreas.

Andreas, since we are the first ones going forward with cpu is a device (on a 
command level)
we still have to provide the old cpu_add  and query commands to make libvirt 
work regarding
cpu hotplugging.
Are you ok with having the x86 commands as wrappers around the new ones?

Christian






reply via email to

[Prev in Thread] Current Thread [Next in Thread]