diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 8c979fdf65ad87f60487cb20e4d1cde34b3bd3e6..cbf25d5f07a9e575ac953c7ad38f5f0dff23ff05 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -1290,12 +1290,6 @@ qemuCheckDiskConfig(virDomainDiskDefPtr disk, if (qemuCheckDiskConfigBlkdeviotune(disk, qemuCaps) < 0) return -1; - if (virDiskNameToIndex(disk->dst) < 0) { - virReportError(VIR_ERR_INTERNAL_ERROR, - _("unsupported disk type '%s'"), disk->dst); - return -1; - } - if (disk->wwn) { if ((disk->bus != VIR_DOMAIN_DISK_BUS_IDE) && (disk->bus != VIR_DOMAIN_DISK_BUS_SCSI)) {