On 2012年08月31日 00:17, Paolo Bonzini wrote:
Il 29/08/2012 18:36, Osier Yang ha scritto:
> All of ide-drive, ide-hd, ide-cd, scsi-disk, scsi-hd, and scsi-cd
> supports wwn property. (NB, scsi-block doesn't support to set wwn).
Please make it an error to specify a wwn together with scsi-block.
Paolo
I checked it by:
+ if (disk->wwn) {
+ if (disk->device == VIR_DOMAIN_DISK_DEVICE_LUN) {
+ virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
+ _("Setting wwn is not supported for lun
device"));
+ goto error;
+ }
No words "scsi-block" though, that's why I guess you missed it. :-)
Regards,
Osier