diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-04-03 10:05:07 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-06-18 15:14:37 +0200 |
commit | 4b3582b06b6105ac182a051e4f3647da2c99fd66 (patch) | |
tree | 3b20ee936fdbe34116652e8dadad95eab985e640 /hw/qdev-monitor.c | |
parent | bce544740a87cac1636f01c8a28502fec1694b3d (diff) |
qdev: Clean up global properties
Now that global properties do not depend on buses anymore, set
them directly in the device instance_init function.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/qdev-monitor.c')
-rw-r--r-- | hw/qdev-monitor.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/qdev-monitor.c b/hw/qdev-monitor.c index b608eb443f..390d467e89 100644 --- a/hw/qdev-monitor.c +++ b/hw/qdev-monitor.c @@ -440,7 +440,6 @@ DeviceState *qdev_device_add(QemuOpts *opts) /* create device, set properties */ qdev = DEVICE(object_new(driver)); qdev_set_parent_bus(qdev, bus); - qdev_prop_set_globals(qdev); id = qemu_opts_id(opts); if (id) { |