diff --git a/block-raw-posix.c b/block-raw-posix.c index e314f4ae4cdb522c11a099f2658d830281e47197..833907186ade91acc8adace2eac7c2371fbe156e 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;