当前位置:网站首页>[qnx hypervisor 2.2 user manual]5.6.1 silent device during guest shutdown
[qnx hypervisor 2.2 user manual]5.6.1 silent device during guest shutdown
2022-06-23 08:46:00 【Gao Tong @bill】
When one guest When you turn it off , Whether controlled or uncontrollable shutdown ,qvm Processes should try to silence those Guest Physical devices used . This ensures that Guest The driver no longer writes to physical memory , To avoid unexpected behavior or even damage to hardware .
When one Guest To turn it off , So its drive will disappear , You can't expect Host The hardware remains in the same state , Because these devices may run asynchronously ( for example , is DMA write in , Generate interrupts, etc ). To protect hardware integrity , When Guest At the end of ,qvm These devices will be silent in the process design ( To put it simply, hibernate these devices ).
To follow this design ,qvm A process can contain a vdev, It can silence the device , This device can also be configured , In order to facilitate the qvm When a process terminates, it can run its callback function , Then release the driver resources . The callback function must perform the necessary cleanup , Including silent devices . This requires shutting down the equipment as soon as possible , For convenience qvm When the process disappears , The device will no longer perform the following operations :
- Write to physical memory ( Very dangerous operation )
- The interrupt ( This is not serious , because hypervisor You can identify this IRQ And ignore it )
About creating customization vdev For more information , Reference resources Virtual Device Developer's Guide. More about defining a callback function registered when a process shuts down vdev Control function reference “Handling a qvm termination”.
Be careful !
Guest You can try to silence a device . however hypervisor Can't rely on Guest To perform device hibernation . When running the QNX Hypervisor yes Safety variant , You have to provide a vdev To silence the physical device when it is shut down . For non safe QNX Hypervisor variant , It is also recommended to do so , But don't ask .
边栏推荐
- Arthas vmtool命令小结
- How can I handle the "unable to load" exception when easyplayer plays webrtcs?
- In June, China database industry analysis report was released! Smart wind, train storage and regeneration
- 6-shining laser application of calayer
- 给你的win10装一个wget
- 528. Random Pick with Weight
- Azure Active Directory brute force attack
- Easygbs cannot play video streams in webrtc format. What is the reason?
- Point cloud library PCL from introduction to mastery Chapter 10
- 高通9x07两种启动模式
猜你喜欢

PCB电路板特性检查项目都有哪些?

Data assets are king, analyzing the relationship between enterprise digital transformation and data asset management

鸿蒙读取资源文件

自组织映射神经网络(SOM)

【论文笔记】Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection*

测试-- 自动化测试selenium(关于API)

Multi-scale feature combination in target detection

Summary of communication mode and detailed explanation of I2C drive

渲染效果图哪家好?2022最新实测(四)

给你的win10装一个wget
随机推荐
Single core driver module
Lightweight UI control library worth collecting
usb peripheral 驱动 - debug
528. Random Pick with Weight
Set interface and set sub implementation classes
如何评价代码质量
Driver Architecture & platform platform bus driver model
The kernel fails to shut down when the easygbs program stops. How should I optimize it? [code attached]
Balls and cows of leetcode topic analysis
Introduction to typescript and basic types of variable definitions
Happy number of leetcode topic analysis
Paper reading [quovadis, action recognition? A new model and the dynamics dataset]
The most commonly used 5-stream ETL mode
Dongyuhui, the "square face teacher", responded that the popularity was declining: do a good job of live broadcasting of agricultural products to benefit farmers and consider supporting education
训练后的随机森林模型导出和加载
List interface three sub implementation classes
Analysis of JMeter pressure measurement results
Can portals be the next decentraland?
[QNX Hypervisor 2.2用户手册]6.2 网络
[advanced Android] kotlin notes