Skip to content

Commit

Permalink
FMO-53: Add qemu machine as q35 to fix wifi error on laptop
Browse files Browse the repository at this point in the history
- Fix wifi interface not found on laptop target
- Set qemu machine to q35

Signed-off-by: Anh Huy Bui <buianhhuy96@gmail.com>
  • Loading branch information
buianhhuy96 committed Sep 20, 2024
1 parent d2543ec commit 9ba646f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/virtualization/microvm/vm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
nixpkgs.hostPlatform.system = configHost.nixpkgs.hostPlatform.system;

microvm.hypervisor = "qemu";
microvm.qemu.machine = "q35";

networking = {
enableIPv6 = false;
Expand All @@ -53,8 +54,6 @@

microvm.shares = [
# Use host's /nix/store to reduce size of the image
# WAR: to enable -M q35 option need to share any fs or pcie devices
# WAR: otherwise machine is not able to start, why?
{
tag = "ro-store";
source = "/nix/store";
Expand Down

0 comments on commit 9ba646f

Please sign in to comment.