Statistics
| Branch: | Revision:

root / blockdev.h @ ff753bb9

History | View | Annotate | Download (1.5 kB)

# Date Author Comment
6ea421fe 10/03/2010 09:37 am Stefan Weil

blockdev: Use GCC_FMT_ATTR (format checking)

Additional changes:

  • Removed 'extern' from drive_add (avoids too long line).
  • Removed 'extern' from other functions (makes declarations
    consistent with others in same header file).

Cc: Blue Swirl <>...

2446333c 08/24/2010 06:22 pm Blue Swirl

Rearrange block headers

Changing block.h or blockdev.h resulted in recompiling most objects.

Move DriveInfo typedef and BlockInterfaceType enum definitions
to qemu-common.h and rearrange blockdev.h use to decrease churn.

Signed-off-by: Blue Swirl <>

dfb0acd8 07/02/2010 02:18 pm Markus Armbruster

blockdev: drive_get_by_id() is no longer used, remove

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

0c6f9c17 07/02/2010 02:18 pm Markus Armbruster

blockdev: Remove drive_get_serial()

Unused since commit 6ced55a5.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

e4700e59 07/02/2010 02:18 pm Markus Armbruster

blockdev: New drive_get_by_blockdev()

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

14bafc54 07/02/2010 02:18 pm Markus Armbruster

blockdev: Clean up automatic drive deletion

We automatically delete blockdev host parts on unplug of the guest
device. Too much magic, but we can't change that now.

The delete happens early in the guest device teardown, before the
connection to the host part is severed. Thus, the guest part's...

abd7f68d 06/15/2010 10:41 am Markus Armbruster

block: Move error actions from DriveInfo to BlockDriverState

That's where they belong semantically (block device host part), even
though the actions are actually executed by guest device code.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

c9b62a7e 06/15/2010 10:41 am Markus Armbruster

blockdev: Give drives internal linkage

This is the list of drives defined with drive_init(). Hide it, so it
doesn't get abused.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

666daa68 06/04/2010 04:20 pm Markus Armbruster

blockdev: Collect block device code in new blockdev.c

Anything that moves hundreds of lines out of vl.c can't be all bad.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>