Statistics
| Branch: | Tag: | Revision:

root / lib / hypervisor / hv_kvm @ 58e4df3c

Name Size
__init__.py 90.4 kB
monitor.py 12.2 kB
netdev.py 3.7 kB

Latest revisions

# Date Author Comment
a2686d96 04/28/2014 12:10 pm Apollon Oikonomopoulos

KVM: start kvmd via daemon-util

Signed-off-by: Apollon Oikonomopoulos <>
Reviewed-by: Jose A. Lopes <>

5423b15f 04/24/2014 04:43 pm Marco Casavecchia (aka MCM)

Added support for disk native AIO mode for KVM

This patch adds support for the native aio on KVM
hypervisor.

Basically, It adds a new HV-KVM optional parameter
"disk_aio" that can be set with the followings values:
threads (the default for KVM) or native. If not set, it...

9e42978e 04/15/2014 06:34 pm Jose A. Lopes

Move 'ConfigureNIC' to 'hv_base'

... so it can be reused by the Xen hypervisor.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

bc81cd54 04/15/2014 06:34 pm Jose A. Lopes

Extract 'GenerateTapName' to hypervisor base module

As mentioned, most of the body of the function 'GenerateKvmTapName' is
being extracted to a separate function in the hypervisor base module
so it can be reused by the Xen hypervisor.

Signed-off-by: Jose A. Lopes <>...

50dc67ab 04/15/2014 06:34 pm Jose A. Lopes

Rename 'GenerateTapName' to 'GenerateKvmTapName'

This is an intermediary step before extracting most of the body of
'GenerateTapName' to a separate function that can be reused by the Xen
hypervisor as well.

Signed-off-by: Jose A. Lopes <>...

55e711aa 04/09/2014 10:05 am Apollon Oikonomopoulos

QMP: make QmpConnection act as a context manager

This will allow automatic connection and socket cleanup on command
completion.

We also repeat the Qmp tests using the context manager. For this to be
feasible, we move the test scenario to class variables and modify...

24d3d8da 04/08/2014 12:15 pm Apollon Oikonomopoulos

QMP: always return the command result

According to the QEMU Machine Protocol Specification, the messages sent
by QMP as a response to a command can be of two types: either an error
message (identified by the "error" key), or a success message
(identified by the "return" key)....

c309d05f 04/08/2014 12:15 pm Apollon Oikonomopoulos

QMP: keep greeting message version info

QMP will always report the QEMU version and package-specific string in
the greeting message, as per the QEMU Machine Protocol Specification. We
store this information and make it available to users of the monitor.
...

8926b648 04/08/2014 12:14 pm Apollon Oikonomopoulos

QMP: raise exception on unsupported QMP command

Raise a special exception, qmp.QmpCommandNotSupported, whenever an
unsupported QMP command is about to be executed. This is intended to
assist in falling back to the human monitor for hotplug operations. As...

bb439d22 04/08/2014 12:14 pm Apollon Oikonomopoulos

QMP: fetch supported commands on connect

Store the set of supported QMP commands in
QmpConnection.supported_commands. This allows selective error handling
to give the caller a chance to downgrade to HMP when unsupported
commands are encountered.

The `query-commands` QMP command used to implement this, appeared in...

View revisions

Also available in: Atom