Hannes Mehnert
784429744c
versioning: revise it all, use a 'current' in Vmm_commands, all daemons reply with the received version on that particular stream
2019-11-11 23:20:03 +01:00
Hannes Mehnert
8a113e5ce0
revise log and console subscription protocol, require either since or count
2019-10-29 20:17:50 +01:00
Hannes Mehnert
47fef438e0
preserve backwards data compatibility
2019-10-15 00:49:58 +02:00
Hannes Mehnert
249796ce6f
minor
2019-10-12 02:30:21 +02:00
Hannes Mehnert
13edb22db3
bump wire version
2019-10-12 02:06:45 +02:00
Hannes Mehnert
0808c20583
restart on failure: add optional integer set which exit codes to restart on
2019-10-12 02:06:45 +02:00
Hannes Mehnert
6be9ebbc8b
revise tag and compression in unikernel config
2019-10-12 02:06:45 +02:00
Hannes Mehnert
58c3490782
restart on failure
2019-10-12 02:06:45 +02:00
Hannes Mehnert
94912c21e4
changes for solo5 0.6
...
-- this is a breaking change in the wire protocol
2019-10-12 02:06:27 +02:00
Hannes Mehnert
4ce52daea8
gather more statistics from kinfo_user (sys/user.h) on FreeBSD
...
- real time runtime information (in microsecs) ki_runtime
- start timeval ki_start
- count of copy-on-write fauls ki_cow
2019-10-12 02:04:44 +02:00
Mindy
bf59b7b930
update to ipaddr 4.0.0 & decompress 0.9.0
2019-07-16 15:11:41 -05:00
Hannes Mehnert
4b4d1208db
vmmd_stats: remove ifname, use bridge (overwrite bridge in gather)
2019-01-27 22:31:04 +01:00
Hannes Mehnert
c372c8405e
vmmd: dump state (unikernel configurations) on create+destroy, restore from state on startup
2019-01-20 22:17:59 +01:00
Hannes Mehnert
58bd77bc5f
stats: pass bridge device through, vmm device name as well to allow arbitrary bhyve statistics, vmmc_local: add stats_add and stats_remove subcommands
2019-01-15 00:25:59 +01:00
Hannes Mehnert
fd4a5a5e22
inspect kinfo_proc structure for information about:
...
- virtual size
- resident size (in pages)
- text size (in pages)
- data size (in pages)
- stack size (in pages)
develop independent vmmc_stat for testing (not installed)
2019-01-06 01:12:56 +01:00
Hannes Mehnert
bda342f136
re-support parsing of AV2 log entries, document path forward strategy
2018-12-06 22:55:13 +01:00
Hannes Mehnert
e28ea84548
Log: new event `Hup
2018-12-06 22:53:15 +01:00
Hannes Mehnert
b5a068555c
vmmd_tlS_inetd
2018-11-23 21:07:36 +01:00
Hannes Mehnert
c8f1030403
rename Vm to Unikernel
2018-11-13 01:02:05 +01:00
Hannes Mehnert
dec32e6247
bump wire version
2018-11-12 22:11:06 +01:00
Hannes Mehnert
8ccda0e410
refactor bridge: use a string instead of a complicated thing
2018-11-12 22:07:45 +01:00
Hannes Mehnert
2e7f2730a2
move Vm to submodule
2018-11-11 03:24:50 +01:00
Hannes Mehnert
561ba5c5df
put Policy in a submodule
2018-11-11 03:09:37 +01:00
Hannes Mehnert
43379d6d9d
rename Vmm_core.id to Vmm_core.Name.t and make it private - also check constructors to fit into 20 chars ldh (and in Vmm_tls max depth = 10)
2018-11-11 01:44:31 +01:00
Hannes Mehnert
6dcde8eb68
block device support
2018-11-11 00:01:56 +01:00
Hannes Mehnert
9191d2cf9a
drop version AV0, AV1; refactor vmm_asn
2018-10-28 22:52:20 +01:00
Hannes Mehnert
0f9375dc29
use oid 42 again
2018-10-28 22:39:31 +01:00
Hannes Mehnert
01f933702d
move stuff around
2018-10-26 21:30:54 +02:00
Hannes Mehnert
b55281d1e5
include version in log_entries on disk, read log file on startup (and write events to ring store)
2018-10-26 21:29:59 +02:00
Hannes Mehnert
04367421bf
since argument for log_subscribe and console_subscribe
2018-10-26 21:29:59 +02:00
Hannes Mehnert
89fea934a7
copyright
2018-10-26 21:29:59 +02:00
Hannes Mehnert
d513269453
move stuff into vmm_commands
2018-10-26 21:29:59 +02:00
Hannes Mehnert
6f18f1bfff
type data for streamed thingies
2018-10-26 21:29:59 +02:00
Hannes Mehnert
46548418cd
minor cleanup: stats type
2018-10-26 21:29:59 +02:00
Hannes Mehnert
f3c67f626a
more cleanups
2018-10-26 21:29:59 +02:00
Hannes Mehnert
f5ce2d8826
reuse commands from Vmm_asn.wire_commands for certificates
2018-10-26 21:29:59 +02:00
Hannes Mehnert
a08f35ee5e
cleanups
2018-10-26 21:29:59 +02:00
Hannes Mehnert
811f3abc50
adjustments
2018-10-26 21:29:59 +02:00
Hannes Mehnert
c399501a18
get rid of vm_config.vname
2018-10-26 21:29:59 +02:00
Hannes Mehnert
1d4d7509dc
remove vmm_wire, use asn.1
2018-10-26 21:29:59 +02:00
Hannes Mehnert
182e2ae10c
policies:
...
vmmc now has more subcommands
- policy [-n name] returns all policies in name and below
- add_policy [-n name] [--cpu cpuid] [--mem mem] [--bridge bridge] [--block size] adds a policy
- remove [-n name] removes policy at name
policy is just the same which is in vmm_req_delegation, and vmm_resources now check them:
- you cannot insert a subpolicy violating the prefix
- you cannot insert a policy which would forbid current resource usage
- you cannot insert a policy with which any subpolicy would be invalid
- you can adjust (increase/decrease) a policy if the above invariants are kept
implement "force create" directly in vmmd: much nicer to
- check resource constraints,
- kill vm potentially,
- and create a new vm,
all as single transaction.
2018-10-26 21:29:59 +02:00
Hannes Mehnert
ea83013068
delegation -> policy
2018-10-26 21:29:59 +02:00
Hannes Mehnert
e413b8c99a
remove naming struggle in vm_config and Log.hdr
2018-10-26 21:29:59 +02:00
Hannes Mehnert
02f8d94db8
s/ukvm/hvt/
2018-09-21 22:31:04 +02:00
Hannes Mehnert
e7b4742964
less is more, also unify default socket paths
...
and vmmc console command
2018-09-19 21:53:18 +02:00
Hannes Mehnert
bd10209297
wip, vmmc and vmmd talk with each other!
2018-09-09 20:52:04 +02:00
Hannes Mehnert
7a4661b2e1
style: require lwt 3.0.0, fix warnings, disable 4 (fragile pattern matching) and 48 (implicit elimination of optional argument)
2018-04-03 22:58:31 +02:00
Hannes Mehnert
db8ae1ee37
compression, fixes #6
2018-03-22 17:00:08 +01:00
Hannes Mehnert
bb61388cfc
new permission: force_create
...
a client certificate may either contain `Create or `Force_create permission. If
the latter is used (vmm_req_vm --force), and a VM with the same name already
exists, this is destroyed (if the dynamic resources without the existing would
allow the new one to be deployed) and the new one is started.
I had this concrete deployment scenario, where kill ; create takes some minutes
since it is 10MB data which needs to be transferred from my laptop to a remote
server (me behind dialup).
- renamed `Image to `Create
- renamed `Destroy_image to `Destroy_vm
2018-03-22 17:00:08 +01:00
Hannes Mehnert
8407d13b15
port to new asn + x509
2017-12-23 15:03:56 +01:00