Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
virt-manager.12547
0425975f-use-virDomainMigrate3-API.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0425975f-use-virDomainMigrate3-API.patch of Package virt-manager.12547
References: bsc#996020 Subject: virt-manager: use virDomainMigrate3 API From: Jim Fehlig jfehlig@suse.com Wed Aug 31 11:26:24 2016 -0600 Date: Thu Sep 8 11:47:45 2016 -0400: Git: 0425975f38cec8fca6fd6ad600985403b9d24adb libvirt has supported the migration V3 protocol for many years now. A nice feature of the virDomainMigrate3 API is that it will detect the protocol version supported by the underlying hypervisor, including whether it supports the extensible parameters variant, and call the hypervisor API with parameters fixed up as needed. Change virt-manager to use the virDomainMigrate3 API, allowing migration to work with hypervisors that only support the extensible parameters variant of the migration V3 API. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Index: virt-manager-1.2.1/virtManager/domain.py =================================================================== --- virt-manager-1.2.1.orig/virtManager/domain.py +++ virt-manager-1.2.1/virtManager/domain.py @@ -1516,7 +1516,11 @@ class vmmDomain(vmmLibvirtObject): if meter: start_job_progress_thread(self, meter, _("Migrating domain")) - self._backend.migrate(libvirt_destconn, flags, None, interface, 0) + params = {} + if interface: + params[libvirt.VIR_MIGRATE_PARAM_URI] = interface + + self._backend.migrate3(libvirt_destconn, params, flags) # Don't schedule any conn update, migrate dialog handles it for us
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor