diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-11-27 13:25:39 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 11:45:49 -0600 |
commit | f35d68f0e79ed82d1c9a8a78a688d0ead8bf05f2 (patch) | |
tree | 859b016f3bfe5ff8a172e679531a31cb2907a8b9 /vl.c | |
parent | ce4b6522f71f6cc5ccdb0d278f94ae1b85ba0959 (diff) | |
download | qemu-f35d68f0e79ed82d1c9a8a78a688d0ead8bf05f2.zip qemu-f35d68f0e79ed82d1c9a8a78a688d0ead8bf05f2.tar.gz qemu-f35d68f0e79ed82d1c9a8a78a688d0ead8bf05f2.tar.bz2 |
virtio-blk: Implement rerror option
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2198,7 +2198,7 @@ DriveInfo *drive_init(QemuOpts *opts, void *opaque, on_read_error = BLOCK_ERR_REPORT; if ((buf = qemu_opt_get(opts, "rerror")) != NULL) { - if (type != IF_IDE) { + if (type != IF_IDE && type != IF_VIRTIO) { fprintf(stderr, "rerror is no supported by this format\n"); return NULL; } |