Hannes Mehnert
6206e8681a
make dbdir and tmpdir platform-specific and overwritable by all command line utilities
2019-11-27 11:27:55 +01:00
Hannes Mehnert
82782363b8
Vmm_unix.check_commands : unit -> (unit, [> `Msg of string ]) result - which
...
checks (platform-dependent) all required executables
Vmm_unix.prepare/exec execute solo5-{spt/hvt} depending on the image type
(solo5-elftool figures that out), use jsonm to parse output
Vmm_unix: use ip on linux, no longer ifconfig
2019-10-27 21:31:37 +01:00
Hannes Mehnert
01f6983325
cosmetics
2019-10-27 19:47:37 +01:00
Hannes Mehnert
1d33c17b53
use a variant for uname result, not strings
2019-10-27 19:43:54 +01:00
Hannes Mehnert
c9820f3106
deterministic mac addresses!
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
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
4787b0cf1f
remove unnecessary freebsd-specific teardown code (bhyvectl --destroy), since 0.6 reverted privdrop
2019-10-12 02:04:44 +02:00
Hannes Mehnert
a9c32d7801
vmmd: actually, first check resources, then exec VM, then insert VM
...
in case the insertion fails, raise Invalid_argument
this leads to more sane failure behaviour, and also cleans up resources in case
vmm_resources.insert_vm fails (or cpuset/open of the fifo, create_process)
2019-01-27 17:20:24 +01:00
Hannes Mehnert
16f06216ba
vmmd: fine grained output handling, gracefully handle Failure from console
2019-01-27 16:07:53 +01:00
Hannes Mehnert
943ea45e25
vmm_vmmd, vmm_unix: compute device name (/dev/vmm/solo5-PID) in vmm_unix (depending on host OS); also destroy this device on shutdown (used to be done by solo5-hvt, but that now drops privileges and is no longer able to do this)
2019-01-20 23:02:01 +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
fc63a89429
Vmm_unix: use Sys.sigterm (and rely on caml_convert_signal_number to be cross-platform)
2019-01-20 20:37:30 +01:00
Hannes Mehnert
dfd22be62b
Vmm_unix: don't reset image of a config
2019-01-20 20:35:55 +01:00
Hannes Mehnert
accb21b8b7
Vmm_unix.exec: rename vm to config
2019-01-20 20:35:26 +01:00
Hannes Mehnert
15e1f5ecf6
vmm_unix: ensure lazy uname being called only once
2019-01-20 20:28:51 +01:00
Hannes Mehnert
7b8f8fafbd
close fd early, no need to carry file descriptors around
2019-01-20 17:43:44 +01:00
Hannes Mehnert
030f5aa379
vmm_unix, create_block: first create file, and then truncate
2018-12-07 00:07:16 +01:00
Hannes Mehnert
c8f1030403
rename Vm to Unikernel
2018-11-13 01:02:05 +01:00
Hannes Mehnert
2e7f2730a2
move Vm to submodule
2018-11-11 03:24:50 +01:00
Hannes Mehnert
89a1d30154
cleanups in respect to directories and scope
2018-11-11 02:33:00 +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
ce0c42fa77
more cleanups
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
e413b8c99a
remove naming struggle in vm_config and Log.hdr
2018-10-26 21:29:59 +02:00
Stefan Grundmann
4c5a795a3b
console fifos in separate directory
2018-10-07 01:24:33 +00:00
Hannes Mehnert
02f8d94db8
s/ukvm/hvt/
2018-09-21 22:31:04 +02:00
Hannes Mehnert
9ec69e23cc
rename Vmm_commands to Vmm_unix
2018-07-07 23:14:49 +02:00