d426b8e749
Use 4 vcpus by default
2023-08-03 08:35:54 -04:00
bfe64ab4ba
Synchronize vcpu threads with a barrier
2023-08-03 08:35:16 -04:00
cded52b7c9
Port of ac97 from crosvm with pulseaudio backend.
2023-08-03 08:23:20 -04:00
13efc4fa11
Clean up calculation of memory map
2023-08-03 08:02:11 -04:00
8f64743a0e
Extensive refactor of IO,PCI,Virtio
2023-08-02 13:49:49 -04:00
97d9ef95c5
Build the MP Table correctly
2023-08-02 09:31:37 -04:00
8ef4220adf
use thiserror crate
2023-01-31 13:48:20 -05:00
41d6d10373
Refactor to use rust-vmm crates for kvm operations
2023-01-31 13:47:55 -05:00
3a05847f31
Find sommelier binary in the sommelier build directory
2023-01-27 16:37:08 -05:00
9b75e697d6
Only respond to DMABUF commands if dmabuf is enabled in config
2023-01-27 16:36:27 -05:00
ffa6075c80
VIRTIO_ID_WL changed to match ID value in kernel driver.
2023-01-27 16:34:34 -05:00
616c0d4fa7
Use Vec instead of array to avoid 'stack overflow'
...
On debug build the worker thread stack overflows upon
thread launch with default stack size even though the
closure is only 130K. I don't know why this happens
but moving the buffers to the heap solves the problem.
2023-01-27 16:29:43 -05:00
9ee21a0309
Return 'GenuineIntel' as vendor string
2023-01-26 15:51:47 -05:00
ced3f6a4a8
Fix compiler warnings
2023-01-26 15:49:12 -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
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
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
078a1a547b
remove canonicalization since it doesn't work.
2019-09-22 00:50:32 -04:00
dc2a7f7a1f
Implemented locking commands and fixed a couple other small problems
2019-09-21 20:45:15 -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
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
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