summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-17 19:22:58 +0200
committerAndreas Färber <afaerber@suse.de>2012-04-25 10:51:36 +0200
commitd480e1aff2f3df3d02900905bcc8e0c4e4c108c4 (patch)
tree31f7df511842c35299e52c09fd061e0e8304c39e /scripts/qapi-commands.py
parent16b93aa89df07524a695855545a88522ef47fa36 (diff)
downloadfocaccia-qemu-d480e1aff2f3df3d02900905bcc8e0c4e4c108c4.tar.gz
focaccia-qemu-d480e1aff2f3df3d02900905bcc8e0c4e4c108c4.zip
target-i386: Prepare "vendor" property for X86CPU
Using it now would incur converting the three x86_def_t vendor words
into a string for object_property_set_str(), then back to three words
in the "vendor" setter.
The built-in CPU definitions use numeric preprocessor defines to
initialize the three words in a charset-safe way, so do not change the
fields to char[12] just to use the setter.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions