diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-04-12 15:32:26 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-06-08 16:11:14 +0200 |
commit | 27712df95d85e76e9d41a0a4ee2acd0ad8a9cc6d (patch) | |
tree | edfa9b3c0b14961aa99fb679916d717f8e3bbf7b /hw/qdev.h | |
parent | c08fb2ac000b636a8426e69d93f7340274d76c9e (diff) |
qdev: Remove PropertyInfo range checking
Range checking in PropertyInfo is now used only for pci_devfn
properties and some error reporting. Remove all code that implements
it in the various property types, and the now unused fields.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[AF: Fix blocksize min/max for 32-bit hosts by using const int64_t.]
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r-- | hw/qdev.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -122,8 +122,6 @@ struct PropertyInfo { const char *name; const char *legacy_name; const char **enum_table; - int64_t min; - int64_t max; int (*parse)(DeviceState *dev, Property *prop, const char *str); int (*print)(DeviceState *dev, Property *prop, char *dest, size_t len); ObjectPropertyAccessor *get; |