当前位置:网站首页>[QNX hypervisor 2.2 user manual]6.3.1 factory page and control page
[QNX hypervisor 2.2 user manual]6.3.1 factory page and control page
2022-07-04 19:41:00 【Gao Tong @bill】
QNX Hypervisor Shared memory by using factory pages and control pages (Factory pages and Control Pages) Realization .
Factory and control pages are kept shmem Virtual machine register of virtual device ( Reference resources “Virtual registers (guest_shm.h)”).Guest Drivers in can access guest-physical These registers in memory , And interact with it , It's like interacting with physical registers , Read and write at the specified offset .
The page size of factory and control pages is the same as QNX Hypervisor The kernel page is the same (4KB).
One 、 Factory page
because qvm The process will be vm Create a factory page , You need to host Guest Of VM Of qvm Configuration contains shmem Virtual device . Typically , Every qvm The configuration file contains only one shmem Virtual device , So every VM There is only one factory page .
A factory page contains information about shared memory , This includes a control page that stores each shared memory area guest-physical Area of address . And the value of this area will be in Guest Create or attach (attach) Different shared memory areas change .
A factory page may be located in Guest Any location of unallocated memory that can be accessed . for example , Suppose no other memory has been allocated , If we assign 192MB Of memory ( stay qvm The configuration has ram 192M), We can put the factory page outside of this assignment at at 0x10000000 (256 MB). At this address guest-physical Address , It is not the actual physical address in the hardware .shmem The virtual device will be VM Virtual factory page . And no other device will use this location .
When Guest An application in wants
边栏推荐
- 1002. A+b for Polynomials (25) (PAT class a)
- C# 使用StopWatch测量程序运行时间
- 西门子HMI下载时提示缺少面板映像解决方案
- @transactional滥用导致数据源连接池耗尽问题
- Find the nth power of 2
- How test engineers "attack the city" (Part I)
- 1005 Spell It Right(20 分)(PAT甲级)
- node_ Exporter deployment
- Hough Transform 霍夫变换原理
- Several methods of online database migration
猜你喜欢
Euler function
黑马程序员-软件测试--08阶段2-linux和数据库-23-30-进程端口相关,修改文件权限,端口号信息的获取,程序和进程相关操作,linux命令案例
English语法_名词 - 使用
Cbcgpprogressdlg progress bar used by BCG
SSRS筛选器的IN运算(即包含于)用法
与二值化阈值处理相关的OpenCV函数、方法汇总,便于对比和拿来使用
Online sql to excel (xls/xlsx) tool
JVM系列之对象的创建
黑马程序员-软件测试--09阶段2-linux和数据库-31-43修改文件权限字母发的说明,-查找链接修改文件,查找文件命令,链接文件,压缩解压方式,vi编辑器基本使用,
Pointnet/Pointnet++点云数据集处理并训练
随机推荐
BCG 使用之CBCGPProgressDlgCtrl進度條使用
PointNeXt:通过改进的模型训练和缩放策略审视PointNet++
Find the nth power of 2
How test engineers "attack the city" (Part 2)
1005 spell it right (20 points) (pat a)
Reflection (I)
如何使用Async-Awati异步任务处理代替BackgroundWorker?
TCP两次挥手,你见过吗?那四次握手呢?
Personal thoughts on Architecture Design (this article will be revised and updated continuously later)
1011 World Cup betting (20 points) (pat a)
1006 sign in and sign out (25 points) (PAT class a)
Generate XML elements
876. Intermediate node of linked list
How to use async Awati asynchronous task processing instead of backgroundworker?
Qt实现界面滑动切换效果
English语法_名词 - 使用
BCG 使用之CBCGPProgressDlgCtrl进度条使用
JVM系列之对象的创建
C# 使用StopWatch测量程序运行时间
LM10丨余弦波动顺势网格策略