libvirt VM optimizer
Optimizes libvirt QEMU/KVM Virtual Machines.
Prerequisites
Installation
- Install
libvirt-python3(for exampleyum install libvirt-python3on 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)
Release files for libvirt-vm-optimizer 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| libvirt-vm-optimizer-0.0.9.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| libvirt_vm_optimizer-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.5 kB
Release files / libvirt-vm-optimizer-0.0.9.tar.gz
| Download URL | libvirt-vm-optimizer-0.0.9.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eaebeb0698399970723c1bfa0134d3c2de734040c47991a6a30cca182c2b33f5
|
|
BLAKE2b-256 checksum How to use checksums |
cad33997d4edf52e2ad0662021e967b57c67b3fe0aea0a55713e898030b5ab68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / libvirt_vm_optimizer-0.0.9-py3-none-any.whl
| Download URL | libvirt_vm_optimizer-0.0.9-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f324d6cd452c51162b080b623e312257092fee223a69ee142b6861a36f59920f
|
|
BLAKE2b-256 checksum How to use checksums |
f0136329e6ecc880b995d0691b626f10d0e45dd0a39bba6847b0ee460dab5575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|