qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: peter.maydell@linaro.org, qemu-devel@nongnu.org
Cc: aliguori@us.ibm.com, mst@redhat.com, jan.kiszka@siemens.com,
	lcapitulino@redhat.com, blauwirbel@gmail.com,
	alex.williamson@redhat.com, kraxel@redhat.com,
	pbonzini@redhat.com
Subject: [Qemu-devel] [PATCH 5/5] cleanup unused qemu_system_powerdown
Date: Wed, 29 Aug 2012 19:02:47 +0200	[thread overview]
Message-ID: <1346259767-991-6-git-send-email-imammedo@redhat.com> (raw)
In-Reply-To: <1346259767-991-1-git-send-email-imammedo@redhat.com>

all deps that used qemu_system_powerdown are converted to notifiers,
so remove it for have no use anymore

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 sysemu.h | 2 --
 vl.c     | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/sysemu.h b/sysemu.h
index eb9a750..1093046 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -9,7 +9,6 @@
 #include "qapi-types.h"
 #include "notify.h"
 #include "main-loop.h"
-#include "hw/irq.h"
 
 /* vl.c */
 
@@ -63,7 +62,6 @@ int qemu_reset_requested(void);
 int qemu_powerdown_requested(void);
 void qemu_system_killed(int signal, pid_t pid);
 void qemu_kill_report(void);
-extern qemu_irq qemu_system_powerdown;
 void qemu_devices_reset(void);
 void qemu_system_reset(bool report);
 
diff --git a/vl.c b/vl.c
index 8dc4b4f..e0d1295 100644
--- a/vl.c
+++ b/vl.c
@@ -1594,8 +1594,6 @@ void qemu_system_vmstop_request(RunState state)
     qemu_notify_event();
 }
 
-qemu_irq qemu_system_powerdown;
-
 static bool main_loop_should_exit(void)
 {
     RunState r;
@@ -1633,7 +1631,6 @@ static bool main_loop_should_exit(void)
     }
     if (qemu_powerdown_requested()) {
         qemu_system_powerdown();
-        qemu_irq_raise(qemu_system_powerdown);
     }
     if (qemu_vmstop_requested(&r)) {
         vm_stop(r);
-- 
1.7.11.4

      parent reply	other threads:[~2012-08-29 17:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29 17:02 [Qemu-devel] [PATCH 0/5 v2] convert system_powerdown command to notifiers Igor Mammedov
2012-08-29 17:02 ` [Qemu-devel] [PATCH 1/5] introduce powerdown_notifiers Igor Mammedov
2012-08-29 17:06   ` Andreas Färber
2012-08-29 21:55     ` Igor Mammedov
2012-08-30  6:49     ` Igor Mammedov
2012-08-30  7:41       ` Paolo Bonzini
2012-08-30  8:17         ` Igor Mammedov
2012-08-29 17:02 ` [Qemu-devel] [PATCH 2/5] acpi: use notifier for signaling guest system_powerdown command Igor Mammedov
2012-08-29 17:02 ` [Qemu-devel] [PATCH 3/5] target-arm: " Igor Mammedov
2012-08-29 17:02 ` [Qemu-devel] [PATCH 4/5] target-sparc: " Igor Mammedov
2012-08-29 17:02 ` Igor Mammedov [this message]

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=1346259767-991-6-git-send-email-imammedo@redhat.com \
    --to=imammedo@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kraxel@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@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).