diff --git a/block-raw-posix.c b/block-raw-posix.c index e314f4ae4c..833907186a 100644 --- a/block-raw-posix.c +++ b/block-raw-posix.c @@ -1149,6 +1149,11 @@ static int raw_ioctl(BlockDriverState *bs, unsigned long int req, void *buf) } #else +static int fd_open(BlockDriverState *bs) +{ + return 0; +} + static int raw_is_inserted(BlockDriverState *bs) { return 1;