Date   

Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

AshKay
 

Hello Hongbo,
Was thinking if we can leave my coffelake setup for further debugging of GVT related issues. That said I also have access to following intel NUC of course different processor family than coffelake
https://ark.intel.com/content/www/us/en/ark/products/130393/intel-nuc-kit-nuc7i7dnhe.html
Can we setup following configuration on intel NUC (NUC7i7DNHE)
1. SOS (Ubuntu 18.04) + Windows (Win10 LTS)
2. GVT-d (GPU passthrough) to Guest Windows.

Let me know if you need further details for the Intel NUC that I have..


Thanks again for helping ..

 


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

AshKay
 

Thanks Geoffroy,
Am wondering if we have list of CPUs tested anywhere, My first steps was to setup SVM on Xeon platform, found that it was not tested/supported as well. I understand we have listed supported hardware on the page but wondering if it helps any to capture these non working cases somewhere..

Would be interesting to find the root cause of this Coffeelake setup. I have attached the dmesg output after I enabled drm.debug=0x06, nothing stands out, but am not a GVT expert either. I have also attached install_win.sh script that I slightly modified to map to correct keyboard and mouse events. Both mouse and keyboard seems to be frozen, after I execute install_win.sh script. may be that's another issue.. But just as a temporary work around I have used another set of keyboard and mouse so I can interact with service VM.

Regards..


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Wang, Hongbo
 

Yes, it’s easier to support 2 VMs than 4. Your configuration is doable.

May I know your machine module, brand, CPU type?

 

 

Best regards.

Hongbo

Tel: +86-21-6116 7445

MP: +86-1364 1793 689

Mail: hongbo.wang@...

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of AshKay via lists.projectacrn.org
Sent: 20201111 12:21
To: acrn-users@...
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

 

Hello Hongbo,
Yes we would certainly be looking for Real-Time performance, am wondering if I can slightly modify and use following configuration:
1. SOS (Ubuntu 18.04) + Windows (Win10 LTS)
2. GVT-d (GPU passthrough) to Guest Windows.


Please advise..


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Wang, Hongbo
 

Yes, it’s easier to support than 4 guest VM.

Your configuration is doable.

 

May I know your machine module, brand, CPU type?

 

 

Best regards.

Hongbo

Tel: +86-21-6116 7445

MP: +86-1364 1793 689

Mail: hongbo.wang@...

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of AshKay via lists.projectacrn.org
Sent: 20201111 12:21
To: acrn-users@...
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

 

Hello Hongbo,
Yes we would certainly be looking for Real-Time performance, am wondering if I can slightly modify and use following configuration:
1. SOS (Ubuntu 18.04) + Windows (Win10 LTS)
2. GVT-d (GPU passthrough) to Guest Windows.


Please advise..


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

AshKay
 

Hello Hongbo,
Yes we would certainly be looking for Real-Time performance, am wondering if I can slightly modify and use following configuration:
1. SOS (Ubuntu 18.04) + Windows (Win10 LTS)
2. GVT-d (GPU passthrough) to Guest Windows.


Please advise..


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Wang, Hongbo
 

In our lab, we’re trying ACRN on a Coffee Lake-Refresh system, which has 8 CPU cores.
Our configuration setting is:
1. SOS (Yocto) + Windows (Win10 LTS) + Preempt Linux + Yocto Linux
2. GVT-d (GPU passthrough) to Guest Windows.
The reason to use GVT-d is that it can achieve better Real-time performance for RTVM (Preempt Linux), which is critical for industrial scenario.

Do you want to try GVT-d on Coffee Lake?


Best regards.
Hongbo
Tel: +86-21-6116 7445
MP: +86-1364 1793 689
Mail: mailto:@hongbowang


From: acrn-users@... <acrn-users@...> On Behalf Of Geoffroy Van Cutsem
Sent: 2020年11月11日 7:16
To: acrn-users@...; Xie, Nanlin <nanlin.xie@...>
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Thanks AshKay! You’re running a Coffee Lake system, I don’t believe we validate those. mailto:Nanlin.Xie@..., can a GVT expert take a look a this?

