当前位置:网站首页>Xen thermal repair technology (basic understanding)
Xen thermal repair technology (basic understanding)
2022-04-22 13:20:00 【Cat God 007】
Xen Thermal repair technology
Content introduction :Xen Is an open source virtual machine monitor , Developed by Cambridge University .
It's going to run up to... On a single computer 100 A full feature operating system . The operating system must be explicitly modified (“ transplant ”) In the Xen Up operation ( But provide compatibility for user applications ). This makes Xen No special hardware support required , Can achieve high-performance virtualization .
One 、Xen Security vulnerability summary
Total release 125 individual Security vulnerabilities
among xsa-108 and xsa-123 It's a high-risk vulnerability
XSA-108
2014 year 10 month 1 Daily announcement
Can lead to Hypervisor Memory leaks to clients
XSA-123
2015 year 3 month 10 Daily announcement
Can cause the client instruction to be authorized
Two 、Xen How to repair security vulnerabilities
Cold patch method
After patching, restart the server to take effect
All customers VM must Shutdown
all VM Will be interrupted 10-30 minute
Mostly Xen Our operators are using
Hot patch mode
Dynamically apply patches to fix vulnerabilities
Customer VM No need to restart or shut down
Customer VM No perception of the repair process
Alibaba cloud has mastered the hot patch technology
3、 ... and 、Linux kernel Hotfix
1、 More mature in the industry Hotfix programme
Ksplice by Oracle
Ksplice by Suse
Ksplice by Redhat
Ksplice by Alibaba
2、 The implementation of kernel technology
(1) reserve Pre-Defined Interface
(2) Allow kernel insertion Module
(3) Have access to kernel memory
(4) Function level substitution
And kernel Hotfix comparison ,Xen hyperviso Hotfix The technical challenges are enormous
Four 、Xen Hypervisor The underlying architecture

5、 ... and 、Xen The challenge of hot repair
1、Xen yes Type-1 Hypervisor Memory is strictly isolated ;
2、Xen Hypervisor The loaded address is dynamic ;
3、Xen Hypervisor Block insertion is not supported ;
6、 ... and 、 How to access the Hpypervisor Memory

adopt DMA visit Xen Memory
structure DMA The ability to ask
Using the kernel Hotfix Replace Dom0 These two functions of the kernel
In the new map_sg/unmap_sg Add filtering logic to
Filter out specific DMA request , modify DMA Destination address
Normal file reading operation flow

File reading process during hot repair

4. Calculate the address of the repair code
(1) equipment DMA Only physical addresses can be used
(2)Hypervisor Loading process
(3)Hypervisor Hotfix Physical address calculation formula loading
(4)XSA-123
5. Machine code patch injection process
Determine the physical address of the code to be injected
from Hypervisor Read the machine code of the relevant code (4K)
And expect Pattern Is the comparison consistent
If consistent , Put the machine code Patch And read the code N Merge, Generate a new Patch
Suspend all VM function
Put the new Patch adopt DMA Write back to Hypervisor
Reply to all VM function
VM The shorter the pause, the better
6、 ... and 、 Summary
Security is a top priority in cloud computing business
Perfect safety problem handling plan
Thermal repair technology is very important for safe operation
Multi team collaboration is particularly important
7、 ... and . summary
Elastic computing is a typical reference of virtualization technology
1. Virtualization technology includes the following three points
CPU virtualization Memory virtualization IO virtualization
2.Xen and KVM It is the most popular open source virtualization system today
Supporting the world 70% The above cloud computing businesses
3.Xen Security vulnerability hot repair technology determines a company's operation ability
Alibaba cloud has the world's first Hypervisor Thermal repair technology
Reference material
Intel SDM:Intel 64 and IA-32 Architectures Software Developer Manuals
Elastic calculation
Xen
Xen Security vulnerabilities
KVM
Data collection comes from : Alibaba cloud
Thank you for your , give the thumbs-up , Collection , Focus on , Comment on !
版权声明
本文为[Cat God 007]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221306250223.html
边栏推荐
- Ros2 - teach you to write a topic hand in hand
- Walk in the clouds - travel to the edge of the universe
- HDU 2680 shortest path Dijkstra + chained forward star + priority queue (template)
- 【黑马早报】知乎今日在港上市;小红书回应裁员20%;王者荣耀被指控抄袭;刘畊宏直播收入10天涨10倍;“知网反垄断第一案”已立案...
- ROS2——手把手教你编写一个服务
- HDU 2544 Dijkstra (template)
- 互联网巨头的广告攻守战
- 上市公司营业收入数据集(1990-2021第三季度)
- Functional limit of calculus
- ROS2——手把手教你编写一个话题
猜你喜欢

Digital business cloud electronic bidding system solution - standardize the political procurement process and improve work efficiency

高管团队异质性和稳定性数据(含代码、计算过程及原始数据)

Trying to access array offset on value of type int

C custom button implementation source code

Wong Kwong Yu Kwai tiktok is unable to sleep soundly.

The "open source summer" activity is hot. In the registration, rich bonuses are waiting for you to get

PM4PY - 分析建议怎样的BPMN可以转换成Process Tree

The keys of redis have become backup and the values have disappeared. Why?

The design method and type of flexible printed circuit board (PCB) are analyzed in detail

Download and installation of redis
随机推荐
The "open source summer" activity is hot. In the registration, rich bonuses are waiting for you to get
HDU 2544 Dijkstra(模板)
How to use colormaps and customize your favorite colorbar?
How does MySQL sort by default when using the select statement without order by?
English writing artifact quillbot --- how to use the free premium function
Ros2 - teach you to write a topic hand in hand
Tobin Q data - Shanghai and Shenzhen A-share listed companies (including industry name, code and other indicators) 2003-2020
Fade in and fade out function of C form (project source code)
MySQL8. 0 learning record 08 - data type default
关于chartjs 屏幕大小自适应
小程序分享给好友列表以及分享到朋友圈
SQL database operation of C (source code)
MapReduce案例-关于流量统计的求和分区规约排序操作
When doing correlation analysis, how to exclude singular value outliers to increase the accuracy of correlation analysis
FreeRTOS快速入门-初探FreeRTOS
Oracle NetSuite 客户说 | 让中影巴可流程控制更精细的“核心秘籍”
HDU 2680 最短路 Dijkstra + 链式向前星 + 优先队列(模板)
Inamori Kazuo: face the reality, think hard and fight head-on
POJ 3259 shortest SPFA + negative ring (template)
How to realize the conversion between array and list?