US 12,443,431 B2
Method and apparatus for creating virtual machines based on an authentication request from a user
Tiesheng Liu, Shenzhen (CN); and Yanjie Guan, Gui'an (CN)
Assigned to HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD., Guizhou (CN)
Filed by Huawei Cloud Computing Technologies Co., Ltd., Guizhou (CN)
Filed on Apr. 3, 2024, as Appl. No. 18/625,580.
Application 18/625,580 is a continuation of application No. 17/026,767, filed on Sep. 21, 2020, granted, now 11,960,915.
Application 17/026,767 is a continuation of application No. PCT/CN2019/078813, filed on Mar. 20, 2019.
Claims priority of application No. 201810241274.8 (CN), filed on Mar. 22, 2018.
Prior Publication US 2024/0272930 A1, Aug. 15, 2024
Int. Cl. G06F 9/455 (2018.01); G06F 9/50 (2006.01)
CPC G06F 9/45558 (2013.01) [G06F 9/5027 (2013.01); G06F 9/5077 (2013.01); G06F 2009/45562 (2013.01); G06F 2009/45595 (2013.01); G06F 2209/5011 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for configuring a virtual machine and comprising:
receiving a virtual machine configuration request comprising a quantity of virtual network interface cards of a virtual machine to be created and location information of the virtual network interface cards, wherein the location information specifies target physical network interface cards among physical network interface cards to create target virtual network interface cards, wherein the target physical network interface cards comprise a first physical network interface card and a second physical network interface card, wherein the target virtual network interface cards comprise a first virtual network interface card, a second virtual network interface card, and a third virtual network interface card, wherein the first virtual network interface card is based on the first physical network interface card that supports single-root input/output virtualization (SR-IOV) technology, wherein the second virtual network interface card and the third virtual network interface card are based on the second physical network interface card that supports the SR-IOV technology;
obtaining image information for creating the virtual machine;
creating the virtual machine based on the virtual machine configuration request and the image information, wherein the first virtual network interface card, the second virtual network interface card, and the third virtual network interface card are occupied by the virtual machine, wherein the first virtual network interface card, the second virtual network interface card, and the third virtual network interface card are used by an upper-layer service that runs on the virtual machine; and
returning a virtual machine creation result to the user.