Skip to content

Instantly share code, notes, and snippets.

View Vixtron's full-sized avatar
🦊
idk lol?

Vix Vixtron

🦊
idk lol?
View GitHub Profile
@Vixtron
Vixtron / upload.sh
Created June 8, 2019 14:35
Custom maim uploader
#!/bin/sh
localname="$HOME/Pictures/Screenshots/$(date +%s).png"
maim -s > "$localname"
curl -XPOST 'https://vix.lol/upload.php' -F 'key=' -F "d=@$localname" | xclip -selection clipboard

Hello, this is a detailed tutorial on how to setup a PCI passthrough on a KVM/QEMU virtualmachine, in this tutorial I will be breaking down things and explaining them in detail so you get some basic knowdedge on what you are doing.

So first, I will list the requirements for this; You need at least 1 display cable, I suggest 2 so you can switch between the guest virtual machine display and your host. This is all done on linux, you are expected to have a Vt-x and IOMMU compatible system. IOMMU stands for "Intel Virtualization Technology for Directed I/O" which is a must have for this tutorial. Vt-x stands for intel virtualization technology. Vt-x allows one hardware platform to function as multiple platforms, while Vt-d improves security and reliability of the systems and also improves performance lf I/O devices in virtual machines.

So first of, we must ensure that our CPU supports IOMMU and virtualization technology, I will be covering intel in this video only, however amd is similar. To check if your CPU is

Hello, I'm Vix.

Keybase proof

I hereby claim:

  • I am vixtron on github.
  • I am vix (https://keybase.io/vix) on keybase.
  • I have a public key ASAPnARErHM7TNfWQkD0o-SvhVJlN6GUxu0Mf0SqFRSt9wo

To claim this, I am signing this object: