[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 21/34] Convert character devices over to use -device



On 01/08/2010 06:23 PM, Daniel P. Berrange wrote:
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index 5dcd50f..eded887 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -1592,6 +1592,9 @@ static char *qemuDiskDriveName(const virDomainDiskDefPtr disk)
          case VIR_DOMAIN_DISK_BUS_VIRTIO:
              ret = virAsprintf(&devname, "virtio%d", devid);
              break;
+        case VIR_DOMAIN_DISK_BUS_XEN:
+            ret = virAsprintf(&devname, "xenblk%d", devid);
+            break;
          default:
              qemudReportError(NULL, NULL, NULL, VIR_ERR_NO_SUPPORT,
                               _("Unsupported disk name mapping for bus '%s'"),

Belongs in previous patch.

Paolo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]