Statistics
| Branch: | Revision:

root / include @ 2dbafdc0

# Date Author Comment
c25f53b0 01/24/2014 06:40 pm Paolo Bonzini

raw: Probe required direct I/O alignment

Add a bs->request_alignment field that contains the required
offset/length alignment for I/O requests and fill it in the raw block
drivers. Use ioctls if possible, else see what alignment it takes for
O_DIRECT to succeed....

793ed47a 01/24/2014 06:40 pm Kevin Wolf

block: Switch BdrvTrackedRequest to byte granularity

Signed-off-by: Kevin Wolf <>
Reviewed-by: Max Reitz <>
Reviewed-by: Benoit Canet <>

2dbafdc0 01/24/2014 06:40 pm Kevin Wolf

block: Generalise and optimise COR serialisation

Change the API so that specific requests can be marked serialising. Only
these requests are checked for overlaps then.

This means that during a Copy on Read operation, not all requests
overlapping other requests are serialised any more, but only those that...

d34682cd 01/24/2014 06:40 pm Kevin Wolf

block: Move initialisation of BlockLimits to bdrv_refresh_limits()

This function separates filling the BlockLimits from bdrv_open(), which
allows it to call it from other operations which may change the limits
(e.g. modifications to the backing file chain or bdrv_reopen)...

355ef4ac 01/24/2014 06:40 pm Kevin Wolf

block: Update BlockLimits when they might have changed

When reopening with different flags, or when backing files disappear
from the chain, the limits may change. Make sure they get updated in
these cases.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Wenchao Xia <>...

339064d5 01/24/2014 06:40 pm Kevin Wolf

block: Don't use guest sector size for qemu_blockalign()

bs->buffer_alignment is set by the device emulation and contains the
logical block size of the guest device. This isn't something that the
block layer should know, and even less something to use for determining...

1b7fd729 01/24/2014 06:40 pm Paolo Bonzini

block: rename buffer_alignment to guest_block_size

The alignment field is now set to the value that is promised to the
guest, rather than required by the host. The next patches will make
QEMU aware of the host-provided values, so make this clear.

The alignment is also not about memory buffers, but about the sectors on...

c13163fb 01/24/2014 05:07 pm Benoît Canet

qmp: Add QMP query-named-block-nodes to list the named BlockDriverState nodes.

Signed-off-by: Benoit Canet <>
Reviewed-by: Fam Zheng <>
Signed-off-by: Kevin Wolf <>

12d3ba82 01/24/2014 05:07 pm Benoît Canet

qmp: Allow to change password on named block driver states.

Signed-off-by: Benoit Canet <>
Reviewed-by: Fam Zheng <>

There was two candidate ways to implement named node manipulation:

1) { 'command': 'block_passwd', 'data': {'*device': 'str',...

212a5a8f 01/24/2014 05:07 pm Benoît Canet

block: Create authorizations mechanism for external snapshot and resize.

Signed-off-by: Benoit Canet <>
Signed-off-by: Kevin Wolf <>

dc364f4c 01/24/2014 03:33 pm Benoît Canet

block: Add bs->node_name to hold the name of a bs node of the bs graph.

Add the minimum of code to prepare for the following patches.

Signed-off-by: Benoit Canet <>
Reviewed-by: Fam Zheng <>
Signed-off-by: Kevin Wolf <>

da557aac 01/22/2014 01:07 pm Max Reitz

block: Add bdrv_open_image()

Add a common function for opening images to be used for block drivers
specified through BlockdevRefs in an option QDict. The difference from
bdrv_file_open() is that this function may invoke bdrv_open() instead,
allowing auto-detection of the driver to be used; and second, it...

c60bf339 01/22/2014 01:07 pm Stefan Hajnoczi

readline: decouple readline from the monitor

Make the readline.c functionality reusable. Instead of calling
monitor_printf() and monitor_flush() directly, invoke function pointers
provided by the user.

This way readline.c does not know about Monitor and other users will be...

0150cd81 01/22/2014 01:07 pm Stefan Hajnoczi

readline: move readline to a generic location

Now that the monitor and readline are decoupled, readline.h no longer
belongs in include/monitor/. Put the header into include/qemu/.

Move the source file into util/ so it can be linked as part of
libqemuutil.a....

13401ba0 01/22/2014 01:07 pm Stefan Hajnoczi

osdep: add qemu_set_tty_echo()

Using stdin with readline.c requires disabling echo and line buffering.
Add a portable wrapper to set the terminal attributes under Linux and
Windows.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

4694020d 01/22/2014 01:07 pm Stefan Hajnoczi

qemu-io: add command completion

Autocomplete qemu-io commands at the interactive prompt.

Note this only completes command names and not their options.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

05a8c222 01/22/2014 01:07 pm Max Reitz

qdict: Add qdict_array_split()

This function splits a QDict consisting of entries prefixed by
incrementally enumerated indices into a QList of QDicts.

Signed-off-by: Max Reitz <>
Reviewed-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>...

adf5c449 01/22/2014 01:07 pm Max Reitz

qemu-option: Add qemu_config_parse_qdict()

This function basically parses command-line options given as a QDict
replacing a config file.

For instance, the QDict {"section.opt1": 42, "section.opt2": 23}
corresponds to the config file:

[section]
opt1 = 42...

72daa72e 01/22/2014 01:07 pm Max Reitz

block: Allow reference for bdrv_file_open()

Allow specifying a reference to an existing block device (by name) for
bdrv_file_open() instead of a filename and/or options.

Signed-off-by: Max Reitz <>
Reviewed-by: Kevin Wolf <>...

133fe774 01/14/2014 04:10 am Edgar E. Iglesias

Merge remote branch 'luiz/queue/qmp' into qmpq

  • luiz/queue/qmp:
    migration: qmp_migrate(): keep working after syntax error
    qerror: Remove assert_no_error()
    qemu-option: Remove qemu_opts_create_nofail
    target-i386: Remove assert_no_error usage
    hw: Remove assert_no_error usages...
5ff7fb77 01/13/2014 03:04 pm Juan Quintela

memory: move bitmap synchronization to its own function

We want to have all the functions that handle directly the dirty
bitmap near. We will change it later.

Signed-off-by: Juan Quintela <>
Reviewed-by: Orit Wasserman <>

ae2810c4 01/13/2014 03:04 pm Juan Quintela

memory: syncronize kvm bitmap using bitmaps operations

If bitmaps are aligned properly, use bitmap operations. If they are
not, just use old bit at a time code.

Signed-off-by: Juan Quintela <>
Reviewed-by: Orit Wasserman <>

52159192 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_mask_dirty_range() always clears a single flag

Document it

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

5adca7ac 01/13/2014 03:04 pm Juan Quintela

memory: use bit 2 for migration

For historical reasons it was bit 3. Once there, create a constant to
know the number of clients.

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

7a5b558c 01/13/2014 03:04 pm Juan Quintela

memory: make sure that client is always inside range

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

e8a97caf 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_clear_dirty_flag() result is never used

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

164590a6 01/13/2014 03:04 pm Juan Quintela

bitmap: Add bitmap_zero_extend operation

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

1ab4c8ce 01/13/2014 03:04 pm Juan Quintela

memory: split dirty bitmap into three

After all the previous patches, spliting the bitmap gets direct.

Note: For some reason, I have to move DIRTY_MEMORY_* definitions to
the beginning of memory.h to make compilation work.

Signed-off-by: Juan Quintela <>...

86a49582 01/13/2014 03:04 pm Juan Quintela

memory: unfold cpu_physical_memory_clear_dirty_flag() in its only user

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

4f13bb80 01/13/2014 03:04 pm Juan Quintela

memory: unfold cpu_physical_memory_set_dirty() in its only user

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

c1427a3f 01/13/2014 03:04 pm Juan Quintela

memory: unfold cpu_physical_memory_set_dirty_flag()

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

9f2c43e4 01/13/2014 03:04 pm Juan Quintela

memory: make cpu_physical_memory_get_dirty() the main function

And make cpu_physical_memory_get_dirty_flag() to use it. It used to
be the other way around.

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

94833c89 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_get_dirty() is used as returning a bool

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

ace694cc 01/13/2014 03:04 pm Juan Quintela

memory: s/mask/clear/ cpu_physical_memory_mask_dirty_range

Now all functions use the same wording that bitops/bitmap operations

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

1bafff0c 01/13/2014 03:04 pm Juan Quintela

memory: use find_next_bit() to find dirty bits

This operation is way faster than doing it bit by bit.

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

5b9a3a5f 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_set_dirty_range() now uses bitmap operations

We were setting a range of bits, so use bitmap_set().

Note: xen has always been wrong, and should have used start instead
of addr from the beginning.

Signed-off-by: Juan Quintela <>...

a461e389 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_clear_dirty_range() now uses bitmap operations

We were clearing a range of bits, so use bitmap_clear().

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

a2cd8c85 01/13/2014 03:04 pm Juan Quintela

memory: s/dirty/clean/ in cpu_physical_memory_is_dirty()

All uses except one really want the other meaning.

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

a2f4d5be 01/13/2014 03:04 pm Juan Quintela

memory: make cpu_physical_memory_reset_dirty() take a length parameter

We have an end parameter in all the callers, and this make it coherent
with the rest of cpu_physical_memory_* functions, that also take a
length parameter.

Once here, move the start/end calculation to...

220c3ebd 01/13/2014 03:04 pm Juan Quintela

memory: split cpu_physical_memory_* functions to its own include

All the functions that use ram_addr_t should be here.

Signed-off-by: Juan Quintela <>
Reviewed-by: Orit Wasserman <>

9c22687e 01/13/2014 03:04 pm Juan Quintela

bitmap: use long as index

Move index and size fields from int to long. We need that for
migration. long is 64 bits on sane architectures, and 32bits should
be enough on all the 32bits architectures.

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>...

e2da99d5 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_set_dirty_flags() result is never used

So return void.

Signed-off-by: Juan Quintela <>
Reviewed-by: Orit Wasserman <>
Reviewed-by: Eric Blake <>

a1390db4 01/13/2014 03:04 pm Juan Quintela

memory: create function to set a single dirty bit

Signed-off-by: Juan Quintela <>
Reviewed-by: Orit Wasserman <>
Reviewed-by: Eric Blake <>

7e5609a8 01/13/2014 03:04 pm Juan Quintela

exec: create function to get a single dirty bit

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

4f08cabe 01/13/2014 03:04 pm Juan Quintela

memory: make cpu_physical_memory_is_dirty return bool

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

36187e2c 01/13/2014 03:04 pm Juan Quintela

memory: all users of cpu_physical_memory_get_dirty used only one flag

So cpu_physical_memory_get_dirty_flags is not needed anymore

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

63995ceb 01/13/2014 03:04 pm Juan Quintela

memory: set single dirty flags when possible

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

75218e7f 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_set_dirty_range() always dirty all flags

So remove the flag argument and do it directly. After this change,
there is nothing else using cpu_physical_memory_set_dirty_flags() so
remove it.

Signed-off-by: Juan Quintela <>...

c961514f 01/13/2014 01:39 pm Eduardo Habkost

qemu-file: Make a few functions non-static

The QEMUFile code will be moved to qemu-file.c. This will require making
the following functions non-static because they are used by the savevm.c
code:

  • qemu_peek_byte()
  • qemu_peek_buffer()
  • qemu_file_skip()...
b5503338 01/13/2014 01:39 pm Eduardo Habkost

migration: Move QEMU_VM_* defines to migration/migration.h

The VMState code will be moved to vmstate.c and it uses some of the
QEMU_VM_* constants, so move it to a header.

Signed-off-by: Eduardo Habkost <>
Reviewed-by: Orit Wasserman <>...

debe40fb 01/10/2014 09:05 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/block' into staging

  • stefanha/block:
    commit: Remove unused check
    qemu-iotests: Update test cases for commit active
    commit: Support commit active layer
    block: Add commit_active_start()
    mirror: Move base to MirrorBlockJob...
d1819762 01/10/2014 09:04 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

acpi,pci,pc,fedora,virtio fixes and enhancements

This includes some Preparatory patches for cpu hotplug for q25 and memory
hotplug by Igor, tests and memory mapping change
by Laszlo and pci reset cleanup by Paolo....

c06f13c6 01/09/2014 09:24 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-devices-for-anthony' into staging

QOM infrastructure fixes and device conversions

  • QOM interface fixes and unit test
  • Device no_user sanitization and documentation
  • Device error reporting improvement
  • Conversion of APIC, ICC, IOAPIC to QOM realization model...
666eb032 01/09/2014 09:24 pm Anthony Liguori

Merge remote-tracking branch 'mjt/trivial-patches' into staging

  • mjt/trivial-patches:
    acpi unit-test: Remove temporary disk after test
    mainstone: Fix duplicate array values for key 'space'
    pxa27x: Add 'const' attribute to keyboard maps
    pxa27x: Reduce size of keyboard matrix mapping...
04050c5c 01/08/2014 09:07 pm Christoffer Dall

arm_gic: Rename GIC_X_TRIGGER to GIC_X_EDGE_TRIGGER

TRIGGER can really mean mean anything (e.g. was it triggered, is it
level-triggered, is it edge-triggered, etc.). Rename to EDGE_TRIGGER to
make the code comprehensible without looking up the data structure....

f581bf54 01/08/2014 09:07 pm Will Newton

softfloat: Add float to 16bit integer conversions.

ARMv8 requires support for converting 32 and 64bit floating point
values to signed and unsigned 16bit integers.

Signed-off-by: Will Newton <>
[PMM: updated not to incorrectly set Inexact for Invalid inputs]...

8afbdaba 01/08/2014 09:07 pm Peter Maydell

softfloat: Add 16 bit integer to float conversions

Add the float to 16 bit integer conversion routines. These can be
trivially implemented in terms of the int32_to_float* routines, but
providing them makes our API more symmetrical and can simplify callers....

c4850f9e 01/08/2014 09:07 pm Peter Maydell

softfloat: Make the int-to-float functions take exact-width types

Currently the int-to-float functions take types which are specified
as "at least X bits wide", rather than "exactly X bits wide". This is
confusing and unhelpful since it means that the callers have to include...

2f18bbf9 01/08/2014 09:07 pm Tom Musta

softfloat: Add float32_to_uint64()

This patch adds the float32_to_uint64() routine, which converts a
32-bit floating point number to an unsigned 64 bit number.

This contribution can be licensed under either the softfloat-2a or -2b
license.

Signed-off-by: Tom Musta <>...

879d096b 01/08/2014 09:07 pm Peter Maydell

softfloat: Provide complete set of accessors for fp state

Tidy up the get/set accessors for the fp state to add missing ones
and make them all inline in softfloat.h rather than some inline and
some not.

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

14c9a07e 01/08/2014 09:07 pm Peter Maydell

softfloat: Add float16 <=> float64 conversion functions

Add the conversion functions float16_to_float64() and
float64_to_float16(), which will be needed for the ARM
A64 instruction set.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>

f9288a76 01/08/2014 09:07 pm Peter Maydell

softfloat: Add support for ties-away rounding

IEEE754-2008 specifies a new rounding mode:

"roundTiesToAway: the floating-point number nearest to the infinitely
precise result shall be delivered; if the two nearest floating-point
numbers bracketing an unrepresentable infinitely precise result are...

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 <>...

87ea75d5 01/06/2014 10:02 pm Peter Crosthwaite

qemu-option: Remove qemu_opts_create_nofail

This is a boiler-plate _nofail variant of qemu_opts_create. Remove and
use error_abort in call sites.

null/0 arguments needs to be added for the id and fail_if_exists fields
in affected callsites due to argument inconsistency between the normal and...

59427871 01/06/2014 10:02 pm Peter Crosthwaite

qerror: Remove assert_no_error()

This is no longer needed, and is obsoleted by error_abort. Remove.

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

5d24ee70 01/06/2014 09:01 pm Peter Crosthwaite

error: Add error_abort

Add a special Error * that can be passed to error handling APIs to
signal that any errors are fatal and should abort QEMU. There are two
advantages to this:

- allows for brevity when wishing to assert success of Error **
accepting APIs. No need for this pattern:...

cff8b2c6 01/06/2014 08:45 pm Paolo Bonzini

monitor: add object-add (QMP) and object_add (HMP) command

Add two commands that are the monitor counterparts of -object. The commands
have the same Visitor-based implementation, but use different kinds of
visitors so that the HMP command has a DWIM string-based syntax, while...

f57d6693 01/01/2014 04:03 pm Stefan Weil

pxa27x: Reduce size of keyboard matrix mapping

The row and column values use only a very limited range (-1 ... 7),
so a byte value is sufficient.

Signed-off-by: Stefan Weil <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Michael Tokarev <>

52975c31 01/01/2014 04:03 pm Stefan Weil

pxa27x: Add 'const' attribute to keyboard maps

The mapping is a hardware feature, so it is relatively constant.

Signed-off-by: Stefan Weil <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Michael Tokarev <>

6780a22c 12/24/2013 07:02 pm Stefan Hajnoczi

qdev: Drop misleading qbus_free() function

Same reasoning as commit 02a5c4c97422b40034f31265e0f139f7846172a8
("qdev: Drop misleading qdev_free() function"). The qbus_free()
function removes the child from the namespace and decrements the
reference count. It does not, however, guarantee to free the child...

ff6986ce 12/24/2013 07:02 pm xiaoqiang zhao

apic: QOM'ify APIC

Convert 'init' function to QOM's 'realize' for apic, kvm/apic and
xen/xen_apic.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

494c2717 12/24/2013 07:02 pm xiaoqiang zhao

icc_bus: QOM'ify ICC

For consistency, QOM'ify APIC's parent bus.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

db0f8888 12/24/2013 07:02 pm xiaoqiang zhao

ioapic: QOM'ify ioapic

Convert 'init' function to QOM's 'realize' for ioapic and kvm-ioapic.
Change variable 'ioapic_no' from static to global. Then we can drop
the 'instance_no' function argument.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

c272758f 12/24/2013 06:27 pm Markus Armbruster

qdev: Document that pointer properties kill device_add

Ask users of DEFINE_PROP_PTR() to set
cannot_instantiate_with_device_add_yet, or explain why it's not
needed.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Andreas Färber <>

0ab4c94c 12/24/2013 06:27 pm Peter Crosthwaite

qom: Split out object and class caches

The object-cast and class-cast caches cannot be shared because class
caching is conditional on the target type not being an interface and
object caching is unconditional. Leads to a bug when a class cast
to an interface follows an object cast to the same interface type:...

b061dc41 12/24/2013 06:27 pm Paolo Bonzini

qom: Do not register interface "types" in the type table and fix names

There should be no need to look up nor enumerate the interface "types",
whose "classes" are really just vtables. Just create the types and
add them to the interface list of the parent type....

ddaaefb4 12/23/2013 06:02 pm Gerd Hoffmann

piix: fix 32bit pci hole

Make the 32bit pci hole start at end of ram, so all possible address
space is covered.

We used to try and make addresses aligned so they are easier to cover
with MTRRs, but since they are cosmetic on KVM, this is probably not
worth worrying about....

81e3e75b 12/23/2013 01:12 pm Paolo Bonzini

pci: do not export pci_bus_reset

qbus_reset_all can be used instead. There is no semantic change
because pcibus_reset returns 1 and takes care of the device
tree traversal.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Michael S. Tsirkin <>

0293214b 12/23/2013 01:12 pm Paolo Bonzini

qdev: allow both pre- and post-order vists in qdev walking functions

Resetting should be done in post-order, not pre-order. However,
qdev_walk_children and qbus_walk_children do not allow this. Fix
it by adding two extra arguments to the functions.

Signed-off-by: Paolo Bonzini <>...

dcc20931 12/23/2013 01:12 pm Paolo Bonzini

qdev: switch reset to post-order

Post-order is the only sensible direction for the reset signals.
For example, suppose pre-order is used and the parent has some data
structures that cache children state (for example a list of active
requests). When the reset method is invoked on the parent, these caches...

06313503 12/23/2013 01:12 pm Igor Mammedov

acpi: factor out common pm_update_sci() into acpi core

... and rename it into acpi_update_sci() since it changes
SCI on only on PM registers status.

Signed-off-by: Igor Mammedov <>
Signed-off-by: Michael S. Tsirkin <>

efec3dd6 12/23/2013 01:27 am Markus Armbruster

qdev: Replace no_user by cannot_instantiate_with_device_add_yet

In an ideal world, machines can be built by wiring devices together
with configuration, not code. Unfortunately, that's not the world we
live in right now. We still have quite a few devices that need to be...

03544a6e 12/20/2013 05:26 pm Fam Zheng

block: Add commit_active_start()

commit_active_start is implemented in block/mirror.c, It will create a
job with "commit" type and designated base in block-commit command. This
will be used for committing active layer of device.

Sync mode is removed from MirrorBlockJob because there's no proper type...

8c1b566f 12/20/2013 10:11 am Paolo Bonzini

dataplane: change vring API to use VirtQueueElement

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

87b7f2f8 12/20/2013 10:11 am Paolo Bonzini

dataplane: replace hostmem with memory_region_find

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

be5907f2 12/20/2013 02:58 am Peter Crosthwaite

device_tree: qemu_fdt_setprop: Rename val_array arg

Looking at the implementation, this doesn't really have a lot to do
with arrays. Its just a pointer to a buffer and is passed through
to the wrapped fn (qemu_fdt_setprop) unchanged. So rename to make it...

5a4348d1 12/20/2013 02:58 am Peter Crosthwaite

device_tree: s/qemu_devtree/qemu_fdt globally

The qemu_devtree API is a wrapper around the fdt_ set of APIs.
Rename accordingly.

Signed-off-by: Peter Crosthwaite <>
[agraf: also convert hw/arm/virt.c]
Signed-off-by: Alexander Graf <>

582b55a9 12/20/2013 02:58 am Alexander Graf

roms: Flush icache when writing roms to guest memory

We use the rom infrastructure to write firmware and/or initial kernel
blobs into guest address space. So we're basically emulating the cache
off phase on very early system bootup.

That phase is usually responsible for clearing the instruction cache for...

a64d325d 12/20/2013 02:57 am Alexey Kardashevskiy

spapr-rtas: replace return code constants with macros

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

3ada6b11 12/20/2013 02:57 am Alexey Kardashevskiy

spapr-rtas: add ibm, (get|set)-system-parameter

This adds very basic handlers for ibm,get-system-parameter and
ibm,set-system-parameter RTAS calls.

The only parameter handled at the moment is
"platform-processor-diagnostics-run-mode" which is always disabled and...

afd3fe4c 12/17/2013 10:12 pm Claudio Fontana

host-utils: add clrsb32/64 - count leading redundant sign bits

this patch introduces wrappers for the clrsb builtins,
which count the leading redundant sign bits.

Signed-off-by: Claudio Fontana <>
Signed-off-by: Peter Maydell <>...

c6f09eb4 12/17/2013 10:12 pm Antony Pavlov

hw/arm: add very initial support for Canon DIGIC SoC

DIGIC is Canon Inc.'s name for a family of SoC
for digital cameras and camcorders.

There is no publicly available specification for
DIGIC chips. All information about DIGIC chip
internals is based on reverse engineering efforts...

576e99cb 12/17/2013 10:12 pm Antony Pavlov

hw/arm/digic: add timer support

Signed-off-by: Antony Pavlov <>
Reviewed-by: Peter Crosthwaite <>
Message-id:
Signed-off-by: Peter Maydell <>

142593c9 12/17/2013 10:12 pm Antony Pavlov

hw/arm/digic: add UART support

Signed-off-by: Antony Pavlov <>
Reviewed-by: Peter Maydell <>
Reviewed-by: Peter Crosthwaite <>
Message-id: ...

a1f05e79 12/17/2013 10:12 pm Peter Maydell

vmstate: Add support for an array of ptimer_state *

Add support for defining a vmstate field which is an array
of pointers to structures, and use this to define a
VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state*
to be used by devices.

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

3589de8c 12/17/2013 10:12 pm liguang

hw/timer: add allwinner a10 timer

Signed-off-by: liguang <>
Reviewed-by: Peter Crosthwaite <>
Message-id:
Signed-off-by: Peter Maydell <>

c3931ee8 12/17/2013 10:12 pm liguang

hw/intc: add allwinner A10 interrupt controller

Signed-off-by: liguang <>
Reviewed-by: Peter Crosthwaite <>
Reviewed-by: Peter Maydell <>
Message-id: ...

9158fa54 12/17/2013 10:12 pm liguang

hw/arm: add allwinner a10 SoC support

Signed-off-by: liguang <>
Reviewed-by: Peter Crosthwaite <>
Message-id:
Signed-off-by: Peter Maydell <>

f7d48052 12/16/2013 11:12 am Marc-André Lureau

include: add missing config-host.h include

Signed-off-by: Marc-André Lureau <>
Signed-off-by: Gerd Hoffmann <>

d61b0c9a 12/16/2013 11:12 am Marc-André Lureau

char: add qemu_chr_fe_event()

Teach the chardev frontend to send event. This is used by the Spice port
chardev currently.

Signed-off-by: Marc-André Lureau <>
Signed-off-by: Gerd Hoffmann <>