[02/17] qdev: add data pointer to Property

Submitted by Alon Levy on Feb. 3, 2011, 9:06 p.m.

Details

Message ID 1296767234-9480-3-git-send-email-alevy@redhat.com
State New
Headers show

Commit Message

Alon Levy Feb. 3, 2011, 9:06 p.m.
For later use by PROP_TYPE_ENUM, will store enumeration name/value
table there.

Signed-off-by: Alon Levy <alevy@redhat.com>
---
 hw/qdev.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/qdev.h b/hw/qdev.h
index fa3221b..3d9acd7 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -83,6 +83,7 @@  struct Property {
     int          offset;
     int          bitnr;
     void         *defval;
+    void         *data;
 };
 
 enum PropertyType {