File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ impl std::convert::From<linux_loader::cmdline::Error> for StartMicrovmError {
152
152
pub mod aarch64 {
153
153
use super :: * ;
154
154
155
- fn attach_legacy_devices_aarch64 (
155
+ fn attach_legacy_devices (
156
156
event_manager : & mut EventManager ,
157
157
vmm : & mut Vmm ,
158
158
cmdline : & mut LoaderKernelCmdline ,
@@ -222,7 +222,8 @@ pub mod aarch64 {
222
222
223
223
let vcpu_config = VcpuConfig {
224
224
vcpu_count : vm_config. vcpu_count ,
225
- smt : vm_config. smt ,
225
+ // smt does not exist on aarch64
226
+ smt : false ,
226
227
cpu_config,
227
228
} ;
228
229
@@ -642,8 +643,7 @@ pub fn build_microvm_for_boot(
642
643
}
643
644
644
645
#[ cfg( target_arch = "aarch64" ) ]
645
- aarch:: attach_legacy_devices_aarch64 ( event_manager, & mut vmm, & mut boot_cmdline)
646
- . map_err ( Internal ) ?;
646
+ aarch:: attach_legacy_devices ( event_manager, & mut vmm, & mut boot_cmdline) . map_err ( Internal ) ?;
647
647
648
648
attach_vmgenid_device ( & mut vmm) ?;
649
649
You can’t perform that action at this time.
0 commit comments