当前位置:网站首页>[QNX hypervisor 2.2 user manual]6.3 communication between guest and external
[QNX hypervisor 2.2 user manual]6.3 communication between guest and external
2022-07-02 14:42:00 【Gao Tong @bill】
Hypervisor In the system Guest You can share memory areas to share information with others Guset or Hypervisor Host To transmit data .
stay QNX Hypervisor In the system , Running on the Guest The client program in can create and manage shared memory , Then use the shared memory area to exchange data . It should be noted that , This shared memory area is not created and managed by , It is Hypervisor.Host Applications can also create a shared memory area or attach a shared memory area created by others if permission allows .
QNX Hypervisor Provided hypervisor-shmem-examples-*.tgz Contains QNX Guest Related shared memory case program code :ghstest.c and Hypervisor Host Relevant case program code :hhstest.c.
In order to Hypervisor Host And Guest Modules that share data perform write operations , You need to use virtualization API(libhyp.a). This part is not included in QNX hypervisor file , But in Virtualization API Reference Described in . To include this additional documentation , And support for host Module write operation , You can contact QNX interface (QNX representative).
One 、 Working mechanism of shared memory
In order to use shared memory , One Guest Client program or Hypervisor Host The program in needs to do something :
- Map shared memory area ;
- When the shared memory area is updated , Hardware interrupts can be used to notify other users of shared memory ;
Hypervisor Provides shmem Virtual device , The device realizes the mapping of setting the shared memory area and the interrupts required for using the shared memory . This virtual device provides additional functionality for using shared memory , Include
边栏推荐
- 2. Const pointer
- PTA question bank== > complex four operations, one for one, examination seat number (7-73)
- [Space & single cellomics] phase 1: single cell binding space transcriptome research PDAC tumor microenvironment
- fatal: unsafe repository is owned by someone else 的解决方法
- Convolutional neural network (Introduction)
- 删除元素(带过渡动画)
- socket(套接字)与socket地址
- docker mysql
- QT new project
- Check password
猜你喜欢
MQ tutorial | exchange (switch)
微信小程序使用towxml显示公式
实现一个多进程并发的服务器
<口算练习机 方案开发原理图>口算练习机/口算宝/儿童数学宝/儿童计算器 LCD液晶显示驱动IC-VK1621B,提供技术支持
Design and implementation of car query system based on php+mysql
There is no solution to the decryption error of the remote user 'sa' and the service master password mapped from the remote server 'to the local user' (null) /sa '
buuctf-pwn write-ups (7)
Method of creating linked server for cross server data access
buuctf-pwn write-ups (7)
Tip: SQL Server blocked the state 'openrowset/opendatasource' of component 'ad hoc distributed queries'
随机推荐
Obsidian installs third-party plug-ins - unable to load plug-ins
Convolutional neural network (Introduction)
STM32 standard firmware library function name memory (II)
PTA question bank== > complex four operations, one for one, examination seat number (7-73)
2、const 型指针
Fabric. JS free drawing ellipse
3. Function pointers and pointer functions
taobao.logistics.dummy.send( 无需物流发货处理 )接口,淘宝店铺发货API接口,淘宝订单发货接口,淘宝r2接口,淘宝oAu2.0接口
Stm32-dac Experiment & high frequency DAC output test
QT new project
threejs的控制器 立方体空间 基本控制器+惯性控制+飞行控制
Fabric. JS manual bold text iText
Thoroughly master prototype__ proto__、 Relationship before constructor (JS prototype, prototype chain)
Fabric. JS upper dash, middle dash (strikethrough), underline
删除元素(带过渡动画)
Fabric.js 缩放画布
Makefile separates file names and suffixes
Fabric.js 元素被选中时保持原有层级
Database connection pool and data source
【空间&单细胞组学】第1期:单细胞结合空间转录组研究PDAC肿瘤微环境