From 1cbdf0b08a9356fd7942e0ddbd69d925293bd4a3 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 25 Jun 2022 11:39:12 +0200 Subject: [PATCH] (Grav GitSync) Automatic Commit from RealStickman --- pages/04.other/09.vmware/default.en.md | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pages/04.other/09.vmware/default.en.md diff --git a/pages/04.other/09.vmware/default.en.md b/pages/04.other/09.vmware/default.en.md new file mode 100644 index 0000000..8e6a56d --- /dev/null +++ b/pages/04.other/09.vmware/default.en.md @@ -0,0 +1,35 @@ +--- +title: VMware +--- + +[toc] +## Host +### Networking for nested VMs +To pass through the network connection to nested VMs, the first VM has to put the network adapter into promiscuous mode. +By default only root is allowed to do that, however the permissions can also be granted to others. + +Grant permission to group: +``` +# chgpr (group) /dev/vmnetX +# chmod g+rw /dev/vmnetX +``` + +Grant permission to everyone: +`# chmod a+rw /dev/vmnetX` + +### Allow nested VMs +Enable the following two settings under "Processor" in the settings of the VM. +`Virtualize Intel VT-x/EPT or AMD-V/RVI` +`Virtualize CPU performance counters` + +### Fix MSRS bug on Ryzen CPUs +Add `kvm.ignore_msrs=1` in `/etc/default/grub` to `GRUB_CMDLINE_LINUX_DEFAULT=` +Update the Grub configuration +`# grub-mkconfig -o /boot/grub/grub.cfg` + +## Guest +### VMWare Tools +**Debian** +`# apt install open-vm-tools` +**Arch** +`# pacman -S open-vm-tools` \ No newline at end of file