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