Statistics
| Branch: | Revision:

root / hw / core / qdev-properties.c @ 216db403

History | View | Annotate | Download (25.5 kB)

# Date Author Comment
104059da 02/14/2014 10:12 pm Paolo Bonzini

qdev: Add enum property types to QAPI schema

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

85ca1202 02/14/2014 10:12 pm Paolo Bonzini

qdev: Use QAPI type names for properties

Use "drive", "chr", etc. only for legacy_name (which shows up
in -device foo,? output).

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>...

c7bcc85d 02/14/2014 10:12 pm Paolo Bonzini

qdev: Remove hex8/32/64 property types

Replace them with uint8/32/64.

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

f31c41ff 02/14/2014 10:12 pm Paolo Bonzini

block: Handle "rechs" and "large" translation options

Sure, CHS translation is an obscure topic, and legacy options for
hard-disk geometries are obscure as well. But since QEMU does nothing
with it except telling the BIOS, and since there "large" and "rechs"...

515f2346 02/14/2014 10:12 pm Paolo Bonzini

qdev: Remove most legacy printers

Their functionality is either aesthetic only (e.g. on/off vs. true/false)
or obtained by the "human mode" of StringOutputVisitor.

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>...

7d926864 02/14/2014 10:12 pm Paolo Bonzini

qdev: Sizes are now parsed by StringInputVisitor

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

9e4d9620 02/14/2014 10:12 pm Paolo Bonzini

qdev: Remove legacy parsers for hex8/32/64

The hexNN property types have not been accepting values not prefixed
by "0x" since QEMU 1.2. Parse those values as decimals now.

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>...

03ff7770 02/14/2014 10:12 pm Paolo Bonzini

qdev: Legacy properties are now read-only

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

98a65284 02/14/2014 10:12 pm Paolo Bonzini

qdev: Inline qdev_prop_parse()

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

5433a0a8 01/06/2014 10:02 pm Peter Crosthwaite

hw: Remove assert_no_error usages

Replace assert_no_error() usages with the error_abort system.
&error_abort is passed into API calls to signal to the Error sub-system
that any errors are fatal. Removes need for caller assertions.

Signed-off-by: Peter Crosthwaite <>...

e76c756f 07/31/2013 03:54 pm Richard Henderson

qdev: Fix 32-bit compilation in print_size

Signed-off-by: Richard Henderson <>
Message-id:
Signed-off-by: Anthony Liguori <>

1197cbb9 07/31/2013 03:54 pm Richard Henderson

qdev: Use clz in print_size

We can compute a floor log2 value with clz rather than a division loop.

Signed-off-by: Richard Henderson <>
Message-id:
Signed-off-by: Anthony Liguori <>

e8cd45c7 07/30/2013 03:33 am Vasilis Liaskovitis

qdev: Add SIZE type to qdev properties

This patch adds a 'SIZE' type property to qdev.

Signed-off-by: Ian Molton <>
Signed-off-by: Vasilis Liaskovitis <>
Signed-off-by: Hu Tao <>...

949fc823 07/29/2013 06:37 pm Marcel Apfelbaum

hw: import bitmap operations in qdev-core header

Made small tweaks in code to prevent compilation issues
when importing qemu/bitmap.h in qdev-core

Signed-off-by: Marcel Apfelbaum <>
Message-id: ...

868d378b 05/06/2013 08:50 pm Andreas Färber

qdev: Introduce qdev_prop_set_globals_for_type()

Reuse it in qdev_prop_set_globals().

Reviewed-by: Eduardo Habkost <>
[AF: Renamed from qdev_prop_set_custom_globals()]
Signed-off-by: Andreas Färber <>

b1fe9bcb 05/06/2013 08:40 pm Andreas Färber

qdev: Let qdev_prop_parse() pass through Error

Move error reporting to callers.

Reviewed-by: Eduardo Habkost <>
Signed-off-by: Andreas Färber <>

72cc5137 04/16/2013 02:19 am Igor Mammedov

qdev: Add qdev property for bool type

Signed-off-by: Igor Mammedov <>
[AF: Use new qdev_prop_set_after_realize()]
Signed-off-by: Andreas Färber <>

dccfcd0e 04/15/2013 07:19 pm Paolo Bonzini

sysemu: avoid proliferation of include/ subdirectories

Signed-off-by: Paolo Bonzini <>

49ab747f 04/08/2013 07:13 pm Paolo Bonzini

hw: move target-independent files to subdirectories

This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.

Signed-off-by: Paolo Bonzini <>