Package modules :: Package machinery :: Module qemu :: Class QEMU
[hide private]
[frames] | no frames]

Class QEMU

source code

                           object --+    
                                    |    
lib.cuckoo.common.abstracts.Machinery --+
                                        |
                                       QEMU

Virtualization layer for QEMU (non-KVM).

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_initialize_check(self)
Runs all checks when a machine manager is initialized.
source code
 
start(self, label, task)
Start a virtual machine.
source code
 
stop(self, label)
Stops a virtual machine.
source code
 
_status(self, name)
Gets current status of a vm.
source code

Inherited from lib.cuckoo.common.abstracts.Machinery: acquire, availables, dump_memory, initialize, machines, pcap_path, release, running, set_options, set_status, shutdown

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  RUNNING = "running"
  STOPPED = "stopped"
  ERROR = "machete"

Inherited from lib.cuckoo.common.abstracts.Machinery: LABEL

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_initialize_check(self)

source code 

Runs all checks when a machine manager is initialized.

Raises:
Overrides: lib.cuckoo.common.abstracts.Machinery._initialize_check

start(self, label, task)

source code 

Start a virtual machine.

Parameters:
  • label - virtual machine label.
  • task - task object.
Raises:
Overrides: lib.cuckoo.common.abstracts.Machinery.start

stop(self, label)

source code 

Stops a virtual machine.

Parameters:
  • label - virtual machine label.
Raises:
Overrides: lib.cuckoo.common.abstracts.Machinery.stop

_status(self, name)

source code 

Gets current status of a vm.

Parameters:
  • name - virtual machine name.
Returns:
status string.