Allow use of virtio-blk disk bus.
authorRichard W.M. Jones <rjones@redhat.com>
Sun, 28 Feb 2016 20:45:44 +0000 (20:45 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sun, 28 Feb 2016 20:45:44 +0000 (20:45 +0000)
It's documented, but didn't work before.

mclu_boot.ml

index 625aea2..8e7f6a3 100644 (file)
@@ -276,6 +276,8 @@ Try: `mclu on %s'\n" hostname hostname;
     match template_info.Template.disk_bus with
     | Some "ide" ->
       "      <target dev='sda' bus='ide'/>\n"
+    | Some "virtio" ->
+      "      <target dev='vda' bus='virtio'/>\n"
     | Some "virtio-scsi" | None ->
       "      <target dev='sda' bus='scsi'/>\n"
     | Some bus ->