SlideShare a Scribd company logo
1 of 17
Download to read offline
Photo
ACRN Installation and Configuration
Introduction
Xie, Nanlin <nanlin.xie@intel.com>
ACRN vMeet-Up Europe 2021
Installation and Configuration
Introduction
Agenda
▹What need to know up front: scenario in mind/Doc/HW
▹Walking Through Getting Started Guide (GSG)
▹ACRN Configuration and Toolset Introduction
5/28/2021 ACRN Installation and Configuration Introduction 3
Agenda
▹What need to know up front: scenario in mind/Doc/HW
▹Walking Through Getting Started Guide (GSG)
▹ACRN Configuration and Toolset Introduction
5/28/2021 ACRN Installation and Configuration Introduction 4
What need to know up front
5/28/2021 ACRN Installation and Configuration Introduction 5
▹What’s the scenario in your mind:
▹ 1. How many VMs? Do you need a RT VM? Do you need a static partition VM? What OS is for
each VM?
▹ 2. What is the device/resource allocation for each VM? Graphics? Network? Disk? CPU core?
▹ 3. What feature/workload you want run in VM?
▹Technical Documentation
▹ projectacrn.github.io
▹Basic concept in ACRN
▹ Terminology: Service VM/User VM, Pre-launched VM/Post-launched VM
▹ Static/Runtime configuration in ACRN.
▹Getting Started Guide (GSG):
▹ ACRN’s “Hello World” - Getting Started Guide for ACRN Industry Scenario With Ubuntu Service
VM
5/28/2021 ACRN Installation and Configuration Introduction 6
ACRN Docs Site
• Latest ACRN technical documentation
Agenda
▹What need to know up front: scenario in mind/Doc/HW
▹Walking Through Getting Started Guide (GSG)
▹ACRN Configuration and Toolset Introduction
5/28/2021 ACRN Installation and Configuration Introduction 7
Walking Through GSG - 1
5/28/2021 ACRN Installation and Configuration Introduction 8
▹The target for GSG
▹ Specific HW: Maxtang Intel WHL-U i7-8665U -> TGL NUC
▹ Service VM (Ubuntu) + User VM (Ubuntu + RTVM) + User VM (Windows for HMI)
▹Prerequisites
▹ Peripheral's requirement: Ubuntu bootable USB disk/HDMI Monitors/USB keyboard and
mouse/ethernet cables/ SATA and NVME disk
▹ UART port for debug purpose
▹ Dependency: Ubuntu image, Grub, IASL tools, RTVM image, windows image
▹ BIOS setting: VMX/VT-d, secure boot disabled
▹ ACRN / ACRN-kernel Source code and build env preparation
The target for GSG
Walking Through GSG - 2
5/28/2021 ACRN Installation and Configuration Introduction 10
▹Major Steps
▹ 1. Hardware connection
▹ 2. Install the Ubuntu User VM (RTVM) on the SATA Disk
▹ 3. Install the Ubuntu Service VM on the NVMe Disk
▹ 4. Build and Install ACRN on Ubuntu
▹ 5. Launch the RTVM
▹ 6. Launch the Windows VM -> Launch Windows as the Guest VM on ACRN
▹Moving forward -> configuration toolset helps
▹ Porting ACRN into new HW
▹ Customized configuration: static partition VM(pre-launched VM),
▹ More features: inter-VM communication, S5, libvirt …
Agenda
▹What need to know up front: scenario in mind/Doc/HW
▹Walking Through Getting Started Guide (GSG)
▹ACRN Configuration and Toolset Introduction
▹ Configuration Toolset Overview
▹ Configuration Hierarchy
▹ Configuration Toolset Arch
▹ Configuration Toolset Workflow
5/28/2021 ACRN Installation and Configuration Introduction 11
Configuration toolset Overview
Offline Tools
Configuration and Tools
User
1. ACRN Advanced User with basic
ACRN knowledge
2. With scalability and customized
request beyond ACRN default
setting
3. Do not want to modify directly
on C source code
Scenario
1. Run ACRN on HW with different HW
resource, eg. CPU memory, hard disk
2. Run ACRN on different mode:
hybrid, sharing and partition mode
for RT or Safety requirements
3. Run ACRN with different Service VM
OS and User VM OS.
4. Different feature usage requirement,
eg: CPU sharing
Demand
1. Porting ACRN on user’s new HW
platform in ACRN supported
scope.
2. Apply ACRN in user’s
customized scenario and
application.
Advantage/Target
1. Easy to use with basic/advanced
user interface via UI or XML.
2. Clear function definition for
overall function and sub
function
3. Document as supplement
4. Decouple with Hypervisor
source code
Generated .c/.h
Source code for compile
Boot time
configuration files
(VM launch script)
Board inspector
Configuration editor
XMLParser tool
Doc: Configuration
Toolset manual
Pf-checker tool
Board Information
User Scenario
Requirements
Input Output
Packaging tool(Debian)
ACPI Generator Tool
Doc: Configuration
data spec
Configuration Hierarchy
5/28/2021 ACRN Installation and Configuration Introduction 13
HHV
Board info: HW/BIOS
HV parse from ACPI info:
DMAR, Cx, Px, reset
HV Max numbers:
emulated MMIO regions,
IOAPICs,Interrupt,PCI device
Mem_size(max)
Max pcpu number
HV feature switch:
CPU sharing- scheduler
RDT/CAT
Relocatable
Serial_IO_type
Debug:
Release/debug
Log level
Log stack
HV configuration
HHV
Pre-launched VM/SOS
Ve820 memory layout
VM memory(SOS/prelaunch VM)
VM PCI device setting
Post-launch VM
Basic: VM name/uuid/vCPU/Memory/Guest OS type
Feature: Guest VM Flag/Severity/VM clos id
Device: VM UART config/PT device/Virtio device
Others: EPC section/MAX KATA VM num
Global VM configuration:
Scenario/Max VM number/max UOS ram size
VM configuration
System configuration/E2E configuration (BKM)
DM configuration
Kernel/bootargs
virtual bootloader
Diff info for different VM:
Rootdevice
Guest Bootargs
Customized RDT resource
Pass through device
Dependency flow
-------------------------------------
Native HW info:
ACPI Info
CPU Number
P/C state table
Native RDT resource info
DMAR info
Diff info for HV:
HV start address
Debug serial settings
Basic:
Board Name
Scenario Name
HW/BIOS info User Customization
Board XML Scenario HV/VM XML
(Pre-launched VM and SOS)
DM XML
(Post-launched VM)
Make (Sanity Check)
Board inspector
board_cfg_gen.py scenario_cfg_gen.py
Configuration Tool
launch_cfg_gen.py
Per-board configuration
Board-scenario configuration
.config Vm_configuration.c
Vm_configuration.h
Sample Launch script Or
HW/HV info for DM
ACRN Binary
Configuration editor
hv_cfg_gen.py
Need added
Output
Sanity check
BIOS/HW
support ACRN Sanity check
XMLParser
Manual Edit XML
Platform check tool
Generate
board XML
Configuration data Spec
Configuration Toolset Arch
Data Schema
Generated
code Schema
Configuration Toolset Workflow
5/28/2021 ACRN Installation and Configuration Introduction 15
Summary
▹Use Getting Started Guide (GSG) as Starting point
▹Use ACRN configuration tool for customized configuration
▹Next session: How to use configuration Toolset to enable ACRN
on new platform
5/28/2021 ACRN Installation and Configuration Introduction 16
THANK YOU

More Related Content

What's hot

ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorProject ACRN
 
ACRN vMeet-Up EU 2021 - hypervisor new platform enabling
ACRN vMeet-Up EU 2021 - hypervisor new platform enablingACRN vMeet-Up EU 2021 - hypervisor new platform enabling
ACRN vMeet-Up EU 2021 - hypervisor new platform enablingProject ACRN
 
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...Project ACRN
 
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introductionACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introductionProject ACRN
 
Project ACRN expose and pass through platform hidden PCIe devices to SOS
Project ACRN expose and pass through platform hidden PCIe devices to SOSProject ACRN expose and pass through platform hidden PCIe devices to SOS
Project ACRN expose and pass through platform hidden PCIe devices to SOSProject ACRN
 
Project ACRN system debug
Project ACRN system debugProject ACRN system debug
Project ACRN system debugProject ACRN
 
Project ACRN: SR-IOV implementation
Project ACRN: SR-IOV implementationProject ACRN: SR-IOV implementation
Project ACRN: SR-IOV implementationGeoffroy Van Cutsem
 
Project ACRN Device Passthrough Introduction
Project ACRN Device Passthrough IntroductionProject ACRN Device Passthrough Introduction
Project ACRN Device Passthrough IntroductionProject ACRN
 
Project ACRN Yocto Project meta-acrn layer introduction
Project ACRN Yocto Project meta-acrn layer introductionProject ACRN Yocto Project meta-acrn layer introduction
Project ACRN Yocto Project meta-acrn layer introductionProject ACRN
 
Project ACRN how to build a Yocto Project-based SOS
Project ACRN how to build a Yocto Project-based SOSProject ACRN how to build a Yocto Project-based SOS
Project ACRN how to build a Yocto Project-based SOSProject ACRN
 
ACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
ACRN vMeet-Up EU 2021 - Real Time Management and Performance OptimizationACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
ACRN vMeet-Up EU 2021 - Real Time Management and Performance OptimizationProject ACRN
 
Project ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN
 
Project ACRN CPU sharing BVT scheduler in ACRN hypervisor
Project ACRN CPU sharing BVT scheduler in ACRN hypervisorProject ACRN CPU sharing BVT scheduler in ACRN hypervisor
Project ACRN CPU sharing BVT scheduler in ACRN hypervisorProject ACRN
 
XPDS16: AMD's virtualization memory encryption technology - Brijesh Singh, A...
XPDS16:  AMD's virtualization memory encryption technology - Brijesh Singh, A...XPDS16:  AMD's virtualization memory encryption technology - Brijesh Singh, A...
XPDS16: AMD's virtualization memory encryption technology - Brijesh Singh, A...The Linux Foundation
 
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...The Linux Foundation
 
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...The Linux Foundation
 
LCA13: Xen on ARM
LCA13: Xen on ARMLCA13: Xen on ARM
LCA13: Xen on ARMLinaro
 
XPDDS18: The Evolution of Virtualization in the Arm Architecture - Julien Gra...
XPDDS18: The Evolution of Virtualization in the Arm Architecture - Julien Gra...XPDDS18: The Evolution of Virtualization in the Arm Architecture - Julien Gra...
XPDDS18: The Evolution of Virtualization in the Arm Architecture - Julien Gra...The Linux Foundation
 
Rootlinux17: An introduction to Xen Project Virtualisation
Rootlinux17:  An introduction to Xen Project VirtualisationRootlinux17:  An introduction to Xen Project Virtualisation
Rootlinux17: An introduction to Xen Project VirtualisationThe Linux Foundation
 
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARMXPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARMThe Linux Foundation
 

What's hot (20)

ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
 
ACRN vMeet-Up EU 2021 - hypervisor new platform enabling
ACRN vMeet-Up EU 2021 - hypervisor new platform enablingACRN vMeet-Up EU 2021 - hypervisor new platform enabling
ACRN vMeet-Up EU 2021 - hypervisor new platform enabling
 
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
 
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introductionACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
 
Project ACRN expose and pass through platform hidden PCIe devices to SOS
Project ACRN expose and pass through platform hidden PCIe devices to SOSProject ACRN expose and pass through platform hidden PCIe devices to SOS
Project ACRN expose and pass through platform hidden PCIe devices to SOS
 
Project ACRN system debug
Project ACRN system debugProject ACRN system debug
Project ACRN system debug
 
Project ACRN: SR-IOV implementation
Project ACRN: SR-IOV implementationProject ACRN: SR-IOV implementation
Project ACRN: SR-IOV implementation
 
Project ACRN Device Passthrough Introduction
Project ACRN Device Passthrough IntroductionProject ACRN Device Passthrough Introduction
Project ACRN Device Passthrough Introduction
 
Project ACRN Yocto Project meta-acrn layer introduction
Project ACRN Yocto Project meta-acrn layer introductionProject ACRN Yocto Project meta-acrn layer introduction
Project ACRN Yocto Project meta-acrn layer introduction
 
Project ACRN how to build a Yocto Project-based SOS
Project ACRN how to build a Yocto Project-based SOSProject ACRN how to build a Yocto Project-based SOS
Project ACRN how to build a Yocto Project-based SOS
 
ACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
ACRN vMeet-Up EU 2021 - Real Time Management and Performance OptimizationACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
ACRN vMeet-Up EU 2021 - Real Time Management and Performance Optimization
 
Project ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorial
 
Project ACRN CPU sharing BVT scheduler in ACRN hypervisor
Project ACRN CPU sharing BVT scheduler in ACRN hypervisorProject ACRN CPU sharing BVT scheduler in ACRN hypervisor
Project ACRN CPU sharing BVT scheduler in ACRN hypervisor
 
XPDS16: AMD's virtualization memory encryption technology - Brijesh Singh, A...
XPDS16:  AMD's virtualization memory encryption technology - Brijesh Singh, A...XPDS16:  AMD's virtualization memory encryption technology - Brijesh Singh, A...
XPDS16: AMD's virtualization memory encryption technology - Brijesh Singh, A...
 
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...
 
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...
ALSF13: Xen on ARM - Virtualization for the Automotive Industry - Stefano Sta...
 
LCA13: Xen on ARM
LCA13: Xen on ARMLCA13: Xen on ARM
LCA13: Xen on ARM
 
XPDDS18: The Evolution of Virtualization in the Arm Architecture - Julien Gra...
XPDDS18: The Evolution of Virtualization in the Arm Architecture - Julien Gra...XPDDS18: The Evolution of Virtualization in the Arm Architecture - Julien Gra...
XPDDS18: The Evolution of Virtualization in the Arm Architecture - Julien Gra...
 
Rootlinux17: An introduction to Xen Project Virtualisation
Rootlinux17:  An introduction to Xen Project VirtualisationRootlinux17:  An introduction to Xen Project Virtualisation
Rootlinux17: An introduction to Xen Project Virtualisation
 
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARMXPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
 

Similar to ACRN vMeet-Up EU 2021 - installation and configuration introduction

PCI Pass-through - FreeBSD VM on Hyper-V (MeetBSD California 2016)
PCI Pass-through - FreeBSD VM on Hyper-V (MeetBSD California 2016)PCI Pass-through - FreeBSD VM on Hyper-V (MeetBSD California 2016)
PCI Pass-through - FreeBSD VM on Hyper-V (MeetBSD California 2016)iXsystems
 
Windows Server Core
Windows Server CoreWindows Server Core
Windows Server CoreMark Wilson
 
The Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study GuideThe Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study GuideVeeam Software
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622Todd Deshane
 
Tech X Virtualization Tips
Tech X Virtualization TipsTech X Virtualization Tips
Tech X Virtualization TipsYoussef EL HADJ
 
Qemu device prototyping
Qemu device prototypingQemu device prototyping
Qemu device prototypingYan Vugenfirer
 
Raspberry Pi tutorial
Raspberry Pi tutorialRaspberry Pi tutorial
Raspberry Pi tutorial艾鍗科技
 
Kernel compilation
Kernel compilationKernel compilation
Kernel compilationmcganesh
 
Optimizing NN inference performance on Arm NEON and Vulkan
Optimizing NN inference performance on Arm NEON and VulkanOptimizing NN inference performance on Arm NEON and Vulkan
Optimizing NN inference performance on Arm NEON and Vulkanax inc.
 
4 implementation
4 implementation4 implementation
4 implementationhanmya
 
Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011pundiramit
 
Top 15 Tips for vGPU Success - Part 3-3
Top 15 Tips for vGPU Success - Part 3-3Top 15 Tips for vGPU Success - Part 3-3
Top 15 Tips for vGPU Success - Part 3-3Lee Bushen
 
NFV Orchestration for Optimal Performance
NFV Orchestration for Optimal PerformanceNFV Orchestration for Optimal Performance
NFV Orchestration for Optimal Performancedfilppi
 
Scaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container ServiceScaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container ServiceBen Hall
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanchinitooo
 
Buildin a small linux kernel
Buildin a small linux kernelBuildin a small linux kernel
Buildin a small linux kerneltrx2001
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptxJayakumarS71
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanchinitooo
 
What should you know about Net Core?
What should you know about Net Core?What should you know about Net Core?
What should you know about Net Core?Damir Dobric
 

Similar to ACRN vMeet-Up EU 2021 - installation and configuration introduction (20)

PCI Pass-through - FreeBSD VM on Hyper-V (MeetBSD California 2016)
PCI Pass-through - FreeBSD VM on Hyper-V (MeetBSD California 2016)PCI Pass-through - FreeBSD VM on Hyper-V (MeetBSD California 2016)
PCI Pass-through - FreeBSD VM on Hyper-V (MeetBSD California 2016)
 
Windows Server Core
Windows Server CoreWindows Server Core
Windows Server Core
 
The Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study GuideThe Unofficial VCAP / VCP VMware Study Guide
The Unofficial VCAP / VCP VMware Study Guide
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
 
Tech X Virtualization Tips
Tech X Virtualization TipsTech X Virtualization Tips
Tech X Virtualization Tips
 
Qemu device prototyping
Qemu device prototypingQemu device prototyping
Qemu device prototyping
 
Raspberry Pi tutorial
Raspberry Pi tutorialRaspberry Pi tutorial
Raspberry Pi tutorial
 
[ppt]
[ppt][ppt]
[ppt]
 
Kernel compilation
Kernel compilationKernel compilation
Kernel compilation
 
Optimizing NN inference performance on Arm NEON and Vulkan
Optimizing NN inference performance on Arm NEON and VulkanOptimizing NN inference performance on Arm NEON and Vulkan
Optimizing NN inference performance on Arm NEON and Vulkan
 
4 implementation
4 implementation4 implementation
4 implementation
 
Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011
 
Top 15 Tips for vGPU Success - Part 3-3
Top 15 Tips for vGPU Success - Part 3-3Top 15 Tips for vGPU Success - Part 3-3
Top 15 Tips for vGPU Success - Part 3-3
 
NFV Orchestration for Optimal Performance
NFV Orchestration for Optimal PerformanceNFV Orchestration for Optimal Performance
NFV Orchestration for Optimal Performance
 
Scaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container ServiceScaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container Service
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_clean
 
Buildin a small linux kernel
Buildin a small linux kernelBuildin a small linux kernel
Buildin a small linux kernel
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_clean
 
What should you know about Net Core?
What should you know about Net Core?What should you know about Net Core?
What should you know about Net Core?
 

More from Project ACRN

ACRN vMeet-Up EU 2021 - community and development model
ACRN vMeet-Up EU 2021 - community and development modelACRN vMeet-Up EU 2021 - community and development model
ACRN vMeet-Up EU 2021 - community and development modelProject ACRN
 
Project ACRN USB mediator introduction
Project ACRN USB mediator introductionProject ACRN USB mediator introduction
Project ACRN USB mediator introductionProject ACRN
 
Project ACRN I2C mediator introduction
Project ACRN I2C mediator introductionProject ACRN I2C mediator introduction
Project ACRN I2C mediator introductionProject ACRN
 
Project ACRN SR-IOV on ACRN
Project ACRN SR-IOV on ACRNProject ACRN SR-IOV on ACRN
Project ACRN SR-IOV on ACRNProject ACRN
 
Project ACRN EtherCAT 101
Project ACRN EtherCAT 101Project ACRN EtherCAT 101
Project ACRN EtherCAT 101Project ACRN
 
Project ACRN GPIO mediator introduction
Project ACRN GPIO mediator introductionProject ACRN GPIO mediator introduction
Project ACRN GPIO mediator introductionProject ACRN
 
Project ACRN schedule framework introduction
Project ACRN schedule framework introductionProject ACRN schedule framework introduction
Project ACRN schedule framework introductionProject ACRN
 

More from Project ACRN (7)

ACRN vMeet-Up EU 2021 - community and development model
ACRN vMeet-Up EU 2021 - community and development modelACRN vMeet-Up EU 2021 - community and development model
ACRN vMeet-Up EU 2021 - community and development model
 
