182e2ae10c
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. |
||
---|---|---|
.. | ||
vmm_client.ml | ||
vmm_console.ml | ||
vmm_influxdb_stats.ml | ||
vmm_log.ml | ||
vmm_prometheus_stats.ml | ||
vmm_tls_endpoint.ml | ||
vmmc.ml | ||
vmmd.ml |