summary refs log tree commit diff stats
path: root/hw/usb/dev-uas.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-08-27 09:48:06 +0300
committerMichael S. Tsirkin <mst@redhat.com>2013-09-01 10:43:25 +0300
commita0dba644c139907ccf6735c505fbd254010d6938 (patch)
treec4ab7e7ba79372ea9aaf3fcf7b31182be8b86b34 /hw/usb/dev-uas.c
parentc16547326988cc321c9bff43ed91cbe753e52892 (diff)
downloadfocaccia-qemu-a0dba644c139907ccf6735c505fbd254010d6938.tar.gz
focaccia-qemu-a0dba644c139907ccf6735c505fbd254010d6938.zip
pc: reduce duplication, fix PIIX descriptions
We have a lot of code duplication between machine types,
this increases with each new machine type
and each new field.

This has already introduced a minor bug: description
for pc-1.3 says "Standard PC" while description for
pc-1.4 is "Standard PC (i440FX + PIIX, 1996)"
which makes you think 1.3 is somehow more standard,
or newer, while in fact it's a revision of the same PC.

This patch addresses this issue by using macros, along
the lines used by PC_COMPAT_X_X - only for
non-property options.

The approach can extend to non-PC machine types.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/usb/dev-uas.c')
0 files changed, 0 insertions, 0 deletions