7f3b3aa409
Large refactor.
...
Many many changes. The major themes of the refactor were to move the
x86 specific code into a separate 'arch' package and make the main
initialization and run loop much simpler to understand. The second big
change was to improve how errors are handled by making them more 'local'
so that packages define their own errors most of the time.
2019-10-02 16:41:02 -04:00
d24c5d9ea6
Fixed incorrect copy size reading/writing virtqueue descriptors
2019-10-02 15:41:52 -04:00
2a442775dd
virtio_net
2019-09-26 22:52:33 -04:00
23f5903e1f
set up color scheme on console shell
2019-09-26 22:49:01 -04:00
2b69ce2c08
return errors from system module
2019-09-26 22:40:54 -04:00
df4ab4c0c9
not used anymore
2019-09-26 22:31:14 -04:00
9f2acb07f8
Use correct home for realm
2019-09-24 17:05:29 -04:00
df1c6a3cb3
1) Work correctly if HOME is not /home/user. 2) Support read-write rootfs correctly.
2019-09-23 15:22:47 -04:00
6c25ccb226
systemd is not an option anymore
2019-09-23 15:20:57 -04:00
0a06043e32
support dmabuf in virtio_wl
2019-09-23 15:20:28 -04:00
3e5b802487
The in/out buffers have the wrong sizes, swap them
2019-09-23 15:10:57 -04:00
4632b9b5f4
XWayland works now
2019-09-22 00:51:24 -04:00
078a1a547b
remove canonicalization since it doesn't work.
2019-09-22 00:50:32 -04:00
2dec4334f4
reorganized build script a bit
2019-09-21 20:46:02 -04:00
dc2a7f7a1f
Implemented locking commands and fixed a couple other small problems
2019-09-21 20:45:15 -04:00
ffe02a3fc2
big refactor of ph-init to manage children/services correctly
2019-09-21 20:44:27 -04:00
c5bd65ac05
merge in updates from upstream
2019-09-21 20:43:03 -04:00
ff228d477e
paths that don't exist yet need to use canonicalize_parent()
...
or else they will fail with ENOENT
2019-09-21 01:07:14 -04:00
a1c1b13a47
flex and bison are also needed to build kernel
2019-09-20 23:06:51 -04:00
e8af16a2bc
launch sommelier as a daemon, also start dbus session
2019-09-20 23:06:28 -04:00
9762f1105c
a few more notes on building
2019-09-20 19:54:15 -04:00
5ff4b85808
make output from kernel download nicer when building with -vv
2019-09-20 19:53:43 -04:00
e3e774c3a3
ignore some things
2019-09-20 19:53:15 -04:00
1dcad9f1f4
add sommelier
2019-09-20 18:57:28 -04:00
d962bb4d46
typo
2019-09-20 18:53:41 -04:00
54deaf1782
add a readme
2019-09-20 18:51:59 -04:00
8587532a5e
update libcitadel git revision
2019-09-20 18:51:38 -04:00
c63ede2482
remove old code
2019-09-20 18:51:18 -04:00
d6b9667740
Build everything with cargo
2019-09-20 18:15:10 -04:00
3b168d5db5
move ph-init to separate crate
2019-09-20 17:57:35 -04:00
e69cb5ba1a
new and improved kernel build
2019-09-20 17:55:12 -04:00
0f50387d1e
change source layout
2019-09-20 17:29:55 -04:00
5a1c62d473
extensive changes to how VMs are configured and launched
2019-09-20 16:26:28 -04:00
2568a30440
libcitadel is now a dependency
2019-09-20 16:25:47 -04:00
4fc4c05155
ph-init mostly rewritten
...
Is more complex now and reads various kernel command line options to
configure behavior.
* optionally set up tmpfs overlay over read-only rootfs
* find and mount rootfs
* mount /proc /sys /tmp /dev
* mount 9p home directory
* launch shell as root or as user
2019-09-20 16:10:30 -04:00
f71e3adb79
When printing warnings, label the warnings as coming from virtio_wl
2019-09-20 16:04:35 -04:00
626b6583db
Update bytes written when manually incrementing offset of virtio chain
2019-09-20 16:03:36 -04:00
98a1e9361e
Rewrite of 9p filesystem
...
Old version barely worked, but the new version works very well.
Supports two backend types. Exporting a tree from the host filesystem
is supported of course, and this is one backend. The second backend
is a synthetic filesystem on which directories can be created and then
files can be added to the directories. The files added to the filesystem
are either backed by a file on the host filesystem or a buffer of bytes
in memory.
2019-09-20 16:01:15 -04:00
1a587bb6cc
refactor configure and launch of VM to be much simpler and nicer
2019-09-12 16:31:38 -04:00
c8153e4f51
mount 9p home directory if it exists. optionally launch systemd
2019-09-12 16:26:35 -04:00
a32324381f
refactor to nicer api
2019-09-12 16:25:05 -04:00
9cc84e6116
oop, remove old code
2019-09-11 17:23:30 -04:00
7365bc5d38
update crates and add lazy_static for logging class
2019-09-11 16:32:21 -04:00
03c4d6aeac
export all the new classes
2019-09-11 16:31:48 -04:00
f397c7e2cb
Added error for disk image open failure
2019-09-11 16:30:47 -04:00
81df280b12
remove unused
2019-09-11 16:30:13 -04:00
1f7aadff12
Use MemoryManager rather than GuestRam
2019-09-11 16:29:26 -04:00
9bf3f84fae
virtio-wayland
2019-09-11 16:20:16 -04:00
023571e88d
virtio-blk device
2019-09-11 16:02:36 -04:00
e79502c271
A module for accessing disk image files (with virtio-blk)
2019-09-11 15:58:04 -04:00