commit | ce9835e00df65bf5beb6c094c0865d8e60018310 | [log] [tgz] |
---|---|---|
author | Igor Mammedov <imammedo@redhat.com> | Fri Sep 26 09:28:18 2014 +0000 |
committer | Andreas Färber <afaerber@suse.de> | Wed Oct 15 05:03:13 2014 +0200 |
tree | 7fe485b0a2eba0916ae77ae2f8291c9190474dae | |
parent | 39b888bd88296b178082b5a2e4c6e82fcbd877f8 [diff] |
qdev: do not allow to instantiate non hotpluggable device with device_add It will allow explicitly mark device as not hotpluggable and avoid its creation with following error at realize time and destroying it afterwards anyway. Instead of it will error out even before instance of device is created. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>