当前位置:网站首页>[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 .
边栏推荐
- 渲染效果图哪家好?2022最新实测(四)
- Deep analysis and Simulation of vector
- 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
- 173. Binary Search Tree Iterator
- “方脸老师”董宇辉再回应热度下降:把农产品直播做好让农民受益 考虑去支教
- [QNX Hypervisor 2.2用户手册]6.2 网络
- Geoserver添加mongoDB数据源
- Comprehensive analysis of news capture
- How to evaluate code quality
- Leetcode topic analysis group anagrams
猜你喜欢
![[paper notes] catching both gray and black swans: open set supervised analog detection*](/img/52/787b25a9818cfc6a1897af81d41ab2.png)
[paper notes] catching both gray and black swans: open set supervised analog detection*

Le rapport d'analyse de l'industrie chinoise des bases de données a été publié en juin. Le vent intelligent se lève, les colonnes se régénèrent

3. Caller 服务调用 - dapr

Install a WGet for your win10

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

Which one is better for rendering renderings? 2022 latest measured data (IV)

Object. Defineproperty() and data broker

986. Interval List Intersections

The rtsp/onvif protocol video platform easynvr startup service reports an error "service not found". How to solve it?

Keng dad's "dedication blessing": red packet technology explosion in Alipay Spring Festival Gala
随机推荐
通信方式总结及I2C驱动详解
Leetcode topic analysis group anagrams
[paper notes] catching both gray and black swans: open set supervised analog detection*
986. Interval List Intersections
Leetcode topic analysis set matrix zeroes
3-ProgressBar和二次裁剪
List interface three sub implementation classes
Derivation and loading of the trained random forest model
鸿蒙读取资源文件
Can portals be the next decentraland?
6月《中國數據庫行業分析報告》發布!智能風起,列存更生
Arclayoutview: implementation of an arc layout
Batch generation of code128- C barcode
Go data types (II) overview of data types supported by go and Boolean types
Map (set) operation in go language
复选框的基本使用与实现全选和反选功能
Lightweight UI control library worth collecting
TDesign update weekly report (the first week of January 2022)
坑爹的“敬业福”:支付宝春晚红包技术大爆发
Pyspark on HPC (Continued): reasonable partition processing and consolidated output of a single file