Statistics
| Branch: | Tag: | Revision:

root / lib @ d9982f38

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  storage
  tools
  utils
  watcher
__init__.py 1.7 kB
_constants.py.in 285 Bytes
asyncnotifier.py 6.7 kB
backend.py 142.6 kB
bootstrap.py 43 kB
cli.py 139 kB
compat.py 4.9 kB
config.py 96.3 kB
constants.py 3.4 kB
daemon.py 29 kB
errors.py 11.5 kB
hooksmaster.py 10.5 kB
ht.py 17.5 kB
jqueue.py 81.1 kB
jstore.py 6.7 kB
locking.py 61.5 kB
luxi.py 17.8 kB
mcpu.py 18.9 kB
netutils.py 19.7 kB
network.py 8.3 kB
objects.py 67.1 kB
opcodes.py.in_after 391 Bytes
opcodes.py.in_before 7.5 kB
opcodes_base.py 8.1 kB
outils.py 4.9 kB
ovf.py 66.6 kB
pathutils.py 6.6 kB
qlang.py 10 kB
query.py 86.5 kB
rpc.py 31.9 kB
rpc_defs.py 26.3 kB
runtime.py 7.4 kB
serializer.py 5.1 kB
ssconf.py 13.3 kB
ssh.py 10.9 kB
uidpool.py 12.2 kB
vcluster.py 7.9 kB
workerpool.py 18.8 kB

Latest revisions

# Date Author Comment
d9982f38 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) kvm: Delegate socket handling to monitor module

Introduce @_ensure_connection decorator that properly handles
the socket connection (i.e. connect, close) and propagates
any exceptions raised in the decorated method.

In general @_ensure_connection wraps external methods....

6155a05d 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) kvm: Use vhostfds obtained by OpenTap

During instance startup, if vhost_net is True, OpenTap() opens
/dev/vhost-net device to obtain some fds. These fds were never
used. This patch adds the vhostsfd option to the --netdev option.

Signed-off-by: Dimitris Aragiorgis <>...

e3028ca0 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) hotplug: Retry VerifyHotplugCommand up to 5 times

It seems that QMP upon device_del returns without QEMU having
completely removed the device from the PCI bus. This probably has to
do PCI bus hotplug handlers (DeviceState->BusState->hotplug_handler)....

e31571c1 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) qmp: Log qmp commands and responses

Add debug logging for all qmp commands and responses, except for
query-commands, and qmp_capabilities, that are executed upon
initialization of QmpConnection (and their output is not really
useful).

Signed-off-by: Dimitris Aragiorgis <>...

f1306ed7 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) hotplug: Is not supported for QEMU < 1.7

Change the bulk check of whether hotplug is supported or not.
Only versions >= 1.7 support the required qmp commands.

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Hrvoje Ribicic <>

196f7c06 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) hotplug: Remove unused code after refacoring

All HMP related code gets removed since everything is done via QMP.

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Hrvoje Ribicic <>

e5793395 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) hotplug: Use QMP during HotDelDevice

During device hot-del use new QMP helper methods: HotDelDisk() for
disk hotplug and HotDelNic() for NIC hotplug.

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Hrvoje Ribicic <>

ec46e34c 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) hotplug: Use QMP during HotAddDevice

During device hot-add use new QMP helper methods: GetFreePCISlot()
for allocating a free PCI slot, HotAddDisk() for disk hotplug and
HotAddNic() for NIC hotplug.

Signed-off-by: Dimitris Aragiorgis <>...

3fdca25e 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) kvm: Use the new interface during instance start

Use new OpenTap() and _GetNetworkDeviceFeatures() interfaces
during _ExecuteKVMRuntime().

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Hrvoje Ribicic <>

57c24313 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) monitor: Extend HotAddNic() for advanced features

In case vhost is enabled we have to pass the vhostfds as returned by
OpenTap() via SCM_RIGHTS prior issuing netdev_add command with vhost
and vhostfds extra arguments.

In case multiqueue is enabled we add the mq and vectors extra...

View revisions

Also available in: Atom