Skip to content

Common unplug and unplug request cb for memory and CPU hot-unplug

Zhu Guihua qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 9 repliesIn review

Changes in v2 from the cover letter

- Commit messages changes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5acpi, pc: Add hotunplug request cb for pc machine.hw/i386/pc.c+8 -04 replies
2/5acpi, ich9: Add hotunplug request cb for ich9.hw/acpi/ich9.c hw/isa/lpc_ich9.c include/hw/acpi/ich9.h+12 -21 reply
3/5acpi, pc: Add unplug cb for pc machine.hw/i386/pc.c+8 -00 replies
4/5acpi, ich9: Add unplug cb for ich9.hw/acpi/ich9.c hw/isa/lpc_ich9.c include/hw/acpi/ich9.h+18 -00 replies
5/5acpi, piix4: Add unplug cb for piix4.hw/acpi/piix4.c+8 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchIgor Mammedov
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/5] Common unplug and unplug request cb for memory and CPU hot-unplug

Memory and CPU 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.

They both need pc-machine, piix4 and ich9 unplug and unplug request cb. So this patchset introduces these commom functions as part1, and memory and CPU hot-unplug will come soon as part 2 and 3.

This patch-set is based on QEmu 2.2

v2:
- Commit messages changes

Tang Chen (5):
acpi, pc: Add hotunplug request cb for pc machine. acpi, ich9: Add hotunplug request cb for ich9. acpi, pc: Add unplug cb for pc machine. acpi, ich9: Add unplug cb for ich9.
acpi, piix4: Add unplug cb for piix4.

 hw/acpi/ich9.c         | 14 ++++++++++++++
 hw/acpi/piix4.c        |  8 ++++++++
 hw/i386/pc.c           | 16 ++++++++++++++++
 hw/isa/lpc_ich9.c      | 14 ++++++++++++--
 include/hw/acpi/ich9.h |  4 ++++
 5 files changed, 54 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.3