From 4b3582b06b6105ac182a051e4f3647da2c99fd66 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 3 Apr 2012 10:05:07 +0200 Subject: qdev: Clean up global properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that global properties do not depend on buses anymore, set them directly in the device instance_init function. Signed-off-by: Paolo Bonzini Signed-off-by: Andreas Färber --- hw/qdev-monitor.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/qdev-monitor.c') 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) { -- cgit 1.4.1