Hannes Mehnert
2f1197aad1
vmm_stats: if sysctl rusage fails, remove vm from stats gathering
2019-01-15 00:39: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
c0189178e5
fixes
2019-01-13 22:02:16 +01:00
Hannes Mehnert
623a449ea2
log at info if nobody is interested in stats
2019-01-06 03:52:37 +01:00
Hannes Mehnert
cd01611efb
vmmd_stat: use correct id to remove socket
2019-01-06 03:00:16 +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
325f6c3b22
vmmd_log: handle sighup properly (to support newsyslog / logrotate)
2018-12-06 22:56:19 +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
39bc40353c
Vmmd_stats: use lwt_engine.on_timer for stats reporting instead of custom made let rec timer .. = sleep interval
2018-12-06 21:40:52 +01:00
Hannes Mehnert
0ced2ebad1
fix days in generate
2018-11-23 21:13:54 +01:00
Hannes Mehnert
b5a068555c
vmmd_tlS_inetd
2018-11-23 21:07:36 +01:00
Hannes Mehnert
eee1a4cb91
use less bandwidth, and more compression
2018-11-14 20:09:43 +01:00
Hannes Mehnert
f9cb93b1bc
vmmd_log: output number of entries read from disk
2018-11-13 01:05:09 +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
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
7b3d94db8c
more debug output from vmmd_tls
2018-11-03 00:04:14 +01:00
Hannes Mehnert
6a92e572e3
vmmd_stats: cleanups
2018-11-01 22:40:32 +01:00
Hannes Mehnert
d795ddd944
unify log output in vmmc_local/remote/bistro
2018-11-01 01:51:39 +01:00
Hannes Mehnert
bed90d7a0b
make destination optional in vmmc_bistro, make vm_name required in add_policy
2018-10-31 23:41:22 +01:00
Hannes Mehnert
7c34c61d43
vmmd_tls needs looping behaviour after adding a policy to start vm
2018-10-31 23:03:30 +01:00
Hannes Mehnert
824f5f3418
revise vmmd_tls file descriptor handling
2018-10-29 19:00:13 +01:00
Hannes Mehnert
c669be8e02
address most of @cfcs comments
2018-10-29 17:14:51 +01:00
Hannes Mehnert
90157bd60d
provide docv for required arguments
2018-10-29 00:32:07 +01:00
Hannes Mehnert
2b85c65dd8
minor fixes from testing: do not require vm to be present for force-create, fix id generation in vmm_tls, use 32mb memory for unikernels by default
2018-10-28 23:06:15 +01:00
Hannes Mehnert
d08de432b6
use proper extension
2018-10-28 22:28:22 +01:00
Hannes Mehnert
34291dbe65
vmmp_request
2018-10-28 22:14:39 +01:00
Hannes Mehnert
40519afbb7
issue policy_add commands by vmmd_tls for certificate chain
2018-10-28 20:50:10 +01:00
Hannes Mehnert
6677e3f1cb
close on exit for vmmd.sock
2018-10-28 20:49:42 +01:00
Hannes Mehnert
296b7a9b01
vmmd_tls: close sockets appropriately
2018-10-28 19:19:38 +01:00
Hannes Mehnert
ea6b291ad0
vmmp_ca work
2018-10-28 18:30:02 +01:00
Hannes Mehnert
8f02d8263d
wip: vmmc_bistro
2018-10-28 02:03:27 +02:00
Hannes Mehnert
1d999e47bf
.
2018-10-26 23:23:17 +02:00
Hannes Mehnert
7bbfb2e9fa
use vmm_cli
2018-10-26 22:34:43 +02:00
Hannes Mehnert
a60f866f70
fewer lists, read replies (to sockets) in vmmd
2018-10-26 21:30:54 +02:00
Hannes Mehnert
aa051d62cd
vmmd_log: send ack on data receive
2018-10-26 21:30:54 +02:00
Hannes Mehnert
01f933702d
move stuff around
2018-10-26 21:30:54 +02:00
Hannes Mehnert
992e1b0a2b
- Vmm_ring is now polymorph (alows to store log_entry :D)
...
- Vmm_console/log/stats do not read multiple times
console_add loops
console_subscribe terminates (a stream of messages is sent)
log data stream loops
log_subscribe terminates (a stream of data is sent)
stat_add loops
stat_remove loops
stat_subscribe terminates (a stream of stats is sent)
terminates means: reads once more, and closes socket after second read returned
loop processes further incoming data
2018-10-26 21:29:59 +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
a064c7f58e
move more stuff around
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
ce0c42fa77
more cleanups
2018-10-26 21:29:59 +02:00
Hannes Mehnert
46548418cd
minor cleanup: stats type
2018-10-26 21:29:59 +02:00