Set Vcpu-Pool; Set Vcpupin Vm - H3C MSR 810 Command Reference Manual

Hide thumbs Also See for MSR 810:
Table of Contents

Advertisement

Examples
# Assign the VF interface on VF 0 of PF 0 to VLAN 20.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] set sriov pf 0 vf 0 vlan 20

set vcpu-pool

Use
set vcpu-pool
Syntax
set vcpu-pool vcpu-number
Views
System view
Predefined user roles
network-admin
Parameters
vcpu-number
depends on the number of CPU cores on the device.
Usage guidelines
After you modify the number of CPU cores allocated to the VM plane, you must reallocate vCPUs to
VMs and bind vCPUs to physical CPUs. For the reallocation and binding to take effect on a VM, you
must restart the VM.
For this command to take effect, you must save the configuration and reboot the device.
Examples
# Allocate two CPU cores to the VM plane.
<Sysname> system-view
[Sysname] set vcpu-pool 2
VCPU pool changed, please reconfig vcpu-pin for each virtual machine and reboot the router.

set vcpupin vm

Use
set vcpupin vm
Syntax
set vcpupin vm vmname vcpuindex vcpuindex cpuindex cpuindex
Views
VMM view
Predefined user roles
network-admin
Parameters
: Specifies a VM by its name. The
vmname
characters.
vcpuindex vcpu-index
display vmcpupin
to set the total number of CPU cores allocated to the VM plane.
: Sets the total number of CPU cores allocated to the VM plane. The number
to bind a vCPU on a VM to a physical CPU on the device.
: Specifies a vCPU by its index. To obtain the vCPU index, use the
command.
argument is a case-sensitive string of 1 to 30
vm-name
26

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents