aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Taggart <taggart@riseup.net>2014-03-03 02:16:28 -0800
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2015-01-22 16:06:00 -0500
commitb0e3bdb356af3d3ef67ea087842049d2d8fcae1f (patch)
tree746c7fc7e94d69989a5e52f2f197893be1a7946b
parenta829f13ca508e2b6d2e634a7aebd2a03cb6243d8 (diff)
downloadkvm-manager-b0e3bdb356af3d3ef67ea087842049d2d8fcae1f.tar.gz
kvm-manager-b0e3bdb356af3d3ef67ea087842049d2d8fcae1f.tar.bz2
add sgabios, for serial bios
the 'serial graphics adapter' bios optionrom can direct early pre-bootloader bios messages (like ipxe output, boot menu, etc) to serial.
-rw-r--r--README3
-rwxr-xr-xkvm-manager1
2 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index 7795752..4528550 100644
--- a/README
+++ b/README
@@ -26,6 +26,7 @@ Dependencies:
fakeroot : for rebuilding the initramfs as a regular user in di-maker
xorriso : for grub2 to make an iso in di-maker
genisoimage : for di-maker to work with an existing iso
+ sgabios : for early pre-bootloader (like ipxe) output
Recommendations:
@@ -35,7 +36,7 @@ INSTALLATION
* Install dependencies:
- apt-get install runit kvm screen bridge-utils lvm2 udev socat
+ apt-get install runit kvm screen bridge-utils lvm2 udev socat sgabios
If you want to be able to use di-maker, you'll also need:
diff --git a/kvm-manager b/kvm-manager
index 2f4ecba..91c8cb7 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -110,6 +110,7 @@ EOF
-usb \
-device virtio-balloon-pci,id=balloon0,bus=pci.0 \
-chardev "socket,id=serial0,path=$CONSOLENAME,server" -device isa-serial,chardev=serial0 \
+ -device sga \
-smp "${SMP:-1},maxcpus=${MAXCPUS:-8}" \
-device "virtio-net-pci,vlan=0,id=net0,mac=$MAC,bus=pci.0" \
-net "tap,ifname=$TAP,script=no,downscript=no,vlan=0,name=hostnet0" &