diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-02 22:09:44 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-07 13:52:41 +0100 |
commit | 1ce05125571e9dbbd16e1de0f8924fe45bef2bf0 (patch) | |
tree | 74df8e956ee118aa0a3829b2e776d9e5c5919b1c /hw/qdev.h | |
parent | acbac4a1dc974a3915760b4551336544c4360241 (diff) |
qdev: remove print/parse methods from LostTickPolicy properties
Also generalize the code so that we can have more enum properties
in the future.
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r-- | hw/qdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -140,6 +140,7 @@ struct PropertyInfo { const char *legacy_name; size_t size; enum PropertyType type; + const char **enum_table; int64_t min; int64_t max; int (*parse)(DeviceState *dev, Property *prop, const char *str); |