Statistics
| Branch: | Revision:

root / include @ 2dbafdc0

Name Size
  block
  disas
  exec
  fpu
  hw
  migration
  monitor
  net
  qapi
  qemu
  qom
  sysemu
  ui
config.h 52 Bytes
elf.h 56.3 kB
glib-compat.h 589 Bytes
qemu-common.h 14 kB
qemu-io.h 1.5 kB
trace.h 93 Bytes

Latest revisions

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

View revisions

Also available in: Atom