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