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

Network settings

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

 

SR-IOV passthrough NICs

Other settings

Console

Graphics card settings

Device Model: Select a graphics card model. If the VM OS is Fedora19 or Fedora20, do not select Cirrus, which might cause display error.

Serial port settings

Port Monitoring: Enable or disable the port monitoring feature.

Boot device settings

vNUMA settings

vNUMA: Configure whether to enable vNUMA. If you enable vNUMA, the virtual NUMA node preferentially uses the CPU and memory resources of the same physical NUMA node. If you enable vNUMA, you must make sure the VM is offline and all vCPUs have been bound to physical CPUs. After vNUMA is enabled, you cannot change the CPU quantity, memory size, or hugepages configuration.

Advanced settings

Security Level: Select a secret level for the VM.

Enable Anti-Virus: Enable this feature to prevent the VM from virus attacks. To disable this feature, first shut down the VM.

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

SPICE Client Access Policy

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 firewall action only when both denylist and allowlist firewall rules are configured.

 

Other settings

Console

Graphics card settings

Device Model: Select a graphics card model.

Serial port settings

Port Monitoring: Enable or disable the port monitoring feature.

Boot device 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: