CN108108177A - Firmware upgrade method, physical host and the virtual machine of physical host - Google Patents

Firmware upgrade method, physical host and the virtual machine of physical host Download PDF

Info

Publication number
CN108108177A
CN108108177A CN201810001125.4A CN201810001125A CN108108177A CN 108108177 A CN108108177 A CN 108108177A CN 201810001125 A CN201810001125 A CN 201810001125A CN 108108177 A CN108108177 A CN 108108177A
Authority
CN
China
Prior art keywords
firmware
firmware upgrade
virtual machine
upgraded
physical host
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.)
Granted
Application number
CN201810001125.4A
Other languages
Chinese (zh)
Other versions
CN108108177B (en
Inventor
何海洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810001125.4A priority Critical patent/CN108108177B/en
Publication of CN108108177A publication Critical patent/CN108108177A/en
Application granted granted Critical
Publication of CN108108177B publication Critical patent/CN108108177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

A kind of firmware upgrade method of physical host of disclosure, physical host is after firmware upgrade instruction is received, startup runs on the first virtual machine of itself, and virtualization process is carried out to the upgrade interface of firmware to be upgraded, the first virtual machine is transferred to using the virtual firmware upgrade interface of generation as a virtual unit, firmware to be upgraded is upgraded by firmware upgrade instrument by the first virtual machine, so as to fulfill the interior upgrading of band to firmware in physical host.Disclosed herein as well is the physical hosts and virtual machine for realizing above-mentioned function.

Description

Firmware upgrade method, physical host and the virtual machine of physical host
Technical field
The application belongs to the firmware upgrade method, physical host and void of field of computer technology more particularly to physical host Plan machine.
Background technology
VM (Virtual Machine, virtual machine), which refers to, to be realized by way of software simulation with complete hardware system work( Can, operate in complete computer in a completely isolated environment.It, can be in a physics meter by software virtual machine One or more virtual computer is simulated on calculation machine, virtual machine works as real computer, for example, can install Operating system, installation application program access Internet resources etc..The physical computer of operation virtual machine is known as host or physics Host.
Firmware (Firmware) is the software for carrying on a shoulder pole the most basic bottom work of any one system, is generally stored in chip EEPROM (Electrically Erasable Programmable ROM, electricallyerasable ROM (EEROM)) or FLASH cores In piece.
, it is necessary to be upgraded according to actual demand to firmware during electronic equipment use.The operation system of physical host System just corresponds to a hypervisor, and hypervisor is also referred to as VMM (Virtual Machine Monitor, virtual machine prison Control unit), api interface (Application Programming Interface, application programming interface) is not provided, This results in that the firmware in physical host can not be carried out with interior upgrading.
The content of the invention
In view of this, the purpose of the application is a kind of firmware upgrade method of physical host, physical host and virtual machine, To solve the problems, such as in the prior art not carrying out with interior upgrading the firmware in physical host.
To achieve the above object, the application provides following technical solution:
The application provides a kind of firmware upgrade method of physical host, and the firmware upgrade method is applied to the physics master Machine, the firmware upgrade method include:
Firmware upgrade instruction is responded, starts the first virtual machine, first virtual machine runs on the physical host, and First virtual machine is provided with firmware upgrade instrument, and the firmware upgrade instruction carries the mark of firmware to be upgraded;
Firmware to be upgraded is determined according to firmware upgrade instruction;
Virtualization process is carried out to the interface of firmware to be upgraded, it is empty that virtual firmware upgrade interface is transferred to described first Plan machine upgrades the firmware to be upgraded by the firmware upgrade instrument by first virtual machine.
Optionally, it is described that virtual firmware upgrade interface is transferred to described first virtually in above-mentioned firmware upgrade method Machine, including:
The virtual firmware upgrade interface is transferred to by first virtual machine by the passthrough modes that direct transfer.
Optionally, in above-mentioned firmware upgrade method, further include:After firmware upgrade is completed, it is virtual to remove described first Machine.
The application also provides a kind of firmware upgrade method of physical host, and the firmware upgrade method is applied to virtual machine, The virtual machine runs on a physical host, and the virtual machine is provided with firmware upgrade instrument, and the firmware upgrade method includes:
The virtual firmware upgrade interface that the physical host transfers is received, the virtual firmware upgrade interface is by the physics Response of host firmware upgrade is instructed carries out virtualization process generation to the upgrade interface of firmware to be upgraded;
The firmware to be upgraded is upgraded by the firmware upgrade instrument.
Optionally, it is described that described to be upgraded is consolidated by the firmware upgrade instrument in above-mentioned firmware upgrade method Part is upgraded, including:
Obtain the firmware upgrade bag of the firmware to be upgraded;
The firmware to be upgraded is upgraded using the firmware upgrade bag by the firmware upgrade instrument.
The application also provides a kind of physical host, and the physical host includes processor and memory, the physical host Upper operation has at least one virtual machine;
The processor is used for:Firmware upgrade instruction is responded, starts the first virtual machine, first virtual machine runs on institute Physical host is stated, and first virtual machine is provided with firmware upgrade instrument, and the firmware upgrade instruction carries to be upgraded Firmware mark;Firmware to be upgraded is determined according to firmware upgrade instruction;To the upgrade interface of firmware to be upgraded into Virtual firmware upgrade interface is transferred to first virtual machine by row virtualization process, is passed through by first virtual machine described Firmware upgrade instrument upgrades the firmware to be upgraded.
Optionally, in above-mentioned physical host, the processor the virtual firmware upgrade interface is transferred to it is described The aspect of first virtual machine, is specifically used for:The virtual firmware upgrade interface is transferred to by the passthrough modes that direct transfer First virtual machine.
Optionally, in above-mentioned physical host, the processor is additionally operable to:After firmware upgrade is completed, described the is removed One virtual machine.
The application also provides a kind of virtual machine, and the virtual machine runs on a physical host, and the virtual machine is provided with solid Part upgrading tool, the virtual machine include virtual processor;
The virtual processor is used for:The virtual firmware upgrade interface that the physical host transfers is received, it is described virtual solid Part upgrade interface carries out virtualization by physical host response firmware upgrade instruction to the upgrade interface of firmware to be upgraded Reason generates;The firmware to be upgraded is upgraded by firmware upgrade instrument.
Optionally, in above-mentioned virtual machine, the virtual processor by firmware upgrade instrument to described to be upgraded The aspect that firmware is upgraded, is used for:Obtain the firmware upgrade bag of the firmware to be upgraded;Made by the firmware upgrade instrument The firmware to be upgraded is upgraded with the firmware upgrade bag.
It can be seen that the application's has the beneficial effect that:
The firmware upgrade method of physical host disclosed in the present application, physical host open after firmware upgrade instruction is received It is dynamic to run on the first virtual machine of itself, and virtualization process is carried out to the upgrade interface of firmware to be upgraded, by the void of generation Intend firmware upgrade interface and be transferred to the first virtual machine as a virtual unit, firmware upgrade instrument pair is passed through by the first virtual machine Firmware to be upgraded is upgraded, so as to fulfill the interior upgrading of band to firmware in physical host.
Description of the drawings
It in order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application, for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the firmware upgrade method of physical host disclosed in the present application;
Fig. 2 is the flow chart of the firmware upgrade method of another physical host disclosed in the present application;
Fig. 3 is the system architecture diagram of physical host disclosed in the present application;
Fig. 4 is the flow chart of the firmware upgrade method of another physical host disclosed in the present application;
Fig. 5 is the flow chart of the firmware upgrade method of another physical host disclosed in the present application;
Fig. 6 is a kind of structure chart of physical host disclosed in the present application.
Specific embodiment
Firmware upgrade method, physical host and the virtual machine of disclosure physical host, with solve in the prior art without The problem of method carries out with interior upgrading the firmware in physical host.
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall in the protection scope of this application.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of the firmware upgrade method of physical host disclosed in the present application.The firmware liter Grade method is applied to physical host, including:
Step S101:Firmware upgrade instruction is responded, starts the first virtual machine.
Wherein, firmware upgrade instruction carries the mark of firmware to be upgraded, and the first virtual machine runs on the physical host, And the first virtual machine is provided with firmware upgrade instrument.
Physical host operation disclosed in the present application has multiple virtual machines, and one of virtual machine is provided with firmware upgrade work Tool, for ease of description, the first virtual machine is denoted as by the virtual machine.
When there is firmware upgrade demand, to physical host output firmware upgrade instruction, firmware upgrade instruction, which carries, to be needed The mark of the firmware of upgrading.After physical host receives firmware upgrade instruction, start the first void for being provided with firmware upgrade instrument Plan machine.
In implementation, firmware upgrade instruction can be that server is sent, and server determines that the firmware in physical host has liter During grade demand, firmware upgrade instruction is sent to physical host.It is sent in addition, firmware upgrade instruction can also be triggered by user, When user needs to upgrade the firmware in physical host, firmware upgrade is sent to physical host by interactive device and is instructed.
Step S102:Firmware to be upgraded is determined according to firmware upgrade instruction.
Step S103:Virtualization process is carried out to the upgrade interface of firmware to be upgraded, virtual firmware upgrade interface is passed The first virtual machine is handed to, firmware to be upgraded is upgraded by firmware upgrade instrument by the first virtual machine.
Firmware upgrade instructs the mark for carrying firmware to be upgraded, and physical host can be true according to firmware upgrade instruction Fixed firmware to be upgraded.Physical host carries out virtualization process to the upgrade interface of firmware to be upgraded, by the virtual solid of generation Part upgrade interface is transferred to the first virtual machine, that is, the upgrade interface address by firmware to be upgraded as a virtual unit The first virtual machine is transmitted to, the first virtual machine is able to access that firmware to be upgraded.First virtual machine passes through firmware upgrade instrument pair Firmware to be upgraded is upgraded.
The firmware upgrade method of physical host disclosed in the present application, physical host open after firmware upgrade instruction is received It is dynamic to run on the first virtual machine of itself, and virtualization process is carried out to the upgrade interface of firmware to be upgraded, by the void of generation Intend firmware upgrade interface and be transferred to the first virtual machine as a virtual unit, firmware upgrade instrument pair is passed through by the first virtual machine Firmware to be upgraded is upgraded, so as to fulfill the interior upgrading of band to firmware in physical host.
Referring to Fig. 2, Fig. 2 is the flow chart of the firmware upgrade method of another physical host disclosed in the present application.The firmware Upgrade method is applied to physical host, including:
Step S201:Firmware upgrade instruction is responded, starts the first virtual machine.
Wherein, firmware upgrade instruction carries the mark of firmware to be upgraded, and the first virtual machine runs on the physical host, And the first virtual machine is provided with firmware upgrade instrument.
Step S202:Firmware to be upgraded is determined according to firmware upgrade instruction.
Step S203:Virtualization process is carried out to the upgrade interface of firmware to be upgraded, it will by passthrough modes Virtual firmware upgrade interface is transferred to the first virtual machine, by the first virtual machine by firmware upgrade instrument to firmware to be upgraded into Row upgrading.
After physical host carries out virtualization process to the upgrade interface of firmware to be upgraded, pass through passthrough modes Virtual firmware upgrade interface is transferred to the first virtual machine by (direct transfer mode), is treated by the first virtual machine by firmware upgrade instrument The firmware of upgrading is upgraded.
In addition, during the first virtual machine upgrades firmware by firmware upgrade instrument, transmission data can also Using passthrough modes.
Fig. 3 shows the system architecture of physical host, including hardware layer, virtual machine monitoring unit VMM and by VMM controls At least one virtual machine, is specially VM1, VM2 and VM3 in Fig. 3, and wherein VM1 is to be provided with firmware upgrade instrument in the application First virtual machine, hardware layer are provided with multiple hardware and firmware.
In the firmware upgrade method of the application physical host shown in Fig. 2, virtual firmware upgrade interface is transferred to During upgrading during one virtual machine and by firmware upgrade instrument to firmware, using passthrough modes, make It obtains data to transmit through VMM so that the process of data transmission is quicker, so as to be rapidly completed to the interior upgrading of the band of firmware.
In the firmware upgrade method of the application physical host disclosed above, following steps can also be set:It completes After firmware upgrade, the first virtual machine is removed.
That is, after the firmware in physical host completes upgrading, physical host removes the first virtual machine, that is, closes first Virtual machine, so as to save more hardware resources, the hardware resource of saving can distribute to other virtual machines.
Optionally, in the firmware upgrade method of physical host disclosed above, physical host can also be virtual to first Machine transfers firmware upgrade package informatin, which includes at least the version information of firmware upgrade bag.Correspondingly, first During virtual machine upgrades firmware to be upgraded by firmware upgrade instrument, the firmware upgrade bag of the version is obtained, So as to by the firmware upgrade to corresponding version.
Optionally, physical host includes the version letter of firmware upgrade bag to the firmware upgrade package informatin that the first virtual machine transfers The download address of breath and the version firmware upgrade bag.Correspondingly, the first virtual machine by firmware upgrade instrument to be upgraded During firmware is upgraded, the firmware upgrade bag of the version is obtained based on the download address, thus by the firmware upgrade extremely Corresponding version, and the problem of obtaining malice firmware upgrade bag can be avoided the occurrence of.
Referring to Fig. 4, Fig. 4 is the flow chart of the firmware upgrade method of another physical host disclosed in the present application.
The firmware upgrade method is applied to virtual machine, which runs on a physical host, and the virtual machine is set There is firmware upgrade instrument.The firmware upgrade method includes:
Step S401:Receive the virtual firmware upgrade interface that physical host transfers.
Wherein, which is instructed the upgrading to firmware to be upgraded by physical host response firmware upgrade Interface carries out virtualization process generation.The driving of the built-in identification virtual firmware upgrade interface of virtual machine.
As a kind of embodiment, virtual machine is started after physical host receives firmware upgrade instruction by physical host.
Step S402:Firmware to be upgraded in physical host is upgraded by firmware upgrade instrument.
After virtual machine receives virtual firmware upgrade interface, using built-in firmware upgrade instrument to waiting to rise in physical host The firmware of grade is upgraded.
The firmware upgrade method of physical host disclosed in the present application, virtual machine built-in firmware upgrading tool, the virtual machine exist After the virtual firmware upgrade interface for receiving physical host transmission, by built-in firmware upgrade instrument to waiting to rise in physical host The firmware of grade is upgraded, and completes the interior upgrading of band of firmware in physical host.
Referring to Fig. 5, Fig. 5 is the flow chart of the firmware upgrade method of another physical host disclosed in the present application.
The firmware upgrade method is applied to virtual machine, which runs on a physical host, and the virtual machine is set There is firmware upgrade instrument.The firmware upgrade method includes:
Step S501:Receive the virtual firmware upgrade interface that physical host transfers.
Wherein, which is instructed the upgrading to firmware to be upgraded by physical host response firmware upgrade Interface carries out virtualization process generation.The driving of the built-in identification virtual firmware upgrade interface of virtual machine.
Step S501:Obtain the firmware upgrade bag of firmware to be upgraded.
As a kind of embodiment, virtual machine obtains consolidating for the latest edition of firmware to be upgraded from local storage medium Part upgrade package or obtained by network firmware to be upgraded latest edition firmware upgrade bag.
As another embodiment, physical host further transfers firmware upgrade package informatin, the firmware liter to virtual machine Grade package informatin includes at least the version information of firmware upgrade bag.The firmware upgrade package informatin that virtual machine is transferred based on physical host, The firmware upgrade bag of the version is obtained from local storage medium or the firmware upgrade bag of the version is obtained by network.
As another embodiment, physical host further transfers firmware upgrade package informatin, the firmware liter to virtual machine Grade package informatin includes at least the version information of firmware upgrade bag and the download address of the version firmware upgrade bag.Virtual machine is based on The download address that physical host transfers obtains the firmware upgrade bag of the version.Based on the embodiment, virtual machine is in physical host The download address specified obtains the firmware upgrade bag of indicated release, can avoid the occurrence of the problem of obtaining malice firmware upgrade bag.
Step S501:Firmware to be upgraded is upgraded using the firmware upgrade bag by firmware upgrade instrument.
After virtual machine obtains the firmware upgrade bag of firmware to be upgraded, which is used by built-in firmware upgrade instrument Grade bag upgrades firmware to be upgraded in physical host.
The firmware upgrade method of physical host shown in the application Fig. 5, virtual machine built-in firmware upgrading tool, the virtual machine After the virtual firmware upgrade interface of physical host transmission is received, the firmware upgrade bag of firmware to be upgraded is obtained, by firmware Upgrading tool upgrades firmware to be upgraded in physical host using firmware upgrade bag, completes the band of firmware in physical host Interior upgrading.
A kind of physical host is also disclosed in the application, structure as shown in fig. 6, including processor 100 and memory 200, Operation has at least one virtual machine on the physical host.
Processor 100 is used for:Firmware upgrade instruction is responded, starts the first virtual machine, which runs on physics Host, and the first virtual machine is provided with firmware upgrade instrument, and firmware upgrade instructs the mark for carrying firmware to be upgraded;Root Firmware to be upgraded is determined according to firmware upgrade instruction;Virtualization process is carried out to the upgrade interface of firmware to be upgraded, it will be virtual Firmware upgrade interface is transferred to the first virtual machine, and firmware to be upgraded is risen by firmware upgrade instrument by the first virtual machine Grade.
Physical host operation disclosed in the present application has at least one virtual machine, wherein the first virtual machine is provided with firmware upgrade Instrument, physical host start the first virtual machine after firmware upgrade instruction is received, and to the upgrade interface of firmware to be upgraded Virtualization process is carried out, the first virtual machine is transferred to using the virtual firmware upgrade interface of generation as a virtual unit, by the One virtual machine upgrades firmware to be upgraded by firmware upgrade instrument, so as to fulfill in the band to firmware in physical host Upgrading.
Optionally, processor 100 is specifically used in terms of virtual firmware upgrade interface is transferred to the first virtual machine: Virtual firmware upgrade interface is transferred to the first virtual machine by processor 100 by the passthrough modes that direct transfer.
In addition, during the first virtual machine upgrades firmware by firmware upgrade instrument, transmission data can also Using passthrough modes.
Optionally, processor 100 is additionally operable to:After firmware upgrade is completed, the first virtual machine is removed.
That is, after the firmware in physical host completes upgrading, physical host removes the first virtual machine, that is, closes first Virtual machine, so as to save more hardware resources, the hardware resource of saving can distribute to other virtual machines.
A kind of virtual machine is also disclosed in the application, which runs on a physical host, and the virtual machine is provided with admittedly Part upgrading tool, virtual machine include virtual processor.
Virtual processor is used for:Receive physical host transfer virtual firmware upgrade interface, virtual firmware upgrade interface by Physical host response firmware upgrade instruction carries out virtualization process generation to the upgrade interface of firmware to be upgraded;Pass through firmware liter Grade instrument upgrades firmware to be upgraded.
Virtual machine disclosed in the present application runs on a physical host, and the virtual machine is provided with firmware upgrade instrument, empty Plan machine is after the virtual firmware upgrade interface of physical host transmission is received, by built-in firmware upgrade instrument to physical host In firmware to be upgraded upgraded, complete the interior upgrading of band of firmware in physical host.
Optionally, virtual processor is used in terms of being upgraded by firmware upgrade instrument to firmware to be upgraded: Obtain the firmware upgrade bag of firmware to be upgraded;Firmware to be upgraded is risen using firmware upgrade bag by firmware upgrade instrument Grade.
As a kind of embodiment, virtual processor obtains the latest edition of firmware to be upgraded from local storage medium Firmware upgrade bag or obtained by network firmware to be upgraded latest edition firmware upgrade bag.
As another embodiment, physical host further transfers firmware upgrade package informatin, the firmware liter to virtual machine Grade package informatin includes at least the version information of firmware upgrade bag.The firmware upgrade bag letter that virtual processor is transferred based on physical host Breath, the firmware upgrade bag of the version is obtained from local storage medium or the firmware upgrade bag of the version is obtained by network.
As another embodiment, physical host further transfers firmware upgrade package informatin, the firmware liter to virtual machine Grade package informatin includes at least the version information of firmware upgrade bag and the download address of the version firmware upgrade bag.Virtual processor Based on the download address that physical host transfers, the firmware upgrade bag of the version is obtained.Based on the embodiment, virtual machine is in physics The download address that host is specified obtains the firmware upgrade bag of indicated release, can avoid the occurrence of and obtain asking for malice firmware upgrade bag Topic.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only include that A little elements, but also including other elements that are not explicitly listed or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except also there are other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For physics disclosed in embodiment For host and virtual machine, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related part ginseng See method part illustration.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or using the application. A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein General Principle can in other embodiments be realized in the case where not departing from spirit herein or scope.Therefore, the application The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one The most wide scope caused.

Claims (10)

1. a kind of firmware upgrade method of physical host, which is characterized in that the firmware upgrade method is applied to the physics master Machine, the firmware upgrade method include:
Firmware upgrade instruction is responded, starts the first virtual machine, first virtual machine runs on the physical host, and described First virtual machine is provided with firmware upgrade instrument, and the firmware upgrade instruction carries the mark of firmware to be upgraded;
Firmware to be upgraded is determined according to firmware upgrade instruction;
Virtualization process is carried out to the upgrade interface of firmware to be upgraded, it is empty that virtual firmware upgrade interface is transferred to described first Plan machine upgrades the firmware to be upgraded by the firmware upgrade instrument by first virtual machine.
2. firmware upgrade method according to claim 1, which is characterized in that described to be transferred to virtual firmware upgrade interface First virtual machine, including:
The virtual firmware upgrade interface is transferred to by first virtual machine by the passthrough modes that direct transfer.
3. firmware upgrade method according to claim 1 or 2, which is characterized in that further include:After firmware upgrade is completed, Remove first virtual machine.
4. a kind of firmware upgrade method of physical host, which is characterized in that the firmware upgrade method is applied to virtual machine, described Virtual machine runs on a physical host, and the virtual machine is provided with firmware upgrade instrument, and the firmware upgrade method includes:
The virtual firmware upgrade interface that the physical host transfers is received, the virtual firmware upgrade interface is by the physical host It responds firmware upgrade instruction and virtualization process generation is carried out to the upgrade interface of firmware to be upgraded;
The firmware to be upgraded is upgraded by the firmware upgrade instrument.
5. firmware upgrade method according to claim 4, which is characterized in that it is described by the firmware upgrade instrument to institute Firmware to be upgraded is stated to be upgraded, including:
Obtain the firmware upgrade bag of the firmware to be upgraded;
The firmware to be upgraded is upgraded using the firmware upgrade bag by the firmware upgrade instrument.
6. a kind of physical host, which is characterized in that the physical host includes processor and memory, is transported on the physical host Row has at least one virtual machine;
The processor is used for:Firmware upgrade instruction is responded, starts the first virtual machine, first virtual machine runs on the object Host is managed, and first virtual machine is provided with firmware upgrade instrument, and the firmware upgrade instruction carries to be upgraded consolidate The mark of part;Firmware to be upgraded is determined according to firmware upgrade instruction;The upgrade interface of firmware to be upgraded is carried out empty Planization processing, is transferred to first virtual machine by virtual firmware upgrade interface, passes through the firmware by first virtual machine Upgrading tool upgrades the firmware to be upgraded.
7. physical host according to claim 6, which is characterized in that the processor connects by virtual firmware upgrading Oral instructions are handed to the aspect of first virtual machine, are specifically used for:Mode is direct transferred by the virtual firmware liter by passthrough Grade interface is transferred to first virtual machine.
8. the physical host according to claim 6 or 7, which is characterized in that the processor is additionally operable to:Complete firmware liter After grade, first virtual machine is removed.
9. a kind of virtual machine, which is characterized in that the virtual machine runs on a physical host, and the virtual machine is provided with firmware liter Grade instrument, the virtual machine include virtual processor;
The virtual processor is used for:Receive the virtual firmware upgrade interface that the physical host transfers, the virtual firmware liter Grade interface carries out virtualization process production by physical host response firmware upgrade instruction to the upgrade interface of firmware to be upgraded It is raw;The firmware to be upgraded is upgraded by firmware upgrade instrument.
10. virtual machine according to claim 9, which is characterized in that the virtual processor is passing through firmware upgrade instrument To the aspect that the firmware to be upgraded is upgraded, it is used for:Obtain the firmware upgrade bag of the firmware to be upgraded;By described Firmware upgrade instrument upgrades the firmware to be upgraded using the firmware upgrade bag.
CN201810001125.4A 2018-01-02 2018-01-02 Firmware upgrading method of physical host, physical host and virtual machine Active CN108108177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810001125.4A CN108108177B (en) 2018-01-02 2018-01-02 Firmware upgrading method of physical host, physical host and virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810001125.4A CN108108177B (en) 2018-01-02 2018-01-02 Firmware upgrading method of physical host, physical host and virtual machine

Publications (2)

Publication Number Publication Date
CN108108177A true CN108108177A (en) 2018-06-01
CN108108177B CN108108177B (en) 2020-10-27

Family

ID=62218418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810001125.4A Active CN108108177B (en) 2018-01-02 2018-01-02 Firmware upgrading method of physical host, physical host and virtual machine

Country Status (1)

Country Link
CN (1) CN108108177B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110633131A (en) * 2019-09-16 2019-12-31 东软集团股份有限公司 Method, device, equipment and system for virtualizing firmware
CN113242288A (en) * 2021-05-06 2021-08-10 国家计算机网络与信息安全管理中心 Internet of things equipment firmware upgrading method, system and device and storage medium
WO2022199335A1 (en) * 2021-03-25 2022-09-29 山东英信计算机技术有限公司 Method, apparatus and device for controlling firmware upgrade of server component, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046749A (en) * 2006-03-31 2007-10-03 联想(北京)有限公司 Chip firmware updating method
CN104572179A (en) * 2014-12-19 2015-04-29 华为技术有限公司 IAAS (infrastructure as a service) software upgrading method and device
CN106301876A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 Physical machine upgrade method, business migration method and device
CN106325859A (en) * 2016-08-12 2017-01-11 华为技术有限公司 Method for installing driver and server
CN106528226A (en) * 2016-10-31 2017-03-22 紫光华山信息技术有限公司 Operation system installation method and apparatus
US20170249181A1 (en) * 2015-02-24 2017-08-31 Red Hat Israel, Ltd. Dynamic guest virtual machine identifier allocation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046749A (en) * 2006-03-31 2007-10-03 联想(北京)有限公司 Chip firmware updating method
CN104572179A (en) * 2014-12-19 2015-04-29 华为技术有限公司 IAAS (infrastructure as a service) software upgrading method and device
US20170249181A1 (en) * 2015-02-24 2017-08-31 Red Hat Israel, Ltd. Dynamic guest virtual machine identifier allocation
CN106301876A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 Physical machine upgrade method, business migration method and device
CN106325859A (en) * 2016-08-12 2017-01-11 华为技术有限公司 Method for installing driver and server
CN106528226A (en) * 2016-10-31 2017-03-22 紫光华山信息技术有限公司 Operation system installation method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘婷: "USB设备固件升级系统的设计与开发", 《单片机与嵌入式系统应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110633131A (en) * 2019-09-16 2019-12-31 东软集团股份有限公司 Method, device, equipment and system for virtualizing firmware
WO2022199335A1 (en) * 2021-03-25 2022-09-29 山东英信计算机技术有限公司 Method, apparatus and device for controlling firmware upgrade of server component, and storage medium
CN113242288A (en) * 2021-05-06 2021-08-10 国家计算机网络与信息安全管理中心 Internet of things equipment firmware upgrading method, system and device and storage medium
CN113242288B (en) * 2021-05-06 2022-03-08 国家计算机网络与信息安全管理中心 Internet of things equipment firmware upgrading method, system and device and storage medium

Also Published As

Publication number Publication date
CN108108177B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
TWI608363B (en) Architectural mode configuration
US11550564B1 (en) Automating application of software patches to a server having a virtualization layer
US10496424B2 (en) Reconfiguring virtual machines
US8151265B2 (en) Apparatus for and method for real-time optimization of virtual machine input/output performance
CN105814541B (en) The method of computer equipment and computer equipment internal storage starting
Kozuch et al. Migration without Virtualization.
TW201610708A (en) Common boot sequence for control utility able to be initialized in multiple architectures
JP6927375B2 (en) How to handle deep learning tasks, devices and computer-readable storage media
CN108108177A (en) Firmware upgrade method, physical host and the virtual machine of physical host
CN105144093A (en) Workload deployment with infrastructure management agent provisioning
US9448807B2 (en) Automatic creation, deployment, and upgrade of disk images
US8539214B1 (en) Execution of a program module within both a PEI phase and a DXE phase of an EFI firmware
US10303487B2 (en) System and method for booting an information handling system
US9389910B2 (en) Paravirtualized migration counter for migrating a virtual CPU to a different physical CPU
CN107368353A (en) A kind of method and apparatus for realizing virutal machine memory heat addition
CN108292233A (en) Open the application processor of virtual machine
WO2022199335A1 (en) Method, apparatus and device for controlling firmware upgrade of server component, and storage medium
US10616944B2 (en) Computer system and method thereof for sharing of wireless connection information between UEFI firmware and OS
CN112099916B (en) Virtual machine data migration method and device, computer equipment and storage medium
CN110515540B (en) Method and device for topology of hard disk
US9378057B2 (en) Paravirtualized migration counter
US7873807B1 (en) Relocating a program module from NVRAM to RAM during the PEI phase of an EFI-compatible firmware
CN106844148B (en) Virtual machine starting progress monitoring method and device
CN116069584A (en) Extending monitoring services into trusted cloud operator domains
US11238015B2 (en) Instant hyper-v streaming

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant