diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-11-27 13:25:38 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 11:45:49 -0600 |
commit | ce4b6522f71f6cc5ccdb0d278f94ae1b85ba0959 (patch) | |
tree | 66ac05ab9a01b0fb5c2af09f370f4fd1f8172cb2 /vl.c | |
parent | e9b2e81889d9877415710484b876ee57a42b0bcb (diff) |
ide: 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 (1) { + if (type != IF_IDE) { fprintf(stderr, "rerror is no supported by this format\n"); return NULL; } |