Statistics
| Branch: | Tag: | Revision:

root / lib @ b6e31c23

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
b6e31c23 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) Let drbd disks resync during cluster verify

Commit 9b0e86e issues an error during cluster verify if the status
of DRBD is degraded and if the local disk is not UpToDate.

Still in case of a newly created instance or a newly attached disk with
--no-wait-for-sync, if a cluster verify runs it will report errors...

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

(2.12) Gen nic_type related opts inside _WriteNicConfig()

The xen-hvm hypervisor has two extra hvparams concerning NICS;
nic_type, and vif_type. Let _WriteNicConfig() calculate all needed
extra options for the instance's NICs based on its hvparams.

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

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

(2.12) Fix NIC options in Xen's config files

Commit e32cc48 added wrongly an extra comma between mac and
type in NIC options. Fix this.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Klaus Aehlig <>
Reviewed-by: Klaus Aehlig <>

868b069b 12/11/2014 12:54 pm Jose A. Lopes

(2.12) Refactor NIC configuration for Xen

Extract common code between the PVM and HVM Xen hypervisors regarding
NIC configuration.

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

36b31aea 12/11/2014 12:54 pm Jose A. Lopes

(2.12) Move 'ConfigureNIC' to 'hv_base'

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

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

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

(2.13) Fix size handling in ExtStorage

Commit 9504487 introduced the Snapshot() method in ExtStrorage,
where the snap_size was erroneously exported to the external
script's environment without making it a string. This patch fixes
that in the following manner: The size/snap_size/grow of a disk are...

4559fa24 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) Check if chroot/SM is used without add-fd support

..and raise HotplugError inside VerifyHotplugSupport(). This
way disk hot-add is not supported only if chroot or user/pool
security model is used AND QMP does not support add-fd command
(QEMU versions < 1.7) OR fdsend python module is missing....

7dd6dd09 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) Support disk hot-add even with chroot or SM

Up until now we did not allow disk hot-add in case of chroot
or pool/user security model because the running QEMU process
does not have access permissions on the disk link.

This patch slightly changes the way we hot-add a disk; before...

78d67a63 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) Some minor kvm refactoring wrt hotplug

Make _CallHotplugCommands() a classmethod, rename _PassTapFd()
to _HMPPassFd() and make it a wrapper for MonitorSocket's GetFd().

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Helga Velroyen <>

655188a2 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) Add helper methods for passing fds via SCM_RIGHTS

..through qemu monitor sockets using fdsend.

For the hmp the `get-fd` command is used while for the qmp the
`add-fd` command is used, where the fd is added to the first
available fdset. Currently the first one is used during NIC hot-add...

View revisions

Also available in: Atom