vpc.c (fec9921f0a331716c898d1f823682de2ecfa3d2a) | vpc.c (c282e1fdf7ec9659c7f320123be397477a359d01) |
---|---|
1/* 2 * Block driver for Connectix / Microsoft Virtual PC images 3 * 4 * Copyright (c) 2005 Alex Beregszaszi 5 * Copyright (c) 2009 Kevin Wolf <kwolf@suse.de> 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 882 unchanged lines hidden (view full) --- 891static BlockDriver bdrv_vpc = { 892 .format_name = "vpc", 893 .instance_size = sizeof(BDRVVPCState), 894 895 .bdrv_probe = vpc_probe, 896 .bdrv_open = vpc_open, 897 .bdrv_close = vpc_close, 898 .bdrv_reopen_prepare = vpc_reopen_prepare, | 1/* 2 * Block driver for Connectix / Microsoft Virtual PC images 3 * 4 * Copyright (c) 2005 Alex Beregszaszi 5 * Copyright (c) 2009 Kevin Wolf <kwolf@suse.de> 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 882 unchanged lines hidden (view full) --- 891static BlockDriver bdrv_vpc = { 892 .format_name = "vpc", 893 .instance_size = sizeof(BDRVVPCState), 894 895 .bdrv_probe = vpc_probe, 896 .bdrv_open = vpc_open, 897 .bdrv_close = vpc_close, 898 .bdrv_reopen_prepare = vpc_reopen_prepare, |
899 .bdrv_create2 = vpc_create, | 899 .bdrv_create = vpc_create, |
900 901 .bdrv_read = vpc_co_read, 902 .bdrv_write = vpc_co_write, 903 904 .bdrv_get_info = vpc_get_info, 905 906 .create_opts = &vpc_create_opts, 907 .bdrv_has_zero_init = vpc_has_zero_init, 908}; 909 910static void bdrv_vpc_init(void) 911{ 912 bdrv_register(&bdrv_vpc); 913} 914 915block_init(bdrv_vpc_init); | 900 901 .bdrv_read = vpc_co_read, 902 .bdrv_write = vpc_co_write, 903 904 .bdrv_get_info = vpc_get_info, 905 906 .create_opts = &vpc_create_opts, 907 .bdrv_has_zero_init = vpc_has_zero_init, 908}; 909 910static void bdrv_vpc_init(void) 911{ 912 bdrv_register(&bdrv_vpc); 913} 914 915block_init(bdrv_vpc_init); |