Назначение ядер для процессоров гостевой системы

08.11.2019 / 0 comments

Простой вариант: <domain type=’kvm’> … <vcpu placement=’static’ cpuset=’14-21′>8</vcpu> … </domain> В результате получается так: root@host5:~# virsh vcpupin guest12 VCPU CPU Affinity ———————- 0 14-21 1 14-21 2 14-21 3 14-21 4 14-21 5 14-21 6 14-21 7 14-21 root@host5:~#   Крутой вариант: <domain type=’kvm’> … <vcpu placement=’static’ cpuset=’14-21′>8</vcpu> <cputune> <vcpupin vcpu=’0′ cpuset=’14’/> <vcpupin vcpu=’1′ cpuset=’15’/>…

Read more →

Debian KVM

05.09.2015 / 0 comments

# apt-get install libvirt-bin qemu-kvm virtinst bridge-utils # cat /etc/network/interfaces auto lo iface lo inet loopback allow-hotplug eth0 auto eth0 iface eth0 inet manual auto br0 iface br0 inet static address 192.168.0.4 netmask 255.255.255.0 gateway 192.168.0.1 bridge_ports eth0 bridge_stp off bridge_fd 0 bridge_maxwait 0 # qemu-img create -f qcow2 guest0.img 150G # virt-install -r 2048…

Read more →