8
Usage guidelines
If you use this command on a running VM, you must restart the VM for the configuration to take effect.
If you use this command on a stopped VM, the configuration takes effect after you start the VM.
To obtain the ID of the PF or VF to be removed, use the
display vminterface command.
Examples
# Remove VF 0 from VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] delete sriov vm centos7 pf 0 vf 0
Related commands
display vminterface
delete vtap vm
Use delete vtap vm to remove a vTap NIC from a VM.
Syntax
delete vtap vm vm-name mac mac-address
Views
VMM view
Predefined user roles
network-admin
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
mac mac-address: Specifies a vTap NIC by its MAC address. The mac-address argument is a
hexadecimal string in the format of xxxx-xxxx-xxxx.
Usage guidelines
If you use this command on a running VM, you must restart the VM for the configuration to take effect.
If you use this command on a stopped VM, the configuration takes effect after you start the VM.
To obtain the MAC address of a vTap NIC to be removed, use the
display vminterface
command.
Examples
# Remove a vTap NIC from VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] delete vtap vm centos7 mac 0010-1110-5872
Related commands
display vminterface
display comware-memory
Use display comware-memory to display the minimum amount of physical memory available for
the Comware system.