[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to noti
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to notifiers |
Date: |
Wed, 26 Sep 2012 07:38:55 -0500 |
User-agent: |
Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Igor Mammedov <address@hidden> writes:
> 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.
>
> replace it by notifiers and allow each implementation to have it's own way
> to notify guest.
>
> git repo for testing:
> https://github.com/imammedo/qemu/tree/shutdown_notifier.v3
>
> compile tested:
> target-list=x86_64-linux-user,x86_64-softmmu,sparc-softmmu,arm-softmmu
> runtime tested:
> x86_64-softmmu + win7 guest
>
> v3-v2:
> - fixed bisectably issues of series
> - make series independed of cpu_as_device series
>
Applied. Thanks.
Regards,
Anthony Liguori
> 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 global var qemu_system_powerdown
>
> hw/acpi_piix4.c | 8 +++++---
> hw/nseries.c | 14 +++++++++++++-
> hw/sun4m.c | 14 +++++++++++++-
> sysemu.h | 2 +-
> vl.c | 18 ++++++++++++++----
> 5 files changed, 46 insertions(+), 10 deletions(-)
>
> --
> 1.7.11.4
- [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to notifiers, Igor Mammedov, 2012/09/05
- [Qemu-devel] [PATCH 1/5] Introduce powerdown_notifiers, Igor Mammedov, 2012/09/05
- [Qemu-devel] [PATCH 2/5] acpi: use notifier for signaling guest system_powerdown command, Igor Mammedov, 2012/09/05
- [Qemu-devel] [PATCH 3/5] target-arm: use notifier for signaling guest system_powerdown command, Igor Mammedov, 2012/09/05
- [Qemu-devel] [PATCH 4/5] target-sparc: use notifier for signaling guest system_powerdown command, Igor Mammedov, 2012/09/05
- [Qemu-devel] [PATCH 5/5] Cleanup unused global var qemu_system_powerdown, Igor Mammedov, 2012/09/05
- Re: [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to notifiers, Paolo Bonzini, 2012/09/06
- Re: [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to notifiers, Igor Mammedov, 2012/09/18
- Re: [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to notifiers,
Anthony Liguori <=