aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-04-12 15:32:26 +0200
committerAndreas Färber <afaerber@suse.de>2012-06-08 16:11:14 +0200
commit27712df95d85e76e9d41a0a4ee2acd0ad8a9cc6d (patch)
treeedfa9b3c0b14961aa99fb679916d717f8e3bbf7b /hw/qdev.h
parentc08fb2ac000b636a8426e69d93f7340274d76c9e (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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/qdev.h b/hw/qdev.h
index d07da4576d..5386b165bc 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -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;