Virtual machine deployment method, virtual machine live migration method, VMM upgrading method and server
A virtual machine, an upgraded technology, applied in the computer field, can solve problems such as time-consuming and labor-consuming, complicated implementation process, and difficulty in resource reservation, and achieve the effect of saving time and resource costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0133] This embodiment runs on an x86 server, the CPU adopts Intel(R) Xeon(R) CPU E5-2640, and the EPT function has been enabled. The operating system runs the 2.6 version of the LINUX kernel, uses QEMU-KVM as the virtualized VMM (Hypervisor), and runs the Window 7 system virtual machine that business users are using on it.
[0134] The user's virtual machine runs normally on the QEMU before the upgrade. The GPA space used by the operating system (windows7) in the virtual machine before the upgrade and the HVA space of the QEMU process before the upgrade establish a mapping relationship through the kvm_memory_slot data structure maintained by the kernel KVM module, and The HVA space is mapped to the physical memory page of the GPA space through the multi-level page table maintained by the server LINUX kernel, including PTE.
[0135] Create an upgraded virtual machine through KVM on the upgraded QEMU, but do not allocate actual physical memory to the upgraded virtual machine, a...
Embodiment 2
[0158] The purpose of this embodiment is to minimize the VCPU pause time during page table switching of the virtual machine, and the operating software and hardware environment and the state of the host machine and the virtual machine before the QEMU upgrade are the same as in the first embodiment. Only the steps of demapping the HPA space of the pre-upgrade virtual machine to the HVA space of the upgraded virtual machine are different.
[0159] Step S112e in the deployment method provided by the first aspect of the present disclosure is specifically executed as the following steps:
[0160] Put the VCPU of the upgraded virtual machine in the running state. Since no actual physical memory is allocated to the HVA space of the upgraded virtual machine, when a certain HVA address in the HVA space of the upgraded virtual machine is accessed, the kernel will generate a page fault. Break (no_page_fault).
[0161] In the deployment method provided by the first aspect of the present ...
Embodiment 3
[0174] In this embodiment, XEN is used as virtualization VMM (Hypervisor) software.
[0175] Create an upgraded virtual machine on the upgraded XEN hypervisor without applying for actual HVA memory, and the VCPU of the upgraded virtual machine will be in the suspended state.
[0176] Pause the execution of the VCPU of the virtual machine before the upgrade.
[0177] In the deployment method provided by the first aspect of the present disclosure, step S111 is specifically executed as the following steps:
[0178] Obtain the HVA space entry address of the virtual machine before the upgrade, and pass it into the server LINUX operating system kernel;
[0179] According to the starting address of the HVA and the VMA red-black tree, use the memory walk (page table traversal) mechanism provided by the kernel to traverse the multi-level page table corresponding to the old virtual machine HVA step by step. Taking the Linux kernel of the x86_64 architecture as an example, traverse in t...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com