How to edit the launch script to launch the second VM?


siming
 

I‘m sorry, I have chaged the UUID previously. Just change one number of that UUID.

Now  I can boot one uos  without '-U ' parameter and boot the second uos with the UUID in the sample 495ae2e5-2603-4d64-af76-d4bc5a8ec0e5.
If I change any number of the UUID, the uos will be created failed. 
How should I set the '-U' parameter to launch another new VM? 
-U, --uuid

Set UUID for a VM. Every VM is identified by a UUID. You can define that UUID with this option. 


Thanks.

在 2020-08-03 10:31:16,"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi Siming

Please check this link for config-tool :

https://projectacrn.github.io/latest/tutorials/acrn_configuration_tool.html

 

Could you please share the UUID you added in script?

Is it the same one with  Line 51 of following link?

https://github.com/projectacrn/acrn-hypervisor/blob/release_2.0/devicemodel/samples/nuc/launch_hard_rt_vm.sh#L51

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Monday, August 3, 2020 10:02 AM
To: acrn-users@...
Subject: Re: [acrn-users] How to edit the launch script to launch the second VM?

 

hi,

1.where can I get the  config-tool ?

2.I haved add the "-U xxxx" in the script, but it cannot creat the VM anymore. When I remove the "-U xxx", it can creat one VM.

I'm use the clr-linux as the uos by the way. my script is changed from launch_uos.sh.

 

2020-08-03 07:06:55"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

There are two options:

  1. Using config-tool to generate launch script
  2. refer the sample launch script to add UUID for the second VM:

https://github.com/projectacrn/acrn-hypervisor/blob/release_2.0/devicemodel/samples/nuc/launch_hard_rt_vm.sh#L51

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 1, 2020 5:23 PM
To: acrn-users@...
Subject: [acrn-users] How to edit the launch script to launch the second VM?

 

hi,

    I launch a uos by the script, and changed the vm_name and offline_cpu to launch another VM.

    It's shown the errors like this:

vhm: failed to create VM from Hypervisor!

vhm: failed to create VM from Hypervisor!

faild to create VM vm2

  How should I edit the script to launch another one?

 

Thanks and sorry for the last email.

 

 


Liu, Fuzhong
 

Hi Siming

Please check this link for config-tool :

https://projectacrn.github.io/latest/tutorials/acrn_configuration_tool.html

 

Could you please share the UUID you added in script?

Is it the same one with  Line 51 of following link?

https://github.com/projectacrn/acrn-hypervisor/blob/release_2.0/devicemodel/samples/nuc/launch_hard_rt_vm.sh#L51

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Monday, August 3, 2020 10:02 AM
To: acrn-users@...
Subject: Re: [acrn-users] How to edit the launch script to launch the second VM?

 

hi,

1.where can I get the  config-tool ?

2.I haved add the "-U xxxx" in the script, but it cannot creat the VM anymore. When I remove the "-U xxx", it can creat one VM.

I'm use the clr-linux as the uos by the way. my script is changed from launch_uos.sh.

 

2020-08-03 07:06:55"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

There are two options:

  1. Using config-tool to generate launch script
  2. refer the sample launch script to add UUID for the second VM:

https://github.com/projectacrn/acrn-hypervisor/blob/release_2.0/devicemodel/samples/nuc/launch_hard_rt_vm.sh#L51

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 1, 2020 5:23 PM
To: acrn-users@...
Subject: [acrn-users] How to edit the launch script to launch the second VM?

 

hi,

    I launch a uos by the script, and changed the vm_name and offline_cpu to launch another VM.

    It's shown the errors like this:

vhm: failed to create VM from Hypervisor!

vhm: failed to create VM from Hypervisor!

faild to create VM vm2

  How should I edit the script to launch another one?

 

Thanks and sorry for the last email.

 

 


siming
 

hi,
1.where can I get the  config-tool ?
2.I haved add the "-U xxxx" in the script, but it cannot creat the VM anymore. When I remove the "-U xxx", it can creat one VM.
I'm use the clr-linux as the uos by the way. my script is changed from launch_uos.sh.


在 2020-08-03 07:06:55,"Liu, Fuzhong" <fuzhong.liu@...> 写道:

Hi

There are two options:

  1. Using config-tool to generate launch script
  2. refer the sample launch script to add UUID for the second VM:

https://github.com/projectacrn/acrn-hypervisor/blob/release_2.0/devicemodel/samples/nuc/launch_hard_rt_vm.sh#L51

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 1, 2020 5:23 PM
To: acrn-users@...
Subject: [acrn-users] How to edit the launch script to launch the second VM?

 

hi,

    I launch a uos by the script, and changed the vm_name and offline_cpu to launch another VM.

    It's shown the errors like this:

vhm: failed to create VM from Hypervisor!

vhm: failed to create VM from Hypervisor!

faild to create VM vm2

  How should I edit the script to launch another one?

 

Thanks and sorry for the last email.

 

 


Liu, Fuzhong
 

Hi

There are two options:

  1. Using config-tool to generate launch script
  2. refer the sample launch script to add UUID for the second VM:

https://github.com/projectacrn/acrn-hypervisor/blob/release_2.0/devicemodel/samples/nuc/launch_hard_rt_vm.sh#L51

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of siming
Sent: Saturday, August 1, 2020 5:23 PM
To: acrn-users@...
Subject: [acrn-users] How to edit the launch script to launch the second VM?

 

hi,

    I launch a uos by the script, and changed the vm_name and offline_cpu to launch another VM.

    It's shown the errors like this:

vhm: failed to create VM from Hypervisor!

vhm: failed to create VM from Hypervisor!

faild to create VM vm2

  How should I edit the script to launch another one?

 

Thanks and sorry for the last email.

 

 


siming
 

hi,
    I launch a uos by the script, and changed the vm_name and offline_cpu to launch another VM.
    It's shown the errors like this:
vhm: failed to create VM from Hypervisor!
vhm: failed to create VM from Hypervisor!
faild to create VM vm2
  How should I edit the script to launch another one?

Thanks and sorry for the last email.


 


siming
 

hi,