The support for configuring the 'wwn' of a IDE disk was added in qemu
commit
95ebda85e09 (
v1.0-1869-g95ebda85e0) and can't be compiled
out.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
_("Only ide and scsi disk support wwn"));
return -1;
}
-
- if (disk->bus == VIR_DOMAIN_DISK_BUS_IDE &&
- !virQEMUCapsGet(qemuCaps, QEMU_CAPS_IDE_DRIVE_WWN)) {
- virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("Setting wwn for ide disk is not supported "
- "by this QEMU"));
- return -1;
- }
}
if (disk->vendor || disk->product) {