(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-06-25 11:39:12 +02:00 committed by GitSync
parent 43eaa89344
commit 1cbdf0b08a

View File

@ -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`