Skip to content

Commit

Permalink
Change netvm hypervisor to cloud-hypervisor
Browse files Browse the repository at this point in the history
Signed-off-by: Santtu Lakkala <santtu.lakkala@unikie.com>
  • Loading branch information
slakkala committed Mar 22, 2024
1 parent 82e0d4a commit 225e914
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/microvm/virtualization/microvm/netvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
nixpkgs.buildPlatform.system = configHost.nixpkgs.buildPlatform.system;
nixpkgs.hostPlatform.system = configHost.nixpkgs.hostPlatform.system;

microvm.hypervisor = "qemu";
microvm.hypervisor = "cloud-hypervisor";

networking = {
firewall.allowedTCPPorts = [53];
Expand Down Expand Up @@ -93,6 +93,7 @@
tag = "ro-store";
source = "/nix/store";
mountPoint = "/nix/.ro-store";
proto = "virtiofs";
}
];
writableStoreOverlay = lib.mkIf config.ghaf.development.debug.tools.enable "/nix/.rw-store";
Expand Down
1 change: 1 addition & 0 deletions targets/lenovo-x1/netvmExtraModules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
tag = configH.ghaf.security.sshKeys.waypipeSshPublicKeyName;
source = configH.ghaf.security.sshKeys.waypipeSshPublicKeyDir;
mountPoint = configH.ghaf.security.sshKeys.waypipeSshPublicKeyDir;
proto = "virtiofs";
}
];
};
Expand Down

0 comments on commit 225e914

Please sign in to comment.