diff --git a/src/VGA Passthrough/VGA Passthrough (Manjaro)/Scripts/Backup/grub b/src/VGA Passthrough/VGA Passthrough (Manjaro)/Scripts/Backup/grub new file mode 100644 index 0000000..dbaccce --- /dev/null +++ b/src/VGA Passthrough/VGA Passthrough (Manjaro)/Scripts/Backup/grub @@ -0,0 +1,52 @@ +GRUB_DEFAULT=saved +GRUB_TIMEOUT=10 +GRUB_TIMEOUT_STYLE=menu +GRUB_DISTRIBUTOR="Manjaro" +GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on rd.driver.pre=vfio-pci kvm.ignore_msrs=1 udev.log_priority=3" +GRUB_CMDLINE_LINUX="" + +# If you want to enable the save default function, uncomment the following +# line, and set GRUB_DEFAULT to saved. +GRUB_SAVEDEFAULT=true + +# Preload both GPT and MBR modules so that they are not missed +GRUB_PRELOAD_MODULES="part_gpt part_msdos" + +# Uncomment to enable booting from LUKS encrypted devices +#GRUB_ENABLE_CRYPTODISK=y + +# Uncomment to use basic console +GRUB_TERMINAL_INPUT=console + +# Uncomment to disable graphical terminal +#GRUB_TERMINAL_OUTPUT=console + +# The resolution used on graphical terminal +# note that you can use only modes which your graphic card supports via VBE +# you can see them in real GRUB with the command 'videoinfo' +GRUB_GFXMODE=auto + +# Uncomment to allow the kernel use the same resolution used by grub +GRUB_GFXPAYLOAD_LINUX=keep + +# Uncomment if you want GRUB to pass to the Linux kernel the old parameter +# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" +#GRUB_DISABLE_LINUX_UUID=true + +# Uncomment to disable generation of recovery mode menu entries +GRUB_DISABLE_RECOVERY=true + +# Uncomment and set to the desired menu colors. Used by normal and wallpaper +# modes only. Entries specified as foreground/background. +GRUB_COLOR_NORMAL="light-gray/black" +GRUB_COLOR_HIGHLIGHT="green/black" + +# Uncomment one of them for the gfx desired, a image background or a gfxtheme +#GRUB_BACKGROUND="/usr/share/grub/background.png" +GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt" + +# Uncomment to get a beep at GRUB start +#GRUB_INIT_TUNE="480 440 1" + +# Uncomment this option to enable os-prober execution in the grub-mkconfig command +GRUB_DISABLE_OS_PROBER=false diff --git a/src/VGA Passthrough/VGA Passthrough (Manjaro)/Scripts/Backup/mkinitcpio.conf b/src/VGA Passthrough/VGA Passthrough (Manjaro)/Scripts/Backup/mkinitcpio.conf new file mode 100644 index 0000000..a024483 --- /dev/null +++ b/src/VGA Passthrough/VGA Passthrough (Manjaro)/Scripts/Backup/mkinitcpio.conf @@ -0,0 +1,66 @@ +# vim:set ft=sh +# MODULES +# The following modules are loaded before any boot hooks are +# run. Advanced users may wish to specify all system modules +# in this array. For instance: +# MODULES=(piix ide_disk reiserfs) +MODULES=(vfio_pci vfio vfio_iommu_type1 vfio_virqfd) + +# BINARIES +# This setting includes any additional binaries a given user may +# wish into the CPIO image. This is run last, so it may be used to +# override the actual binaries included by a given hook +# BINARIES are dependency parsed, so you may safely ignore libraries +BINARIES=() + +# FILES +# This setting is similar to BINARIES above, however, files are added +# as-is and are not parsed in any way. This is useful for config files. +FILES=(/usr/bin/vfio-pci-override.sh) + +# HOOKS +# This is the most important setting in this file. The HOOKS control the +# modules and scripts added to the image, and what happens at boot time. +# Order is important, and it is recommended that you do not change the +# order in which HOOKS are added. Run 'mkinitcpio -H ' for +# help on a given hook. +# 'base' is _required_ unless you know precisely what you are doing. +# 'udev' is _required_ in order to automatically load modules +# 'filesystems' is _required_ unless you specify your fs modules in MODULES +# Examples: +## This setup specifies all modules in the MODULES setting above. +## No raid, lvm2, or encrypted root is needed. +# HOOKS=(base) +# +## This setup will autodetect all modules for your system and should +## work as a sane default +# HOOKS=(base udev autodetect block filesystems) +# +## This setup will generate a 'full' image which supports most systems. +## No autodetection is done. +# HOOKS=(base udev block filesystems) +# +## This setup assembles a pata mdadm array with an encrypted root FS. +## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. +# HOOKS=(base udev block mdadm encrypt filesystems) +# +## This setup loads an lvm2 volume group on a usb device. +# HOOKS=(base udev block lvm2 filesystems) +# +## NOTE: If you have /usr on a separate partition, you MUST include the +# usr, fsck and shutdown hooks. +HOOKS=(base vfio udev autodetect modconf block filesystems keyboard) + +# COMPRESSION +# Use this to compress the initramfs image. By default, gzip compression +# is used. Use 'cat' to create an uncompressed image. +#COMPRESSION="gzip" +#COMPRESSION="bzip2" +#COMPRESSION="lzma" +#COMPRESSION="xz" +#COMPRESSION="lzop" +#COMPRESSION="lz4" + +# COMPRESSION_OPTIONS +# Additional options for the compressor +#COMPRESSION_OPTIONS=() diff --git a/src/VGA Passthrough/VGA Passthrough (Manjaro)/Scripts/uninstall.sh b/src/VGA Passthrough/VGA Passthrough (Manjaro)/Scripts/uninstall.sh old mode 100644 new mode 100755 diff --git a/src/VGA Passthrough/VGA Passthrough (Manjaro)/conf-example.xml b/src/VGA Passthrough/VGA Passthrough (Manjaro)/conf-example.xml deleted file mode 100644 index a6b4480..0000000 --- a/src/VGA Passthrough/VGA Passthrough (Manjaro)/conf-example.xml +++ /dev/null @@ -1,159 +0,0 @@ - - win10-default - c9c4e928-cbdc-465e-b6a0-322ffd502c50 - - - - - - 8388608 - 8388608 - 8 - - hvm - /usr/share/edk2-ovmf/x64/OVMF_CODE.fd - /var/lib/libvirt/qemu/nvram/win10-default_VARS.fd - - - - - - - - - - - - - - - - - - - - - - - - - - - destroy - restart - destroy - - - - - - /usr/bin/qemu-system-x86_64 - - - - -
- - -
- - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - -
- - - - -
- - - - -
- - - - - - -
- - - - - - - - - - - -
- -
- - - -
- -
- - -
- - - - 32 -
- - - - - - - - - - - diff --git a/src/VGA Passthrough/VGA Passthrough (Manjaro)/virsh-conf-example.xml b/src/VGA Passthrough/VGA Passthrough (Manjaro)/virsh-conf-example.xml new file mode 100644 index 0000000..8125cc6 --- /dev/null +++ b/src/VGA Passthrough/VGA Passthrough (Manjaro)/virsh-conf-example.xml @@ -0,0 +1,107 @@ + + win10 + 3794ed5b-2121-4915-ae0f-74fb62b1cb0a + + + + + + 8388608 + 8388608 + 8 + + hvm + /usr/share/edk2-ovmf/x64/OVMF_CODE.fd + /var/lib/libvirt/qemu/nvram/win10_VARS.fd + + + + + + + + + + + + + + + + + + + + + + + + + destroy + restart + destroy + + + + + + /usr/bin/qemu-system-x86_64 + + + + + +
+ + +
+ + + +
+ + +
+ + +
+ + + + + +
+ + + +
+ + + + + + + + +
+ + + + +
+ +
+ + + +
+ +
+ + +
+ + +