qcow2.c (9b036055ef65d0ab3236dfdb0d07828cea961133) qcow2.c (51ef67270b1d10e1fcf3de7368dccad1ba0bf9d1)
1/*
2 * Block driver for the QCOW version 2 format
3 *
4 * Copyright (c) 2004-2006 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

1281
1282 .bdrv_truncate = qcow2_truncate,
1283 .bdrv_write_compressed = qcow_write_compressed,
1284
1285 .bdrv_snapshot_create = qcow2_snapshot_create,
1286 .bdrv_snapshot_goto = qcow2_snapshot_goto,
1287 .bdrv_snapshot_delete = qcow2_snapshot_delete,
1288 .bdrv_snapshot_list = qcow2_snapshot_list,
1/*
2 * Block driver for the QCOW version 2 format
3 *
4 * Copyright (c) 2004-2006 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

1281
1282 .bdrv_truncate = qcow2_truncate,
1283 .bdrv_write_compressed = qcow_write_compressed,
1284
1285 .bdrv_snapshot_create = qcow2_snapshot_create,
1286 .bdrv_snapshot_goto = qcow2_snapshot_goto,
1287 .bdrv_snapshot_delete = qcow2_snapshot_delete,
1288 .bdrv_snapshot_list = qcow2_snapshot_list,
1289 .bdrv_snapshot_load_tmp = qcow2_snapshot_load_tmp,
1289 .bdrv_get_info = qcow_get_info,
1290
1291 .bdrv_save_vmstate = qcow_save_vmstate,
1292 .bdrv_load_vmstate = qcow_load_vmstate,
1293
1294 .bdrv_change_backing_file = qcow2_change_backing_file,
1295
1296 .create_options = qcow_create_options,
1297 .bdrv_check = qcow_check,
1298};
1299
1300static void bdrv_qcow2_init(void)
1301{
1302 bdrv_register(&bdrv_qcow2);
1303}
1304
1305block_init(bdrv_qcow2_init);
1290 .bdrv_get_info = qcow_get_info,
1291
1292 .bdrv_save_vmstate = qcow_save_vmstate,
1293 .bdrv_load_vmstate = qcow_load_vmstate,
1294
1295 .bdrv_change_backing_file = qcow2_change_backing_file,
1296
1297 .create_options = qcow_create_options,
1298 .bdrv_check = qcow_check,
1299};
1300
1301static void bdrv_qcow2_init(void)
1302{
1303 bdrv_register(&bdrv_qcow2);
1304}
1305
1306block_init(bdrv_qcow2_init);