vdi.c (004b7f2522368a8cb64bfb18b904acee99e12838) vdi.c (c282e1fdf7ec9659c7f320123be397477a359d01)
1/*
2 * Block driver for the Virtual Disk Image (VDI) format
3 *
4 * Copyright (c) 2009, 2012 Stefan Weil
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 2 of the License, or

--- 816 unchanged lines hidden (view full) ---

825
826static BlockDriver bdrv_vdi = {
827 .format_name = "vdi",
828 .instance_size = sizeof(BDRVVdiState),
829 .bdrv_probe = vdi_probe,
830 .bdrv_open = vdi_open,
831 .bdrv_close = vdi_close,
832 .bdrv_reopen_prepare = vdi_reopen_prepare,
1/*
2 * Block driver for the Virtual Disk Image (VDI) format
3 *
4 * Copyright (c) 2009, 2012 Stefan Weil
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 2 of the License, or

--- 816 unchanged lines hidden (view full) ---

825
826static BlockDriver bdrv_vdi = {
827 .format_name = "vdi",
828 .instance_size = sizeof(BDRVVdiState),
829 .bdrv_probe = vdi_probe,
830 .bdrv_open = vdi_open,
831 .bdrv_close = vdi_close,
832 .bdrv_reopen_prepare = vdi_reopen_prepare,
833 .bdrv_create2 = vdi_create,
833 .bdrv_create = vdi_create,
834 .bdrv_has_zero_init = bdrv_has_zero_init_1,
835 .bdrv_co_get_block_status = vdi_co_get_block_status,
836 .bdrv_make_empty = vdi_make_empty,
837
838 .bdrv_read = vdi_co_read,
839#if defined(CONFIG_VDI_WRITE)
840 .bdrv_write = vdi_co_write,
841#endif

--- 14 unchanged lines hidden ---
834 .bdrv_has_zero_init = bdrv_has_zero_init_1,
835 .bdrv_co_get_block_status = vdi_co_get_block_status,
836 .bdrv_make_empty = vdi_make_empty,
837
838 .bdrv_read = vdi_co_read,
839#if defined(CONFIG_VDI_WRITE)
840 .bdrv_write = vdi_co_write,
841#endif

--- 14 unchanged lines hidden ---