@@ -164,7 +164,7 @@ usage(int code)
164
164
#endif
165
165
" --vsbl: vsbl file path\n"
166
166
" --ovmf: ovmf file path\n"
167
- " --pcpu_list : list of pCPUs assigned to this VM\n"
167
+ " --cpu_affinity : list of pCPUs assigned to this VM\n"
168
168
" --part_info: guest partition info file path\n"
169
169
" --enable_trusty: enable trusty for guest\n"
170
170
" --debugexit: enable debug exit function\n"
@@ -719,7 +719,7 @@ sig_handler_term(int signo)
719
719
enum {
720
720
CMD_OPT_VSBL = 1000 ,
721
721
CMD_OPT_OVMF ,
722
- CMD_OPT_PCPU_LIST ,
722
+ CMD_OPT_CPU_AFFINITY ,
723
723
CMD_OPT_PART_INFO ,
724
724
CMD_OPT_TRUSTY_ENABLE ,
725
725
CMD_OPT_VIRTIO_POLL_ENABLE ,
@@ -759,7 +759,7 @@ static struct option long_options[] = {
759
759
#endif
760
760
{"vsbl" , required_argument , 0 , CMD_OPT_VSBL },
761
761
{"ovmf" , required_argument , 0 , CMD_OPT_OVMF },
762
- {"pcpu_list " , required_argument , 0 , CMD_OPT_PCPU_LIST },
762
+ {"cpu_affinity " , required_argument , 0 , CMD_OPT_CPU_AFFINITY },
763
763
{"part_info" , required_argument , 0 , CMD_OPT_PART_INFO },
764
764
{"enable_trusty" , no_argument , 0 ,
765
765
CMD_OPT_TRUSTY_ENABLE },
@@ -877,8 +877,8 @@ main(int argc, char *argv[])
877
877
errx (EX_USAGE , "invalid ovmf param %s" , optarg );
878
878
skip_pci_mem64bar_workaround = true;
879
879
break ;
880
- case CMD_OPT_PCPU_LIST :
881
- if (acrn_parse_pcpu_list (optarg ) != 0 )
880
+ case CMD_OPT_CPU_AFFINITY :
881
+ if (acrn_parse_cpu_affinity (optarg ) != 0 )
882
882
errx (EX_USAGE , "invalid pcpu param %s" , optarg );
883
883
break ;
884
884
case CMD_OPT_PART_INFO :
0 commit comments