aboutsummaryrefslogtreecommitdiff
path: root/kvm-manager
AgeCommit message (Collapse)Author
2017-09-22booting into debian-installer should be one-shotHEADmasterDaniel Kahn Gillmor
2017-08-06try to automate booting to d-iDaniel Kahn Gillmor
2017-05-26Option to use alternative disk driver instead of default virtioJamie McClelland
For example, to use scsi instead of virtio on the disk HDB, create an environment variable named HDB_DRIVER and set it to scsi. You can set this variable for any disk by changing the variable name (e.g. HDA_DRIVER, HDC_DRIVER, etc.) to correspond to the disk for which you want the driver set. If you are using an SSD card and you want the fstrim command available, set the driver to scsi. The value can be any value supported by kvm.
2017-05-21invoke screen correctly across an API break.Daniel Kahn Gillmor
See https://bugs.debian.org/863095 about the need for this change. note that the argument to -L duplicates the "logfile" entry in screenrc.kvm-manager.
2017-05-21more robust version comparisonDaniel Kahn Gillmor
a version of kvm like 2.4.10 would have claimed to be greater than 2.6.0 using the existing comparison. we'll rely on dpkg's implementation of version comparisons instead. this does make kvm-manager more specific to debian and debian-derived systems, but if folks who prefer other systems want to offer patches, they would be happily accepted :)
2017-05-21build_disk_io_params needs the name of the variable, not its valueDaniel Kahn Gillmor
I have no idea how this ever worked in the past!
2017-05-21kvm --version has multiple lines of output these daysDaniel Kahn Gillmor
2017-05-21screen 4.5.0 and later expects an argument for -LDaniel Kahn Gillmor
before stretch, screen took no argument for -L, and we relied on the screenrc to indicate the name of the logfile. in stretch, screen's -L takes an argument -- and it complains if the argument following -L starts with a -. This is a breaking API change :/ so this patch can't go into versions before stretch.
2016-06-18Adding disk io throttling options available in qemu 2.6.0Jamie McClelland
2016-06-06allow down() script to complete even with errorsJamie McClelland
otherwise it is impossible to fully de-configure a guest that has been partially de-configured (e.g. it has been killed).
2016-06-05Make coding style more uniformSilvio Rhatto
2015-01-22do not try to use sgabios if it is not installed and availableDaniel Kahn Gillmor
2015-01-22quote-wrap $BOOTCHOICE in case someone ever sets it funnyDaniel Kahn Gillmor
2015-01-22add sgabios, for serial biosMatt Taggart
the 'serial graphics adapter' bios optionrom can direct early pre-bootloader bios messages (like ipxe output, boot menu, etc) to serial.
2015-01-22use new -boot order syntax, according to the man page,Matt Taggart
"Note: The legacy format '-boot drives' is still supported but its use is discouraged as it may be removed from future versions."
2015-01-22add comment to help you realize you can specify the number of CPUs without ↵Micah Anderson
needing to read the code
2015-01-22Add missing double quotesMatthew James Goins
2015-01-22Make the bridge name a variableMatthew James Goins
2014-11-03Change udevadm invocation to match correct usageMatthew James Goins
2013-10-07use cache=none to avoid data copies and bus traffic (see ↵Daniel Kahn Gillmor
https://support.mayfirst.org/ticket/7904)
2013-09-07enable booting the guest from a local kernel directlyDaniel Kahn Gillmor
the user in control of a kvm-manager guest can now choose a kernel to boot directly by placing two files (symlinks are fine) at: ~/vms/$VMNAME/kernel ~/vms/$VMNAME/initrd This is by analogy with ~/vms/$VMNAME/cd.iso. If those two files are present, then the kvm guest will boot directly to the provided kernel rather than doing BIOS emulation that hands off control to the MBR of the first emulated disks. In this case, the first line of the contents of /etc/sv/kvm/env/CMDLINE will be passed as the kernel parameters, and no bootloader will be run.
2013-08-22corrected typo in the loop through HDA..HDZ for doing udevadm triggermaxigas
2013-08-08enable the use of more than 4 disks (HDA through HDZ)Daniel Kahn Gillmor
note that this introduces a dependency on bash, since it uses a bashism.
2013-07-18boot=on is deprecated in wheezy, but squeeze needs it.Daniel Kahn Gillmor
despite -boot=c, squeeze's kvm will not boot the first disk if it does not have boot=on. So we have this hacky check to see if we need it.
2013-07-07clean up some of the udev triggeringDaniel Kahn Gillmor
2012-04-09sending a QUIT signal to the container process should send a TERM signal ↵Daniel Kahn Gillmor
directly to the kvm guest
2011-06-06use ${VMNAME}0 instead of ${VMNAME} for tap interfaceDaniel Kahn Gillmor
2011-06-06silly bugfixDaniel Kahn Gillmor
2011-06-06removed TAP and MAC arguments from kvm-creator, and updated README to ↵Daniel Kahn Gillmor
reflect the change
2011-06-06Use iproute to create tap interfaces for newly created guests, instead of ↵Greg Lyle
bridge-utils.
2011-06-04make sure permissions on /dev/kvm get set properly by udevDaniel Kahn Gillmor
2011-02-20trigger udev updates on lvm devicesDaniel Kahn Gillmor
2011-02-11have kvm block waiting for the client to connect to the socket; should ↵Daniel Kahn Gillmor
enable capturing the first fraction of a second of bootloader output (might cause trouble if/when the console screen dies, though)
2011-02-11switch the order of invocation back around as well -- should make for a ↵Daniel Kahn Gillmor
cleaner startup.
2011-02-11switch client/server for the console back the other way: avoids lag, enables ↵Daniel Kahn Gillmor
restarting a screen if one of them dies for some reason.
2011-02-11keep the console screen session as a child of the kvm-manager processDaniel Kahn Gillmor
2011-02-11auto-launch (and background, ugh) a screen session connected to the consoleDaniel Kahn Gillmor
2011-02-11do not enable booting from anything but the first diskDaniel Kahn Gillmor
2011-02-10control the guest if signals are sent to the parent shellDaniel Kahn Gillmor
2011-02-10fix typo in stdio name, remove unneeded -no-reboot flagDaniel Kahn Gillmor
2011-02-10removing screen session, using sockets for stdioDaniel Kahn Gillmor
2011-01-26convert the disks to virtioDaniel Kahn Gillmor
2011-01-26remove explicit PCI device addresses, switch NIC to virtioDaniel Kahn Gillmor
2011-01-26no need for VGNAME any moreDaniel Kahn Gillmor
2011-01-26remove the set -x and update the dateDaniel Kahn Gillmor
2011-01-26added some arguments gleaned from watching libvirt (still need to switch ↵Daniel Kahn Gillmor
disk and net to virtio, most importantly)
2011-01-26break out kvm arguments to one-per-line to make cleaners diffsDaniel Kahn Gillmor
2010-04-20allow configuration of the number of CPUs via the SMP environment variableDaniel Kahn Gillmor
2010-03-23drop -serial stdio, since that is the default when -nographicDaniel Kahn Gillmor
2010-03-23do not pass hostname= sub-arg to -net, since we are using tap, not user ↵Daniel Kahn Gillmor
networking