summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-02-24 12:18:22 -0800
committerBrian Dolbec <dolsen@gentoo.org>2016-02-24 12:18:22 -0800
commit36f3367425ac807ddb9ddcd3970fb11a8e986e40 (patch)
tree674294441c275a57dd16dafdcfcc1e4db76868b5
parentAdd missing DRIVE_CACHE setting to the example (diff)
downloadkvm-tools-36f3367425ac807ddb9ddcd3970fb11a8e986e40.tar.gz
kvm-tools-36f3367425ac807ddb9ddcd3970fb11a8e986e40.tar.bz2
kvm-tools-36f3367425ac807ddb9ddcd3970fb11a8e986e40.zip
Add live-usb image example
-rw-r--r--app-emulation/qemu-init-scripts/files/qemu-conf.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/app-emulation/qemu-init-scripts/files/qemu-conf.example b/app-emulation/qemu-init-scripts/files/qemu-conf.example
index d6c00b8..d3f2c77 100644
--- a/app-emulation/qemu-init-scripts/files/qemu-conf.example
+++ b/app-emulation/qemu-init-scripts/files/qemu-conf.example
@@ -105,4 +105,13 @@ FOREGROUND="vnc=:24"
#TIMEOUT=60
# Any other qemu options you may want to use
+# live cd example
OTHER_ARGS="-boot order=cd -cdrom /mnt/archive/gentoo.iso"
+
+# live-usb image install example, with optional boot menu, adjust the format type as needed
+# Note, initial run with an empty primary drive, initial boot fails,
+# reboot it (send Cntl-Alt-delete), use the F12 option and select the second drive, after installation
+# the primary drive should boot automatically
+#OTHER_ARGS="-drive if=virtio,file=/path/to/usb.img,format=raw,cache=writeback,media=disk -boot menu=on"
+
+