]>
gitweb.fluxo.info Git - kvm-manager.git/log
Daniel Kahn Gillmor [Fri, 22 Sep 2017 21:11:59 +0000 (17:11 -0400)]
booting into debian-installer should be one-shot
Daniel Kahn Gillmor [Sun, 6 Aug 2017 21:05:57 +0000 (17:05 -0400)]
try to automate booting to d-i
Jamie McClelland [Fri, 26 May 2017 14:43:26 +0000 (10:43 -0400)]
Option to use alternative disk driver instead of default virtio
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.
Daniel Kahn Gillmor [Sun, 21 May 2017 18:40:31 +0000 (14:40 -0400)]
invoke screen correctly across an API break.
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.
Daniel Kahn Gillmor [Sun, 21 May 2017 18:37:55 +0000 (14:37 -0400)]
more robust version comparison
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 :)
Daniel Kahn Gillmor [Sun, 21 May 2017 17:58:02 +0000 (13:58 -0400)]
build_disk_io_params needs the name of the variable, not its value
I have no idea how this ever worked in the past!
Daniel Kahn Gillmor [Sun, 21 May 2017 17:51:10 +0000 (13:51 -0400)]
kvm --version has multiple lines of output these days
Daniel Kahn Gillmor [Sun, 21 May 2017 17:36:19 +0000 (13:36 -0400)]
screen 4.5.0 and later expects an argument for -L
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.
Daniel Kahn Gillmor [Tue, 7 Feb 2017 20:57:37 +0000 (15:57 -0500)]
more markdown cleanup
Daniel Kahn Gillmor [Tue, 7 Feb 2017 20:57:10 +0000 (15:57 -0500)]
more markdown cleanup
Daniel Kahn Gillmor [Tue, 7 Feb 2017 20:56:05 +0000 (15:56 -0500)]
a bit more markdown cleanup
Daniel Kahn Gillmor [Tue, 7 Feb 2017 20:55:14 +0000 (15:55 -0500)]
clean up markdown
Daniel Kahn Gillmor [Tue, 7 Feb 2017 20:45:03 +0000 (15:45 -0500)]
rename README as markdown for better visibility
Jamie McClelland [Sun, 19 Jun 2016 02:11:39 +0000 (22:11 -0400)]
Adding disk io throttling options available in qemu 2.6.0
Jamie McClelland [Thu, 11 Feb 2016 17:23:27 +0000 (12:23 -0500)]
allow down() script to complete even with errors
otherwise it is impossible to fully de-configure a guest
that has been partially de-configured (e.g. it has been killed).
Silvio Rhatto [Sun, 5 Jun 2016 23:49:24 +0000 (20:49 -0300)]
Make coding style more uniform
Daniel Kahn Gillmor [Thu, 19 Mar 2015 21:11:08 +0000 (17:11 -0400)]
update to work with jessie
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.
Daniel Kahn Gillmor [Sat, 14 Mar 2015 19:41:25 +0000 (15:41 -0400)]
di-maker should work when absolute paths are passed to it
Daniel Kahn Gillmor [Sat, 14 Mar 2015 18:43:12 +0000 (14:43 -0400)]
give hints of what to do when failing to find isoinfo
Daniel Kahn Gillmor [Thu, 22 Jan 2015 21:36:23 +0000 (16:36 -0500)]
do not try to use sgabios if it is not installed and available
Daniel Kahn Gillmor [Thu, 22 Jan 2015 21:29:54 +0000 (16:29 -0500)]
quote-wrap $BOOTCHOICE in case someone ever sets it funny
Matt Taggart [Mon, 3 Mar 2014 10:16:28 +0000 (02:16 -0800)]
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.
Micah Anderson [Thu, 18 Dec 2014 17:22:01 +0000 (12:22 -0500)]
add CREATE_USER optional environment parameter to skip creating a user
if it is set to something other than 'yes'
Matt Taggart [Mon, 3 Mar 2014 10:23:20 +0000 (02:23 -0800)]
use new -boot order syntax, according to the man page,
"Note: The legacy format '-boot drives' is still supported but its
use is discouraged as it may be removed from future versions."
Micah Anderson [Thu, 22 Jan 2015 18:49:25 +0000 (13:49 -0500)]
add comment to help you realize you can specify the number of CPUs without needing to read the code
Matthew James Goins [Thu, 22 Jan 2015 17:34:08 +0000 (12:34 -0500)]
Add missing double quotes
Matthew James Goins [Thu, 22 Jan 2015 17:11:33 +0000 (12:11 -0500)]
Make the bridge name a variable
Matthew James Goins [Mon, 3 Nov 2014 16:44:10 +0000 (11:44 -0500)]
Change udevadm invocation to match correct usage
Daniel Kahn Gillmor [Fri, 27 Dec 2013 23:38:36 +0000 (18:38 -0500)]
automatically assume screen can show UTF-8 characters
Daniel Kahn Gillmor [Mon, 7 Oct 2013 20:14:52 +0000 (16:14 -0400)]
use cache=none to avoid data copies and bus traffic (see https://support.mayfirst.org/ticket/7904)
Daniel Kahn Gillmor [Sun, 8 Sep 2013 02:32:27 +0000 (22:32 -0400)]
enable booting the guest from a local kernel directly
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.
maxigas [Sun, 18 Aug 2013 14:38:28 +0000 (14:38 +0000)]
corrected typo in the loop through HDA..HDZ for doing udevadm trigger
Daniel Kahn Gillmor [Thu, 8 Aug 2013 19:31:29 +0000 (15:31 -0400)]
enable the use of more than 4 disks (HDA through HDZ)
note that this introduces a dependency on bash, since it uses a
bashism.
Daniel Kahn Gillmor [Fri, 19 Jul 2013 01:15:59 +0000 (21:15 -0400)]
boot=on is deprecated in wheezy, but squeeze needs it.
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.
Daniel Kahn Gillmor [Sun, 7 Jul 2013 23:41:34 +0000 (19:41 -0400)]
clean up some of the udev triggering
Daniel Kahn Gillmor [Thu, 30 Aug 2012 14:24:07 +0000 (10:24 -0400)]
note the reliance on geniso for isoinfo (thanks, kwadronaut!)
Daniel Kahn Gillmor [Tue, 10 Apr 2012 03:37:41 +0000 (23:37 -0400)]
sending a QUIT signal to the container process should send a TERM signal directly to the kvm guest
Daniel Kahn Gillmor [Fri, 30 Sep 2011 06:33:31 +0000 (02:33 -0400)]
improving usage warnings for di-maker
Daniel Kahn Gillmor [Fri, 30 Sep 2011 06:32:05 +0000 (02:32 -0400)]
fix error output for di-maker
Daniel Kahn Gillmor [Tue, 7 Jun 2011 02:04:14 +0000 (22:04 -0400)]
use ${VMNAME}0 instead of ${VMNAME} for tap interface
Daniel Kahn Gillmor [Mon, 6 Jun 2011 23:30:21 +0000 (19:30 -0400)]
silly bugfix
Daniel Kahn Gillmor [Mon, 6 Jun 2011 23:20:25 +0000 (19:20 -0400)]
updated TODO with various not-unreasonable ideas
Daniel Kahn Gillmor [Mon, 6 Jun 2011 23:07:01 +0000 (19:07 -0400)]
removed TAP and MAC arguments from kvm-creator, and updated README to reflect the change
Greg Lyle [Mon, 6 Jun 2011 15:40:09 +0000 (11:40 -0400)]
Use iproute to create tap interfaces for newly created guests, instead of bridge-utils.
Greg Lyle [Mon, 6 Jun 2011 15:39:03 +0000 (11:39 -0400)]
Use the name of a newly created guest as the base of the name of the tap interface created for that guest.
Daniel Kahn Gillmor [Mon, 6 Jun 2011 15:32:04 +0000 (11:32 -0400)]
add note about explicitly setting hwaddress for br0
Daniel Kahn Gillmor [Sun, 5 Jun 2011 03:13:37 +0000 (23:13 -0400)]
make sure permissions on /dev/kvm get set properly by udev
Jamie McClelland [Tue, 10 May 2011 21:18:31 +0000 (17:18 -0400)]
sort -n doesn't properly sort hex values - resulting in duplicate
mac address if the last mac address created ends in 0a (we get 09 as
the last sorted address, hence 0a gets created again).
Daniel Kahn Gillmor [Thu, 21 Apr 2011 20:11:22 +0000 (16:11 -0400)]
fixed README descrption of connecting to the monitor socket
Daniel Kahn Gillmor [Sun, 6 Mar 2011 04:39:38 +0000 (23:39 -0500)]
clean up after a repack
Daniel Kahn Gillmor [Wed, 23 Feb 2011 05:35:24 +0000 (00:35 -0500)]
fixing dumb errors in the README
Daniel Kahn Gillmor [Sun, 20 Feb 2011 22:58:42 +0000 (17:58 -0500)]
trigger udev updates on lvm devices
Daniel Kahn Gillmor [Fri, 11 Feb 2011 22:05:01 +0000 (17:05 -0500)]
have kvm block waiting for the client to connect to the socket; should enable capturing the first fraction of a second of bootloader output (might cause trouble if/when the console screen dies, though)
Daniel Kahn Gillmor [Fri, 11 Feb 2011 22:02:39 +0000 (17:02 -0500)]
switch the order of invocation back around as well -- should make for a cleaner startup.
Daniel Kahn Gillmor [Fri, 11 Feb 2011 22:00:08 +0000 (17:00 -0500)]
switch client/server for the console back the other way: avoids lag, enables restarting a screen if one of them dies for some reason.
Daniel Kahn Gillmor [Fri, 11 Feb 2011 21:46:47 +0000 (16:46 -0500)]
keep the console screen session as a child of the kvm-manager process
Daniel Kahn Gillmor [Fri, 11 Feb 2011 06:08:59 +0000 (01:08 -0500)]
auto-launch (and background, ugh) a screen session connected to the console
Daniel Kahn Gillmor [Fri, 11 Feb 2011 05:10:21 +0000 (00:10 -0500)]
do not enable booting from anything but the first disk
Daniel Kahn Gillmor [Fri, 11 Feb 2011 03:11:16 +0000 (22:11 -0500)]
control the guest if signals are sent to the parent shell
Daniel Kahn Gillmor [Fri, 11 Feb 2011 00:27:34 +0000 (19:27 -0500)]
fix typo in stdio name, remove unneeded -no-reboot flag
Daniel Kahn Gillmor [Fri, 11 Feb 2011 00:08:35 +0000 (19:08 -0500)]
removing screen session, using sockets for stdio
Daniel Kahn Gillmor [Thu, 10 Feb 2011 23:38:58 +0000 (18:38 -0500)]
avoid chowning where possible -- create files with the correct user in the first place
Daniel Kahn Gillmor [Thu, 27 Jan 2011 04:49:26 +0000 (23:49 -0500)]
convert the disks to virtio
Daniel Kahn Gillmor [Thu, 27 Jan 2011 04:35:29 +0000 (23:35 -0500)]
remove explicit PCI device addresses, switch NIC to virtio
Daniel Kahn Gillmor [Thu, 27 Jan 2011 04:14:13 +0000 (23:14 -0500)]
add notes about how to access the monitor
Daniel Kahn Gillmor [Thu, 27 Jan 2011 04:13:57 +0000 (23:13 -0500)]
no need for VGNAME any more
Daniel Kahn Gillmor [Thu, 27 Jan 2011 00:00:06 +0000 (19:00 -0500)]
remove the set -x and update the date
Daniel Kahn Gillmor [Wed, 26 Jan 2011 23:47:46 +0000 (18:47 -0500)]
added some arguments gleaned from watching libvirt (still need to switch disk and net to virtio, most importantly)
Daniel Kahn Gillmor [Wed, 26 Jan 2011 23:28:25 +0000 (18:28 -0500)]
break out kvm arguments to one-per-line to make cleaners diffs
Daniel Kahn Gillmor [Wed, 26 Jan 2011 23:27:52 +0000 (18:27 -0500)]
update instructions
Daniel Kahn Gillmor [Mon, 13 Dec 2010 03:35:36 +0000 (22:35 -0500)]
updated README with new dependencies
Daniel Kahn Gillmor [Mon, 13 Dec 2010 03:35:20 +0000 (22:35 -0500)]
work from Nat and Joseph to make it so you can rebuild the ISO without re-fetching if it already exists, and can include arbitrary files in the initramfs.
Daniel Kahn Gillmor [Sun, 12 Dec 2010 02:24:16 +0000 (21:24 -0500)]
fix output of demo command, and accept default config for MAC address
Daniel Kahn Gillmor [Sun, 12 Dec 2010 02:09:50 +0000 (21:09 -0500)]
put the preseed into the initramfs.
Daniel Kahn Gillmor [Sun, 12 Dec 2010 01:25:24 +0000 (20:25 -0500)]
accept preseed files in di-maker
Daniel Kahn Gillmor [Tue, 20 Apr 2010 21:58:52 +0000 (17:58 -0400)]
allow configuration of the number of CPUs via the SMP environment variable
Daniel Kahn Gillmor [Tue, 23 Mar 2010 16:12:55 +0000 (12:12 -0400)]
drop -serial stdio, since that is the default when -nographic
Daniel Kahn Gillmor [Tue, 23 Mar 2010 15:52:19 +0000 (11:52 -0400)]
do not pass hostname= sub-arg to -net, since we are using tap, not user networking
Daniel Kahn Gillmor [Thu, 11 Mar 2010 18:48:57 +0000 (13:48 -0500)]
enable creation of kfreebsd ISOs (i have not gotten them to work with kvm yet)
Daniel Kahn Gillmor [Sat, 9 Jan 2010 15:42:27 +0000 (10:42 -0500)]
Daniel Kahn Gillmor [Fri, 8 Jan 2010 21:27:43 +0000 (16:27 -0500)]
make di-maker use the latest version of grub-mkrescue
Daniel Kahn Gillmor [Fri, 8 Jan 2010 19:53:45 +0000 (14:53 -0500)]
ignore local iso files as well
Daniel Kahn Gillmor [Fri, 8 Jan 2010 18:46:13 +0000 (13:46 -0500)]
avoid use of temp files in kvm-status
Jamie McClelland [Mon, 4 Jan 2010 16:23:35 +0000 (11:23 -0500)]
adding first version of kvm-status script that displays information
about existing virtual servers.
Daniel Kahn Gillmor [Fri, 11 Dec 2009 03:08:18 +0000 (22:08 -0500)]
allow di-maker to build ubuntu netboot install ISOs as well
Jamie McClelland [Thu, 10 Dec 2009 04:10:53 +0000 (23:10 -0500)]
fixing typo in uml-utilities package.
Daniel Kahn Gillmor [Mon, 16 Nov 2009 22:05:37 +0000 (17:05 -0500)]
added commentary about how the udev rule does not seem to work with lenny properly.
Daniel Kahn Gillmor [Sun, 15 Nov 2009 23:30:19 +0000 (18:30 -0500)]
fixing create()
Daniel Kahn Gillmor [Sun, 15 Nov 2009 23:25:08 +0000 (18:25 -0500)]
switch from KVMOPTS to HDA HDB HDC HDD; use udev to set the ownership for the block device
Daniel Kahn Gillmor [Sun, 15 Nov 2009 23:22:51 +0000 (18:22 -0500)]
added jamie as author, updated isntallation suggestions
Daniel Kahn Gillmor [Fri, 13 Nov 2009 07:41:55 +0000 (02:41 -0500)]
abstracted out some of the pieces of the d-i maker
Daniel Kahn Gillmor [Wed, 11 Nov 2009 22:16:30 +0000 (17:16 -0500)]
abstract away the choice of placement of homedir for non-standard systems
Daniel Kahn Gillmor [Wed, 11 Nov 2009 21:55:45 +0000 (16:55 -0500)]
make volume group default to standard vg name
Daniel Kahn Gillmor [Wed, 11 Nov 2009 21:16:17 +0000 (16:16 -0500)]
fully transition di-maker to grub2 (should work on modern squeeze installs)
Daniel Kahn Gillmor [Wed, 11 Nov 2009 21:15:38 +0000 (16:15 -0500)]
better documentation
Daniel Kahn Gillmor [Wed, 11 Nov 2009 18:17:29 +0000 (13:17 -0500)]
fix MAC address updates.
Daniel Kahn Gillmor [Wed, 11 Nov 2009 18:04:52 +0000 (13:04 -0500)]
streamline the shell scripting
Jamie McClelland [Mon, 26 Oct 2009 19:04:22 +0000 (15:04 -0400)]
Don't attempt to chown non-existent netboot file.
Jamie McClelland [Mon, 26 Oct 2009 19:03:29 +0000 (15:03 -0400)]
Don't add user to kvm group - not necessary.
Jamie McClelland [Mon, 26 Oct 2009 19:02:31 +0000 (15:02 -0400)]
When creating, issue set -e after validating, not before, because
validation requires checking commands that may return false.