qdev: also match bus name for global properties
commit07a8de3566bd576dc33e55af830d63dcc2287617
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Dec 2009 12:11:35 +0000 (8 13:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 12 Dec 2009 13:59:41 +0000 (12 07:59 -0600)
tree5ad085cedf8405ddc7b9411119fda0f3b39bf334
parentd0fef6fbea36c62d29f3e3fa2214b7b52322983e
qdev: also match bus name for global properties

i.e. -global PCI.<property>=<value> will set a default property for all
PCI devices.  Also works for the compat properties used by machine
types.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-properties.c