Revision 89a740e1 hw/qdev.c
b/hw/qdev.c | ||
---|---|---|
33 | 33 |
struct DeviceProperty { |
34 | 34 |
const char *name; |
35 | 35 |
union { |
36 |
int i;
|
|
36 |
uint64_t i;
|
|
37 | 37 |
void *ptr; |
38 | 38 |
} value; |
39 | 39 |
DeviceProperty *next; |
... | ... | |
120 | 120 |
return prop; |
121 | 121 |
} |
122 | 122 |
|
123 |
void qdev_set_prop_int(DeviceState *dev, const char *name, int value)
|
|
123 |
void qdev_set_prop_int(DeviceState *dev, const char *name, uint64_t value)
|
|
124 | 124 |
{ |
125 | 125 |
DeviceProperty *prop; |
126 | 126 |
|
Also available in: Unified diff