CN104182271A - Virtualization implementation method based on SW processor - Google Patents
Virtualization implementation method based on SW processor Download PDFInfo
- Publication number
- CN104182271A CN104182271A CN201410442059.6A CN201410442059A CN104182271A CN 104182271 A CN104182271 A CN 104182271A CN 201410442059 A CN201410442059 A CN 201410442059A CN 104182271 A CN104182271 A CN 104182271A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- virtual
- kernel
- implementation method
- method based
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention discloses a virtualization implementation method based on an SW processor. The virtualization implementation method based on the SW processor includes following steps: dividing four core groups of the SW processor into two types of inner cores which are respectively a host machine inner core which is arranged on a zero core group, and used to start a host machine and manage a virtual machine, and virtual machine inner cores which are arranged in the other three core groups, and used as inner cores loaded by virtual machines when the virtual machines are started; compiling a libvirt management program when the virtual machines are started, enabling the libvirt management program to manage starting and shutdown of the virtual machines, and then managing each virtual machine through a virtual network bridge, and logging in each virtual machine through SSH so as to perform operation and setting, or logging in graphical interfaces of the virtual machines through a VNC (virtual network computer) to perform the operation and the setting. The virtualization implementation method based on the SW processor has the advantages of being reasonable in design, convenient to use and the like, achieves the purpose of managing the virtual machines through a network, and can improve running speed of the virtual machines due to the fact that the virtual machines do not occupy hardware resources of the host machine, but have own practical hardware.
Description
Technical field
The present invention relates to computer virtualized technical field, specifically a kind of virtual implementation method based on Shen prestige processor.
Background technology
KVM: the abbreviation that is exactly Keyboard Video Mouse.Computing machine can be accessed and control to KVM switch, by directly connecting keyboard, video and mouse (KVM) port.KVM technology is revised software without destination server.This just means can be under the BIOS of Windows environment, at any time access destination computing machine.KVM provides real mainboard level access, and supports multi-platform server and serial device.
Libvirt is the C function library of the virtual instrument of main flow under a set of free, support Linux of increasing income, it is intended to for comprising that the various virtual instrument of Xen provides a set of convenience, reliable DLL (dynamic link library), supports and C C++, Ruby, the binding of the multiple main flow development language such as Python.
Linux is the class Unix operating system of a set of free use and Free propagation, is the operating system of multi-user, multitask, support multithreading and the many CPU based on POSIX and UNIX.It can move main unix tool software, application program and procotol.It supports 32 and 64 hardware.Linux has inherited Unix take the design philosophy that network is core, is the multiple-user network operating system of a stable performance.
(SuSE) Linux OS is born in the October 5 of 1991.Linux exists many different linux versions, but they have all used linux kernel.Linux can be arranged in various computer hardware equipments, such as mobile phone, panel computer, router, video game console, desk-top computer, large scale computer and supercomputer.
In recent years, the also Intel Virtualization Technology of tool potentiality emerging in linux system surely belongs to KVM(Kernel Virtual Machine, kernel virtual machine), because it is increase income and be present in kernel with modular form, be subject to numerous developers' favor.
Along with localization process is accelerated, more and more higher to the function of home brewed computer and performance requirement, and virtual be exactly one of them function that will realize because add Intel Virtualization Technology not only can significantly improve the utilization factor of computing machine, and can improve operation efficiency.It is at the early-stage that Domestic Platform is realized virtual, and due to processor architecture restriction, can not directly apply the implementation method of X86-based, need to again explore a kind of implementation method.
Summary of the invention
Technical assignment of the present invention is to provide a kind of virtual implementation method based on Shen prestige processor.
Technical assignment of the present invention is realized in the following manner, and described virtual method mainly consists of interior karyogenesis and Virtual Machine Manager two steps;
Interior karyogenesis step is as follows:
Four nuclear consitution of Shen prestige processor are become to two kinds of kernels, a kind of is, in 0 core group, host kernel is set, host kernel is used for starting host and managing virtual machines, and another kind is virtual machine kernel to be set, the kernel that will load when virtual machine kernel is virtual machine activation in 3 core groups of residue;
Virtual Machine Manager step is as follows:
While starting virtual machine, need to write libvirt supervisory routine, allow the opening and closing of its managing virtual machines, after dummy machine system starts successfully, can manage each virtual machine by virtual bridge, by ssh, log in each virtual machine and operate and arrange; The graphical interfaces that also can log in virtual machine by VNC operates and arranges.
In described host kernel, add KVM module.
Described KVM module will be modified according to the framework of Shen prestige processor, mainly revises hardware-related code, while allowing KVM start virtual machine, first starts a core group, restarts virtual machine.
During described virtual machine activation, need loaded virtual machine kernel, allow the essential hardware of the own deinitialization of virtual machine and then load operation system.
A kind of virtual implementation method based on Shen prestige processor of the present invention compared to the prior art, there is the features such as reasonable in design, easy to use, realized by network management virtual machine, and virtual machine does not take the hardware resource of host, but each virtual machine has the actual hardware of oneself, can improve the travelling speed of virtual machine.
Accompanying drawing explanation
Accompanying drawing 1 is a kind of kernel product process figure of the virtual implementation method based on Shen prestige processor.
Accompanying drawing 2 is a kind of Virtual Machine Manager process flow diagram of the virtual implementation method based on Shen prestige processor.
Embodiment
Embodiment 1:
This virtual method mainly consists of interior karyogenesis and Virtual Machine Manager two steps;
Interior karyogenesis step is as follows:
Four nuclear consitution of Shen prestige processor are become to two kinds of kernels, a kind of is, in 0 core group, host kernel is set, host kernel is used for starting host and managing virtual machines, in host kernel, add KVM module, KVM module will be modified according to the framework of Shen prestige 1610 processors, mainly revises hardware-related code, while allowing KVM start virtual machine, first start a core group, restart virtual machine.Another kind is virtual machine kernel to be set, the kernel that will load when virtual machine kernel is virtual machine activation in 3 core groups of residue; During virtual machine activation, need loaded virtual machine kernel, allow the essential hardware of the own deinitialization of virtual machine and then load operation system.
Virtual Machine Manager step is as follows:
While starting virtual machine, need to write libvirt supervisory routine, allow the opening and closing of its managing virtual machines, after dummy machine system starts successfully, can manage each virtual machine by virtual bridge, by ssh, log in each virtual machine and operate and arrange afterwards.
Embodiment 2:
This virtual method mainly consists of interior karyogenesis and Virtual Machine Manager two steps;
Interior karyogenesis step is as follows:
Four nuclear consitution of Shen prestige processor are become to two kinds of kernels, a kind of is, in 0 core group, host kernel is set, host kernel is used for starting host and managing virtual machines, in host kernel, add KVM module, KVM module will be modified according to the framework of Shen prestige 1610 processors, mainly revises hardware-related code, while allowing KVM start virtual machine, first start a core group, restart virtual machine.Another kind is virtual machine kernel to be set, the kernel that will load when virtual machine kernel is virtual machine activation in 3 core groups of residue; During virtual machine activation, need loaded virtual machine kernel, allow the essential hardware of the own deinitialization of virtual machine and then load operation system.
Virtual Machine Manager step is as follows:
While starting virtual machine, need to write libvirt supervisory routine, allow the opening and closing of its managing virtual machines, after dummy machine system starts successfully, can manage each virtual machine by virtual bridge, the graphical interfaces that logs in virtual machine by VNC afterwards operates and arranges.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to above-mentioned several embodiments.On the basis of disclosed embodiment, described those skilled in the art can the different technical characterictic of combination in any, thereby realizes different technical schemes.
Claims (4)
1. the virtual implementation method based on Shen prestige processor, is characterized in that, described virtual method mainly consists of interior karyogenesis and Virtual Machine Manager two steps;
Interior karyogenesis step is as follows:
Four nuclear consitution of Shen prestige processor are become to two kinds of kernels, a kind of is, in 0 core group, host kernel is set, host kernel is used for starting host and managing virtual machines, and another kind is virtual machine kernel to be set, the kernel that will load when virtual machine kernel is virtual machine activation in 3 core groups of residue;
Virtual Machine Manager step is as follows:
While starting virtual machine, need to write libvirt supervisory routine, allow the opening and closing of its managing virtual machines, after dummy machine system starts successfully, can manage each virtual machine by virtual bridge, by ssh, log in each virtual machine and operate and arrange; The graphical interfaces that also can log in virtual machine by VNC operates and arranges.
2. a kind of virtual implementation method based on Shen prestige processor according to claim 1, is characterized in that, in described host kernel, adds KVM module.
3. a kind of virtual implementation method based on Shen prestige processor according to claim 2, it is characterized in that, described KVM module will be modified according to the framework of Shen prestige processor, the hardware-related code of main modification, while allowing KVM start virtual machine, first start a core group, restart virtual machine.
4. a kind of virtual implementation method based on Shen prestige processor according to claim 1, is characterized in that, during described virtual machine activation, needs loaded virtual machine kernel, allows the essential hardware of the own deinitialization of virtual machine and then load operation system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410442059.6A CN104182271A (en) | 2014-09-02 | 2014-09-02 | Virtualization implementation method based on SW processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410442059.6A CN104182271A (en) | 2014-09-02 | 2014-09-02 | Virtualization implementation method based on SW processor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104182271A true CN104182271A (en) | 2014-12-03 |
Family
ID=51963346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410442059.6A Pending CN104182271A (en) | 2014-09-02 | 2014-09-02 | Virtualization implementation method based on SW processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104182271A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106802823A (en) * | 2017-02-20 | 2017-06-06 | 扬州万方电子技术有限责任公司 | A kind of storage server and its method of work based on Shen prestige processor |
CN107172094A (en) * | 2017-07-05 | 2017-09-15 | 北京并行科技股份有限公司 | Access the method and system of service routine on supercomputing center |
CN109522087A (en) * | 2018-09-13 | 2019-03-26 | 上海交通大学 | Processor-based Imaginary Mechanism construction method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070271557A1 (en) * | 2005-08-30 | 2007-11-22 | Geisinger Nile J | Computing platform having transparent access to resources of a host platform |
CN102541686A (en) * | 2011-11-29 | 2012-07-04 | 中标软件有限公司 | Method for achieving backup and disaster recovery of system by utilizing virtual machine |
CN103699430A (en) * | 2014-01-06 | 2014-04-02 | 山东大学 | Working method of remote KVM (Kernel-based Virtual Machine) management system based on J2EE (Java 2 Platform Enterprise Edition) framework |
-
2014
- 2014-09-02 CN CN201410442059.6A patent/CN104182271A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070271557A1 (en) * | 2005-08-30 | 2007-11-22 | Geisinger Nile J | Computing platform having transparent access to resources of a host platform |
CN102541686A (en) * | 2011-11-29 | 2012-07-04 | 中标软件有限公司 | Method for achieving backup and disaster recovery of system by utilizing virtual machine |
CN103699430A (en) * | 2014-01-06 | 2014-04-02 | 山东大学 | Working method of remote KVM (Kernel-based Virtual Machine) management system based on J2EE (Java 2 Platform Enterprise Edition) framework |
Non-Patent Citations (1)
Title |
---|
李斌,胡屹峰: "基于KVM的服务器虚拟化环境实现", 《洛阳理工学院学报(自然科学版)》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106802823A (en) * | 2017-02-20 | 2017-06-06 | 扬州万方电子技术有限责任公司 | A kind of storage server and its method of work based on Shen prestige processor |
CN106802823B (en) * | 2017-02-20 | 2020-12-18 | 扬州万方电子技术有限责任公司 | Storage server based on Shenwei processor and working method thereof |
CN107172094A (en) * | 2017-07-05 | 2017-09-15 | 北京并行科技股份有限公司 | Access the method and system of service routine on supercomputing center |
CN109522087A (en) * | 2018-09-13 | 2019-03-26 | 上海交通大学 | Processor-based Imaginary Mechanism construction method and system |
CN109522087B (en) * | 2018-09-13 | 2020-07-28 | 上海交通大学 | Virtual mechanism building method and system based on domestic Shenwei processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ben-Yehuda et al. | The turtles project: Design and implementation of nested virtualization | |
Rodríguez-Haro et al. | A summary of virtualization techniques | |
US10915348B2 (en) | Technologies for duplicating virtual machine states | |
US20120054740A1 (en) | Techniques For Selectively Enabling Or Disabling Virtual Devices In Virtual Environments | |
US20100262722A1 (en) | Dynamic Assignment of Graphics Processing Unit to a Virtual Machine | |
EP2881860B1 (en) | Method for implementing an interrupt between virtual processors, related device, and system | |
CN104951694A (en) | Isolation method and apparatus for management virtual machine | |
CN107924325B (en) | Apparatus and method for multi-level virtualization | |
US9697031B2 (en) | Method for implementing inter-virtual processor interrupt by writing register data in a single write operation to a virtual register | |
EP2807555B1 (en) | Para-virtualized asymmetric gpu processors | |
Yang et al. | On implementation of GPU virtualization using PCI pass-through | |
US20220405385A1 (en) | Secure container construction device and method executable by android application, and computer-readable recording medium on which program thereof is recorded | |
US9990216B2 (en) | Providing hypercall interface for virtual machines | |
US10318343B2 (en) | Migration methods and apparatuses for migrating virtual machine including locally stored and shared data | |
US9164788B2 (en) | Apparatus and method for automatic para-virtualization of OS kernel | |
CN111459606A (en) | Method for quickly creating virtual machine under virtualization and server | |
US20090276200A1 (en) | Non-destructive simulation of a failure in a virtualization environment | |
Goethals et al. | A functional and performance benchmark of lightweight virtualization platforms for edge computing | |
Wang | Can “micro VM” become the next generation computing platform?: Performance comparison between light weight Virtual Machine, container, and traditional Virtual Machine | |
CN104182271A (en) | Virtualization implementation method based on SW processor | |
WO2016177261A1 (en) | Method and device for online upgrading module based on kernel virtual machine | |
Muttillo et al. | Benchmarking analysis and characterization of hypervisors for space multicore systems | |
US20040193394A1 (en) | Method for CPU simulation using virtual machine extensions | |
Fornaeus | Device hypervisors | |
US9378057B2 (en) | Paravirtualized migration counter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141203 |