It may be interesting to take enable more debugging options for the DRM subsystem, use drm.debug=0x6 as an additional kernel command-line parameter in the Service VM for this.

Thanks,
Geoffroy

From: mailto:acrn-users@... <mailto:acrn-users@...> On Behalf Of AshKay via lists.projectacrn.org
Sent: Monday, November 9, 2020 5:54 PM
To: mailto:acrn-users@...
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Hello Geoffroy,
Am using release 2.2 for ACRN loading Ubuntu 18.04 as SOS.

Following all the steps listed here with the only exception is that I am using different hardware.
https://projectacrn.github.io/latest/getting-started/rt_industry_ubuntu.html

I have attached my hardware specific board.xml file, CPUid.txt and 40_custom file indicating my boot parameters.
I have also uploaded output from lshw detailing hardware information for my platform.

Please let me know if any additional details are required.

I also do not have serial port so can't interact with ACRN hypervisor.

Thanks in advance for helping..


Canceled: 2020 ACRN Project Technical Community Meeting (2020/7~2020/12): @ Weekly Wednesday 4PM (China-Shanghai), Wednesday 9AM (Europe-London), Tuesday 0AM (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:

WW

Topic

Presenter

Status

WW28

Inter-VM communication Introduction (DM land)

Liu, Yuan1

7/8/2020

WW30

PTM virtualization Introduction

Wang, Qian

7/22/2020

WW32

TSN pass through Introduction

Wu, Binbin

8/5/2020

WW34

Safety VM introduction

Mao Junjie

8/19/2020

WW36

TCC feature introduction-split lock

Li Fei/Tao Yuhong

9/2/2020

WW38

Inter-VM communication Introduction (DM land)

Liu, Yuan1

9/16/2020

 

Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices

https://projectacrn.org  ||  https://github.com/projectacrn  ||  info@...

We're still in the early stages of forming this TSC, so instead we invite you to attend a weekly "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:

  • Meets every Wednesday, Starting Nov 07, 2018: 11AM-12AM (China-Shanghai), 7PM-8PM (US-West Coast), 3AM-4AM (Europe-London)
  • Chairperson: Hongbo Wang, hongbo.wang@... (Intel)
  • Online conference link: https://zoom.com.cn/j/320664063
  • Zoom Meeting ID: 320 664 063
  • Special Notes: If you have Zoom connection issue by using web browser, please launch Zoom application, manually input the meeting ID (320664063) to join the Zoom meeting.
  • Online conference phone:
    • China: +86 010 87833177  or 400 669 9381 (Toll Free)
    • Germany: +49 (0) 30 3080 6188  or +49 800 724 3138 (Toll Free)
    • US: +1 669 900 6833  or +1 646 558 8656   or +1 877 369 0926 (Toll Free) or +1 855 880 1246 (Toll Free)
    • Additional international phone numbers
  • Meeting Notes:

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: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Geoffroy Van Cutsem
 

Thanks AshKay! You’re running a Coffee Lake system, I don’t believe we validate those. @Xie, Nanlin, can a GVT expert take a look a this?

 

It may be interesting to take enable more debugging options for the DRM subsystem, use drm.debug=0x6 as an additional kernel command-line parameter in the Service VM for this.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of AshKay via lists.projectacrn.org
Sent: Monday, November 9, 2020 5:54 PM
To: acrn-users@...
Subject: Re: [acrn-users] Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

 

Hello Geoffroy,
Am using release 2.2 for ACRN loading Ubuntu 18.04 as SOS.

Following all the steps listed here with the only exception is that I am using different hardware.
https://projectacrn.github.io/latest/getting-started/rt_industry_ubuntu.html

I have attached my hardware specific board.xml file, CPUid.txt and 40_custom file indicating my boot parameters.
I have also uploaded output from lshw detailing hardware information for my platform.

Please let me know if any additional details are required.

I also do not have serial port so can't interact with ACRN hypervisor.

Thanks in advance for helping..


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

AshKay
 

Hello Geoffroy,
Am using release 2.2 for ACRN loading Ubuntu 18.04 as SOS.

Following all the steps listed here with the only exception is that I am using different hardware.
https://projectacrn.github.io/latest/getting-started/rt_industry_ubuntu.html

I have attached my hardware specific board.xml file, CPUid.txt and 40_custom file indicating my boot parameters.
I have also uploaded output from lshw detailing hardware information for my platform.

Please let me know if any additional details are required.

I also do not have serial port so can't interact with ACRN hypervisor.

Thanks in advance for helping..


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

Geoffroy Van Cutsem
 

Can you tell us more about your environment? E.g. HW, ACRN version, etc.?

Are you able to interact with the ACRN hypervisor through that serial port?


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

AshKay
 

Here are some kernel logs I was able to retrieve I do not see any errors.. I also don't know what's normal..

[ 1442.618120] smpboot: CPU 1 is now offline
[ 1443.628104] vhm: try to offline cpu 1 with lapicid 2
[ 1443.663881] smpboot: CPU 2 is now offline
[ 1444.670536] vhm: try to offline cpu 2 with lapicid 4
[ 1444.704379] smpboot: CPU 3 is now offline
[ 1445.711836] vhm: try to offline cpu 3 with lapicid 6
[ 1445.734663] smpboot: CPU 4 is now offline
[ 1446.751176] vhm: try to offline cpu 4 with lapicid 8
[ 1446.781149] smpboot: CPU 5 is now offline
[ 1447.793178] vhm: try to offline cpu 5 with lapicid 10
[ 1447.847289] vhm_dev_open: opening device node
[ 1447.847788] vhm-ioreq: init request buffer @ 00000000cbb633c3!
[ 1447.847792] vhm-ioreq: created ioreq client 1 for ioeventfd-1
[ 1447.854199] ACRN vhm ioeventfd init done!
[ 1447.854463] ACRN vhm irqfd init done!
[ 1447.854466] vhm: VM 1 created
[ 1448.094343] vhm-ioreq: created ioreq client 2 for ioreq gvt-g
[ 1448.095772] IPv6: ADDRCONF(NETDEV_CHANGE): tap0: link becomes ready
[ 1448.095803] acrn-br0: port 1(tap0) entered blocking state
[ 1448.095805] acrn-br0: port 1(tap0) entered forwarding state
[ 1448.163094] vhm-ioreq: created ioreq client 3 for acrndm
[ 1448.238023] [drm] prepare GOP fb: 8100KB for 1920X1080@32
[ 1448.243622] [drm] Set up display w:1920 h:1080 for GOP
[ 1448.243641] gvt: vgpu 1: pvinfo read gop: [78860:4] = df000000
[ 1448.243655] gvt: vgpu 1: pvinfo read gop: [78864:4] = 780
[ 1448.243667] gvt: vgpu 1: pvinfo read gop: [78868:4] = 438
[ 1448.243679] gvt: vgpu 1: pvinfo read gop: [7886c:4] = 780
[ 1448.243692] gvt: vgpu 1: pvinfo read gop: [78870:4] = 4
[ 1448.243703] gvt: vgpu 1: pvinfo read gop: [78874:4] = 7e9000


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

siming
 

hi Fengwei,
     I'm not clear about the setting of the monitor and display before install windows.  If I use the Ubuntu instead of Weston, how should I set the monitor?  thanks.
     



At 2020-11-05 11:01:45, "Yin, Fengwei" <fenwgei.yin@...> wrote: > > >On Thu, 5 Nov 2020 10:49:28 +0800 (CST) >"siming" <siming89@...> wrote: > >> hi sunp76, >> I don't know how to solve the probem about the tmp init fault. >> But if the windows is not installed , you can try to check the dmesg >> for more infomation. >> >> >> Bset regards. >> SIMING >> >> >> >> >> At 2020-11-05 06:43:29, "sunp76 via lists.projectacrn.org" >> <sunp76=yahoo.com@...> wrote: >> >> Thanks SIMING >> >> So I added following boot arguments >> i915.enable_gvt=1 i915.nuclear_pageflip=1 >> i915.avail_planes_per_pipe=0x010101 >> i915.domain_plane_owners=0x011100001111 i915.enable_guc=0 >> >> I do not get any GVT initialization failures but now am getting TPM >> initialization errors.. I have attached TPM_InitFailed and output >> from lshw for your reference. Wondering how can I debug this further.. > >TPM errors is only log there. > >Which platform are you using? For waag, we suggest to use gvt-d (gpu >passthru) instead of gvt-g. > >Regards >Yin, Fengwei > >> >> Thanks >> >> >> >> >>


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

siming
 

hi sunp76,
    I don't know how to solve the probem about the tmp init fault. But if the windows is not installed , you can try to check the dmesg for more infomation.

  Bset regards.
  SIMING


At 2020-11-05 06:43:29, "sunp76 via lists.projectacrn.org" <sunp76=yahoo.com@...> wrote:

Thanks SIMING

So I added following boot arguments
i915.enable_gvt=1 i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_guc=0

I do not get any GVT initialization failures but now am getting TPM initialization errors..
I have attached TPM_InitFailed and output from lshw for your reference. Wondering how can I debug this further..

Thanks


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

AshKay
 

Thanks SIMING

So I added following boot arguments
i915.enable_gvt=1 i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_guc=0

I do not get any GVT initialization failures but now am getting TPM initialization errors..
I have attached TPM_InitFailed and output from lshw for your reference. Wondering how can I debug this further..

Thanks


Re: Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

siming
 

hi sunp76,
    Try add i915.enable_gvt=1 in the boot arguments.

   Best regards.

   SIMING


At 2020-11-04 04:05:37, "sunp76 via lists.projectacrn.org" <sunp76=yahoo.com@...> wrote:

Hello,
On my custom platform I installed Ubunutu 18.04 as service VM following instructions located here ..
https://projectacrn.github.io/1.6.1/getting-started/rt_industry.html

After I boot in my service vm am trying to installing windows as a Guest OS on 18.04 Ubuntu service VM.

Followed instructions located here..
https://projectacrn.github.io/1.6.1/tutorials/using_windows_as_uos.html

I believe I configured shell script correctly as per instructions and now am getting GVT: init failed error. 
I have attached logs and install_win.sh script for the reference. 
Wondering if I need to boot with any special flags for service VMs or am I missing something very basic.

Thanks..


Canceled: 2020 ACRN Project Technical Community Meeting (2020/7~2020/12): @ Weekly Wednesday 4PM (China-Shanghai), Wednesday 9AM (Europe-London), Tuesday 0AM (US-West Coast),

Zou, Terry
 

Sorry for short notice to cancel today’s TCM. We may need more time to cook the foils and will switch the topic to ww47.  Stay tuned 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:

WW

Topic

Presenter

Status

WW46

ACRN PCI based vUART introduction

Tao Yuhong

11/11/2020

WW47

ACRN PTCM introduction

Huang Yonghua/Wang Qian

11/18/2020

WW48

GPIO/ISI pass through Introduction

Mao Junjie

11/25/2020

WW50

MBA/Device Post Interrupt introduction

Sainath

12/9/2020

WW52

ACRN Functional Safety Certification Introduction

Mao Junjie

12/23/2020

 

Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices

https://projectacrn.org  ||  https://github.com/projectacrn  ||  info@...

We're still in the early stages of forming this TSC, so instead we invite you to attend a weekly "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:

  • Meets every Wednesday, Starting Nov 07, 2018: 11AM-12AM (China-Shanghai), 7PM-8PM (US-West Coast), 3AM-4AM (Europe-London)
  • Chairperson: Hongbo Wang, hongbo.wang@... (Intel)
  • Online conference link: https://zoom.com.cn/j/320664063
  • Zoom Meeting ID: 320 664 063
  • Special Notes: If you have Zoom connection issue by using web browser, please launch Zoom application, manually input the meeting ID (320664063) to join the Zoom meeting.
  • Online conference phone:
    • China: +86 010 87833177  or 400 669 9381 (Toll Free)
    • Germany: +49 (0) 30 3080 6188  or +49 800 724 3138 (Toll Free)
    • US: +1 669 900 6833  or +1 646 558 8656   or +1 877 369 0926 (Toll Free) or +1 855 880 1246 (Toll Free)
    • Additional international phone numbers
  • Meeting Notes:

Or visit Github wiki if you can$B!G(Bt access Google doc: https://github.com/projectacrn/acrn-hypervisor/wiki/ACRN-Committee-and-Working-Group-Meetings#technical-community-meetings


Installing windows enterprise 1803 as Guest OS on 18.04 Service VM

AshKay
 

Hello,
On my custom platform I installed Ubunutu 18.04 as service VM following instructions located here ..
https://projectacrn.github.io/1.6.1/getting-started/rt_industry.html

After I boot in my service vm am trying to installing windows as a Guest OS on 18.04 Ubuntu service VM.

Followed instructions located here..
https://projectacrn.github.io/1.6.1/tutorials/using_windows_as_uos.html

I believe I configured shell script correctly as per instructions and now am getting GVT: init failed error. 
I have attached logs and install_win.sh script for the reference. 
Wondering if I need to boot with any special flags for service VMs or am I missing something very basic.

Thanks..


2020 ACRN Project Technical Community Meeting (2020/7~2020/12): @ Weekly Wednesday 4PM (China-Shanghai), Wednesday 9AM (Europe-London), Tuesday 0AM (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:

WW

Topic

Presenter

Status

WW45

ACRN PTCM introduction

Wang Qian

11/4/2020

WW46

ACRN PCI based vUART introduction

Tao Yuhong

11/11/2020

WW48

GPIO/ISI pass through Introduction

Mao Junjie

11/25/2020

WW50

MBA/Device Post Interrupt introduction

Sainath

12/9/2020

WW52

ACRN Functional Safety Certification Introduction

Mao Junjie

12/23/2020

 

Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices

https://projectacrn.org  ||  https://github.com/projectacrn  ||  info@...

We're still in the early stages of forming this TSC, so instead we invite you to attend a weekly "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:

  • Meets every Wednesday, Starting Nov 07, 2018: 11AM-12AM (China-Shanghai), 7PM-8PM (US-West Coast), 3AM-4AM (Europe-London)
  • Chairperson: Hongbo Wang, hongbo.wang@... (Intel)
  • Online conference link: https://zoom.com.cn/j/320664063
  • Zoom Meeting ID: 320 664 063
  • Special Notes: If you have Zoom connection issue by using web browser, please launch Zoom application, manually input the meeting ID (320664063) to join the Zoom meeting.
  • Online conference phone:
    • China: +86 010 87833177  or 400 669 9381 (Toll Free)
    • Germany: +49 (0) 30 3080 6188  or +49 800 724 3138 (Toll Free)
    • US: +1 669 900 6833  or +1 646 558 8656   or +1 877 369 0926 (Toll Free) or +1 855 880 1246 (Toll Free)
    • Additional international phone numbers
  • Meeting Notes:

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: Logical partition scenario and GFX sharing

Mikko Kovanen
 

Hi Geoffrey,

thanks for getting back. I have added my comments in-line.

Best regards,
Mikko

-----Original Message-----
From: acrn-users@... <acrn-users@...>
On Behalf Of Geoffroy Van Cutsem via lists.projectacrn.org
Sent: 10. lokakuutata 2020 2:38
To: acrn-users@...
Subject: Re: [acrn-users] Logical partition scenario and GFX sharing

Hi Mikko,

Thanks for confirming these points (both about RT and FuSa).

I have added a few comments in-line below.

Cheers,
Geoffroy

-----Original Message-----
From: acrn-users@...
<acrn-users@...>
On Behalf Of Mikko Kovanen
Sent: Friday, October 9, 2020 7:32 AM
To: acrn-users@...
Subject: Re: [acrn-users] Logical partition scenario and GFX sharing


Hi Geoffroy,

thanks for answering and confirming my assumption. You are correct,
RT or FUSA is not required.
For security we are currently mainly focused on requirement that
Android display data should be protected from other VMs, and at the
same time the security related development, evaluation, maintenance,
attestation and monitoring efforts should be kept reasonably low (i.e.
the virtualized environment should not significantly increase the
security scope). For that a logical partition scenario with GVT-g would have
been pretty good match.

I agree, this sounded like the most promising option. Do you need much
graphics performance for your Windows VM? If we can find a way to have
the Windows VM display output transferred (over a network? Shared
memory?) to the Android VM and let it manage it, would that help you?
(Note that I'm kind of thinking aloud here so far 😊)
It is indeed possible that for most use cases the graphics performance is not critical, one concern however is that Windows 10 itself might not work smoothly enough. To achieve this kind of setup the UEFI GOP framebuffer might be sufficient to allow Windows to run (I did a quick test by disabling the GFX device from device manager in our Apollolake based Windows 10 tablet, which as far as I understand should revert Windows 10 into using framebuffer provided by GOP driver, and it was still usable). Some data also suggests that Windows could run entirely headless with RDP. Virtualization with decreased cores and memory will of course degrade the performance further for this setup, so more investigation regarding the performance is needed. Unfortunately I haven't yet been able to get GVT-g working with ACRN in our devices to get through the Windows installation process, so first I need to perform the Windows installation with some other method (GVT-d, different host machine, QEMU-KVM...), and then check the performance with the pre-installed image for RDP without any GFX adapter and for VNC with UEFI GOP GFX.

Since that is not possible I guess the next options would be:

a. Integrating ACRN DM in Android
- Some development effort needed
- Only slight increase for security efforts since Android itself is
already in security scope
I am not aware that this has ever been done. But China is on holiday at the
moment, where many ACRN developers are located. They'll be back next
week and perhaps can tell if anyone ever tried this.
Most probable candidate for Android in our case would be Celadon and there the kernel appears to have at least some ACRN stuff integrated, though so far I have only taken a quick glimpse at i915 driver sources (based on my limited experience the i915 driver can be quite difficult when it comes to cherry-picking changes between different kernel versions).


b. Using as simple service VM as possible
- Significant increase for development effort since service VM would
need to be self-made (e.g. from Yocto)
Are you aware of "meta-acrn"
[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
ub.com%2Fintel%2Fmeta-
acrn%2F&amp;data=02%7C01%7C%7Ccd63baec916c4f985e7808d86cac5b98%
7Cf89be375dd3f4314b40fdbdd01f05029%7C0%7C0%7C637378834822198569&
amp;sdata=GXnjTwvVnbG5sNyrX5oRPm0Mxi3XczUVAnKedH8QiPo%3D&am
p;reserved=0]? It provides a layer with recipes for building a Service VM OS
for ACRN (as well as a Linux Guest OS, but you don't need this part). It's a
pretty basic OS at this stage so unless you really need to trim it down, this
may be a very good starting point and save you quite some effort.

- Even with simple service VM the security scope would increase
significantly because there likely is no way to exclude the service VM
from security evaluation, maintenance, attestation and monitoring

Best regards,
Mikko


From: acrn-users@...
<acrn-users@...>
On Behalf Of Geoffroy Van Cutsem via lists.projectacrn.org
Sent: 8. lokakuutata 2020 17:33
To: acrn-users@...
Subject: Re: [acrn-users] Logical partition scenario and GFX sharing

Hi Mikko,

You are correct, resources cannot be shared between VMs in the logical
partition scenario. It sounds from the brief description of your
use-case that you do not need hard realtime or Functional Safety
certification, is that correct?

One thing that may be possible, but I don't know if anyone has tried
it yet is to run Android in a Docker container directly in the Service
VM. See this page for more info on how to run Android in a Docker
container:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2F01.o
r
g%2Fprojectceladon%2Fdocumentation%2Fgetting-started%2Fon-
container&data=02%7C01%7C%7Cf3cb452693e04d400e6f08d86b970f6a%7Cf8
9be375dd3f4314b40fdbdd01f05029%7C0%7C0%7C637377644732701761&sdat
a=IumOvztJpjgUapq4h0XZTvLqm%2BX1E0lv01%2B%2BbefNZfQ%3D&reserve
d=0

Would that help you keep the surface attack of your system reasonably
contained?

Thanks,
Geoffroy

From: mailto:acrn-users@... <mailto:acrn-
users@...> On Behalf Of Mikko Kovanen
Sent: Tuesday, October 6, 2020 3:19 PM
To: mailto:acrn-users@...
Subject: [acrn-users] Logical partition scenario and GFX sharing


  Hi,

  I'm pretty sure it is not possible but just in case I have missed
something crucial, is it possible to use GFX sharing (for example with
GVT-g) in logical partition scenario? The usage scenario we are
investigating is such that it would have Android running on one user
VM and Windows on another, both would need at least reasonable GFX
performance, and it would be beneficial to not have a service VM to
decrease security scope.


Best regards,
Mikko Kovanen

Senior Specialist, SW
Mobile: +358 40 779 7528
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
aavamobile.com%2F&data=02%7C01%7C%7Cf3cb452693e04d400e6f08d86b9
70f6a%7Cf89be375dd3f4314b40fdbdd01f05029%7C0%7C0%7C6373776447327
01761&sdata=HIVUJGOloR9S6ma7TRiWDuouiJbfrQl5KXHdBembMEk%3D&re
served=0



Aava Mobile Oy
Nahkatehtaankatu 2  |   90130 Oulu, Finland









Canceled: 2020 ACRN Project Technical Community Meeting (2020/7~2020/12): @ Weekly Wednesday 4PM (China-Shanghai), Wednesday 9AM (Europe-London), Tuesday 0AM (US-West Coast),

Zou, Terry
 

Cancel for this week and resume in ww44 (10/28/2020) with updated Q4 agenda, 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:

WW

Topic

Presenter

Status

WW28

Inter-VM communication Introduction (DM land)

Liu, Yuan1

7/8/2020

WW30

PTM virtualization Introduction

Wang, Qian

7/22/2020

WW32

TSN pass through Introduction

Wu, Binbin

8/5/2020

WW34

Safety VM introduction

Mao Junjie

8/19/2020

WW36

TCC feature introduction-split lock

Li Fei/Tao Yuhong

9/2/2020

WW38

Inter-VM communication Introduction (DM land)

Liu, Yuan1

9/16/2020

 

Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices

https://projectacrn.org  ||  https://github.com/projectacrn  ||  info@...

We're still in the early stages of forming this TSC, so instead we invite you to attend a weekly "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:

  • Meets every Wednesday, Starting Nov 07, 2018: 11AM-12AM (China-Shanghai), 7PM-8PM (US-West Coast), 3AM-4AM (Europe-London)
  • Chairperson: Hongbo Wang, hongbo.wang@... (Intel)
  • Online conference link: https://zoom.com.cn/j/320664063
  • Zoom Meeting ID: 320 664 063
  • Special Notes: If you have Zoom connection issue by using web browser, please launch Zoom application, manually input the meeting ID (320664063) to join the Zoom meeting.
  • Online conference phone:
    • China: +86 010 87833177  or 400 669 9381 (Toll Free)
    • Germany: +49 (0) 30 3080 6188  or +49 800 724 3138 (Toll Free)
    • US: +1 669 900 6833  or +1 646 558 8656   or +1 877 369 0926 (Toll Free) or +1 855 880 1246 (Toll Free)
    • Additional international phone numbers
  • Meeting Notes:

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