[libvirt] [PATCH 2/2] qemu: Drop default channel path during migration

Michal Privoznik mprivozn at redhat.com
Mon Jul 11 06:18:58 UTC 2016


On 08.07.2016 17:40, Jiri Denemark wrote:
> Migration to an older libvirt (pre v1.3.0-175-g7140807) is broken
> because older versions of libvirt generated different channel paths and
> they didn't drop the default paths when parsing domain XMLs. We'd get
> such a nice error message:
> 
>     internal error: process exited while connecting to monitor:
>     2016-07-08T15:28:02.665706Z qemu-kvm: -chardev socket,
>     id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/
>     domain-3-nest/org.qemu.guest_agent.0,server,nowait: Failed to bind
>     socket to /var/lib/libvirt/qemu/channel/target/domain-3-nest/
>     org.qemu.guest_agent.0: No such file or directory
> 
> That said, we should not even format the default paths when generating a
> migratable XML.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1320470
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_domain.c | 43 +++++++++++++++++++++++++++----------------
>  1 file changed, 27 insertions(+), 16 deletions(-)

ACK

Michal




More information about the libvir-list mailing list