qdev: Add help for device properties
authorStefan Weil <weil@mail.berlios.de>
Wed, 20 Jan 2010 21:58:33 +0000 (22:58 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 21:42:01 +0000 (15:42 -0600)
commit230cb2a27708813de2b8269dd4230b0e32ec3ec7
tree4d3463b8970f64117385903e767d9e1b42831b60
parent7892d43915be6c94643a4b7255315c282f301ca7
qdev: Add help for device properties

When called with property "?", a list of supported
properties will be printed (instead of an error message).

This is useful for command lines like
qemu -device e1000,?
and was already standard for other options like model=?

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-properties.c