Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Quick KVM prep with PopOS 20.04
- ASUS X399
- 64GB
- AMD Treadripper 1650x
- sudo dmesg | grep AMD-Vi
- [ 0.500525] AMD-Vi: Interrupt remapping enabled
- [ 0.500525] AMD-Vi: Virtual APIC enabled
- [ 0.500688] AMD-Vi: Lazy IO/TLB flushing enable
- motherboard BIOSes can be buggy. The virtualization was enabled in my BIOS, but I had to turn it ON and OFF
- to get it to work again. Very rare, I'm not sure what caused it. So always check before proceeding.
- PopOS doesn't use the standard /etc/grub file arg entries
- so the following enabled
- kernelstub -a amd_iommu=on OR intel_iommu
- kernelstub video=vesafb:off,efifb:off (Only for)
- /etc/modules-load.d
- vfio-pci.conf
- vfio-pci
- /etc/modprobe.d
- blacklist.conf
- blacklist snd_hda_intel
- blacklist nouveau
- blacklist amdgpu
- vfio.conf
- options vfio-pci ids=10de:1c82,10de:0fb9,1002:67ff,1002:aae0,10de:1e87,10de:10f8,10de:1ad8,10de:1ad9
- sudo update-initramfs -uv (reboot after)
- # The Device Numers Obtained from
- # lspci -nnk | grep -E "1050|2080|560"
- (Showing only first output for AMD rx 560 the info can be obtained from first line towards the end)
- 09:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
- Subsystem: eVga.com. Corp. GP107 [GeForce GTX 1050 Ti] [3842:6253]
- ----------------------------------------------------------------------------------------------------------------------
- PLEASE KEEP YOUR KVM stuff. Linux is stable in general, but quirks do happen.
- So I highly recommend - if using disk images, a separate partition.
- I passthrough my Win10 physical disk, without issues. I can boot back into baremetal Win10 and back to Qemu Win10
- with NO issues.
- Shortcomings. Make sure USB Power Management in the guest is enabled.
- Video Power Management (ie Time to turn off screen) OFF. If possible, make sure to cleanly close your guest (aka powerdown from host)
- Cool Things. I have 16 cores and I run all 3 VMs with 16 cores simultaneously. Its not CRAZY, its meant for this
- and it works well. Can two separate VM users game, yes and it is just as smooth as bare-metal.
- ----------------------------------------------------------------------------------------------------------------------
Add Comment
Please, Sign In to add comment