qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
To: Mohsin Kazmi <mohsin.kazmi14@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Unparking vCPU mechanism
Date: Mon, 20 Apr 2015 17:19:07 +0800	[thread overview]
Message-ID: <5534C48B.7060901@cn.fujitsu.com> (raw)
In-Reply-To: <CAKkt9+KkA=ww-29JAHZ_0Nd6-vTKKzOdxhjWnKZgLhKDzx3U0A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 929 bytes --]


On 04/16/2015 06:50 PM, Mohsin Kazmi wrote:
> Hi Zhu,
>           I am testing the hot unplug feature using your github branch 
> 'cpu-hotplug'. It is working fine when first time I added and deleted 
> cpu. But when I tried to add cpu second time, it showed me the 
> following error:
> (qemu) device_add kvm64-x86_64-cpu,apic-id=1,id=cpu1
>            Duplicate ID 'cpu1' for device
>

Sorry for late reply.

I guess you should use iasl and regenerate the ACPI tables.

You can refer to the following issue:
http://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg02993.html


Thanks,
Zhu

> I get from one of your patch 
> (https://patchwork.ozlabs.org/patch/439485/) commit message that cpu 
> is not literally removed from qemu but guest is unable to use it 
> anymore. Do you know the way how I can reuse that cpu which has 
> already added and deleted once. Or unparking the cpu mechanism.
>
> Thanks,
> Mohsin Kazmi


[-- Attachment #2: Type: text/html, Size: 2139 bytes --]

  reply	other threads:[~2015-04-20  9:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-16 10:50 [Qemu-devel] Unparking vCPU mechanism Mohsin Kazmi
2015-04-20  9:19 ` Zhu Guihua [this message]
2015-04-20 12:16   ` Mohsin Kazmi
2015-04-20 13:13     ` Mohsin Kazmi

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=5534C48B.7060901@cn.fujitsu.com \
    --to=zhugh.fnst@cn.fujitsu.com \
    --cc=mohsin.kazmi14@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).