Commit Graph

11 Commits

Author SHA1 Message Date
Matt Churchyard
0cf424198c Allow guests to have a system priority using renice 2018-10-08 15:43:59 +01:00
Matt Churchyard
52b9f2eb8b Follow some Google shell scripting advice
I already do pretty much everything they advise anyway
Grouping functions together by using "prefix::" is quite a nice feature though.
Nothing too clever, just makes use of the fact that a colon appears
to be a valid character in a shell function.
2016-06-09 10:47:47 +01:00
Matt Churchyard
a8a5c64edc Fix typo in rctl function name and send kill twice
Windows guests seem to shutdown if kill sent twice
2016-04-16 08:27:19 +01:00
Matt Churchyard
62f45b6780 Standadise VERSION_ vars and start on function names 2016-04-16 08:08:18 +01:00
Matt Churchyard
ae68dc1bec Allow multiple disks in templates
We now allow a template to specify multiple disk, which
will all be created automatically when provisioning a new guest.
The template can also specify the size of each disk, using diskX_size settings.
These settings are removed from the guest configuration file as they
serve no purpose and would become misleading if a disk were resized manually.
2016-04-14 16:24:47 +01:00
Matt Churchyard
065a2d6f7f Only say we applied limits if no error setting them 2016-04-07 16:18:59 +01:00
Matt Churchyard
649eb41231 Add rctl limits to the manpage 2016-04-07 16:05:40 +01:00
Matt Churchyard
833500eee0 Simplify some nested if's in vm-rctl 2016-04-07 15:55:34 +01:00
Matt Churchyard
36f4c71dfa Tidy up rctl support 2016-04-07 15:50:06 +01:00
ramdaron
cc53a655b9 Update vm-rctl
Add 'limit_' prefix to option in config file
Set no limit by default
Error supporting RCTL writen to the log file
Some limits checked by FreeBSD version
2016-02-16 19:27:55 +06:00
ramdaron
e536090331 Add file with pcpu RCTL limits support 2016-02-16 10:25:37 +07:00