Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python wrapper for Qemu

Project description

What is it?

PyQemu is a Python wrapper around… Qemu.

Why would I want that?

Because you might want to script operations involving qemu virtual machines, perhaps for testing purposes.

What is Qemu?

If you don’t know, then you probably don’t need this, but see http://www.qemu.org/ for further details.

Why did you write PyQemu?

Because I liked Microsoft’s Virtual Server, and to a lesser extent VMWare and wanted something similar that could work in an entirely open-source environment (open source OS, open source virtualisation, not necessarily open source virtual machine), yet still give me a good automation interface.

How do I use PyQemu?

Step 1) Create an XML file with the descriptions of the virtual machines you want to manage (see qserver.xml for a commented example).

Step 2) Have a look at the simple example (client.py/server.py)

Step 3) Write some client code to control the virtual machines (see the examples directory).

Requirements

Python v2.4 (www.python.org) Pyro, Python Remote Objects v3.5, (http://pyro.sourceforge.net) PIL, Python Imaging Library v1.1.5 (http://www.pythonware.com/products/pil) Qemu v0.8.2 (http://www.qemu.org) TightVNC v1.2.9. (http://www.tightvnc.com). For viewing virtual machines. USPP v1.0 (http://ibarona.googlepages.com/uspp). For pyqemu-monitor.py.
Additionally the examples require:
Medusa v0.5.4 (http://www.amk.ca/python/code/medusa.html) TightVNC Java Viewer v1.3.8 (http://www.tightvnc.com/download.html)

Project details


Release history Release notifications

This version

0.1

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page