Patchwork [RFC,v2,5/7] qdev: add power_signal_in for DeviceState

login
register
mail settings
Submitter liguang
Date April 5, 2013, 4:28 a.m.
Message ID <1365136091-26148-6-git-send-email-lig.fnst@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/234033/
State New
Headers show

Comments

liguang - April 5, 2013, 4:28 a.m.
so, devices can connect power signal with power chip

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
---
 hw/qdev-core.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/qdev-core.h b/hw/qdev-core.h
index 547fbc7..abbb570 100644
--- a/hw/qdev-core.h
+++ b/hw/qdev-core.h
@@ -121,6 +121,7 @@  struct DeviceState {
     qemu_irq *gpio_out;
     int num_gpio_in;
     qemu_irq *gpio_in;
+    qemu_irq *power_signal_in;
     QLIST_HEAD(, BusState) child_bus;
     int num_child_bus;
     int instance_id_alias;