Go API for manipulating libvirt XML documents
This package provides a Go API that defines a set of structs, annotated for use with "encoding/xml", that can represent libvirt XML documents. There is no dependancy on the libvirt library itself, so this can be used regardless of the way in which the application talks to libvirt.
- API documentation for the bindings
- Libvirt XML schema documentation:
The libvirt project aims to add support for new APIs to libvirt-go as soon as they are added to the main libvirt C library. If you are submitting changes to the libvirt C library API, please submit a libvirt-go change at the same time.
Bug fixes and other improvements to the libvirt-go library are welcome at any time. The preferred submission method is to use git send-email to submit patches to the firstname.lastname@example.org mailing list. eg. to send a single patch
# git send-email --to email@example.com --subject-prefix "PATCH go-xml" \ --smtp-server=$HOSTNAME -1
Or to send all patches on the current branch, against master
$ git send-email --to firstname.lastname@example.org --subject-prefix "PATCH go-xml" \ --smtp-server=$HOSTNAME --no-chain-reply-to --cover-letter --annotate \ master..
Note the master GIT repository is at
The following automatic read-only mirrors are available as a convenience to allow contributors to "fork" the repository:
While you can send pull-requests to these mirrors, they will be re-submitted via emai to the mailing list for review before being merged, unless they are trivial/obvious bug fixes.