OpenBSD CVS

CVS log for src/usr.sbin/vmmctl/Attic/vmmctl.c


[BACK] Up to [local] / src / usr.sbin / vmmctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8, Thu Dec 3 21:45:45 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +0 -0 lines
FILE REMOVED

Replace vmmctl with vmctl.  Also remove parse.y from the "new" vmctl.

As discussed with mlarkin@ and deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 3 08:52:29 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

spacing

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 2 23:33:43 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)

send the tty name to vmmctl and print it as a result.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 27 09:11:39 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

Change the command line syntax to a "command + getopts" style, eg.
  vmmctl start "myvm" -m 512M -i 1 -d disk.img -k /bsd

Networking people like me are used to the human-readable CLI-style
syntax that we have in some of our OpenBSD *ctl tools, including
bgpctl, other routing daemons, or relayctl.  But this didn't work for
vmmctl, so change it to something a bit less human-readable but more
BSD- and POSIX-ish.  After all, the command line is only intended for
simple configuration, more details will go into the configuration
file, so we can avoid getopt flag conflicts or scary things like the
getsubopt(3) style.

OK krw@ jasper@, with input from kettenis@ jmc@ deraadt@ mlarkin@ etc.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 26 08:26:48 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.3: +0 -114 lines
Diff to previous 1.3 (colored)

Automatically start vmm(4) when the first VM is created and after the
last VM is terminated.  This allows to remove the explicit "vmm
enable" / "vmm disable" (VMM_IOC_START / VMM_IOC_STOP) ioctls.  You'll
have to update kernel and userland for this change, as the kernel ABI
changes.

OK mpi@ mlarkin@

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 24 10:17:58 2015 UTC (8 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.2: +5 -13 lines
Diff to previous 1.2 (colored)

realloc* is designed so that NULL pointer = malloc. Ditch redundant code
okay reyk@ mlarkin@

Revision 1.2 / (download) - annotate - [select for diffs], Sun Nov 22 20:55:18 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.1: +9 -359 lines
Diff to previous 1.1 (colored)

Add initial parser to support a vmm.conf(5) configuration file format
for vmm and virtual machines.  Additionally, add a matching vmmctl
command line grammar that replaces (most of the) getopt arguments.
The goal is to provide a sane way to configure vmm(4) and vmd(8).
"There is still a lot to be done, and fixed" in this as well.

OK mlarkin@

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 22 20:22:53 2015 UTC (8 years, 6 months ago) by mlarkin
Branch: MAIN


vmmctl(8) - vmm subsystem control

There is still a lot to be done, and fixed, in these userland components
but I have received enough "it works, commit it" emails that it's time
to finish those things in tree.

discussed with many, tested by many.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.