CN103701881B - Virtual hotplug system for supporting input/output (I/O) function dynamic distribution and working method thereof - Google Patents
Virtual hotplug system for supporting input/output (I/O) function dynamic distribution and working method thereof Download PDFInfo
- Publication number
- CN103701881B CN103701881B CN201310697592.2A CN201310697592A CN103701881B CN 103701881 B CN103701881 B CN 103701881B CN 201310697592 A CN201310697592 A CN 201310697592A CN 103701881 B CN103701881 B CN 103701881B
- Authority
- CN
- China
- Prior art keywords
- hot plug
- virtual
- virtual hot
- functions
- server
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a virtual hotplug system for supporting input/output (I/O) function dynamic distribution and a working method thereof. The system comprises a plurality of exchangers (160) which are connected with I/O endpoint equipment (170), a master control server (110), a virtual hotplug controller (180) and a slave server (120); the I/O endpoint equipment has an I/O function; the master control server comprises a plurality of exchanger control modules (140) and a virtual hotplug controller control module (150), can configure the plurality of exchangers, and controls the virtual hotplug controller to distribute or recover the I/O function; the virtual hotplug controller is used for sending a notification of distributing or recovering the I/O function to the slave server; the slave server comprises a virtual hotplug driver module (130), and is used for identifying the notification and distributing or recovering the resource in an operating system of the slave server for the I/O function. Therefore, the system can distribute and recover the I/O function online, and is used for performing I/O function virtual hotplug under the condition of no stop.
Description
Technical field
The present invention relates to computer I/O virtualizations field, is related to I/O functions dynamic technology of sharing between multiple servers, especially
Which is related to a kind of virtual hot plug system and its method of work for supporting I/O function dynamically distributes.
Background technology
In present data center, widely used Intel Virtualization Technology carries out the integration of server, and it is by multiple servers
System combination be the multiple virtual machines run on a physical server, not only increase the utilization rate of resource and reduce
The difficulty of management.
In order to improve the I/O performances of dummy machine system, the particularly performance of network system, generally will using direct-passing mode
Device PCI is distributed directly to the exclusive use of virtual machine.For the physical server for running multiple virtual machines, if directly pacified for which
Multiple PCI board cards are filled, is not only increased hardware cost, and is reduced the utilization rate of I/O resources.Therefore industrial quarters devises single
Virtualization(SR-IOV)Equipment and Duo Gen virtualizations(MR-IOV)Equipment.
Wherein single virtual equipment is intended for sharing in single server, and single physical PCI virtualization of function is by it
Some Virtual PC I functions, use for the virtual machine in this operating system.It is common by multiple virtual machines in hardware layer by device PCI
Enjoy, improve the utilization rate of resource.
And many virtual equipments can connect multiple root complexs, it is intended for multiserver and shares, it possesses many simultaneously
Individual PCI physical functions, each physical function can fictionalize multiple Virtual PC I functions again.By certain configuration, can be respectively
Virtual work can be distributed to into different physical servers, this mode can be realized to a greater extent to collaborative share.
In many current virtualization systems, there is one or more main control server, be responsible for system I/O device resource
Management, other servers then as dependent server, only using distributing to their I/O equipment(Possibly virtual i/o equipment).
The server and equipment room of many virtualization systems is interconnected by root switch more than.Many root switch can be interconnected by level
Constitute network, the most downstream port of the network can the single virtual equipment of carry, many virtual equipments, standard device PCIs etc.
Endpoint device.Main control server realizes carry equipment by the configuration to many virtualization switch(Including physical function and
Virtual work energy)Distribution between dependent server.But this distribution belongs to static allocation, that is, distribute only in associated server again
Come into force after startup, this mode has interrupted the normal operation of application program.
To sum up, many current virtualization systems are needed badly and realize a kind of online I/O function assigning methods, and feelings are not shut down in realization
I/O virtualization of function hot plugs under condition.Specifically, i.e.,:After main control server is to the configuration of many root switch, it is right to notify
The dependent server answered, dependent server can realize correspondence I/O functions in the case where not restarting in its operating system
Discovery and resource allocation.
The content of the invention
In order to solve the above problems, it is an object of the invention to provide a kind of towards many virtualization systems, support I/O
The virtual hot plug system and its method of work of the support I/O function dynamically distributes of function dynamically distributes, wherein I/O functions are referred to
PCI(Including PCI, PCIx, PCIe)The virtual work energy of endpoint device or physical function, the void of support I/O function dynamically distributes
Intend hot plug system in the case of server is not shut down to realize dynamically distributes of the I/O functions between physical server or return
Receive, and be not related to the modification to traditional many root switch internal structures, you can with compatible existed system.For brevity, this
The I/O functions of bright middle appearance, without specified otherwise in the case of, refer to the virtual work energy or physical function in PCI endpoint devices.
For achieving the above object, the virtual hot plug system of support I/O function dynamically distributes proposed by the invention, which is special
Levy and be, the system includes:
Many root switch, are connected with I/O endpoint devices, main control server, virtual hot plug controller, dependent server;
The I/O endpoint devices, with I/O functions;
The main control server, including many root switch control modules and virtual hot plug controller control module, this many
Switch control module is used for configuring many root switch, and the I/O functions is inserted or removed the PCI layers of the dependent server
Secondary structure, the virtual hot plug controller control module carry out I/O function distributions for sending to the virtual hot plug controller
Or the order reclaimed;
The virtual hot plug controller, for receiving the order, and to the dependent server send I/O functions distribution or
The notice of recovery;
The dependent server, including virtual hot plug drive module, the virtual hot plug drive module is used for recognizing that this leads to
Know, and be responsible for the I/O functions and distribute or Resource recovery in the operating system of the dependent server.
The virtual hot plug system of the support I/O function dynamically distributes of the present invention, it is characterised in that
The virtual hot plug controller is made up of multiple virtual hot plugs void function device and control logic, wherein, should
Virtual hot plug void function device is the PCI virtual work energy of the virtual hot plug controller itself, and each PCI virtual works energy can be only
It is vertical to distribute to the main control server and the dependent server, also include in each virtual hot plug void function device one it is empty
Intend hot plug sign register, the control logic is used for parsing and performing the order that the main control server sends, and with the subordinate
Server communication, the virtual hot plug controller by by virtual hot plug void function device distribute to the main control server and
The dependent server, is shared the virtual hot plug controller.
The virtual hot plug system of the support I/O function dynamically distributes of the present invention, it is characterised in that
The virtual hot plug drive module can be configured to poll pattern and interrupt mode, if being configured to poll pattern,
Then the virtual hot plug drive module inquire about at set intervals once to should dependent server virtual hot plug virtual work energy
The virtual hot plug defined in equipment indicates register, judges to carry out the distribution of I/O functions according to the value of the register
Or reclaim;If being configured to interrupt mode, judged to carry out the distribution or recovery of I/O functions according to interrupting value.
The invention further relates to a kind of method of work of the virtual hot plug system for supporting I/O function dynamically distributes, its feature
It is that the method for work includes system initialization method and system method of work, and the wherein system initialization method includes following
Step:
Step S310, starts the main control server, run on the main control server many root switch control modules and
The virtual hot plug controller control module,
Step S320, many root switch control modules are configured to many root switch, and according to the letter for being configured
The virtual hot plug void function device in the virtual hot plug controller is distributed to the main control server and the subordinate takes by breath
Business device,
Step S330, starts the dependent server, loads the virtual hot plug drive module on the dependent server;
The system method of work comprises the following steps:
Step S410, the virtual hot plug controller control module notify that the virtual hot plug controller carries out I/O functions
Distribution is reclaimed, and many root switch control modules are configured to many root switch, by I/O functions that are to be allocated or reclaiming
Insert or remove the PCI hierarchical structures of the dependent server;
Step S420, the virtual hot plug controller notify the dependent server, and the virtual hot plug drive module passes through
Option and installment in the operating system of the dependent server distributes or reclaim for the I/O functions into poll pattern or interrupt mode
Resource.
The method of work of the virtual hot plug system of the support I/O function dynamically distributes of the present invention, it is characterised in that in step
In rapid S420, if the virtual hot plug drive module option and installment performs following steps into the poll pattern:
Step S430, virtual hot plug drive module timing inquire about in the virtual hot plug controller to should subordinate
The virtual hot plug sign register of server, judges to carry out virtual thermal insertion according to the value of the virtual hot plug sign register
Or virtual thermal is extracted, if carrying out virtual thermal insertion, is inquired the numbering of I/O functions to be allocated, is then the I/O to be allocated
Function distributes corresponding memory headroom in an operating system, adds it in list of devices, and load driver is used;Such as
Fruit carries out the virtual thermal and extracts, then inquire the numbering of I/O functions to be recycled, then stop using this to treat I/O functions, unload the I/
The driver of O functions, discharges memory headroom in an operating system, completes the recovery of the I/O functions.
The method of work of the virtual hot plug system of the support I/O function dynamically distributes of the present invention, it is characterised in that in step
In rapid S420, if the virtual hot plug drive module option and installment performs following steps into the interrupt mode:
Step S440, when the virtual hot plug drive module receives the virtual hot plug that the virtual hot plug controller sends
Interrupt, judge that carrying out virtual thermal insertion or virtual thermal extracts according to the interrupting value of the interruption, if carrying out virtual thermal insertion,
The numbering of I/O functions to be allocated is inquired, then distributes corresponding memory headroom in an operating system for the I/O functions to be allocated,
Add it in list of devices;If carrying out virtual thermal to extract, the numbering of I/O functions to be recycled is inquired, then stop making
With the I/O functions, its driver is unloaded, discharge memory headroom in an operating system, complete the recovery of the I/O functions.
The method of work of the virtual hot plug system of the support I/O function dynamically distributes of the present invention, it is characterised in that the I/
The method of O function distributions includes:
Step S510, it is identical pattern to configure the virtual hot plug controller and the virtual hot plug drive module;
Step S520, the virtual hot plug controller control module in the main control server are controlled to the virtual hot plug
Device sends the order of the I/O function distributions;
Step S530, the virtual hot plug controller are judged to order, and carry out parsing execution to order, according to matching somebody with somebody
Put the pattern notification dependent server;
Step S540, the concrete letter of the notified backward virtual hot plug controller querying command of the dependent server
Breath;
Step S550, the virtual hot plug drive module in the dependent server are the I/O function distribution operating systems
Resource;
Step S560 is the newly assigned I/O functions load driver or distributes to virtual machine use.
The method of work of the virtual hot plug system of the support I/O function dynamically distributes of the present invention, it is characterised in that the I/
The recoverable method of O work(includes:
Step S610, it is identical pattern to configure the virtual hot plug controller and the virtual hot plug drive module;
Step S620, the virtual hot plug controller control module in the main control server are controlled to the virtual hot plug
Device sends the recoverable order of I/O work(;
Step S630, the virtual hot plug controller carry out validity judgement and carry out parsing execution to order to order,
The dependent server is notified according to configuration mode;
Step S640, the concrete letter of the notified backward virtual hot plug controller querying command of the dependent server
Breath;
Step S650, the drive of the corresponding I/O functions of virtual hot plug drive module unloading in the dependent server
Dynamic program, and stop the operation of the I/O functions, its resource occupied in the dependent server operating system is discharged, after the completion of
Notify that the virtual hot plug controller resource release is finished;
The information for completing is notified the main control server by step S660, the virtual hot plug controller, many root switch
Control module is reconfigured to many root switch.
Therefore, in the present invention, after the completion of main control server is to the configuration of many root switch, corresponding subordinate clothes can be notified
Business device, dependent server in the case where not restarting, can realize discovery and the money of correspondence I/O functions in its operating system
Source is distributed, i.e., the present invention can realize the distribution and recovery of online I/O functions, in the case of realizing not shutting down realizes I/O functions
Virtual hot plug.
Description of the drawings
Fig. 1 is the schematic diagram of the virtual hot plug system of the embodiment of the present invention;
Fig. 2 is the virtual hot plug controller schematic diagram of the embodiment of the present invention;
Fig. 3 is the system initialization method flow chart of the embodiment of the present invention;
Fig. 4 is the system flow chart of work methods of the embodiment of the present invention;
Fig. 5 is the I/O function dynamic allocation method flow charts of the embodiment of the present invention;
Fig. 6 is the I/O functions dynamic recovery method flow chart of the embodiment of the present invention.
Description of reference numerals
110:Main control server;
120:Dependent server;
130:Virtual hot plug drive module;
140:Many root switch control modules;
150:Virtual hot plug controller control module;
160:Many root switch;
170:I/O endpoint devices
180:Virtual hot plug controller.
Specific embodiment
The present invention devises one kind towards in many virtualization systems, dynamically distributes, recovery I/O functions between multiserver
Virtual hot plug method and device, and devise corresponding hardware and module to realize this method according to the method.Below
Accompanying drawing will be combined to be described in detail the specific embodiment of the present invention.
In this embodiment, the virtual hot plug system of support I/O function dynamically distributes of the invention is as shown in Figure 1.110
The main control server and 120 dependent servers root switch more than 160 is connected, I/O endpoint devices and 180 virtual hot plug controllers
It is connected to more than 160 on root switch as equipment.Root switch control module and 150 virtual hot plug controllers wherein more than 140
Control module is run on 110 main control servers;130 virtual hot plug drive modules are run in 120 dependent servers.
The 130 virtual hot plug drive modules and 180 virtual hot plug controllers for running on dependent server are interacted,
And be responsible for 120 dependent servers in resource distribution and reclaimer operation, it can be configured to poll and interrupt both of which.If
Poll pattern is configured to, then the virtual hot plug sign that it is inquired about in 180 virtual hot plug controllers at set intervals
Register, judges distribution request or reclaims request according to the value of the register;If being configured to interrupt mode, basis
Interrupting value come judge distribution request or reclaim request.
180 virtual hot plug controllers are the communication bridges of this system, and it is mainly by some virtual hot plug virtual work energy
Equipment and control logic composition, as shown in Fig. 2 the 210 virtual hot plugs void function device in virtual hot plug controller, is
The PCI virtual work energy of virtual hot plug controller itself, each virtual work can be independently allocated to server;Virtual hot plug is controlled
220 control logics in device, the order sent to main control server carry out parsing execution, and interact with dependent server logical
Letter.
Including the method for work of virtual hot plug system, the method includes system initialization method and system method of work.
As shown in figure 3, system initialization method comprises the following steps:
Step S310:Start main control server first, run many root switch control modules and void on main control server
Intend hot-swapping controller control module;
Step S320:Many root switch control modules are configured to many root switch, and according to configuration information, will be virtual
Virtual hot plug void function device in hot-swapping controller is respectively allocated to other dependent servers;
Step S330:Start dependent server, the One function of scanning to virtual hot plug controller, in the affiliated service
Virtual hot plug drive module is loaded on device.
Wherein system method of work comprises the following steps:
Step S410:When having I/O functions to need distribution or reclaim, by the virtual hot plug control for running on main control server
The information such as dependent server number, carry Bus number, function number are write virtual hot plug controller by device control module processed, notify empty
Intending hot-swapping controller carries out the action of function distribution or recovery.Many root switch control modules are entered to many root switch simultaneously
Row configuration, by physical function that is to be allocated or reclaiming or virtual functions, inserts or removes the PCI levels knot of dependent server system
In structure;
Step S420:After virtual hot plug controller receives distribution or reclaims the order of function, corresponding clothes are notified
Business device, if the virtual hot plug drive module run on server obtains the notice in polling mode, jumps to step 530,
If the virtual hot plug drive module run on server obtains the notice in interrupt mode, step 540 is jumped to;
Step S430:Virtual hot plug drive module timing inquiry virtual hot plug controller on to should server void
Intend hot plug indicator register, if detecting virtual hot plug flag bit set, be empty according to the position judgment of flag bit
Intend hot insert action or virtual thermal pull action.If virtual thermal insert action, then virtual hot plug drive module is to void
Intend the numbering that hot-swapping controller inquires I/O functions to be allocated, then distribute for I/O functions to be allocated in an operating system
The resources such as corresponding memory headroom, add it in list of devices, and load driver are used;If virtual thermal is extracted
Action, then virtual hot plug drive module inquire the numbering of I/O functions to be recycled to virtual hot plug controller, then stop
Using I/O functions to be recycled, the resources such as its driver, release memory headroom in an operating system are unloaded, function is completed
Recovery.
Step S440:When virtual hot plug drive module is received in the virtual hot plug that virtual hot plug controller sends
It is disconnected, judge it is virtual thermal insert action or virtual thermal pull action according to interrupting value.It is if virtual thermal insert action, then empty
Intend the numbering that hot plug drive module inquires I/O functions to be allocated to virtual hot plug controller, be then I/O work(to be allocated
The resources such as corresponding memory headroom can be distributed in an operating system, added it in list of devices;If virtual thermal is extracted
Action, then virtual hot plug drive module inquire the numbering of I/O functions to be recycled to virtual hot plug controller, then stop
Using resources such as the I/O functions to be recycled, release memory headrooms in an operating system, the recovery of function is completed.
Due to the distribution of the I/O functions operation different with needs are reclaimed, it is therefore desirable to design different mechanism and side for which
Method, therefore the present invention provides I/O function distributions and the method for reclaiming in step S430 and step S440.Wherein Fig. 5 is illustrated
I/O function dynamically distributes schematic diagrames according to embodiments of the present invention, Fig. 6 illustrate I/O functions according to embodiments of the present invention and move
State reclaims schematic diagram.
As shown in figure 5, the method for the dynamically distributes of the I/O functions of present invention offer includes:
Step S510:Virtual hot plug controller is configured by main control server, it is open close with from polling notifications
Know that middle selection is a kind of, as the mode for notifying dependent server;While virtual hot plug of the configuration operation on dependent server
Drive module is corresponding poll or interrupt mode.
Step S520:Virtual hot plug controller control module in main control server is sent to virtual hot plug controller
The order of I/O function distributions, while many root switch control modules are reconfigured to many root switch, the work(that will distribute
Can increase in the PCI hierarchical structures of correspondence dependent server;
Step S530:Virtual hot plug controller carries out validity judgement to order, and carries out parsing execution, root to order
Dependent server is notified according to configuration mode.
Step S540:The specifying information of the notified backward virtual hot plug controller querying command of dependent server, bag
Include the information such as I/O functions numbering to be allocated.
Step S550:Virtual hot plug drive module in dependent server is I/O function distribution operating-system resources, is wrapped
Memory headroom, interruption etc. is included, so far I/O functions are correctly recognized by operating system.
Step S560:According to different purposes be I/O functions load driver to be allocated or distribute to virtual machine use,
Complete the flow process of whole I/O function distributions.
I/O functions dynamic reclaim mechanism and method be assigned larger difference, as shown in fig. 6, the present invention provide
The method that the dynamic of I/O functions is reclaimed includes:
Step S610:Virtual hot plug controller is configured by main control server, it is open close with from polling notifications
Know that middle selection is a kind of, as the mode for notifying dependent server;While virtual hot plug of the configuration operation on dependent server
Drive module is identical mode.
Step S620:Virtual hot plug controller control module in main control server is sent to virtual hot plug controller
The recoverable order of I/O work(.
Step S630:Virtual hot plug controller carries out validity judgement and carries out parsing execution, root to order to order
Dependent server is notified according to configuration mode.
Step S640:The specifying information of the notified backward virtual hot plug controller querying command of dependent server, bag
Include the information such as I/O functions numbering to be recycled.
Step S650:Virtual hot plug drive module in dependent server can unload the driving mould of corresponding I/O functions
Block, and stop the operation of I/O functions, the resource occupied in release wherein dependent server operating system, after the completion of notify virtual
The release of hot-swapping controller resource is finished.
Step S660:The information for completing is notified that main control server, many root switch control mould by virtual hot plug controller
Block is reconfigured to many root switch, and the I/O functions of recovery are removed from the PCI hierarchical structures of dependent server.
Above be described is carried out by object of server, but the present invention is not only applicable to server system,
And it is suitable for the computer system similar therewith with all.Meanwhile, it will be appreciated by those skilled in the art that for the invention described above institute
The virtual hot plug system of proposition and its method of work can be making various improvement on the basis of without departing from present invention.
Therefore, protection scope of the present invention should be determined by the content of appending claims.
Claims (7)
1. a kind of virtual hot plug system for supporting I/O function dynamically distributes, it is characterised in that the system includes:
Many root switch, are connected with I/O endpoint devices, main control server, virtual hot plug controller, dependent server;
The I/O endpoint devices, with I/O functions;
The main control server, including many root switch control modules and virtual hot plug controller control module, this many exchanges
Machine control module is used for configuring many root switch, and the I/O functions is inserted or removed the PCI levels knot of the dependent server
Structure, the virtual hot plug controller control module for send to the virtual hot plug controller carry out I/O function distributions or return
The order of receipts;
The virtual hot plug controller, for receiving the order, and sends the distribution or recovery of I/O functions to the dependent server
Notice;
The dependent server, including virtual hot plug drive module, the virtual hot plug drive module is used for recognizing the notice, with
And be responsible for the I/O functions and distribute or Resource recovery in the operating system of the dependent server;
Wherein the virtual hot plug controller is made up of multiple virtual hot plugs void function device and control logic, wherein, should
Virtual hot plug void function device is the PCI virtual work energy of the virtual hot plug controller itself, and each PCI virtual works energy can be only
It is vertical to distribute to the main control server and the dependent server, also include in each virtual hot plug void function device one it is empty
Intend hot plug sign register, the control logic is used for parsing and performing the order that the main control server sends, and with the subordinate
Server communication, the virtual hot plug controller by by virtual hot plug void function device distribute to the main control server and
The dependent server, is shared the virtual hot plug controller.
2. the virtual hot plug system of I/O function dynamically distributes is supported as claimed in claim 1, it is characterised in that
The virtual hot plug drive module can be configured to poll pattern and interrupt mode, if being configured to poll pattern, should
Virtual hot plug drive module inquire about at set intervals once to should dependent server virtual hot plug void function device
Defined in the virtual hot plug indicate register, judged to carry out according to the value of the register distribution of I/O functions or
Reclaim;If being configured to interrupt mode, judged to carry out the distribution or recovery of I/O functions according to interrupting value.
3. a kind of method of work of the virtual hot plug system of support I/O function dynamically distributes as claimed in claim 1, which is special
Levy and be, the method for work includes system initialization method and system method of work, under wherein the system initialization method includes
Row step:
Step S310, starts the main control server, runs many root switch control modules and the void on the main control server
Intend hot-swapping controller control module,
Step S320, many root switch control modules are configured to many root switch, and according to the information for being configured, will
The virtual hot plug void function device in the virtual hot plug controller distributes to the main control server and the dependent server,
Step S330, starts the dependent server, loads the virtual hot plug drive module on the dependent server;
The system method of work comprises the following steps:
Step S410, the virtual hot plug controller control module notify that the virtual hot plug controller carries out I/O function distributions
Or reclaim, many root switch control modules are configured to many root switch, and I/O functions that are to be allocated or reclaiming are inserted
Or remove the PCI hierarchical structures of the dependent server;
Step S420, the virtual hot plug controller notify the dependent server, and the virtual hot plug drive module is by selecting
It is configured to poll pattern or interrupt mode is distributed in the operating system of the dependent server for the I/O functions or reclaims money
Source.
4. support that the method for work of the virtual hot plug system of I/O function dynamically distributes, its feature exist as claimed in claim 3
In in the step s 420, if the virtual hot plug drive module option and installment performs following steps into the poll pattern:
Step S430, virtual hot plug drive module timing inquire about in the virtual hot plug controller to should affiliated service
According to the value of the virtual hot plug sign register, the virtual hot plug sign register of device, judges that carrying out virtual thermal inserts still
Virtual thermal is extracted, if carrying out virtual thermal insertion, inquires the numbering of I/O functions to be allocated, is then the I/O functions to be allocated
Distribute corresponding memory headroom in an operating system, add it in list of devices, and load driver is used;If entered
The capable virtual thermal is extracted, then inquire the numbering of I/O functions to be recycled, then stop using the I/O functions, unload the I/O functions
Driver, discharge memory headroom in an operating system, complete the recovery of the I/O functions.
5. support that the method for work of the virtual hot plug system of I/O function dynamically distributes, its feature exist as claimed in claim 3
In in the step s 420, if the virtual hot plug drive module option and installment performs following steps into the interrupt mode:
Step S440, when the virtual hot plug drive module is received in the virtual hot plug that the virtual hot plug controller sends
It is disconnected, judge that carrying out virtual thermal insertion or virtual thermal extracts, if carrying out virtual thermal insertion, askes according to the interrupting value of the interruption
The numbering of I/O functions to be allocated is asked, then distributes corresponding memory headroom in an operating system for the I/O functions to be allocated, will
Which is added in list of devices;If carrying out virtual thermal to extract, the numbering of I/O functions to be recycled is inquired, is then stopped using
The I/O functions, unload its driver, discharge memory headroom in an operating system, complete the recovery of the I/O functions.
6. support that the method for work of the virtual hot plug system of I/O function dynamically distributes, its feature exist as claimed in claim 3
In the method for the I/O function distributions includes:
Step S510, it is identical pattern to configure the virtual hot plug controller and the virtual hot plug drive module;
Step S520, the virtual hot plug controller control module in the main control server are sent out to the virtual hot plug controller
Go out the order of the I/O function distributions;
Step S530, the virtual hot plug controller are judged to order, and carry out parsing execution to order, according to configuration mould
Formula notifies the dependent server;
Step S540, the specifying information of the notified backward virtual hot plug controller querying command of the dependent server;
Step S550, the virtual hot plug drive module in the dependent server are the I/O function distribution operating-system resources;
Step S560 is the newly assigned I/O functions load driver or distributes to virtual machine use.
7. support that the method for work of the virtual hot plug system of I/O function dynamically distributes, its feature exist as claimed in claim 3
In the recoverable method of I/O work(includes:
Step S610, it is identical pattern to configure the virtual hot plug controller and the virtual hot plug drive module;
Step S620, the virtual hot plug controller control module in the main control server are sent out to the virtual hot plug controller
Go out the recoverable order of I/O work(;
Step S630, the virtual hot plug controller carry out validity judgement and carry out parsing execution to order to order, according to
Configuration mode notifies the dependent server;
Step S640, the specifying information of the notified backward virtual hot plug controller querying command of the dependent server;
Step S650, the driving journey of the corresponding I/O functions of virtual hot plug drive module unloading in the dependent server
Sequence, and stop the operation of the I/O functions, discharges its resource occupied in the dependent server operating system, after the completion of notify
The virtual hot plug controller resource release is finished;
The information for completing is notified the main control server by step S660, the virtual hot plug controller, many root switch controls
Module is reconfigured to many root switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310697592.2A CN103701881B (en) | 2013-12-18 | 2013-12-18 | Virtual hotplug system for supporting input/output (I/O) function dynamic distribution and working method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310697592.2A CN103701881B (en) | 2013-12-18 | 2013-12-18 | Virtual hotplug system for supporting input/output (I/O) function dynamic distribution and working method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103701881A CN103701881A (en) | 2014-04-02 |
CN103701881B true CN103701881B (en) | 2017-03-22 |
Family
ID=50363275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310697592.2A Active CN103701881B (en) | 2013-12-18 | 2013-12-18 | Virtual hotplug system for supporting input/output (I/O) function dynamic distribution and working method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103701881B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105208061A (en) * | 2014-06-23 | 2015-12-30 | 惠州市德赛西威汽车电子股份有限公司 | Method for reconnecting vehicular navigation terminal and T-BOX communication module |
KR102308782B1 (en) * | 2014-08-19 | 2021-10-05 | 삼성전자주식회사 | Memory controller, storage device, server virtualization system, and storage device identification in server virtualization system |
CN105204901A (en) * | 2015-09-23 | 2015-12-30 | 浪潮(北京)电子信息产业有限公司 | Hot addition method and device |
TWI616759B (en) * | 2016-08-10 | 2018-03-01 | 創義達科技股份有限公司 | Apparatus assigning controller and apparatus assigning method |
CN108347341A (en) | 2017-01-24 | 2018-07-31 | 华为技术有限公司 | A kind of acceleration capacity method of adjustment and device for adjusting virtual machine acceleration capacity |
CN107247680B (en) * | 2017-06-19 | 2020-08-21 | 苏州浪潮智能科技有限公司 | Multi-user sharing equipment IO card hot insertion method and device |
CN110413554B (en) * | 2018-04-28 | 2021-05-28 | 杭州海康威视数字技术股份有限公司 | Hot plug system and hot plug method |
CN115858440A (en) * | 2022-11-08 | 2023-03-28 | 超聚变数字技术有限公司 | PCIe device management method, device and server |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101625669A (en) * | 2009-08-20 | 2010-01-13 | 上海交通大学 | IEEE1394b data transmission processing system based on FPGA |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080137676A1 (en) * | 2006-12-06 | 2008-06-12 | William T Boyd | Bus/device/function translation within and routing of communications packets in a pci switched-fabric in a multi-host environment environment utilizing a root switch |
US20090089464A1 (en) * | 2007-09-27 | 2009-04-02 | Sun Microsystems, Inc. | Modular i/o virtualization for blade servers |
EP2454676A4 (en) * | 2009-07-17 | 2014-05-21 | Hewlett Packard Development Co | Virtual hot inserting functions in a shared i/o environment |
CN102023940B (en) * | 2009-09-16 | 2013-07-10 | 研祥智能科技股份有限公司 | CPCI (compact peripheral component interconnection) hot swapping system |
CN102609344A (en) * | 2012-02-16 | 2012-07-25 | 杭州海康威视数字技术股份有限公司 | Method and device for detecting hot plug subboards of multi-subboard PCI-E (peripheral component interconnect express) system |
CN102707991B (en) * | 2012-05-17 | 2016-03-30 | 中国科学院计算技术研究所 | The many virtual shared method and systems of I/O |
CN102722414B (en) * | 2012-05-22 | 2014-04-02 | 中国科学院计算技术研究所 | Input/output (I/O) resource management method for multi-root I/O virtualization sharing system |
CN102819447B (en) * | 2012-05-29 | 2015-06-03 | 中国科学院计算技术研究所 | Direct I/O virtualization method and device used for multi-root sharing system |
-
2013
- 2013-12-18 CN CN201310697592.2A patent/CN103701881B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101625669A (en) * | 2009-08-20 | 2010-01-13 | 上海交通大学 | IEEE1394b data transmission processing system based on FPGA |
Also Published As
Publication number | Publication date |
---|---|
CN103701881A (en) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103701881B (en) | Virtual hotplug system for supporting input/output (I/O) function dynamic distribution and working method thereof | |
CN102722414B (en) | Input/output (I/O) resource management method for multi-root I/O virtualization sharing system | |
CN100549964C (en) | Messaging device, Interrupt Process control method | |
CN101436165B (en) | System and method for management of an IOV adapter | |
CN101226515B (en) | Method and apparatus for distributing resource of hot-plug bus interface | |
JP4934642B2 (en) | Computer system | |
CN104021047B (en) | Virtual function distribution system, method and management host thereof | |
US20070300223A1 (en) | Virtual machine system and method for switching hardware devices thereof | |
CN110113184B (en) | KVM virtual machine network optimization method and device under SR-IOV environment | |
CN102053869B (en) | Resource allocation method and device for multi-operation system | |
CN105718408A (en) | Hot-pluggable computing system, computer-implemented method and system | |
TW201015289A (en) | Coordinated link power management | |
CN101739287A (en) | Device, system and method for managing virtual machines | |
CN105847053B (en) | The method and system that more network interface card multisegments are arbitrarily bound are set automatically under LINUX system | |
EP2704009B1 (en) | Information processing apparatus, information processing method, and program | |
CN104615572A (en) | Hot-plug processing system and method | |
TWI598740B (en) | Apparatus allocating controller and apparatus allocating method | |
CN109471660A (en) | Docking station device, electronic device and MAC address clone method | |
CN110399217A (en) | A kind of memory source distribution method, device and equipment | |
CN100416527C (en) | Partition allocation method and computer system | |
CN115904520A (en) | Configuration storage method based on PCIE topological state change and related equipment | |
CN110968352A (en) | PCIE equipment resetting system and server system | |
CN101960435B (en) | Method and apparatus for performing a host enumeration process | |
KR101239290B1 (en) | A system and method for setting virtual machines in a virtual server supporting zero clients | |
CN103188099B (en) | A kind of backup method of multi-application system, Apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |