Revision db08adf5 block/qcow2.c
b/block/qcow2.c | ||
---|---|---|
2981 | 2981 |
} |
2982 | 2982 |
|
2983 | 2983 |
static QEMUOptionParameter qcow_create_options[] = { |
2984 |
{ BLOCK_OPT_SIZE, OPT_SIZE }, |
|
2985 |
{ BLOCK_OPT_BACKING_FILE, OPT_STRING }, |
|
2986 |
{ BLOCK_OPT_BACKING_FMT, OPT_STRING }, |
|
2987 |
{ BLOCK_OPT_ENCRYPT, OPT_FLAG }, |
|
2988 |
{ BLOCK_OPT_CLUSTER_SIZE, OPT_SIZE }, |
|
2984 |
{ |
|
2985 |
.name = BLOCK_OPT_SIZE, |
|
2986 |
.type = OPT_SIZE, |
|
2987 |
.help = "Virtual disk size" |
|
2988 |
}, |
|
2989 |
{ |
|
2990 |
.name = BLOCK_OPT_BACKING_FILE, |
|
2991 |
.type = OPT_STRING, |
|
2992 |
.help = "File name of a base image" |
|
2993 |
}, |
|
2994 |
{ |
|
2995 |
.name = BLOCK_OPT_BACKING_FMT, |
|
2996 |
.type = OPT_STRING, |
|
2997 |
.help = "Image format of the base image" |
|
2998 |
}, |
|
2999 |
{ |
|
3000 |
.name = BLOCK_OPT_ENCRYPT, |
|
3001 |
.type = OPT_FLAG, |
|
3002 |
.help = "Encrypt the image" |
|
3003 |
}, |
|
3004 |
{ |
|
3005 |
.name = BLOCK_OPT_CLUSTER_SIZE, |
|
3006 |
.type = OPT_SIZE, |
|
3007 |
.help = "qcow2 cluster size" |
|
3008 |
}, |
|
2989 | 3009 |
{ NULL } |
2990 | 3010 |
}; |
2991 | 3011 |
|
Also available in: Unified diff