diff options
Diffstat (limited to 'block-parallels.c')
-rw-r--r-- | block-parallels.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/block-parallels.c b/block-parallels.c index 8a8ec63da6..18c3d834e7 100644 --- a/block-parallels.c +++ b/block-parallels.c @@ -164,11 +164,10 @@ static void parallels_close(BlockDriverState *bs) } BlockDriver bdrv_parallels = { - "parallels", - sizeof(BDRVParallelsState), - parallels_probe, - parallels_open, - parallels_read, - NULL, - parallels_close, + .format_name = "parallels", + .instance_size = sizeof(BDRVParallelsState), + .bdrv_probe = parallels_probe, + .bdrv_open = parallels_open, + .bdrv_read = parallels_read, + .bdrv_close = parallels_close, }; |