diff options
-rw-r--r-- | block/raw-win32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/raw-win32.c b/block/raw-win32.c index 0755434732..99547488e4 100644 --- a/block/raw-win32.c +++ b/block/raw-win32.c @@ -481,6 +481,8 @@ static int raw_create(const char *filename, QEMUOptionParameter *options, int fd; int64_t total_size = 0; + strstart(filename, "file:", &filename); + /* Read out options */ while (options && options->name) { if (!strcmp(options->name, BLOCK_OPT_SIZE)) { |