Abstract:
A resource configuration method of a virtual machine and a communications device. When an actual requirement of the virtual machine for the network resource is dynamically changed, the communications device may dynamically configure a communication manner corresponding to the virtual machine such that a virtual machine with a relatively low requirement for the network resource may use the manner of sharing the physical network interface card, and a virtual machine with a relatively high requirement for the network resource may use the pass-through manner, which does not cause a situation in which network resources of some virtual machines are wasted and network resources of some virtual machines are insufficient. As a result, network resources of virtual machines are properly allocated.
Abstract:
A virtual switching method, a related apparatus, and a computer system are provided. The method includes receiving a first message sent by a source node, where the first message is used to request a first virtual machine to perform switching processing on to-be-switched data, where the to-be-switched data is sent from the source node to a target node and at least one of the source node and the target node is a second virtual machine; and determining a second message according to an address of the target node contained in the to-be-switched data and a configured port mapping table, and sending the second message, where the second message is used to instruct the target node to acquire the to-be-switched data from a storage device of a hardware layer.
Abstract:
A virtual switching method, a related apparatus, and a computer system are provided. The method includes the Host configures virtual environment between a source node and a target node in combination with an agent module, receiving a first message sent by a source node, where the first message is used to request a first virtual machine to perform switching processing on to-be-switched data, where the to-be-switched data is sent from the source node to a target node and at least one of the source node and the target node is a second virtual machine; and determining a second message according to an address of the target node contained in the to-be-switched data and a configured port mapping table, and sending the second message, where the second message is used to instruct the target node to acquire the to-be-switched data from a storage device of a hardware layer.
Abstract:
A virtual switching method, a related apparatus, and a computer system are provided. The method includes the Host configures virtual environment between a source node and a target node in combination with an agent module, receiving a first message sent by a source node, where the first message is used to request a first virtual machine to perform switching processing on to-be-switched data, where the to-be-switched data is sent from the source node to a target node and at least one of the source node and the target node is a second virtual machine; and determining a second message according to an address of the target node contained in the to-be-switched data and a configured port mapping table, and sending the second message, where the second message is used to instruct the target node to acquire the to-be-switched data from a storage device of a hardware layer.
Abstract:
A virtual switching method, a related apparatus, and a computer system are provided. The method includes receiving a first message sent by a source node, where the first message is used to request a first virtual machine to perform switching processing on to-be-switched data, where the to-be-switched data is sent from the source node to a target node and at least one of the source node and the target node is a second virtual machine; and determining a second message according to an address of the target node contained in the to-be-switched data and a configured port mapping table, and sending the second message, where the second message is used to instruct the target node to acquire the to-be-switched data from a storage device of a hardware layer.
Abstract:
A resource configuration method of a virtual machine and a communications device. When an actual requirement of the virtual machine for the network resource is dynamically changed, the communications device may dynamically configure a communication manner corresponding to the virtual machine such that a virtual machine with a relatively low requirement for the network resource may use the manner of sharing the physical network interface card, and a virtual machine with a relatively high requirement for the network resource may use the pass-through manner, which does not cause a situation in which network resources of some virtual machines are wasted and network resources of some virtual machines are insufficient. As a result, network resources of virtual machines are properly allocated.