From: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
To: qemu-devel@nongnu.org, imammedo@redhat.com, quintela@redhat.com,
amit.shah@redhat.com, pbonzini@redhat.com
Cc: guz.fnst@cn.fujitsu.com, izumi.taku@jp.fujitsu.com,
tangchen@cn.fujitsu.com
Subject: Re: [Qemu-devel] [PATCH v5 0/7] QEMU memory hot unplug support
Date: Mon, 30 Mar 2015 10:53:58 +0800 [thread overview]
Message-ID: <5518BAC6.4090906@cn.fujitsu.com> (raw)
In-Reply-To: <cover.1427425363.git.zhugh.fnst@cn.fujitsu.com>
Question:
When migrating from old qemu to one with this hot remove feature, I found
this feature would not work any more in new qemu.
The reason is that DSDT table will not re-generate in new qemu when
migration.
So the hot remove will not work in the new qemu even though qemu
has this feature.
Is it possible to re-generate dsdt table when migration?
Thanks,
Zhu
On 03/27/2015 05:20 PM, Zhu Guihua wrote:
> Memory hot unplug are both asynchronous procedures.
> When the unplug operation happens, unplug request cb is called first.
> And when guest OS finished handling unplug, unplug cb will be called
> to do the real removal of device.
>
> v5:
> -reorganize the patchset
> -add documentation to understand patch easily
> -add MEMORY_SLOT_EJECT for initiating device eject
> -add support to send qmp event to notify mgmt about memory unplug error
>
> v4:
> -reorganize the patchset
> -drop the new API acpi_send_gpe_event()
> -update ssdt-mem
>
> v3:
> -commit message changes
> -reorganize the patchset, squash and separate some patches
> -update specs about acpi_mem_hotplug
> -first cleanup external state, then un-map and un-register memory device
>
> v2:
> -do a generic for acpi to send gpe event
> -unparent object by PC_MACHINE
> -update description in acpi_mem_hotplug.txt
> -combine the last two patches in the last version
> -cleanup external state in acpi_memory_unplug_cb
>
> Tang Chen (3):
> acpi, mem-hotplug: add acpi_memory_slot_status() to get MemStatus
> acpi, mem-hotplug: add unplug request cb for memory device
> acpi, mem-hotplug: add unplug cb for memory device
>
> Zhu Guihua (4):
> docs: update documentation for memory hot unplug
> acpi: extend aml_field() to support UpdateRule
> acpi: add hardware implementation for memory hot unplug
> qmp-event: add event notification for memory hot unplug error
>
> docs/memory-hotplug.txt | 24 ++++++++--
> docs/qmp/qmp-events.txt | 17 +++++++
> docs/specs/acpi_mem_hotplug.txt | 32 ++++++++++++--
> hw/acpi/aml-build.c | 4 +-
> hw/acpi/ich9.c | 19 ++++++--
> hw/acpi/memory_hotplug.c | 93 ++++++++++++++++++++++++++++++++++++---
> hw/acpi/piix4.c | 17 +++++--
> hw/core/qdev.c | 2 +-
> hw/i386/acpi-build.c | 25 ++++++++---
> hw/i386/acpi-dsdt-mem-hotplug.dsl | 13 +++++-
> hw/i386/pc.c | 62 ++++++++++++++++++++++++--
> include/hw/acpi/aml-build.h | 10 ++++-
> include/hw/acpi/memory_hotplug.h | 12 +++++
> include/hw/acpi/pc-hotplug.h | 3 ++
> include/hw/qdev-core.h | 1 +
> monitor.c | 1 +
> qapi/event.json | 14 ++++++
> trace-events | 2 +
> 18 files changed, 315 insertions(+), 36 deletions(-)
>
next prev parent reply other threads:[~2015-03-30 2:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-27 9:20 [Qemu-devel] [PATCH v5 0/7] QEMU memory hot unplug support Zhu Guihua
2015-03-27 9:20 ` [Qemu-devel] [PATCH v5 1/7] docs: update documentation for memory hot unplug Zhu Guihua
2015-03-30 15:47 ` Igor Mammedov
2015-03-27 9:20 ` [Qemu-devel] [PATCH v5 2/7] acpi, mem-hotplug: add acpi_memory_slot_status() to get MemStatus Zhu Guihua
2015-03-27 9:20 ` [Qemu-devel] [PATCH v5 3/7] acpi, mem-hotplug: add unplug request cb for memory device Zhu Guihua
2015-04-01 8:23 ` Igor Mammedov
2015-03-27 9:20 ` [Qemu-devel] [PATCH v5 4/7] acpi, mem-hotplug: add unplug " Zhu Guihua
2015-03-27 9:20 ` [Qemu-devel] [PATCH v5 5/7] acpi: extend aml_field() to support UpdateRule Zhu Guihua
2015-04-01 8:39 ` Igor Mammedov
2015-03-27 9:20 ` [Qemu-devel] [PATCH v5 6/7] acpi: add hardware implementation for memory hot unplug Zhu Guihua
2015-03-30 9:09 ` Igor Mammedov
2015-03-27 9:20 ` [Qemu-devel] [PATCH v5 7/7] qmp-event: add event notification for memory hot unplug error Zhu Guihua
2015-03-27 14:53 ` Eric Blake
2015-03-30 3:07 ` Zhu Guihua
2015-03-30 2:53 ` Zhu Guihua [this message]
2015-03-30 7:49 ` [Qemu-devel] [PATCH v5 0/7] QEMU memory hot unplug support Paolo Bonzini
2015-04-01 8:42 ` Igor Mammedov
2015-04-01 9:43 ` Zhu Guihua
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=5518BAC6.4090906@cn.fujitsu.com \
--to=zhugh.fnst@cn.fujitsu.com \
--cc=amit.shah@redhat.com \
--cc=guz.fnst@cn.fujitsu.com \
--cc=imammedo@redhat.com \
--cc=izumi.taku@jp.fujitsu.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=tangchen@cn.fujitsu.com \
/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).