install vm-name
install vm-pkg
vmm
Use
to enter virtual machine management (VMM) view from system view.
vmm
Syntax
vmm
Views
System view
Predefined user roles
network-admin
Examples
# Enter VMM view.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm]
vm network-mode
Use
vm network-mode
Syntax
vm network-mode { passthrough | sr-iov }
Default
The SR-IOV share mode is used.
Views
System view
Predefined user roles
network-admin
Parameters
passthrough
physical NIC for communication.
sr-iov
: Specifies the SR-IOV share mode. In this mode, VMs use the VF interfaces of a physical
NIC for communication.
Usage guidelines
For the configuration to take effect, you must save the configuration and reboot the device.
To ensure that VMs can start up after the device reboots, make sure the NIC interfaces added to VMs
are the interfaces required by the configured NIC network mode.
Examples
# Set the physical NIC network mode for VMs to passthrough mode.
<Sysname> system-view
[Sysname] vm network-mode passthrough
to set the physical NIC network mode for VMs.
: Specifies the passthrough mode. In this mode, a VM uses the PF interface of a
32