Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for adding disk to virtual machine

A virtual machine and disk technology, applied in program control devices, software simulation/interpretation/simulation, program control design, etc., can solve the problems of inconvenient automation and complicated steps, and achieve the effect of convenient operation

Active Publication Date: 2018-06-12
BEIJING GRIDSUM TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Such a method has complicated steps and is not convenient for automation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for adding disk to virtual machine
  • Method and device for adding disk to virtual machine
  • Method and device for adding disk to virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present invention provide a method and device for adding a disk to a virtual machine, which are used for conveniently adding a disk to the virtual machine.

[0029] figure 1 It is a flow chart of a method for adding a disk to a virtual machine provided by an embodiment of the present invention. This method can be applied to a management device that can add a disk to a virtual machine. The virtual machine can be installed on a physical machine such as a server, and the management device can be Communicate with the physical machine. refer to figure 2 , the method includes:

[0030] Step 101: Obtain the disk space value;

[0031] Step 102: connect to the physical machine, wherein the physical machine is provided with a virtual machine;

[0032] Step 103: Obtain the virtual machine on the physical machine;

[0033] Step 104: When the virtual machine includes a SCSI interface, determine the maximum value of the BUS bus of the SCSI interface of the ph...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and device for adding a disk to a virtual machine. The method and device are used for conveniently adding the disk to the virtual machine. The methodcomprises the steps of acquiring a space value of the disk; connecting a physical machine, wherein the physical machine is provided with the virtual machine; acquiring the virtual machine on the physical machine; when the virtual machine includes an SCSI, determining the maximum value of a BUS of the SCSI of the physical machine; constructing an object of the disk of the virtual machine; a valueobtained by adding one to the maximum value of the BUS and the space value of the disk are added to attributes of the object; the disk is added to the virtual machine according to the object where thevalue is added to the attributes. In this way, the disk can be automatically added to the virtual machine, a user does not need to execute multiple addition steps through the image interface, and convenience is provided for the operation of the user.

Description

technical field [0001] The invention relates to the field of device control, in particular to a method and device for adding a disk to a virtual machine. Background technique [0002] A virtual machine refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. [0003] The existing methods for adding a disk to a virtual machine are all through a graphical interface, requiring the user to perform multiple steps before adding a disk to the virtual machine. Such a method has complicated steps and is inconvenient to realize automation. Contents of the invention [0004] Embodiments of the present invention provide a method and device for adding a disk to a virtual machine, which are used for conveniently adding a disk to the virtual machine. [0005] In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions: ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558
Inventor 王恺
Owner BEIJING GRIDSUM TECH CO LTD