File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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 {
152152pub mod aarch64 {
153153 use super :: * ;
154154
155- fn attach_legacy_devices_aarch64 (
155+ fn attach_legacy_devices (
156156 event_manager : & mut EventManager ,
157157 vmm : & mut Vmm ,
158158 cmdline : & mut LoaderKernelCmdline ,
@@ -222,7 +222,8 @@ pub mod aarch64 {
222222
223223 let vcpu_config = VcpuConfig {
224224 vcpu_count : vm_config. vcpu_count ,
225- smt : vm_config. smt ,
225+ // smt does not exist on aarch64
226+ smt : false ,
226227 cpu_config,
227228 } ;
228229
@@ -642,8 +643,7 @@ pub fn build_microvm_for_boot(
642643 }
643644
644645 #[ 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 ) ?;
647647
648648 attach_vmgenid_device ( & mut vmm) ?;
649649
You can’t perform that action at this time.
0 commit comments