Statistics
| Branch: | Revision:

root / block / bochs.c @ a77cffe7

History | View | Annotate | Download (6.6 kB)

# Date Author Comment
7a6f3913 05/17/2010 11:20 am Christoph Hellwig

bochs: use qemu block API

Use bdrv_pwrite to access the backing device instead of pread, and
convert the driver to implementing the bdrv_open method which gives
it an already opened BlockDriverState for the underlying device.

Signed-off-by: Christoph Hellwig <>...

efbca10f 05/17/2010 11:20 am Christoph Hellwig

bochs: use pread

Use pread instead of lseek + read in preparation of using the qemu
block API.

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Kevin Wolf <>

66f82cee 05/03/2010 11:07 am Kevin Wolf

block: Open the underlying image file in generic code

Format drivers shouldn't need to bother with things like file names, but rather
just get an open BlockDriverState for the underlying protocol. This patch
introduces this behaviour for bdrv_open implementation. For protocols which...

0a7fc983 01/26/2010 11:42 pm Naphtali Sprei

Read-only device changed to opens it's file for read-only.

Signed-off-by: Naphtali Sprei <>
Signed-off-by: Anthony Liguori <>

ecbe1576 12/25/2009 09:27 pm Blue Swirl

block/bochs: improve format checking

Signed-off-by: Blue Swirl <>

00ccf932 12/25/2009 08:19 pm Kirill A. Shutemov

block/bochs.c: fix warning with _FORTIFY_SOURCE

CC    block/bochs.o
cc1: warnings being treated as errors
block/bochs.c: In function 'seek_to_sector':
block/bochs.c:202: error: ignoring return value of 'read', declared with attribute warn_unused_result...
019d6b8f 05/15/2009 12:13 am Anthony Liguori

Move block drivers into their own directory

Signed-off-by: Anthony Liguori <>