aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-01-29 19:49:02 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-03 12:39:01 -0600
commit117f8eb81dfdf51a0418fbf6d260cbb72bcd4a9d (patch)
treea42c9f96b5915f1d3b689fe56515706361755e79 /hw/qdev.c
parent40ea285c14673ba2105b30102b8ab3e13073f0b9 (diff)
downloadqemu-117f8eb81dfdf51a0418fbf6d260cbb72bcd4a9d.zip
qemu-117f8eb81dfdf51a0418fbf6d260cbb72bcd4a9d.tar.gz
qemu-117f8eb81dfdf51a0418fbf6d260cbb72bcd4a9d.tar.bz2
qdev: Add rudimentary help for property value
This provides the same information as reverted commit 2ba6edf0. Not much, just better than nothing. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r--hw/qdev.c2
1 files changed, 1 insertions, 1 deletions
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;
}