qdev: add no_user, alias and desc
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Jul 2009 11:43:33 +0000 (13:43 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Jul 2009 22:28:52 +0000 (17:28 -0500)
commit31cca40df49e2c4d17d620cd394ac08818a98058
tree2b0aeeb8e342d28f55f245e90068908efb39a7c3
parent5acad4a05679b5437f2706bef07d38fe1df488dd
qdev: add no_user, alias and desc

no_user: prevent users from adding certain devices.
desc: description of the device.
alias: to allow user friendly shortcuts on the command line, i.e.
  -device usbmouse  instead of  -device "QEMU USB Mouse"  or
  -device lsi       instead of  -device lsi53c895a

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