[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/5 v2] convert system_powerdown command to notifier
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [PATCH 0/5 v2] convert system_powerdown command to notifiers |
Date: |
Wed, 29 Aug 2012 19:02:42 +0200 |
global variable qemu_system_powerdown in sysemu.h is the only dep for qemu_irq
and qemu_rise_irq is not a generic way to signal guest that it should shutdown.
So replace it by notifiers and allow each implementation to have it's own way
to notify guest.
git repo for testing:
last 5 commits
https://github.com/imammedo/qemu/tree/cpu_as_device.WIP
compile tested:
target-list=x86_64-linux-user,x86_64-softmmu,sparc-softmmu,arm-softmmu
runtime tested:
x86_64-softmmu + win7 guest
ps:
reposting because I forgot to add qemu-devel address.
Igor Mammedov (5):
introduce powerdown_notifiers
acpi: use notifier for signaling guest system_powerdown command
target-arm: use notifier for signaling guest system_powerdown command
target-sparc: use notifier for signaling guest system_powerdown
command
cleanup unused qemu_system_powerdown
hw/acpi_piix4.c | 8 +++++---
hw/nseries.c | 14 +++++++++++++-
hw/sun4m.c | 14 +++++++++++++-
sysemu.h | 3 +--
vl.c | 18 ++++++++++++++----
5 files changed, 46 insertions(+), 11 deletions(-)
--
1.7.11.4
- [Qemu-devel] [PATCH 0/5 v2] convert system_powerdown command to notifiers,
Igor Mammedov <=
- [Qemu-devel] [PATCH 2/5] acpi: use notifier for signaling guest system_powerdown command, Igor Mammedov, 2012/08/29
- [Qemu-devel] [PATCH 3/5] target-arm: use notifier for signaling guest system_powerdown command, Igor Mammedov, 2012/08/29
- [Qemu-devel] [PATCH 4/5] target-sparc: use notifier for signaling guest system_powerdown command, Igor Mammedov, 2012/08/29
- [Qemu-devel] [PATCH 5/5] cleanup unused qemu_system_powerdown, Igor Mammedov, 2012/08/29
- [Qemu-devel] [PATCH 1/5] introduce powerdown_notifiers, Igor Mammedov, 2012/08/29