From 27712df95d85e76e9d41a0a4ee2acd0ad8a9cc6d Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 12 Apr 2012 15:32:26 +0200 Subject: 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 [AF: Fix blocksize min/max for 32-bit hosts by using const int64_t.] Signed-off-by: Andreas Färber --- hw/qdev.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/qdev.h') 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; -- cgit v1.2.3-55-g7522