Table of Contents

Class: VM pyVC/VirtualMachines/QEMU.py

This object defines a QEMU Virtual Machine

Base Classes   
Base.VM
Methods   
__del__
__init__
__repr__
__str__
_get_graphic
_get_initrd
_get_kernel
_get_kernelargs
_get_snapshot
_set_graphic
_set_snapshot
console
serve
start
stop
  __del__ 
__del__ ( self )

  __init__ 
__init__ (
        self,
        realmachine,
        name,
        kernel="",
        kernelargs="",
        initrd="",
        graphic=False,
        snapshot=True,
        **keywords,
        )

Exceptions   
ValueError, "Error: Too many disks for QEMU VM, \ QEMU can only access 4 disk images concurrently."
  __repr__ 
__repr__ ( self )

  __str__ 
__str__ ( self )

  _get_graphic 
_get_graphic ( self )

Gets the value of self.__graphic

  _get_initrd 
_get_initrd ( self )

Gets the value of self.__initrd

  _get_kernel 
_get_kernel ( self )

Gets the value of self.__kernel

  _get_kernelargs 
_get_kernelargs ( self )

Gets the value of self.__kernelargs

  _get_snapshot 
_get_snapshot ( self )

Gets the value of self.__snapshot

  _set_graphic 
_set_graphic ( self,  graphic )

Sets the value of self.__graphic

  _set_snapshot 
_set_snapshot ( self,  snapshot )

Sets the value of self.__snapshot

  console 
console ( self,  socket=False )

Provides a console for a VM

  serve 
serve ( self )

Starts the serving loop for the VM

  start 
start ( self )

Starts a QEMU VM

  stop 
stop ( self )

Stops a QEMU VM


Table of Contents

This document was automatically generated on Thu Jan 18 11:28:09 2007 by HappyDoc version 2.1