Edit a VM

Perform this task to reconfigure the VM with software and hardware options.

Restrictions and guidelines

  1. Shut down the VM without powering it off.

  1. Delete the disk on the VM editing page.

  1. Add a disk with the desired bus type.

  1. Select the disk file (block device) of the deleted disk.

  1. Start the VM.

Procedure

  1. On the top navigation bar, click Resources.

  1. From the left navigation pane, select Compute > Host Pool Name > Cluster Name > Host Name > VM Name or Compute > Host Pool Name > Host Name > VM Name.

  1. Click Edit.

  1. Click the tabs to edit the settings of the VM.

Click Apply after you edit the settings on a tab.

  1. To add hardware facilities for the VM, click Add Hardware.

  1. To delete a hardware facility for the VM, select the hardware facility from the left tab tree, click Delete Hardware, and then click OK in the dialog box that opens.

Parameters

x86 hosts

Basic settings

CPU settings

Memory settings

Disk settings

The storage format of an encrypted disk cannot be changed. The disk format of an unencrypted disk cannot be changed to encrypted. To encrypt an unencrypted disk, remove and add the disk again, set the disk format to encrypted, and configure the encryption method and key.

 

To edit this parameter, you must first shut down the VM.

Network settings

 

You can edit the default action of a virtual firewall only when both allowlist and denylist rules are configured for the virtual firewall.

 

SR-IOV passthrough NICs

Other settings

The VM anti-virus settings depend on the anti-virus settings of CVM For more information, see "Configure the anti-virus service."

Hardware settings

As a best practice to ensure the startup of a VM, follow these restrictions when you add PCI devices for a VM:

Configure the following parameters to add a PCI device:

A GPU device acts a CPU to process images so that the CPU can perform other tasks.

ARM hosts

Basic settings

CPU settings

Memory settings

Disk settings

Network settings

 

You can edit the default action of a virtual firewall only when both allowlist and denylist rules are configured for the virtual firewall.

 

SR-IOV passthrough NICs

Other settings

Hardware settings

As a best practice to ensure the startup of a VM, follow these restrictions when you add PCI devices for a VM:

Configure the following parameters to add a PCI device: