aboutsummaryrefslogtreecommitdiff
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.
2017-02-07more markdown cleanupfeature/styleDaniel Kahn Gillmor
2017-02-07more markdown cleanupDaniel Kahn Gillmor
2017-02-07a bit more markdown cleanupDaniel Kahn Gillmor
2017-02-07clean up markdownDaniel Kahn Gillmor
2017-02-07rename README as markdown for better visibilityDaniel Kahn Gillmor
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-03-19update to work with jessiedevelopDaniel Kahn Gillmor
around 3.15, the linux kernel stopped parsing arguments passed to it after a -- argument: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=51e158c12aca3c9ac63988611a97c05109b14dc9 This breaks the usual debian-installer approach of putting kernel arguments that you want to persist in the install after the -- argument. We work around this by just putting the arguments we want to persist both before and after the --. yuck.
2015-03-14di-maker should work when absolute paths are passed to itDaniel Kahn Gillmor
2015-03-14give hints of what to do when failing to find isoinfoDaniel Kahn Gillmor
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-22add CREATE_USER optional environment parameter to skip creating a userMicah Anderson
if it is set to something other than 'yes'
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-12-27automatically assume screen can show UTF-8 charactersDaniel Kahn Gillmor
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-08-30note the reliance on geniso for isoinfo (thanks, kwadronaut!)Daniel 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-09-30improving usage warnings for di-makerDaniel Kahn Gillmor
2011-09-30fix error output for di-makerDaniel Kahn Gillmor
2011-06-06use ${VMNAME}0 instead of ${VMNAME} for tap interfaceDaniel Kahn Gillmor
2011-06-06silly bugfixDaniel Kahn Gillmor
2011-06-06updated TODO with various not-unreasonable ideasDaniel 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-06Use the name of a newly created guest as the base of the name of the tap ↵Greg Lyle
interface created for that guest.
2011-06-06add note about explicitly setting hwaddress for br0Daniel Kahn Gillmor
2011-06-04make sure permissions on /dev/kvm get set properly by udevDaniel Kahn Gillmor
2011-05-10sort -n doesn't properly sort hex values - resulting in duplicateJamie McClelland
mac address if the last mac address created ends in 0a (we get 09 as the last sorted address, hence 0a gets created again).
2011-04-21fixed README descrption of connecting to the monitor socketDaniel Kahn Gillmor
2011-03-05clean up after a repackDaniel Kahn Gillmor