From: Gleb Natapov <gleb@redhat.com>
To: Conrad Wood <linux-kvm@conradwood.net>
Cc: "Kevin O'Connor" <kevin@koconnor.net>, kvm@vger.kernel.org
Subject: Re: cpu hotplug
Date: Sun, 19 Sep 2010 08:38:12 +0200 [thread overview]
Message-ID: <20100919063812.GN3008@redhat.com> (raw)
In-Reply-To: <1284834474.9521.161.camel@frechmops.schnuffi.conrad.localdomain>
On Sat, Sep 18, 2010 at 08:27:54PM +0200, Conrad Wood wrote:
> On Sat, 2010-09-18 at 10:32 -0400, Kevin O'Connor wrote:
> > On Fri, Sep 17, 2010 at 11:39:36PM +0200, Conrad Wood wrote:
> > > Hi everyone,
> > >
> > > I'm currently looking into hotplugging CPUs.
> > > This exclusively with linux-guests and linux-host.
> > > I have found some (conflicting) information about this on the net.
> > >
> > > As far as I read:
> > > * seabios doesn't support SMP (but why does the linux-guest show
> > > multiple cpus?)
> > > * there is no uniform way of informing the linux kernel that a cpu has
> > > added (Found references to a unisys way of doing it though, which seems
> > > to be still implemented)
> > > * the kernel needs the acpi tables to determine how many cpus it has,
> > > thus the support in the bios would involve an aml-compiler to
> > > hot-compile new acpi tables.
> >
> > SeaBIOS version 0.6.1 has ACPI support for cpu-hotplug. It's been
> > tested on Linux and Windows. Search the mail archive for "cpu
> > hotplug" for the details.
> >
> > -Kevin
> >
>
> hm... after upgrading to seabios 0.6.1 and qemu-kvm 0.13.50 (git today)
> I get:
>
> qemu-kvm/hw/qdev.c:94: qdev_create_from_info: Assertion
> `bus->allow_hotplug' failed.
>
> when I issue cpu_set 4 online on the cmd line. ;(
>
> starting with commandline:
>
> /usr/local/kvm/bin/qemu-system-x86_64 -M pc \
> -bios /usr/local/kvm/seabios/latest \
> -cpu phenom -enable-kvm -m 1024 -smp 4,cores=2,maxcpus=30,threads=1
> -name testapp -uuid 5ee3d553-f6a4-0f33-6823-ee16a16a7fb4 -nodefaults \
> -numa 2 \
> -monitor telnet:localhost:9401,server,nowait -rtc base=utc -boot
> ${BOOTSTRAP} -device
> rtl8139,vlan=0,id=net0,mac=52:54:01:65:e6:70,bus=pci.0,addr=0x4 \
> -net tap,ifname=cnw0 -chardev pty,id=serial0 -device
> isa-serial,chardev=serial0 -k en-gb -vga cirrus \
> -drive
> file=/srv/kvm/test-app.qcow2,if=virtio,cache=writeback,bus=0,id=a0,index=0,media=disk,format=qcow2,serial=1,boot=on,snapshot=${SNAPSHOT} \
> -nodefaults \
> -${WD} \
> --enable-nesting \
>
>
> any ideas ?
>
Known problem in qemu. There was a patch for this, but qemu maintainers
think it is not good enough.
--
Gleb.
next prev parent reply other threads:[~2010-09-19 6:38 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-17 21:39 cpu hotplug Conrad Wood
2010-09-18 14:32 ` Kevin O'Connor
2010-09-18 15:14 ` Conrad Wood
2010-09-18 18:27 ` Conrad Wood
2010-09-19 6:38 ` Gleb Natapov [this message]
2010-09-19 10:41 ` Conrad Wood
2010-09-19 10:46 ` Gleb Natapov
2010-09-19 11:09 ` Conrad Wood
2010-09-19 11:13 ` Gleb Natapov
2010-09-19 11:32 ` Conrad Wood
2010-09-19 11:39 ` Gleb Natapov
2010-09-19 11:51 ` Conrad Wood
2010-09-19 11:59 ` Gleb Natapov
2010-09-19 12:18 ` Conrad Wood
2010-09-19 15:20 ` Avi Kivity
2010-09-19 15:22 ` Gleb Natapov
2010-09-19 13:26 ` Kevin O'Connor
2010-09-19 13:29 ` Conrad Wood
2010-09-19 13:31 ` Gleb Natapov
2010-09-19 13:35 ` Conrad Wood
2010-09-19 13:40 ` Gleb Natapov
2010-09-19 13:46 ` Kevin O'Connor
2010-09-19 13:50 ` Gleb Natapov
2010-09-19 14:07 ` Conrad Wood
2010-09-19 14:14 ` Kevin O'Connor
2010-09-19 14:36 ` Gleb Natapov
2010-09-19 15:16 ` Conrad Wood
2010-09-19 15:19 ` Gleb Natapov
2010-09-19 15:37 ` Conrad Wood
2010-09-19 15:41 ` Gleb Natapov
2010-09-19 15:44 ` Conrad Wood
2010-09-19 15:53 ` Gleb Natapov
2010-09-19 16:04 ` Kevin O'Connor
2010-09-19 16:12 ` Gleb Natapov
2010-09-19 22:03 ` Kevin O'Connor
2010-09-20 6:50 ` Gleb Natapov
2010-09-21 1:07 ` Kevin O'Connor
2010-09-21 6:42 ` Gleb Natapov
2010-09-21 9:38 ` Gleb Natapov
2010-09-19 16:24 ` Conrad Wood
2010-09-19 21:57 ` Kevin O'Connor
2010-09-20 6:48 ` Gleb Natapov
2010-09-19 13:38 ` Kevin O'Connor
2010-09-19 13:39 ` Conrad Wood
-- strict thread matches above, loose matches on Subject: below --
2017-01-01 10:03 CPU HOTPLUG Ozgur O Kilic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100919063812.GN3008@redhat.com \
--to=gleb@redhat.com \
--cc=kevin@koconnor.net \
--cc=kvm@vger.kernel.org \
--cc=linux-kvm@conradwood.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.