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 <dimara@grnet.gr>
debian: Add vcs-version file
debian: Run ./autogen.sh before configure
This is needed so that packaging can be done by using officialsrc tree found on git repo.
Official debian packages provide in orig tarball the filesthat get generated by automake, autoconf, and aclocal:
debian: Remove debian patches
debian: Import debian files from backports
(2.13) kvm: Delegate socket handling to monitor module
Introduce @_ensure_connection decorator that properly handlesthe socket connection (i.e. connect, close) and propagatesany exceptions raised in the decorated method.
In general @_ensure_connection wraps external methods....
(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 neverused. This patch adds the vhostsfd option to the --netdev option.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>...
(2.13) hotplug: Retry VerifyHotplugCommand up to 5 times
It seems that QMP upon device_del returns without QEMU havingcompletely removed the device from the PCI bus. This probably has todo PCI bus hotplug handlers (DeviceState->BusState->hotplug_handler)....
(2.13) Update hotplug design doc
..to reflect the transition from HMP to QMP during hotplugactions.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>Reviewed-by: Hrvoje Ribicic <riba@google.com>
(2.13) qmp: Log qmp commands and responses
Add debug logging for all qmp commands and responses, except forquery-commands, and qmp_capabilities, that are executed uponinitialization of QmpConnection (and their output is not reallyuseful).
(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.
(2.13) hotplug: Remove unused code after refacoring
All HMP related code gets removed since everything is done via QMP.
(2.13) hotplug: Use QMP during HotDelDevice
During device hot-del use new QMP helper methods: HotDelDisk() fordisk hotplug and HotDelNic() for NIC hotplug.
(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 andHotAddNic() for NIC hotplug.
(2.13) kvm: Use the new interface during instance start
Use new OpenTap() and _GetNetworkDeviceFeatures() interfacesduring _ExecuteKVMRuntime().
(2.13) monitor: Extend HotAddNic() for advanced features
In case vhost is enabled we have to pass the vhostfds as returned byOpenTap() via SCM_RIGHTS prior issuing netdev_add command with vhostand vhostfds extra arguments.
In case multiqueue is enabled we add the mq and vectors extra...
(2.13) kvm: Refactor _GetNetworkDeviceFeatures() helper
Make _GetNetworkDeviceFeatures() return a tuple of (dict, str, str).The first item should be a dictionary including the enablednetdev/device features (vhost, vnet_hdr, mq). The other two arestrings to be appended to --netdev and --device qemu options....
(2.13) netdev: Refactor OpenTap for future use
Make OpenTap() helper method to take a dictionary with the featuresthat 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...
(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 deviceexists or not.
(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 thesechecks to QmpConnection class.
(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 allthe actions are moved to a private method.
(2.13) kvm: New _with_qmp decorator
The decorator takes the hypervisor and the instance object as passedto 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...
(2.13) qmp: Add Disk hotplugging related methods
HotAddDisk() uses blockdev-add and device_add after getting thedrive fd and passing it with the AddFd() helper method. Please notethat in case of userspace access mode this step will be omitted.
HotDelDisk() uses device_del. Please note that drive_del is...
(2.13) qmp: Add NIC hotplugging related methods
HotAddNic() uses netdev_add and device_add after passing the tapfdto the running process with the GetFd() helper method.
HotDelNic() uses device_del and netdev_del qmp commands.
(2.13) qmp: Helper methods for parsing query-pci output
Introduce GetPCIDevices() that gets the devices of the first PCI busof a running instance, HasPCIDevice() that will be used to verifyif a specific device is correctly hotplugged or not, andGetFreePCISlot() 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