File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -282,15 +282,20 @@ Compose file content (first 200 chars):
282282 manifest : manifest. clone ( ) ,
283283 image,
284284 cid : one_shot_cid, // Avoid conflict with existing VMs
285- networking : config. networking ,
286285 workdir : workdir_path. clone ( ) ,
287286 gateway_enabled : app_compose. gateway_enabled ( ) ,
288287 } ;
289288
290- let process_config = vm_builder_config
289+ let process_configs = vm_builder_config
291290 . config_qemu ( & workdir_path, & config. cvm , & gpus)
292291 . context ( "Failed to build QEMU configuration" ) ?;
293292
293+ // Get the main QEMU process config (first in the list)
294+ let process_config = process_configs
295+ . into_iter ( )
296+ . next ( )
297+ . context ( "No QEMU process configuration generated" ) ?;
298+
294299 // Build the QEMU command
295300 let mut full_command = vec ! [ process_config. command. clone( ) ] ;
296301 full_command. extend ( process_config. args . clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments