« Previous | Next » 

Revision dc33bb34

IDdc33bb341122623105573d47fa6d71a0ba5ff15c

Added by Gerd Hoffmann about 14 years ago

drive: allow rerror, werror and readonly for if=none

When creating guest disks the qdev way using ...

-drive if=none,id=$name,args
-device $driver,drive=$name

it is not possible to specify rerror, werror and readonly arguments
for drive as drive_init allows/blocks them based on the interface (if=)
specified and none isn't white-listed there.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences