commit | 922910ce42d15bdb7c2347436b1b5798b5401de4 | [log] [tgz] |
---|---|---|
author | Stefan Weil <weil@mail.berlios.de> | Wed Jan 20 22:58:34 2010 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Jan 26 15:42:01 2010 -0600 |
tree | 83b3ec6cdee14b1cc51f01997271489985d3084c | |
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>