ide: Implement rerror option

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Kevin Wolf authored and Anthony Liguori committed 2009-12-03 11:45:49 -06:00
1 parent e9b2e81889
commit ce4b6522f7
3 files changed
+39 -18

No files matched your search

+1 -1
View File
@@ -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;
}