79 Commits

Author SHA1 Message Date
Matt Churchyard
2109558dee Update autocomplete example in README
Added newer commands to the list
Also support completing ISO files after 'install guest ..' which is really useful
2015-10-22 12:37:33 +01:00
Matt Churchyard
6e2f3726cb More relentless performance chasing
Try to reduce number of shell callouts to the bare minimum.
It's slightly more ugly but use setvar to set return values where possible.
Over the top 1000-round testing showed almost a second for $(), and near instant
for setvar. The following functions now take a variable name and set that rather than
echo'ing the response, so can be called inline rather than via $().

__switch_get_ident
__config_get
__vm_running_check
__vm_find_console
__vm_get_disk_path

Also use ${var%%} & ${var##} to parse slot/func numbers from passthru devices rather
than callout to echo/cut.
2015-10-19 16:26:20 +01:00
Matt Churchyard
3e2bcee000 Tidy up Windows instructions slightly 2015-10-16 08:58:17 +01:00
Matt Churchyard
6d6ecb6a34 clone command for ZFS users
makes it easy to duplicate an existing guest
2015-10-15 14:55:48 +01:00
Matt Churchyard
16d3f21f1e Replace my test directory with placeholder in examples 2015-10-15 12:28:40 +01:00
Matt Churchyard
7c5be8feb6 Cool autocomplete for csh/tcsh shell 2015-10-15 12:19:05 +01:00
Matt Churchyard
633f283b5d Mention that shared storage environments should work 2015-10-14 13:27:51 +01:00
Matt Churchyard
6dfdcd7800 0.7.1 didn't really function correctly with Windows 2015-10-10 22:19:36 +01:00
Matt Churchyard
da439ed8c5 Mention the default RDP login details 2015-10-09 16:53:22 +01:00
Matt Churchyard
a7eba86d35 Tidy Windows support and add to README 2015-10-09 15:42:11 +01:00
Matt Churchyard
dcb2dc20c0 Show what a running vm looks like in 'vm list' 2015-08-10 09:30:56 +01:00
Matt Churchyard
e50a3ccd40 Tidying up for a new release 2015-08-10 09:30:03 +01:00
Matt Churchyard
f0565e4472 Tidying up for a new release 2015-08-10 09:19:21 +01:00
Matt Churchyard
d1221b5eee Tidying up for a new release 2015-08-10 09:18:46 +01:00
Matt Churchyard
16f281a47d Various changes - see full commit message for details
Replace spaces with tabs
Change __nat_init function name to match other functions in the switch library
Completely rewrite guest support, making vm-core logic much cleaner
Guests are now supported via the lib/vm-guest library
Each guest has a function which unifies the install/run logic in once place rather than two.
Loaders now run in the background; Not 100% ideal in some cases but better for most.
This also fixes the small tap0 issue which will now only present itself if you start a guest
with no networking
All guests need more testing with these changes but should be functional.
2015-08-08 12:21:01 +01:00
Matt Churchyard
01687e55f2 Add some basic nat support, few quirks but fairly automated 2015-08-07 16:52:07 +01:00
Matt Churchyard
66e73eb623 try to improve ZFS usage in README.md 2015-08-07 11:04:05 +01:00
Matt Churchyard
7785127cc2 try to improve ZFS usage in README.md 2015-08-07 11:03:26 +01:00
Matt Churchyard
a8bce5b48e try to improve ZFS usage in README.md 2015-08-07 11:01:49 +01:00
Matt Churchyard
7e88de9ab9 Enhance and tidy up ZFS support
Also load libs first so __err function is available before we try and use it
2015-08-06 19:31:08 +01:00
Matt Churchyard
9e331fb3a2 Add Makefile command to setup VM directory and copy templates 2015-07-29 09:17:58 +01:00
Matt Churchyard
a44a59e5f8 The man page is the best resource for up-to-date info 2015-07-11 11:54:22 +01:00
churchers
2d745e4c5f Add download link to readme 2015-06-30 08:37:37 +01:00
churchers
617227fa3f Script needs to be /usr/local/sbin/vm
Not actually critical but that's where the rc.d script will look without
modification
2015-06-24 12:20:49 +01:00
churchers
9874981120 Minor switch changes
Switches now only created if they don't exist so init no longer requires
vmm.ko to be unloaded. Multiple init runs will just do nothing.

Switches have been updated to add a dash to the end of the interface
description. This stops the possibility of the wrong switch being used
if one switch has a name that is a substring of another - eg "int" &
"internet".
2015-06-24 11:20:44 +01:00
churchers
348e9fa264 More README tidy-up 2015-06-24 10:21:48 +01:00
churchers
559b14ca27 Small formatting changes to README 2015-06-24 10:06:54 +01:00
churchers
6c2052f830 Fill out README 2015-06-24 09:58:30 +01:00
churchers
26536ef926 Initial commit 2015-06-24 09:28:53 +01:00