aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
//