-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage (VM) phase 0.1 #705
Conversation
3d61cd9
to
a5fe280
Compare
a5fe280
to
693d489
Compare
693d489
to
3263295
Compare
3263295
to
44e32fc
Compare
44e32fc
to
5f3163c
Compare
1316893
to
c0e720f
Compare
c0e720f
to
85d29fd
Compare
85d29fd
to
cff1b74
Compare
c80f2a1
to
a2815ee
Compare
Did a bit of testing with Anyway, here goes my findings after Good:
Regression:
Notes:
|
a90ad9d
to
54abacf
Compare
The issues with network applet and log collecting are caused by the PCI device enumeration. When persistent storage is enabled, there is a new VirtIO device appear in, for instance, Net-VM:
which causes the Wi-Fi device name change:
|
Tested on Lenovo-X1 (lenovo-x1-carbon-gen11-debug on USB SSD) Everything is working!
|
de22d79
to
09f34a6
Compare
09f34a6
to
49a62e4
Compare
Signed-off-by: Ivan Nikolaenko <[email protected]>
Signed-off-by: Valentin Kharin <[email protected]>
Signed-off-by: Ville Ilvonen <[email protected]>
Also save SSH host keys for VMs that are using storage services Signed-off-by: Ivan Nikolaenko <[email protected]>
Signed-off-by: Ivan Nikolaenko <[email protected]>
49a62e4
to
aedca87
Compare
The fundamental issue is that there is not a hardware.definitions defined for the non-x86 targets yet. so there is nothing in the config to evaluate and iterate the pcidevices. This is a tmp fix. Signed-off-by: Brian McGillion <[email protected]>
aedca87
to
9d55826
Compare
Description of changes
This is the initial implementation of the Storage solution. It uses
impermanence
framework along with virtiofs shares to make needed files/directories persistent.Currently it allows to store WiFi configuration, user data from GUI-vm user home directory and common-purpose browser configuration and user sessions/data.
Each VM has an access to it's only data and does not know anything about other stored entities. The host system has an access to all the data stored.
Checklist for things done
x86_64
aarch64
riscv64
nix flake check --accept-flake-config
and it passesTesting
touch ~/testfile
It is possible to restart a microvm without rebooting:
systemctl restart microvm@<vm name>.service