Revision:

Revisions

# Date Author Comment
bbd537e4 12/11/2014 01:01 pm Dimitris Aragiorgis

debian: ganeti -> snf-ganeti in control file

Change source and top binary package to snf-ganeti.

Move ganeti-instance-debootstrap to Suggests.

Signed-off-by: Dimitris Aragiorgis <>

a3833bde 12/11/2014 01:01 pm Dimitris Aragiorgis

debian: Add vcs-version file

Signed-off-by: Dimitris Aragiorgis <>

b19e4e5d 12/11/2014 01:01 pm Dimitris Aragiorgis

debian: Run ./autogen.sh before configure

This is needed so that packaging can be done by using official
src tree found on git repo.

Official debian packages provide in orig tarball the files
that get generated by automake, autoconf, and aclocal:

  • configure...
2cda447f 12/11/2014 01:01 pm Dimitris Aragiorgis

debian: Remove debian patches

Signed-off-by: Dimitris Aragiorgis <>

aa68cea6 12/11/2014 01:01 pm Dimitris Aragiorgis

debian: Import debian files from backports

Signed-off-by: Dimitris Aragiorgis <>

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)....

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

(2.13) Update hotplug design doc

..to reflect the transition from HMP to QMP during hotplug
actions.

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

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...

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

(2.13) kvm: Refactor _GetNetworkDeviceFeatures() helper

Make _GetNetworkDeviceFeatures() return a tuple of (dict, str, str).
The first item should be a dictionary including the enabled
netdev/device features (vhost, vnet_hdr, mq). The other two are
strings to be appended to --netdev and --device qemu options....

14b8592f 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) netdev: Refactor OpenTap for future use

Make OpenTap() helper method to take a dictionary with the features
that should be enabled or not. Currently these features are: vhost,
vnet_hdr, multiqueue.

In case vhost is enabled, along with the tapfds we return a list of...

06d0b17d 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) hotplug: Use QMP in VerifyHotplugCommand

This used to check whether a specific hotplug action has succeeded.
Use HasPCIDevice() qmp method to verify if the requested device
exists or not.

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

744ff486 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) hotplug: Use QMP in VerifyHotplugSupport

This used to check whether a specific hotplug action is supported.
Since everything is about to be done via qmp commands delegate these
checks to QmpConnection class.

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

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

(2.13) monitor: Close socket fd if already connected

We close the socket fd only if we have an active connection.
We hide this logic in the public close() method, and all
the actions are moved to a private method.

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

18c03e18 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) kvm: New _with_qmp decorator

The decorator takes the hypervisor and the instance object as passed
to all hotplug related commands and ensures a valid QmpConnection()
object is found in hypervisor's qmp attribute.

This decorator is responsible for all actions related to the...

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

(2.13) qmp: Add Disk hotplugging related methods

HotAddDisk() uses blockdev-add and device_add after getting the
drive fd and passing it with the AddFd() helper method. Please note
that in case of userspace access mode this step will be omitted.

HotDelDisk() uses device_del. Please note that drive_del is...

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

(2.13) qmp: Add NIC hotplugging related methods

HotAddNic() uses netdev_add and device_add after passing the tapfd
to the running process with the GetFd() helper method.

HotDelNic() uses device_del and netdev_del qmp commands.

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

565fa7f1 12/11/2014 12:54 pm Dimitris Aragiorgis

(2.13) qmp: Helper methods for parsing query-pci output

Introduce GetPCIDevices() that gets the devices of the first PCI bus
of a running instance, HasPCIDevice() that will be used to verify
if a specific device is correctly hotplugged or not, and
GetFreePCISlot() that will be used during hot-add to find the first...

« Previous 1 2 3 4 ... 644 Next » (26-50/16089) | Per page: 25, 50, 100

Also available in: Atom