« Previous | Next » 

Revision 06b611c4

ID06b611c48edb1bf0301c3e7fe49dec2b9feaaf89

Added by Ryota Ozaki about 12 years ago

qemu-io: Fix return value handling of bdrv_open

bdrv_open may return -errno so we have to check
if the return value is '< 0', not '== -1'.

Signed-off-by: Ryota Ozaki <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences