]> gitweb.fluxo.info Git - kvm-manager.git/log
kvm-manager.git
10 years agoupdate to work with jessie develop
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.

10 years agodi-maker should work when absolute paths are passed to it
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

10 years agogive hints of what to do when failing to find isoinfo
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

11 years agodo not try to use sgabios if it is not installed and available
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

11 years agoquote-wrap $BOOTCHOICE in case someone ever sets it funny
Daniel Kahn Gillmor [Thu, 22 Jan 2015 21:29:54 +0000 (16:29 -0500)]
quote-wrap $BOOTCHOICE in case someone ever sets it funny

11 years agoadd sgabios, for serial bios
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.

11 years agoadd CREATE_USER optional environment parameter to skip creating a user
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'

11 years agouse new -boot order syntax, according to the man page,
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."

11 years agoadd comment to help you realize you can specify the number of CPUs without needing...
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

11 years agoAdd missing double quotes
Matthew James Goins [Thu, 22 Jan 2015 17:34:08 +0000 (12:34 -0500)]
Add missing double quotes

11 years agoMake the bridge name a variable
Matthew James Goins [Thu, 22 Jan 2015 17:11:33 +0000 (12:11 -0500)]
Make the bridge name a variable

11 years agoChange udevadm invocation to match correct usage
Matthew James Goins [Mon, 3 Nov 2014 16:44:10 +0000 (11:44 -0500)]
Change udevadm invocation to match correct usage

12 years agoautomatically assume screen can show UTF-8 characters
Daniel Kahn Gillmor [Fri, 27 Dec 2013 23:38:36 +0000 (18:38 -0500)]
automatically assume screen can show UTF-8 characters

12 years agouse cache=none to avoid data copies and bus traffic (see https://support.mayfirst...
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)

12 years agoenable booting the guest from a local kernel directly
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.

12 years agocorrected typo in the loop through HDA..HDZ for doing udevadm trigger
maxigas [Sun, 18 Aug 2013 14:38:28 +0000 (14:38 +0000)]
corrected typo in the loop through HDA..HDZ for doing udevadm trigger

12 years agoenable the use of more than 4 disks (HDA through HDZ)
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.

12 years agoboot=on is deprecated in wheezy, but squeeze needs it.
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.

12 years agoclean up some of the udev triggering
Daniel Kahn Gillmor [Sun, 7 Jul 2013 23:41:34 +0000 (19:41 -0400)]
clean up some of the udev triggering

13 years agonote the reliance on geniso for isoinfo (thanks, kwadronaut!)
Daniel Kahn Gillmor [Thu, 30 Aug 2012 14:24:07 +0000 (10:24 -0400)]
note the reliance on geniso for isoinfo (thanks, kwadronaut!)

13 years agosending a QUIT signal to the container process should send a TERM signal directly...
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

14 years agoimproving usage warnings for di-maker
Daniel Kahn Gillmor [Fri, 30 Sep 2011 06:33:31 +0000 (02:33 -0400)]
improving usage warnings for di-maker

14 years agofix error output for di-maker
Daniel Kahn Gillmor [Fri, 30 Sep 2011 06:32:05 +0000 (02:32 -0400)]
fix error output for di-maker

14 years agouse ${VMNAME}0 instead of ${VMNAME} for tap interface
Daniel Kahn Gillmor [Tue, 7 Jun 2011 02:04:14 +0000 (22:04 -0400)]
use ${VMNAME}0 instead of ${VMNAME} for tap interface

14 years agosilly bugfix
Daniel Kahn Gillmor [Mon, 6 Jun 2011 23:30:21 +0000 (19:30 -0400)]
silly bugfix

14 years agoupdated TODO with various not-unreasonable ideas
Daniel Kahn Gillmor [Mon, 6 Jun 2011 23:20:25 +0000 (19:20 -0400)]
updated TODO with various not-unreasonable ideas

14 years agoremoved TAP and MAC arguments from kvm-creator, and updated README to reflect the...
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

14 years agoUse iproute to create tap interfaces for newly created guests, instead of bridge...
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.

14 years agoUse the name of a newly created guest as the base of the name of the tap interface...
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.

14 years agoadd note about explicitly setting hwaddress for br0
Daniel Kahn Gillmor [Mon, 6 Jun 2011 15:32:04 +0000 (11:32 -0400)]
add note about explicitly setting hwaddress for br0

14 years agomake sure permissions on /dev/kvm get set properly by udev
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

14 years agosort -n doesn't properly sort hex values - resulting in duplicate
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).

14 years agofixed README descrption of connecting to the monitor socket
Daniel Kahn Gillmor [Thu, 21 Apr 2011 20:11:22 +0000 (16:11 -0400)]
fixed README descrption of connecting to the monitor socket

14 years agoclean up after a repack
Daniel Kahn Gillmor [Sun, 6 Mar 2011 04:39:38 +0000 (23:39 -0500)]
clean up after a repack

14 years agofixing dumb errors in the README
Daniel Kahn Gillmor [Wed, 23 Feb 2011 05:35:24 +0000 (00:35 -0500)]
fixing dumb errors in the README

14 years agotrigger udev updates on lvm devices
Daniel Kahn Gillmor [Sun, 20 Feb 2011 22:58:42 +0000 (17:58 -0500)]
trigger udev updates on lvm devices

14 years agohave kvm block waiting for the client to connect to the socket; should enable capturi...
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)

14 years agoswitch the order of invocation back around as well -- should make for a cleaner startup.
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.

14 years agoswitch client/server for the console back the other way: avoids lag, enables restarti...
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.

14 years agokeep the console screen session as a child of the kvm-manager process
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

14 years agoauto-launch (and background, ugh) a screen session connected to the console
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

14 years agodo not enable booting from anything but the first disk
Daniel Kahn Gillmor [Fri, 11 Feb 2011 05:10:21 +0000 (00:10 -0500)]
do not enable booting from anything but the first disk

14 years agocontrol the guest if signals are sent to the parent shell
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

14 years agofix typo in stdio name, remove unneeded -no-reboot flag
Daniel Kahn Gillmor [Fri, 11 Feb 2011 00:27:34 +0000 (19:27 -0500)]
fix typo in stdio name, remove unneeded -no-reboot flag

14 years agoremoving screen session, using sockets for stdio
Daniel Kahn Gillmor [Fri, 11 Feb 2011 00:08:35 +0000 (19:08 -0500)]
removing screen session, using sockets for stdio

14 years agoavoid chowning where possible -- create files with the correct user in the first...
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

15 years agoconvert the disks to virtio
Daniel Kahn Gillmor [Thu, 27 Jan 2011 04:49:26 +0000 (23:49 -0500)]
convert the disks to virtio

15 years agoremove explicit PCI device addresses, switch NIC 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

15 years agoadd notes about how to access the monitor
Daniel Kahn Gillmor [Thu, 27 Jan 2011 04:14:13 +0000 (23:14 -0500)]
add notes about how to access the monitor

15 years agono need for VGNAME any more
Daniel Kahn Gillmor [Thu, 27 Jan 2011 04:13:57 +0000 (23:13 -0500)]
no need for VGNAME any more

15 years agoremove the set -x and update the date
Daniel Kahn Gillmor [Thu, 27 Jan 2011 00:00:06 +0000 (19:00 -0500)]
remove the set -x and update the date

15 years agoadded some arguments gleaned from watching libvirt (still need to switch disk and...
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)

15 years agobreak out kvm arguments to one-per-line to make cleaners diffs
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

15 years agoupdate instructions
Daniel Kahn Gillmor [Wed, 26 Jan 2011 23:27:52 +0000 (18:27 -0500)]
update instructions

15 years agoupdated README with new dependencies
Daniel Kahn Gillmor [Mon, 13 Dec 2010 03:35:36 +0000 (22:35 -0500)]
updated README with new dependencies

15 years agowork from Nat and Joseph to make it so you can rebuild the ISO without re-fetching...
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.

15 years agofix output of demo command, and accept default config for MAC address
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

15 years agoput the preseed into the initramfs.
Daniel Kahn Gillmor [Sun, 12 Dec 2010 02:09:50 +0000 (21:09 -0500)]
put the preseed into the initramfs.

15 years agoaccept preseed files in di-maker
Daniel Kahn Gillmor [Sun, 12 Dec 2010 01:25:24 +0000 (20:25 -0500)]
accept preseed files in di-maker

15 years agoallow configuration of the number of CPUs via the SMP environment variable
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

15 years agodrop -serial stdio, since that is the default when -nographic
Daniel Kahn Gillmor [Tue, 23 Mar 2010 16:12:55 +0000 (12:12 -0400)]
drop -serial stdio, since that is the default when -nographic

15 years agodo not pass hostname= sub-arg to -net, since we are using tap, not user networking
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

15 years agoenable creation of kfreebsd ISOs (i have not gotten them to work with kvm yet)
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)

16 years agoMerge commit '3873c791e3c1c1b9f5696085671180c6182224ee'
Daniel Kahn Gillmor [Sat, 9 Jan 2010 15:42:27 +0000 (10:42 -0500)]
Merge commit '3873c791e3c1c1b9f5696085671180c6182224ee'

16 years agomake di-maker use the latest version of grub-mkrescue
Daniel Kahn Gillmor [Fri, 8 Jan 2010 21:27:43 +0000 (16:27 -0500)]
make di-maker use the latest version of grub-mkrescue

16 years agoignore local iso files as well
Daniel Kahn Gillmor [Fri, 8 Jan 2010 19:53:45 +0000 (14:53 -0500)]
ignore local iso files as well

16 years agoavoid use of temp files in kvm-status
Daniel Kahn Gillmor [Fri, 8 Jan 2010 18:46:13 +0000 (13:46 -0500)]
avoid use of temp files in kvm-status

16 years agoadding first version of kvm-status script that displays information
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.

16 years agoallow di-maker to build ubuntu netboot install ISOs as well
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

16 years agofixing typo in uml-utilities package.
Jamie McClelland [Thu, 10 Dec 2009 04:10:53 +0000 (23:10 -0500)]
fixing typo in uml-utilities package.

16 years agoadded commentary about how the udev rule does not seem to work with lenny properly.
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.

16 years agofixing create()
Daniel Kahn Gillmor [Sun, 15 Nov 2009 23:30:19 +0000 (18:30 -0500)]
fixing create()

16 years agoswitch from KVMOPTS to HDA HDB HDC HDD; use udev to set the ownership for the block...
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

16 years agoadded jamie as author, updated isntallation suggestions
Daniel Kahn Gillmor [Sun, 15 Nov 2009 23:22:51 +0000 (18:22 -0500)]
added jamie as author, updated isntallation suggestions

16 years agoabstracted out some of the pieces of the d-i maker
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

16 years agoabstract away the choice of placement of homedir for non-standard systems
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

16 years agomake volume group default to standard vg name
Daniel Kahn Gillmor [Wed, 11 Nov 2009 21:55:45 +0000 (16:55 -0500)]
make volume group default to standard vg name

16 years agofully transition di-maker to grub2 (should work on modern squeeze installs)
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)

16 years agobetter documentation
Daniel Kahn Gillmor [Wed, 11 Nov 2009 21:15:38 +0000 (16:15 -0500)]
better documentation

16 years agofix MAC address updates.
Daniel Kahn Gillmor [Wed, 11 Nov 2009 18:17:29 +0000 (13:17 -0500)]
fix MAC address updates.

16 years agostreamline the shell scripting
Daniel Kahn Gillmor [Wed, 11 Nov 2009 18:04:52 +0000 (13:04 -0500)]
streamline the shell scripting

16 years agoDon't attempt to chown non-existent netboot file.
Jamie McClelland [Mon, 26 Oct 2009 19:04:22 +0000 (15:04 -0400)]
Don't attempt to chown non-existent netboot file.

16 years agoDon't add user to kvm group - not necessary.
Jamie McClelland [Mon, 26 Oct 2009 19:03:29 +0000 (15:03 -0400)]
Don't add user to kvm group - not necessary.

16 years agoWhen creating, issue set -e after validating, not before, because
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.

16 years agobreaking out the name of the disk and placing it in a env file
Jamie McClelland [Mon, 12 Oct 2009 15:06:07 +0000 (11:06 -0400)]
breaking out the name of the disk and placing it in a env file
called kvmopts which is passed directly to kvm command.

16 years agoMerge branch 'master' of git://lair.fifthhorseman.net/~dkg/kvm-manager
Jamie McClelland [Fri, 9 Oct 2009 16:47:56 +0000 (12:47 -0400)]
Merge branch 'master' of git://lair.fifthhorseman.net/~dkg/kvm-manager

16 years agoI removed the line to create the netboot file and instead put
Jamie McClelland [Fri, 9 Oct 2009 16:33:28 +0000 (12:33 -0400)]
I removed the line to create the netboot file and instead put
directions in the README. This way people can decide which method
they want to use.

16 years agogreatly expanding the documentation (hopefully not too much). I think
Jamie McClelland [Fri, 9 Oct 2009 16:32:21 +0000 (12:32 -0400)]
greatly expanding the documentation (hopefully not too much). I think
bridge-utils is required for the bridging - and I've added what I
added to my /etc/network/interfaces file... hope that's right!

16 years agoadding usage and check for valid command.
Jamie McClelland [Fri, 9 Oct 2009 16:05:12 +0000 (12:05 -0400)]
adding usage and check for valid command.

16 years agoadded screenrc.kvm-manager
Daniel Kahn Gillmor [Fri, 9 Oct 2009 15:57:54 +0000 (11:57 -0400)]
added screenrc.kvm-manager

16 years agomore consistent lines spacing in functions and replaced my tabs with
Jamie McClelland [Fri, 9 Oct 2009 15:43:55 +0000 (11:43 -0400)]
more consistent lines spacing in functions and replaced my tabs with
spaces in the hopes of not making a mess in other text editors.

16 years agodon't try to create directory /etc/sv/kvm unless we are creating.
Jamie McClelland [Fri, 9 Oct 2009 15:41:42 +0000 (11:41 -0400)]
don't try to create directory /etc/sv/kvm unless we are creating.

16 years agotests to ensure elements don't already exist before creating them.
Jamie McClelland [Fri, 9 Oct 2009 15:39:57 +0000 (11:39 -0400)]
tests to ensure elements don't already exist before creating them.

16 years agoinclude directions for copying the screenrc.kvm-manager file into place.
Jamie McClelland [Fri, 9 Oct 2009 15:24:24 +0000 (11:24 -0400)]
include directions for copying the screenrc.kvm-manager file into place.

16 years agoadd user to kvm group.
Jamie McClelland [Fri, 9 Oct 2009 02:06:57 +0000 (22:06 -0400)]
add user to kvm group.

16 years agofix test for /etc/sv/kvm/*
Jamie McClelland [Fri, 9 Oct 2009 01:52:36 +0000 (21:52 -0400)]
fix test for /etc/sv/kvm/*

16 years agoi think tap should be tap0 not just 0...
Jamie McClelland [Fri, 9 Oct 2009 01:48:02 +0000 (21:48 -0400)]
i think tap should be tap0 not just 0...

16 years agoensure /etc/sv/kvm exists.
Jamie McClelland [Fri, 9 Oct 2009 01:00:25 +0000 (21:00 -0400)]
ensure /etc/sv/kvm exists.

16 years agoensure directories don't exist before creating them (I put
Jamie McClelland [Fri, 9 Oct 2009 00:58:33 +0000 (20:58 -0400)]
ensure directories don't exist before creating them (I put
.ssh/authorized_keys in /etc/skel!).

16 years agoadd vg to demo.
Jamie McClelland [Fri, 9 Oct 2009 00:53:59 +0000 (20:53 -0400)]
add vg to demo.