qdev: Add help for device properties
authorMarkus Armbruster <armbru@redhat.com>
Fri, 29 Jan 2010 18:49:00 +0000 (19:49 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 3 Feb 2010 18:39:01 +0000 (12:39 -0600)
commitd437ddc374f236b447808a8c3e2d2e6eed0d2e12
tree6aaa5ddcebf0ab40a83c7b31b5c957bedd22ddd9
parent29d2e1672bab5132296f3a3bb3ad7e42abe9ceb6
qdev: Add help for device properties

Option "-device DRIVER,?" and monitor command "device_add DRIVER,?"
print the supported properties instead of creating a device.  The
former also terminates the program.

This is commit 2ba6edf0 (just reverted) done right.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c