aboutsummaryrefslogtreecommitdiff
path: root/block/raw_bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/raw_bsd.c')
-rw-r--r--block/raw_bsd.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/block/raw_bsd.c b/block/raw_bsd.c
index b1d7209b7c..b70245d123 100644
--- a/block/raw_bsd.c
+++ b/block/raw_bsd.c
@@ -1,6 +1,7 @@
/* BlockDriver implementation for "raw"
*
- * Copyright (C) 2013, Red Hat, Inc.
+ * Copyright (C) 2010, 2013, Red Hat, Inc.
+ * Copyright (C) 2010, Blue Swirl <blauwirbel@gmail.com>
*
* Author:
* Laszlo Ersek <lersek@redhat.com>
@@ -25,6 +26,16 @@
*/
#include "block/block_int.h"
+#include "qemu/option.h"
+
+static const QEMUOptionParameter raw_create_options[] = {
+ {
+ .name = BLOCK_OPT_SIZE,
+ .type = OPT_SIZE,
+ .help = "Virtual disk size"
+ },
+ { 0 }
+};
static TYPE raw_reopen_prepare(BlockDriverState *bs)
{