Thomas Leonard
221c797241
Survive death of GUId connection
...
We don't need the GUI anyway. Error was:
Fatal error: exception Failure("End-of-file from GUId in dom0")
Raised at file "pervasives.ml", line 30, characters 22-33
Called from file "src/core/lwt.ml", line 754, characters 44-47
Mirage exiting with status 2
Do_exit called!
2016-01-17 13:19:40 +00:00
Thomas Leonard
6fd7b01c65
Remove XenStore debug code
...
Was causing a Not_found error when used with the released version of
XenStore, which doesn't provide a log.
Reported by Cyril Levis.
2016-01-16 20:12:58 +00:00
Thomas Leonard
987834f6a6
Use mirage-logs library for log reporter
...
Also, configure Xen debug messages to go to the log ring buffer but not
the console (they will be shown only if an error occurs).
2016-01-11 16:40:26 +00:00
Thomas Leonard
e05a92da50
Update to new Logs API
...
Note: this reintroduces mirage-qubes pin, as that uses Logs too.
2016-01-08 11:40:11 +00:00
Thomas Leonard
f1ed6ffdd8
Report current memory use to XenStore
2016-01-02 16:14:02 +00:00
Thomas Leonard
aee124338a
Minor cleanup
2016-01-01 13:03:18 +00:00
Thomas Leonard
d0f4189df8
Turn off XenStore debug logging
2016-01-01 12:37:39 +00:00
Thomas Leonard
2002126b8b
Rationalised firewall rules syntax
...
Added explicit NAT target, allowing NAT even within client net and
making it clear that NAT is used externally.
Changed Redirect_to_netvm to NAT_to, and allow specifying any target
host.
2016-01-01 11:32:57 +00:00
Thomas Leonard
4032a5d776
Simplify code slightly
2016-01-01 10:56:37 +00:00
Thomas Leonard
cd69ce5a86
Move NAT code to router and add DNS redirects
2015-12-30 19:34:04 +00:00
Thomas Leonard
11e18c0b83
Moved uplink code to its own module
2015-12-30 14:22:46 +00:00
Thomas Leonard
f3332ed4da
Split database access into its own module
2015-12-30 12:07:29 +00:00
Thomas Leonard
914b6bbbf6
Initial import
2015-12-30 11:07:17 +00:00