1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2024-10-26 07:55:06 +03:00
Python language binding for libvirt native C API
Go to file
Eric Blake 358a8640fa Add virDomainCheckpoint APIs
Copies heavily from existing virDomainSnapshot handling, regarding
what special cases the generator has to be taught and what overrides
need to be written.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-07-29 13:39:39 -05:00
examples Add daemon to list of shutdown reasons 2018-11-26 14:13:49 +01:00
tests Add test for setting scheduler parameters 2014-03-19 15:16:15 +00:00
.ctags maint: Add ctags configuration file and ignore the output 2014-03-24 19:15:02 +01:00
.dir-locals.el maint: set up preferred emacs settings 2014-03-24 11:04:15 -06:00
.gitignore Add tox.ini to run tests on Python 2.6, 2.7 & 3.4 2015-04-22 16:45:13 +01:00
.gitpublish git: add config file telling git-publish how to send patches 2018-04-24 10:46:59 +01:00
.mailmap Fix duplicate entries in AUTHORS 2015-05-28 14:50:51 -06:00
.travis.yml travis: add testing of 5.0.0 release 2019-01-24 17:17:09 +00:00
AUTHORS.in Setup distutils build system 2013-11-22 15:58:06 +00:00
COPYING Setup distutils build system 2013-11-22 15:58:06 +00:00
COPYING.LESSER Setup distutils build system 2013-11-22 15:58:06 +00:00
generator.py Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
HACKING Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
libvirt-lxc-override-api.xml Introduce an LXC specific public API & library 2013-01-14 13:58:34 +00:00
libvirt-lxc-override.c Fix regression in lxcOpenNamespace 2019-06-26 09:14:17 +02:00
libvirt-override-api.xml Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
libvirt-override-virConnect.py Add support for nwfilter binding objects / apis 2018-06-28 12:04:05 +01:00
libvirt-override-virDomain.py Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
libvirt-override-virDomainCheckpoint.py Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
libvirt-override-virDomainSnapshot.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08:00
libvirt-override-virNetwork.py Add missing impl of virNetworkListAllPorts 2019-06-20 14:21:06 +01:00
libvirt-override-virStoragePool.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08:00
libvirt-override-virStream.py libvirt-override.py: fix sparseSendAll 2018-05-16 10:40:46 +02:00
libvirt-override.c Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
libvirt-override.py libvirt-override.py: remove unused import 2018-05-16 10:40:46 +02:00
libvirt-python.spec.in spec: Bump minimum supported Fedora version to 29 2019-07-09 19:11:20 -04:00
libvirt-qemu-override-api.xml agent: add python module support 2012-08-23 19:07:53 +08:00
libvirt-qemu-override.c PyArg_ParseTuple: Provide correct function names 2016-08-24 17:05:18 +02:00
libvirt-qemu-override.py qemu: support arbitrary monitor events 2014-03-25 09:12:22 -06:00
libvirt-utils.c libvirt_charPtrUnwrap: remove unnecessary check of returned string 2018-06-12 10:27:38 +02:00
libvirt-utils.h libvirt-utils: remove unused py_str function 2018-06-12 10:27:14 +02:00
libvirtaio.py libvirtaio: Fix compat with python 3.7 2018-06-27 10:07:39 -04:00
Makefile build: provide wrapper makefile 2014-06-18 13:19:30 -06:00
MANIFEST.in Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
NEWS Setup distutils build system 2013-11-22 15:58:06 +00:00
README maint: document use of libvirt's run script 2014-08-04 11:09:34 -06:00
requirements-test.txt Add travis build config 2017-09-19 16:11:23 +01:00
sanitytest.py Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
setup.py Release of libvirt-python 5.5.0 2019-07-02 22:48:04 +02:00
tox.ini Add tox.ini to run tests on Python 2.6, 2.7 & 3.4 2015-04-22 16:45:13 +01:00
typewrappers.c Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00
typewrappers.h Add virDomainCheckpoint APIs 2019-07-29 13:39:39 -05:00

     Libvirt Python Binding README
     =============================

This package provides a python binding to the libvirt.so,
libvirt-qemu.so and libvirt-lxc.so library APIs.

It is written to build against any version of libvirt that
is 0.9.11 or newer.

This code is distributed under the terms of the LGPL version
2 or later.

The module can be built by following the normal python module
build process

  python setup.py build
  sudo python setup.py install

or to install as non-root

  python setup.py build
  python setup.py install --user

If python-nose is installed, you can test the package with

  python setup.py test

A makefile shim is provided so that you can do

  make && make check

rather than directly invoking setup.py.

As of libvirt 1.2.6, it is possible to develop against an uninstalled
libvirt.git checkout, by setting PKG_CONFIG_PATH and LD_LIBRARY_PATH
environment variables to point into that libvirt tree; you can even
automate this by using libvirt's run script:

  /path/to/libvirt/run python setup.py build

Patches for this code should be sent to the main libvirt
development mailing list

  http://libvirt.org/contact.html#email

To send patches, it is strongly recommended to use the
'git send-email' command.

Make sure the mails mention that the patch is for the python
binding. This can be done by setting a config parameter in the
local git checkout

  git config format.subjectprefix "PATCH python"