BUG: sleeping function called from invalid context
c.susen@...
Hi all, I'm just getting started with ACRN and am encountering the problem that BUG messages appear regularly on the screen of my service VM and also in the dmesg output. Unfortunately, I am not deep enough in the subject matter to understand the output of dmesg. So I would be very grateful if someone could give me a hint what could be wrong with my setup. I use Ubuntu 20.04.3 as service OS and ACRN hypervisor and kernel v2.6. I followed the getting started guide at https://projectacrn.github.io/2.6/getting-started/getting-started.html and just launch a single user VM with Ubuntu 20.04.3 and a passthrough network interface card. However, the problem appears also when the user VM is not launched. When I use the standard kernel that comes with Ubuntu, the problem does not appear. To be able to work on the machine from home, I use SSH and XRDP to log in to the service VM and also the user VM. I have the feeling that the bug message is related to the start of a new XRDP session. Whenever I disconnect and reconnect with remote desktop, a new entry with the bug appears in the dmesg output. After a reboot of the service VM and when just using SSH to connect, the dmesg output looks fine. Here, the corresponding excerpt from the dmesg output: [Mi Nov 17 10:19:10 2021] BUG: sleeping function called from invalid context at mm/page_alloc.c:4897 [Mi Nov 17 10:19:10 2021] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 3199, name: xrdp [Mi Nov 17 10:19:10 2021] Preemption disabled at: [Mi Nov 17 10:19:10 2021] [<ffffffffb0267d5f>] __swp_swapcount+0x4f/0x90 [Mi Nov 17 10:19:10 2021] CPU: 1 PID: 3199 Comm: xrdp Tainted: G U W 5.10.52-acrn-sos-00001-gbf7f88634a83 #1 [Mi Nov 17 10:19:10 2021] Hardware name: Dell Inc. OptiPlex 5070/0XJ5V0, BIOS 1.0.3 05/30/2019 [Mi Nov 17 10:19:10 2021] Call Trace: [Mi Nov 17 10:19:10 2021] dump_stack+0x7d/0x9f [Mi Nov 17 10:19:10 2021] ? __swp_swapcount+0x4f/0x90 [Mi Nov 17 10:19:10 2021] ___might_sleep.cold+0xd3/0xe4 [Mi Nov 17 10:19:10 2021] __might_sleep+0x4b/0x80 [Mi Nov 17 10:19:10 2021] __alloc_pages_nodemask+0x206/0x330 [Mi Nov 17 10:19:10 2021] __read_swap_cache_async+0xd8/0x220 [Mi Nov 17 10:19:10 2021] swapin_readahead+0x274/0x400 [Mi Nov 17 10:19:10 2021] do_swap_page+0x160/0x870 [Mi Nov 17 10:19:10 2021] ? handle_mm_fault+0x629/0x16a0 [Mi Nov 17 10:19:10 2021] ? do_user_addr_fault+0x20e/0x3f0 [Mi Nov 17 10:19:10 2021] handle_mm_fault+0xd37/0x16a0 [Mi Nov 17 10:19:10 2021] do_user_addr_fault+0x20e/0x3f0 [Mi Nov 17 10:19:10 2021] exc_page_fault+0x54/0x130 [Mi Nov 17 10:19:10 2021] ? asm_exc_page_fault+0x8/0x30 [Mi Nov 17 10:19:10 2021] asm_exc_page_fault+0x1e/0x30 [Mi Nov 17 10:19:10 2021] RIP: 0033:0x55bdba616fae [Mi Nov 17 10:19:10 2021] Code: 8b 3d c6 80 02 00 e8 11 e2 ff ff 48 83 c4 08 4c 89 e0 5b 5d 41 5c 41 5d c3 0f 1f 00 f3 0f 1e fa 41 54 55 48 81 ec 18 01 00 00 <48> 8b 3d 93 80 02 00 64 48 8b 04 25 28 00 00 00 48 89 84 24 08 01 [Mi Nov 17 10:19:10 2021] RSP: 002b:00007ffd365c8d30 EFLAGS: 00010206 [Mi Nov 17 10:19:10 2021] RAX: 0000000000000000 RBX: 000055bdbb34cf00 RCX: 0000000000000000 [Mi Nov 17 10:19:10 2021] RDX: 00007ffd365c8d90 RSI: 00007ffd365c8d90 RDI: 00007ff0e1ebb506 [Mi Nov 17 10:19:10 2021] RBP: 000055bdbb351350 R08: 0000000000000000 R09: 00007ff0e1c742d0 [Mi Nov 17 10:19:10 2021] R10: 00007ff0e185d740 R11: 0000000000000246 R12: 00007ffd365c8e80 [Mi Nov 17 10:19:10 2021] R13: 00007ffd365c8e7c R14: 00000000000a0009 R15: 0000000000000000 Thanks in advance for your help! Best regards, Christoph
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: ARM Support
Musa Ünal <umusasadik@...>
Thanks a lot for your reply. It would be awesome to support ARM processors too. Thanks Musa Geoffroy Van Cutsem <geoffroy.vancutsem@...>, 11 Kas 2021 Per, 18:46 tarihinde şunu yazdı:
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: ARM Support
Hi Musa,
There is no support for ARM-based processors at this stage. We would love to have this added to ACRN but nobody has stepped up to this task yet I’m afraid.
Thanks, Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of Musa Ünal
Sent: Tuesday, November 9, 2021 11:40 am To: acrn-users@... Subject: [acrn-users] ARM Support
Hello ACRN community, Thanks! Musa
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
ARM Support
Musa Ünal <umusasadik@...>
Hello ACRN community, Is there any support for ARM based processors? Or is there any such support planned? Thanks! Musa
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: gpio ist not seen in the acrn hypervisor in the whl 10
Jianjie Lin
Hi Geoffory,
Actually, we also identified the same problem; namely, the gpio controller is not detected even in the native Linux. We also tried to contact the manufacture, but it isn't easy to get the contact. We see the tutorial from the acrn website, the acrn hypervisor offers the virto-gpio, it seems that you can manage to detect or download the gpio controller. I know, it is not the problem of acrn
Thanks Jianjie LIN
Von: acrn-users@... <acrn-users@...>
Im Auftrag von Geoffroy Van Cutsem
It seems like the basic GPIO controller is not even detected, which can be caused by a driver that’s missing. Have you ever been able to use the GPIO interface on that board using a native Linux (no ACRN)?
If so, we could start by comparing the kernel configs (at least the ones pertaining to GPIO) and see if we should enable some options in the acrn-kernel for you.
Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Thursday, October 28, 2021 1:27 pm To: acrn-users@... Subject: Re: [acrn-users] gpio ist not seen in the acrn hypervisor in the whl 10
Hi Geoffory, In my case, ls I use the tutorial here, https://www.ics.com/blog/gpio-programming-using-sysfs-interface
But it did not work out for me Thanks, Jianjie Lin
Von:
acrn-users@... <acrn-users@...>
Im Auftrag von Geoffroy Van Cutsem
Hi Jianjie,
There isn’t much useful info in the log that you attached in your previous email. Can you expand a bit on how you have tried to use this? Do you see the any GPIO controller (e.g.:
ls
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Fuzhong,
Thank you very much for your reply. In cannot see gpio pins in sor and HV? I tried with serval methods, but apparently, it did not work out. We try to use this gpio pin to control the motor as an automotive application. I attached the boot log.
If you need to any information about the whiskey lake, I am pleasure to offer those information. Thank you . Best, Jianjie Lin
Von:
acrn-users@... <acrn-users@...>
Im Auftrag von Liu, Fuzhong
Hi Jianjie Not see the gpio pins in sos or HV?
Could you please share full HV boot log about your issue?
Thanks!
BR. Fuzhong From:
acrn-users@... <acrn-users@...>
On Behalf Of Geoffroy Van Cutsem
Hi Jianjie,
I do not have any experience with the GPIO subsystem I’m afraid, @Xie, Nanlin, can you ask someone on the engineering team to help look at this?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: gpio ist not seen in the acrn hypervisor in the whl 10
It seems like the basic GPIO controller is not even detected, which can be caused by a driver that’s missing. Have you ever been able to use the GPIO interface on that board using a native Linux (no ACRN)?
If so, we could start by comparing the kernel configs (at least the ones pertaining to GPIO) and see if we should enable some options in the acrn-kernel for you.
Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Thursday, October 28, 2021 1:27 pm To: acrn-users@... Subject: Re: [acrn-users] gpio ist not seen in the acrn hypervisor in the whl 10
Hi Geoffory, In my case,
ls I use the tutorial here, https://www.ics.com/blog/gpio-programming-using-sysfs-interface
But it did not work out for me Thanks, Jianjie Lin
Von:
acrn-users@... <acrn-users@...>
Im Auftrag von Geoffroy Van Cutsem
Hi Jianjie,
There isn’t much useful info in the log that you attached in your previous email. Can you expand a bit on how you have tried to use this? Do you see the any GPIO controller (e.g.:
ls
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Fuzhong,
Thank you very much for your reply. In cannot see gpio pins in sor and HV? I tried with serval methods, but apparently, it did not work out. We try to use this gpio pin to control the motor as an automotive application. I attached the boot log.
If you need to any information about the whiskey lake, I am pleasure to offer those information. Thank you . Best, Jianjie Lin
Von:
acrn-users@... <acrn-users@...>
Im Auftrag von Liu, Fuzhong
Hi Jianjie Not see the gpio pins in sos or HV?
Could you please share full HV boot log about your issue?
Thanks!
BR. Fuzhong From:
acrn-users@... <acrn-users@...>
On Behalf Of Geoffroy Van Cutsem
Hi Jianjie,
I do not have any experience with the GPIO subsystem I’m afraid, @Xie, Nanlin, can you ask someone on the engineering team to help look at this?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: gpio ist not seen in the acrn hypervisor in the whl 10
Jianjie Lin
Hi Geoffory, In my case, ls I use the tutorial here, https://www.ics.com/blog/gpio-programming-using-sysfs-interface
But it did not work out for me Thanks, Jianjie Lin
Von: acrn-users@... <acrn-users@...>
Im Auftrag von Geoffroy Van Cutsem
Hi Jianjie,
There isn’t much useful info in the log that you attached in your previous email. Can you expand a bit on how you have tried to use this? Do you see the any GPIO controller (e.g.:
ls
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Thursday, October 28, 2021 10:29 am To: acrn-users@... Subject: Re: [acrn-users] gpio ist not seen in the acrn hypervisor in the whl 10
Hi Fuzhong,
Thank you very much for your reply. In cannot see gpio pins in sor and HV? I tried with serval methods, but apparently, it did not work out. We try to use this gpio pin to control the motor as an automotive application. I attached the boot log.
If you need to any information about the whiskey lake, I am pleasure to offer those information. Thank you . Best, Jianjie Lin
Von:
acrn-users@... <acrn-users@...>
Im Auftrag von Liu, Fuzhong
Hi Jianjie Not see the gpio pins in sos or HV?
Could you please share full HV boot log about your issue?
Thanks!
BR. Fuzhong From:
acrn-users@... <acrn-users@...>
On Behalf Of Geoffroy Van Cutsem
Hi Jianjie,
I do not have any experience with the GPIO subsystem I’m afraid, @Xie, Nanlin, can you ask someone on the engineering team to help look at this?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: gpio ist not seen in the acrn hypervisor in the whl 10
Hi Jianjie,
There isn’t much useful info in the log that you attached in your previous email. Can you expand a bit on how you have tried to use this? Do you see the any GPIO controller (e.g.:
ls
Thanks, Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Thursday, October 28, 2021 10:29 am To: acrn-users@... Subject: Re: [acrn-users] gpio ist not seen in the acrn hypervisor in the whl 10
Hi Fuzhong,
Thank you very much for your reply. In cannot see gpio pins in sor and HV? I tried with serval methods, but apparently, it did not work out. We try to use this gpio pin to control the motor as an automotive application. I attached the boot log.
If you need to any information about the whiskey lake, I am pleasure to offer those information. Thank you . Best, Jianjie Lin
Von:
acrn-users@... <acrn-users@...>
Im Auftrag von Liu, Fuzhong
Hi Jianjie Not see the gpio pins in sos or HV?
Could you please share full HV boot log about your issue?
Thanks!
BR. Fuzhong From:
acrn-users@... <acrn-users@...>
On Behalf Of Geoffroy Van Cutsem
Hi Jianjie,
I do not have any experience with the GPIO subsystem I’m afraid, @Xie, Nanlin, can you ask someone on the engineering team to help look at this?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: gpio ist not seen in the acrn hypervisor in the whl 10
Jianjie Lin
Hi Fuzhong,
Thank you very much for your reply. In cannot see gpio pins in sor and HV? I tried with serval methods, but apparently, it did not work out. We try to use this gpio pin to control the motor as an automotive application. I attached the boot log.
If you need to any information about the whiskey lake, I am pleasure to offer those information. Thank you . Best, Jianjie Lin
Von: acrn-users@... <acrn-users@...>
Im Auftrag von Liu, Fuzhong
Hi Jianjie Not see the gpio pins in sos or HV?
Could you please share full HV boot log about your issue?
Thanks!
BR. Fuzhong
From:
acrn-users@... <acrn-users@...>
On Behalf Of Geoffroy Van Cutsem
Sent: Tuesday, October 26, 2021 10:29 PM To: acrn-users@...; Xie, Nanlin <nanlin.xie@...> Subject: Re: [acrn-users] gpio ist not seen in the acrn hypervisor in the whl 10
Hi Jianjie,
I do not have any experience with the GPIO subsystem I’m afraid, @Xie, Nanlin, can you ask someone on the engineering team to help look at this?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: gpio ist not seen in the acrn hypervisor in the whl 10
Liu, Fuzhong
Hi Jianjie Not see the gpio pins in sos or HV?
Could you please share full HV boot log about your issue?
Thanks!
BR. Fuzhong
From: acrn-users@... <acrn-users@...>
On Behalf Of Geoffroy Van Cutsem
Sent: Tuesday, October 26, 2021 10:29 PM To: acrn-users@...; Xie, Nanlin <nanlin.xie@...> Subject: Re: [acrn-users] gpio ist not seen in the acrn hypervisor in the whl 10
Hi Jianjie,
I do not have any experience with the GPIO subsystem I’m afraid, @Xie, Nanlin, can you ask someone on the engineering team to help look at this?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: gpio ist not seen in the acrn hypervisor in the whl 10
Hi Jianjie,
I do not have any experience with the GPIO subsystem I’m afraid, @Xie, Nanlin, can you ask someone on the engineering team to help look at this?
Thanks, Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Thursday, October 21, 2021 3:35 pm To: acrn-users@... Subject: [acrn-users] gpio ist not seen in the acrn hypervisor in the whl 10
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
gpio ist not seen in the acrn hypervisor in the whl 10
Jianjie Lin
Hi Acrn community,
After we successfully deployed the acrn hypervisor in the whiskey board 10, we found we could not see the gpio pins inside the acrn hypervisor, which apparently should be included. Do you know the reason?
Thank you Best, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
2021 ACRN Project Technical Community Meeting (2021/1~2021/12): @ Monthly 3rd Wednesday 4PM (China-Shanghai), Wednesday 10AM (Europe-Munich), Tuesday 1AM (US-West Coast)
Zou, Terry
Special Notes: If you have Zoom connection issue by using web browser, please
install & launch Zoom application, manually input the meeting ID (320664063)
to join the Zoom meeting.
Agenda & Archives:
Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices
We invite you to attend a monthly "Technical Community" meeting where we'll meet community members and talk about the ACRN project and plans.
As we explore community interest and involvement opportunities, we'll (re)schedule these meetings at a time convenient to most attendees:
Or visit Github wiki if you can’t access Google doc: https://github.com/projectacrn/acrn-hypervisor/wiki/ACRN-Committee-and-Working-Group-Meetings#technical-community-meetings
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Canceled: 2021 ACRN Project Technical Community Meeting (2021/1~2021/12): @ Monthly 3rd Wednesday 4PM (China-Shanghai), Wednesday 10AM (Europe-Munich), Tuesday 1AM (US-West Coast)
Zou, Terry
Reschedule ‘ACRN Nested Virtualization Introduction’ to Nov, thanks.
Special Notes: If you have Zoom connection issue by using
web browser, please install & launch Zoom application, manually input the meeting ID (320664063)
to join the Zoom meeting.
Agenda & Archives:
Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices
We invite you to attend a monthly "Technical Community" meeting where we'll meet community members and talk about the ACRN project and plans.
As we explore community interest and involvement opportunities, we'll (re)schedule these meetings at a time convenient to most attendees:
Or visit Github wiki if you can’t access Google doc: https://github.com/projectacrn/acrn-hypervisor/wiki/ACRN-Committee-and-Working-Group-Meetings#technical-community-meetings
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: replace the acrn device model with libvirt
Hi Jianjie,
This is good to know! We will keep that in mind, it will be good to have extra eyes looking at this when we develop this. Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Friday, October 1, 2021 4:23 pm To: acrn-users@... Subject: Re: [acrn-users] replace the acrn device model with libvirt
Hi Geoffory,
I cannot promise you that our group can contribute on this topic. But our group is interesting in to find a way how can we make it properly to use libvirt for the configuration.
Cheers Jianjie Lin,
Von: acrn-users@... [mailto:acrn-users@...]
Im Auftrag von Geoffroy Van Cutsem
Hi Jianjie,
This is something we have been thinking about, i.e. using libvirt as the primary mechanism to handle the ACRN post-launched VM lifecycles. We will have to make sure we can implement all options via this libvirt interface but at some point it should be possible to replace the launch scripts.
Note that it wouldn’t replace acrn-dm per se, the Device Model will still exist but it will be called directly by libvirt.
I don’t believe we have a timeline for that though. Is this something you’d be interested to contribute to?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi acrn community,
As the new release version of 2.6, I find an interesting tutorial about Configure ACRN Using OpenStack and Libvirt https://projectacrn.github.io/latest/tutorials/setup_openstack_libvirt.html Therefore, I would like to ask, if it is possible to replace the launch file, which contains the ARCN device model, with the standard libvirt approach?
Do you have any suggestions? Thank you. Cheers, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: Lauch UOS without blocking current terminal
Hi Feng,
I am not well versed on CI tools and how they work. Our CI team is in China, and hence on holiday this week.
Do you have full control of your test image? If so, you could build it so that it does not ask for a password, and/or run the tests automatically (via a system service file for example).
Thanks, Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of Pan, Fengjunjie
Sent: Friday, October 1, 2021 2:00 pm To: acrn-users@... Subject: Re: [acrn-users] Lauch UOS without blocking current terminal
Hi Geoffroy,
Thank you for your reply.
We would like to use CI tools to start UserVM in background and then run some tests there.
Thank you and best regards, Feng
From:
acrn-users@... [mailto:acrn-users@...]
On Behalf Of Geoffroy Van Cutsem
Hi Feng,
There is no option to provide the user name and credentials for the User VM OS in the launch script. However, I believe there are ways to set-up the OS to auto-login for a specific user. But can you tell me a bit more about what you want to achieve? I’m wondering why you would want to be automatically logged in?
I have not played with this yet but I think you should be able to modify the “-s 5,virtio-console,@stdio:stdio_port” line in your launch script to redirect this elsewhere (e.g. PTY) – see also https://projectacrn.github.io/latest/developer-guides/hld/virtio-console.html
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Pan, Fengjunjie
Hello all,
In the service VM, we launch an User VM with its launch file. In the console version, the standard way is that we need to use the user name and password to log in the system.
Is there any other option to directly write these information (user name and password ) inside the launch file, so that no additional manual step is required. Or How can we put the program in the background, and use the same terminal for launching the second User VM.
Thank you for support in advance. Best regards, Feng
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: replace the acrn device model with libvirt
Jianjie Lin
Hi Geoffory,
I cannot promise you that our group can contribute on this topic. But our group is interesting in to find a way how can we make it properly to use libvirt for the configuration.
Cheers Jianjie Lin,
Von: acrn-users@... [mailto:acrn-users@...]
Im Auftrag von Geoffroy Van Cutsem
Hi Jianjie,
This is something we have been thinking about, i.e. using libvirt as the primary mechanism to handle the ACRN post-launched VM lifecycles. We will have to make sure we can implement all options via this libvirt interface but at some point it should be possible to replace the launch scripts.
Note that it wouldn’t replace acrn-dm per se, the Device Model will still exist but it will be called directly by libvirt.
I don’t believe we have a timeline for that though. Is this something you’d be interested to contribute to?
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Friday, October 1, 2021 2:01 pm To: acrn-users@... Subject: [acrn-users] replace the acrn device model with libvirt
Hi acrn community,
As the new release version of 2.6, I find an interesting tutorial about Configure ACRN Using OpenStack and Libvirt https://projectacrn.github.io/latest/tutorials/setup_openstack_libvirt.html Therefore, I would like to ask, if it is possible to replace the launch file, which contains the ARCN device model, with the standard libvirt approach?
Do you have any suggestions? Thank you. Cheers, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: replace the acrn device model with libvirt
Hi Jianjie,
This is something we have been thinking about, i.e. using libvirt as the primary mechanism to handle the ACRN post-launched VM lifecycles. We will have to make sure we can implement all options via this libvirt interface but at some point it should be possible to replace the launch scripts.
Note that it wouldn’t replace acrn-dm per se, the Device Model will still exist but it will be called directly by libvirt.
I don’t believe we have a timeline for that though. Is this something you’d be interested to contribute to?
Thanks, Geoffroy
From: acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Friday, October 1, 2021 2:01 pm To: acrn-users@... Subject: [acrn-users] replace the acrn device model with libvirt
Hi acrn community,
As the new release version of 2.6, I find an interesting tutorial about Configure ACRN Using OpenStack and Libvirt https://projectacrn.github.io/latest/tutorials/setup_openstack_libvirt.html Therefore, I would like to ask, if it is possible to replace the launch file, which contains the ARCN device model, with the standard libvirt approach?
Do you have any suggestions? Thank you. Cheers, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
replace the acrn device model with libvirt
Jianjie Lin
Hi acrn community,
As the new release version of 2.6, I find an interesting tutorial about Configure ACRN Using OpenStack and Libvirt https://projectacrn.github.io/latest/tutorials/setup_openstack_libvirt.html Therefore, I would like to ask, if it is possible to replace the launch file, which contains the ARCN device model, with the standard libvirt approach?
Do you have any suggestions? Thank you. Cheers, Jianjie Lin
|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
Re: Lauch UOS without blocking current terminal
Pan, Fengjunjie
Hi Geoffroy,
Thank you for your reply.
We would like to use CI tools to start UserVM in background and then run some tests there.
Thank you and best regards, Feng
From: acrn-users@... [mailto:acrn-users@...]
On Behalf Of Geoffroy Van Cutsem
Sent: Thursday, September 30, 2021 2:40 PM To: acrn-users@... Subject: Re: [acrn-users] Lauch UOS without blocking current terminal
Hi Feng,
There is no option to provide the user name and credentials for the User VM OS in the launch script. However, I believe there are ways to set-up the OS to auto-login for a specific user. But can you tell me a bit more about what you want to achieve? I’m wondering why you would want to be automatically logged in?
I have not played with this yet but I think you should be able to modify the “-s 5,virtio-console,@stdio:stdio_port” line in your launch script to redirect this elsewhere (e.g. PTY) – see also https://projectacrn.github.io/latest/developer-guides/hld/virtio-console.html
Thanks, Geoffroy
From:
acrn-users@... <acrn-users@...>
On Behalf Of Pan, Fengjunjie
Hello all,
In the service VM, we launch an User VM with its launch file. In the console version, the standard way is that we need to use the user name and password to log in the system.
Is there any other option to directly write these information (user name and password ) inside the launch file, so that no additional manual step is required. Or How can we put the program in the background, and use the same terminal for launching the second User VM.
Thank you for support in advance. Best regards, Feng
|
|||||||||||||||||||||||||||||||||||||||||
|