diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-01-20 22:58:34 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-26 15:42:01 -0600 |
commit | 922910ce42d15bdb7c2347436b1b5798b5401de4 (patch) | |
tree | 83b3ec6cdee14b1cc51f01997271489985d3084c /hw/pci_host.c | |
parent | 2ba6edf0dd740166632df80caa85992b20791a68 (diff) |
qdev: Add help for property value
When called with property value "?",
a help text will be printed (instead of an error message).
This is useful for command lines like
qemu -device e1000,mac=?
and is already standard for other command line options.
A better help text could be provided by extending
the Property structure with a desc field.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci_host.c')
0 files changed, 0 insertions, 0 deletions