qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>
Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, mst@redhat.com,
	jan.kiszka@siemens.com, qemu-devel@nongnu.org,
	lcapitulino@redhat.com, blauwirbel@gmail.com,
	alex.williamson@redhat.com, kraxel@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to notifiers
Date: Thu, 06 Sep 2012 08:57:17 +0200	[thread overview]
Message-ID: <5048494D.2070108@redhat.com> (raw)
In-Reply-To: <1346879185-19299-1-git-send-email-imammedo@redhat.com>

Il 05/09/2012 23:06, Igor Mammedov ha scritto:
> 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
>  
> 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(-)
> 

Series

Reviewed-by: Paolo Bonzini <pboznini@redhat.com>

Paolo

  parent reply	other threads:[~2012-09-06  6:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-05 21:06 [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to notifiers Igor Mammedov
2012-09-05 21:06 ` [Qemu-devel] [PATCH 1/5] Introduce powerdown_notifiers Igor Mammedov
2012-09-05 21:06 ` [Qemu-devel] [PATCH 2/5] acpi: use notifier for signaling guest system_powerdown command Igor Mammedov
2012-09-05 21:06 ` [Qemu-devel] [PATCH 3/5] target-arm: " Igor Mammedov
2012-09-18 16:13   ` Peter Maydell
2012-09-05 21:06 ` [Qemu-devel] [PATCH 4/5] target-sparc: " Igor Mammedov
2012-09-05 21:06 ` [Qemu-devel] [PATCH 5/5] Cleanup unused global var qemu_system_powerdown Igor Mammedov
2012-09-06  6:57 ` Paolo Bonzini [this message]
2012-09-18 15:58 ` [Qemu-devel] [PATCH 0/5 v3] convert system_powerdown command to notifiers Igor Mammedov
2012-09-22 16:18   ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
2012-09-26 12:38 ` [Qemu-devel] " Anthony Liguori

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=5048494D.2070108@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=imammedo@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kraxel@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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).