Commit Graph

8 Commits

Author SHA1 Message Date
53a5bce2a2 Replace our memory manager implementation with vm-memory.
This is a large intrusive refactor but it will make it easier
to adopt other components from rust-vmm ecosystem in the future.

Our old implementation was also potentially problematic due to
an API which directly hands out [u8] slices to guest memory.

(See VolatileSlice and 'volatile_memory' module in vm-memory for
discussion about this issue)

Since the old memory manager also handled graphics memory buffers
this was rewritten into a separate component and moved into 'io'
module.

Uses of FileDesc class were removed and replaced by use of the
standard File type instead which accomplishes most of the same
goals.

MemoryFd was removed and replaced with memfd crate.
2024-01-11 08:53:48 -05:00
41d6d10373 Refactor to use rust-vmm crates for kvm operations 2023-01-31 13:47:55 -05:00
99020a5ad4 Updated Cargo.lock files 2023-01-27 16:40:13 -05:00
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
8587532a5e update libcitadel git revision 2019-09-20 18:51:38 -04:00
0f50387d1e change source layout 2019-09-20 17:29:55 -04:00
babd7c6585 Move crate into subdirectory 2017-10-18 19:05:41 +00:00
317426f5bf Initial commit 2017-10-16 02:36:00 +00:00