All Projects → PassthroughPOST → virsh-patcher

PassthroughPOST / virsh-patcher

Licence: BSD-2-Clause License
Utility to apply common patches to libvirtd domain definitions.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to virsh-patcher

vagrant-travisci-libvrt
Example project showing how to run Vagrant on TravisCI using libvrt & KVM
Stars: ✭ 25 (-50.98%)
Mutual labels:  libvirt, kvm-hypervisor
halcyon-vagrant-kubernetes
Vagrant deployment mechanism for halcyon-kubernetes.
Stars: ✭ 12 (-76.47%)
Mutual labels:  libvirt
lightstars
Makes it easier for you to control virtual resource.
Stars: ✭ 14 (-72.55%)
Mutual labels:  libvirt
vga-passthrough
Up to date (2021) reference for setting up a VGA passthrough on (Ubuntu) Linux.
Stars: ✭ 171 (+235.29%)
Mutual labels:  vfio
geecp
Gee Control Panel,全面开源,符合中国市场习惯的企业级产品计费系统。
Stars: ✭ 25 (-50.98%)
Mutual labels:  kvm-hypervisor
libvirt-exporter
Prometheus metrics exporter for libvirt.
Stars: ✭ 52 (+1.96%)
Mutual labels:  libvirt
molecule-libvirt
Molecule LibVirt Provider
Stars: ✭ 35 (-31.37%)
Mutual labels:  libvirt
gpu-passthrough
A GPU passthrough tutorial using libvirt and KVM on GNU/Linux
Stars: ✭ 57 (+11.76%)
Mutual labels:  libvirt
virtnbdbackup
Backup utiliy for Libvirt / qemu / kvm supporting incremental and differencial backups.
Stars: ✭ 62 (+21.57%)
Mutual labels:  libvirt
deploy-vm
Libvirt wrapper to spawn VMs using cloud images
Stars: ✭ 56 (+9.8%)
Mutual labels:  libvirt
wiser
🐎 Extremely minimal vmm for linux written in C. Hopefully someday will spin linux-vm for you.
Stars: ✭ 249 (+388.24%)
Mutual labels:  kvm-hypervisor
yosild
Yosild is a single shell script that builds a full, minimal Linux distribution based on BusyBox.
Stars: ✭ 97 (+90.2%)
Mutual labels:  libvirt
md server
Standalone EC2 metadata server to simplify the user of vendor cloud images with standalone kvm/libvirt
Stars: ✭ 36 (-29.41%)
Mutual labels:  libvirt
libvirt-ocp4-provisioner
Automate your OCP4 installation
Stars: ✭ 82 (+60.78%)
Mutual labels:  libvirt
fast-vm
'fast-vm' is a script for defining VMs from images provided in thin LVM pool.
Stars: ✭ 22 (-56.86%)
Mutual labels:  libvirt
ceph-open-terrarium
ceph-open-terrarium: deploy with terraform-libvirt ceph cluster.. Configure with saltstack or ansible.
Stars: ✭ 18 (-64.71%)
Mutual labels:  libvirt
tp-libvirt
Test Provider for Libvirt and related virtualization backends
Stars: ✭ 30 (-41.18%)
Mutual labels:  libvirt
LEDs-single-gpu-passthrough
Single GPU passthrough guide 单显卡直通教程资源
Stars: ✭ 87 (+70.59%)
Mutual labels:  vfio
make-windows-vm
Automatically create Windows Virtual Machines in Linux KVM
Stars: ✭ 16 (-68.63%)
Mutual labels:  libvirt
kvm-host
A minimalist type 2 hypervisor using Linux Kernel Virtual Machine (KVM)
Stars: ✭ 60 (+17.65%)
Mutual labels:  kvm-hypervisor

Virsh Patcher

Simple utility to apply common changes to libvirtd guests.

Changes will not be applied if the guest is running.

Supported Fixes

  • Error 43 for Nvidia GPUs
  • Hugepages memory backing
  • host-passthrough CPU type.

Installation

Arch Linux

Install virshpatcher from the AUR.

Debian / Ubuntu

sudo apt-get install python-libvirt
sudo pip install -U https://github.com/PassthroughPOST/virsh-patcher/archive/master.zip

Fedora

$ sudo dnf install libvirt-python
$ sudo pip install -U https://github.com/PassthroughPOST/virsh-patcher/archive/master.zip

Other Distributions

The libvirt-python package is a dependency. This can be either installed by you distributions package manager, or via pip. In the latter case, libvirt-dev is required.

Usage

$ virshpatcher --error43 --hugepages --host-passthrough win10-guest
$ virshpatcher --help
usage: virshpatcher [--connect URI] [--error43] [--hugepages]
                    [--host-passthrough] [--patch PATCH] [--help]
                    [--vendor-id ab1234567890] [--random-vendor-id]
                    [DOMAIN [DOMAIN ...]]

libvirtd xml patcher

positional arguments:
  DOMAIN

optional arguments:
  --connect URI, -c URI
                        hypervisor connection URI
  --error43             Add fixes for 'error43' with nvidia devices.
  --hugepages           Make guest use hugepages.
  --host-passthrough    Make guest CPU model `host_passthrough`.
  --patch PATCH, -p PATCH
                        `XMLPatcher` class path
  --help, -h            This help text
  --vendor-id ab1234567890
                        Vendor ID for E43 patch.
  --random-vendor-id    Set a random Vendor ID.

Future Improvements

  • Add ability to connect PCI devices to guest (By name/pattern/id?)
  • Interactive (?)
  • More tests.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].