Skip to content
项目

关于

用于 Linux 虚拟化的自动化脚本

系统与基础设施

这些数字如何统计

实测星标增长

24小时
+1
7天
+3
15天
+6
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

AutoVirt

This project automates complex Linux virtualization tasks.


Instructions

Expand for details...

1. Clone Git repository

git clone --single-branch --depth=1 https://github.com/Scrut1ny/AutoVirt

2. Change directory

cd AutoVirt/

3. Execute

./main.sh
  • Experimental distro support:
EXPERIMENTAL=1 ./main.sh

4. Update repository

  • Make sure you're in the AutoVirt/ root directory when running the command below!
git fetch --all && git reset --hard origin/main

Supported Distros

Distro Status
Arch based Supported
Debian based Experimental
Fedora based Experimental
openSUSE based Experimental

Prerequisites

  • git package
  • Supported Linux distribution
  • UEFI/BIOS Settings:
    • CPU virtualization extensions (VT-x / AMD-V)
    • IOMMU support (VT-d / AMD-Vi)
  • A dGPU for passthrough (recommended)

Troubleshooting

QEMU log

vfio 0000:01:00.0: failed to setup container for group 13: Failed to set group container: Invalid argument

dmesg log

vfio-pci 0000:01:00.0: Firmware has requested this device have a 1:1 IOMMU mapping, rejecting configuring the device without a 1:1 mapping. Contact your platform vendor.
  • Disable Pre-boot DMA Protection (Needed for VFIO)
    • (Change IOMMU from [Auto] to [Enabled] to find hidden setting)

探索相关项目

加载中…