Fix qemu driver compilation warning/error

This commit is contained in:
Vitaliy Filippov
2023-01-13 23:44:39 +03:00
parent 9e1a80bd17
commit 8763e9211c
+1 -1
View File
@@ -259,7 +259,7 @@ static int vitastor_file_open(BlockDriverState *bs, QDict *options, int flags, E
client->readonly = (flags & BDRV_O_RDWR) ? 1 : 0;
// Get image metadata (size and readonly flag) or just wait until the client is ready
if (!image)
client->image = "x";
client->image = (char*)"x";
task.complete = 0;
task.bs = bs;
if (qemu_in_coroutine())