Project ACRN USB mediator introduction
Project ACRN USB mediator introductionProject ACRN USB mediator introduction
Project ACRN USB mediator introduction
 
Project ACRN I2C mediator introduction
Project ACRN I2C mediator introductionProject ACRN I2C mediator introduction
Project ACRN I2C mediator introduction
 
Project ACRN SR-IOV on ACRN
Project ACRN SR-IOV on ACRNProject ACRN SR-IOV on ACRN
Project ACRN SR-IOV on ACRN
 
Project ACRN EtherCAT 101
Project ACRN EtherCAT 101Project ACRN EtherCAT 101
Project ACRN EtherCAT 101
 
Project ACRN GPIO mediator introduction
Project ACRN GPIO mediator introductionProject ACRN GPIO mediator introduction
Project ACRN GPIO mediator introduction
 
Project ACRN schedule framework introduction
Project ACRN schedule framework introductionProject ACRN schedule framework introduction
Project ACRN schedule framework introduction
 

Recently uploaded

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 

Recently uploaded (20)

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 

ACRN vMeet-Up EU 2021 - installation and configuration introduction

  • 1. Photo ACRN Installation and Configuration Introduction Xie, Nanlin <nanlin.xie@intel.com> ACRN vMeet-Up Europe 2021
  • 3. Agenda ▹What need to know up front: scenario in mind/Doc/HW ▹Walking Through Getting Started Guide (GSG) ▹ACRN Configuration and Toolset Introduction 5/28/2021 ACRN Installation and Configuration Introduction 3
  • 4. Agenda ▹What need to know up front: scenario in mind/Doc/HW ▹Walking Through Getting Started Guide (GSG) ▹ACRN Configuration and Toolset Introduction 5/28/2021 ACRN Installation and Configuration Introduction 4
  • 5. What need to know up front 5/28/2021 ACRN Installation and Configuration Introduction 5 ▹What’s the scenario in your mind: ▹ 1. How many VMs? Do you need a RT VM? Do you need a static partition VM? What OS is for each VM? ▹ 2. What is the device/resource allocation for each VM? Graphics? Network? Disk? CPU core? ▹ 3. What feature/workload you want run in VM? ▹Technical Documentation ▹ projectacrn.github.io ▹Basic concept in ACRN ▹ Terminology: Service VM/User VM, Pre-launched VM/Post-launched VM ▹ Static/Runtime configuration in ACRN. ▹Getting Started Guide (GSG): ▹ ACRN’s “Hello World” - Getting Started Guide for ACRN Industry Scenario With Ubuntu Service VM
  • 6. 5/28/2021 ACRN Installation and Configuration Introduction 6 ACRN Docs Site • Latest ACRN technical documentation
  • 7. Agenda ▹What need to know up front: scenario in mind/Doc/HW ▹Walking Through Getting Started Guide (GSG) ▹ACRN Configuration and Toolset Introduction 5/28/2021 ACRN Installation and Configuration Introduction 7
  • 8. Walking Through GSG - 1 5/28/2021 ACRN Installation and Configuration Introduction 8 ▹The target for GSG ▹ Specific HW: Maxtang Intel WHL-U i7-8665U -> TGL NUC ▹ Service VM (Ubuntu) + User VM (Ubuntu + RTVM) + User VM (Windows for HMI) ▹Prerequisites ▹ Peripheral's requirement: Ubuntu bootable USB disk/HDMI Monitors/USB keyboard and mouse/ethernet cables/ SATA and NVME disk ▹ UART port for debug purpose ▹ Dependency: Ubuntu image, Grub, IASL tools, RTVM image, windows image ▹ BIOS setting: VMX/VT-d, secure boot disabled ▹ ACRN / ACRN-kernel Source code and build env preparation
  • 10. Walking Through GSG - 2 5/28/2021 ACRN Installation and Configuration Introduction 10 ▹Major Steps ▹ 1. Hardware connection ▹ 2. Install the Ubuntu User VM (RTVM) on the SATA Disk ▹ 3. Install the Ubuntu Service VM on the NVMe Disk ▹ 4. Build and Install ACRN on Ubuntu ▹ 5. Launch the RTVM ▹ 6. Launch the Windows VM -> Launch Windows as the Guest VM on ACRN ▹Moving forward -> configuration toolset helps ▹ Porting ACRN into new HW ▹ Customized configuration: static partition VM(pre-launched VM), ▹ More features: inter-VM communication, S5, libvirt …
  • 11. Agenda ▹What need to know up front: scenario in mind/Doc/HW ▹Walking Through Getting Started Guide (GSG) ▹ACRN Configuration and Toolset Introduction ▹ Configuration Toolset Overview ▹ Configuration Hierarchy ▹ Configuration Toolset Arch ▹ Configuration Toolset Workflow 5/28/2021 ACRN Installation and Configuration Introduction 11
  • 12. Configuration toolset Overview Offline Tools Configuration and Tools User 1. ACRN Advanced User with basic ACRN knowledge 2. With scalability and customized request beyond ACRN default setting 3. Do not want to modify directly on C source code Scenario 1. Run ACRN on HW with different HW resource, eg. CPU memory, hard disk 2. Run ACRN on different mode: hybrid, sharing and partition mode for RT or Safety requirements 3. Run ACRN with different Service VM OS and User VM OS. 4. Different feature usage requirement, eg: CPU sharing Demand 1. Porting ACRN on user’s new HW platform in ACRN supported scope. 2. Apply ACRN in user’s customized scenario and application. Advantage/Target 1. Easy to use with basic/advanced user interface via UI or XML. 2. Clear function definition for overall function and sub function 3. Document as supplement 4. Decouple with Hypervisor source code Generated .c/.h Source code for compile Boot time configuration files (VM launch script) Board inspector Configuration editor XMLParser tool Doc: Configuration Toolset manual Pf-checker tool Board Information User Scenario Requirements Input Output Packaging tool(Debian) ACPI Generator Tool Doc: Configuration data spec
  • 13. Configuration Hierarchy 5/28/2021 ACRN Installation and Configuration Introduction 13 HHV Board info: HW/BIOS HV parse from ACPI info: DMAR, Cx, Px, reset HV Max numbers: emulated MMIO regions, IOAPICs,Interrupt,PCI device Mem_size(max) Max pcpu number HV feature switch: CPU sharing- scheduler RDT/CAT Relocatable Serial_IO_type Debug: Release/debug Log level Log stack HV configuration HHV Pre-launched VM/SOS Ve820 memory layout VM memory(SOS/prelaunch VM) VM PCI device setting Post-launch VM Basic: VM name/uuid/vCPU/Memory/Guest OS type Feature: Guest VM Flag/Severity/VM clos id Device: VM UART config/PT device/Virtio device Others: EPC section/MAX KATA VM num Global VM configuration: Scenario/Max VM number/max UOS ram size VM configuration System configuration/E2E configuration (BKM) DM configuration Kernel/bootargs virtual bootloader Diff info for different VM: Rootdevice Guest Bootargs Customized RDT resource Pass through device Dependency flow ------------------------------------- Native HW info: ACPI Info CPU Number P/C state table Native RDT resource info DMAR info Diff info for HV: HV start address Debug serial settings Basic: Board Name Scenario Name
  • 14. HW/BIOS info User Customization Board XML Scenario HV/VM XML (Pre-launched VM and SOS) DM XML (Post-launched VM) Make (Sanity Check) Board inspector board_cfg_gen.py scenario_cfg_gen.py Configuration Tool launch_cfg_gen.py Per-board configuration Board-scenario configuration .config Vm_configuration.c Vm_configuration.h Sample Launch script Or HW/HV info for DM ACRN Binary Configuration editor hv_cfg_gen.py Need added Output Sanity check BIOS/HW support ACRN Sanity check XMLParser Manual Edit XML Platform check tool Generate board XML Configuration data Spec Configuration Toolset Arch Data Schema Generated code Schema
  • 15. Configuration Toolset Workflow 5/28/2021 ACRN Installation and Configuration Introduction 15
  • 16. Summary ▹Use Getting Started Guide (GSG) as Starting point ▹Use ACRN configuration tool for customized configuration ▹Next session: How to use configuration Toolset to enable ACRN on new platform 5/28/2021 ACRN Installation and Configuration Introduction 16