vm config:
net0: virtio-vhost-user=66:32:37:61:66:64,bridge=vmbr0,tag=10
numa: 1
hugepages: 1
virtio-vhost-user is userland only, so no tap interface
Numa need to be enabled, and all vm memory is mapped to hugepages
The qemu netdev script/downscript don't work with vhost-user
System configurati
It's used to add vhost-user configuration is ovs from qemu-server,
as we can't use script/downscript like for tap interface
Signed-off-by: Alexandre Derumier
---
src/PVE/Network.pm | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/PVE/Network.pm b/src/PVE/Network
rework of my previous patch
This add a new "hugepages" option, to allow to enable hugepages in a vm.
This is needed by virtio-vhost-user nics
Details of host & vm configuration are in commits
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http
vm configuration
hugepages: 1
host configuration
--
hugepages need to be allocated at boot
for 4GB of 2M hugepages
/etc/default/grub
-
GRUB_CMDLINE_LINUX_DEFAULT="quiet hugepagesz=2M hugepages=2048"
/etc/fstab
--
hugetlbfs /dev/hugepages
The tag is not yet pushed to master, but the package has already
been uploaded to the non-proposed archive at Ubuntu.
The second commit includes a quirk patch taken from the 4.7 tree,
this should fix IOMMU isolation on some skylake machines.
As always, a make download is necessary to get the new
---
...ndard-ACS-vs-device-specific-ACS-enabling.patch | 110 ++
...Quirk-PCH-root-port-ACS-for-Sunrise-Point.patch | 123 +
Makefile | 2 +
3 files changed, 235 insertions(+)
create mode 100644
981-1-PCI-Reverse-sta
drop CVE fixes applied upstream
---
...ption-triggered-by-invalid-USB-descriptor.patch | 138 -
...55-usbip-fix-potential-out-of-bound-write.patch | 45 ---
Makefile | 8 +-
3 files changed, 3 insertions(+), 188 deletions(-)
del