more BlockDriver C99 initializers (Christoph Hellwig)

Looks like the two bdrv_raw instances were missed last time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7018 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aliguori 2009-04-07 18:23:51 +00:00
parent 7442511ca1
commit f1b2f712a4

View File

@ -229,16 +229,12 @@ static int raw_create(const char *filename, int64_t total_size,
} }
BlockDriver bdrv_raw = { BlockDriver bdrv_raw = {
"raw", .format_name = "raw",
sizeof(BDRVRawState), .instance_size = sizeof(BDRVRawState),
NULL, /* no probe for protocols */ .bdrv_open = raw_open,
raw_open, .bdrv_close = raw_close,
NULL, .bdrv_create = raw_create,
NULL, .bdrv_flush = raw_flush,
raw_close,
raw_create,
raw_flush,
.bdrv_read = raw_read, .bdrv_read = raw_read,
.bdrv_write = raw_write, .bdrv_write = raw_write,
.bdrv_truncate = raw_truncate, .bdrv_truncate = raw_truncate,