diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-10-07 14:33:20 +0800 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-10-15 05:03:15 +0200 |
commit | 51b2e8c331c1e3de5463bd7fe13676c2a9ec52fe (patch) | |
tree | 49826b47d549f60993d82a48c62caf5ca326fbe2 /target-ppc | |
parent | b6cc36abb20a54a30fbd7d0ae98066df6c5adabc (diff) |
qdev: Add description field in PropertyInfo struct
The descriptions can serve as documentation in the code,
and they can be used to provide better help.
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/translate_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 65b840da03..0312e04778 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -8045,6 +8045,7 @@ static void powerpc_set_compat(Object *obj, Visitor *v, static PropertyInfo powerpc_compat_propinfo = { .name = "str", .legacy_name = "powerpc-server-compat", + .description = "compatibility mode, power6/power7/power8", .get = powerpc_get_compat, .set = powerpc_set_compat, }; |