Up to [local] / src / usr.sbin / vmmctl
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.3, Fri Nov 27 09:11:39 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
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.2 / (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.1: +1 -3 lines
Diff to previous 1.1 (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.1 / (download) - annotate - [select for diffs], Sun Nov 22 20:55:18 2015 UTC (8 years, 6 months ago) by reyk
Branch: MAIN
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@