diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 45d55fc50814ca196f9f3a6f628c26a5931209e1..ee4b52beb95ff5333e842c91295fad2728af78f5 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -3657,7 +3657,7 @@ qemuBuildCommandLine(virConnectPtr conn, if (disk->driverName != NULL && !STREQ(disk->driverName, "qemu")) { - qemuReportError(VIR_ERR_INTERNAL_ERROR, + qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("unsupported driver name '%s' for disk '%s'"), disk->driverName, disk->src); goto error; diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index e2f428fbed67982f40431d7711599aacf321ad01..f4ee4c3f8f9e8bc907049a5264ed80d65d83bd39 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -5208,7 +5208,7 @@ qemuDomainAttachDeviceDiskLive(struct qemud_driver *driver, int ret = -1; if (disk->driverName != NULL && !STREQ(disk->driverName, "qemu")) { - qemuReportError(VIR_ERR_INTERNAL_ERROR, + qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("unsupported driver name '%s' for disk '%s'"), disk->driverName, disk->src); goto end; diff --git a/tools/virsh.pod b/tools/virsh.pod index 6529cd6920316265fb8d6d6f207c81b3a49881e5..88dee266070ccda4870b2312af01dd5bd79d4ce2 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1184,7 +1184,8 @@ the single existing device; consider using B for this usage. Attach a new disk device to the domain. I and I are paths for the files and devices. -I can be I, I or I depending on the kind of access. +I can be I, I or I for the Xen hypervisor depending on +the kind of access; or I for the QEMU emulator. I can indicate I or I as alternative to the disk default, although this use only replaces the media within the existing virtual cdrom or floppy device; consider using B for this usage instead.