aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-21 06:38:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-21 06:38:28 +0200
commit82e1c41385491d66d4717b17ca36601aedec28aa (patch)
treec312236757d7bcb81210fb5698f1b2c7921d9b97
parent44d743e2d3d0650d4ad9a89d19c42ffe42b54314 (diff)
Switch to using virtio-blk instead of virtio-scsi by default
-rw-r--r--bbot/machine.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/bbot/machine.cxx b/bbot/machine.cxx
index db596cd..9459b25 100644
--- a/bbot/machine.cxx
+++ b/bbot/machine.cxx
@@ -198,14 +198,18 @@ namespace bbot
//
// Network.
//
- "-device", "virtio-net-pci,netdev=net0,mac=" + mac,
"-netdev", "tap,id=net0,script=no,ifname=" + tap,
+ "-device", "virtio-net-pci,netdev=net0,mac=" + mac,
//
// Disk.
//
- "-device", "virtio-scsi-pci,id=scsi",
- "-device", "scsi-hd,drive=disk0",
- "-drive", "if=none,id=disk0,format=raw,file=disk.img",
+ "-drive", "if=none,id=disk0,file=disk.img,format=raw",
+ "-device", "virtio-blk-pci,scsi=off,drive=disk0",
+
+ //"-device", "virtio-scsi-pci,id=scsi",
+ //"-device", "scsi-hd,drive=disk0",
+ //"-drive", "if=none,id=disk0,format=raw,file=disk.img",
+
//
// VNC & monitor.
//