Skip to content

Commit

Permalink
create: Use UEFI
Browse files Browse the repository at this point in the history
This is required when enabling ACPI on aarch64, and probably a good idea
in general.

Signed-off-by: Alberto Faria <[email protected]>
  • Loading branch information
albertofaria committed Apr 24, 2024
1 parent 00e6640 commit 2e44524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/create/domain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn generate(
let memory = get_memory_size(spec).to_string();
st(w, "memory", &[("unit", "b")], memory.as_str())?;

s(w, "os", &[], |w| {
s(w, "os", &[("firmware", "efi")], |w| {
let attrs = match ["x86", "x86_64"].contains(&env::consts::ARCH) {
true => [("machine", "q35")].as_slice(),
false => [].as_slice(), // use libvirt's default
Expand Down

0 comments on commit 2e44524

Please sign in to comment.