qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [patch v4 14/16] qdev: introduce stopping state


From: Liu Ping Fan
Subject: [Qemu-devel] [patch v4 14/16] qdev: introduce stopping state
Date: Mon, 22 Oct 2012 17:23:57 +0800

Add this state to tell the device is disappearing, and not to append
new requirement to it any longer.

Signed-off-by: Liu Ping Fan <address@hidden>
---
 hw/qdev.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/qdev.h b/hw/qdev.h
index aeae29e..32f08bc 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -22,6 +22,7 @@ typedef struct BusClass BusClass;
 enum DevState {
     DEV_STATE_CREATED = 1,
     DEV_STATE_INITIALIZED,
+    DEV_STATE_STOPPING,
 };
 
 enum {
-- 
1.7.4.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]