qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 5/5] target-i386: implement machine->hot_add_cpu


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH 5/5] target-i386: implement machine->hot_add_cpu hook
Date: Thu, 2 May 2013 09:18:06 +0200

On Wed, 01 May 2013 21:32:59 +0200
Andreas Färber <address@hidden> wrote:

> Am 30.04.2013 18:00, schrieb Igor Mammedov:
> > Signed-off-by: Igor Mammedov <address@hidden>
> > ---
> > v3:
> >   * use local static variable for saving cpu_model
> > 
> > v2:
> >   * override .hot_add_cpu statically starting with 1.5 machine
> 
> Thanks, applied to qom-cpu:
> https://github.com/afaerber/qemu-cpu/commits/qom-cpu
> 
> I verified it's working as expected in Windows 2012 Datacenter, but
> neither in openSUSE 12.3 nor in Fedora 18 Live DVD did I see any change
> in /proc/cpuinfo or GNOME System Monitor.
Right after hot-add a new CPU entry should appear in /sys/devices/system/cpu
then kernel doesn't online hot-added CPUs automatically, one needs online
a new CPU manually, for example issuing following command:
 echo 1 > /sys/devices/system/cpu/cpuXX/online




> Andreas
> 
> -- 
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg


-- 
Regards,
  Igor



reply via email to

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