Optimization for libvirt VMs (QEMU/KVM)
Project description
libvirt VM optimizer
Optimizes libvirt QEMU/KVM Virtual Machines.
Prerequisites
Installation
- Install
libvirt-python3
(for exampleyum install libvirt-python3
on fedora) pip3 install libvirt-vm-optimizer
(pypi)
Usage
Basic usage:
virsh dumpxml vm | ./libvirt-optimizer.py -p server | virsh define /dev/stdin
Help
usage: libvirt-vm-optimizer.py [LIBVIRT_XML]
- optimizes LIBVIRT_XML (supports kvm|qemu)
positional arguments:
LIBVIRT_XML VM libvirt.xml (will read from stdin if not specified)
optional arguments:
-h, --help show this help message and exit
-o [OUTPUT], --output [OUTPUT]
output file (will be printed to stdout if not
specified)
-i, --in-place edit files in place
-p [PROFILE], --profile [PROFILE]
one of (default, cpu, server )
-m, --force-multithreaded-pinning
setup CPU pinning in simultaneous multithreading
systems (experimental and may be slower)
-c [URI], --connect [URI]
connection URI (uses default connection if not
specified)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file libvirt-vm-optimizer-0.0.9.tar.gz
.
File metadata
- Download URL: libvirt-vm-optimizer-0.0.9.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaebeb0698399970723c1bfa0134d3c2de734040c47991a6a30cca182c2b33f5 |
|
MD5 | dc9b1bc67f7843a04e62cd5fc61da344 |
|
BLAKE2b-256 | cad33997d4edf52e2ad0662021e967b57c67b3fe0aea0a55713e898030b5ab68 |
File details
Details for the file libvirt_vm_optimizer-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: libvirt_vm_optimizer-0.0.9-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f324d6cd452c51162b080b623e312257092fee223a69ee142b6861a36f59920f |
|
MD5 | f00e2d28dbeae2f81da7e85b4daf0b44 |
|
BLAKE2b-256 | f0136329e6ecc880b995d0691b626f10d0e45dd0a39bba6847b0ee460dab5575 |