[7/7] qdev: Add rudimentary help for property value

Submitted by Markus Armbruster on Jan. 29, 2010, 6:49 p.m.

Details

Message ID 1264790942-15045-8-git-send-email-armbru@redhat.com
State New
Headers show

Commit Message

Markus Armbruster Jan. 29, 2010, 6:49 p.m.
This provides the same information as reverted commit 2ba6edf0.  Not
much, just better than nothing.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/qdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/qdev.c b/hw/qdev.c
index 7c3701c..539b5a2 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -179,7 +179,7 @@  int qdev_device_help(QemuOpts *opts)
     }
 
     for (prop = info->props; prop && prop->name; prop++) {
-        qemu_error("%s.%s\n", info->name, prop->name);
+        qemu_error("%s.%s=%s\n", info->name, prop->name, prop->info->name);
     }
     return 1;
 }