[pve-devel] live migration problems
Alexandre DERUMIER
aderumier at odiso.com
Mon Sep 3 10:48:39 CEST 2012
>># lsof |grep /var/run/qemu-server/103.qmp
>>kvm 110639 root 3u unix 0xffff88006735af00 0t0 422078 /var/run/qemu-server/103.qmp
>>kvm 110639 root 56u unix 0xffff880061d1c580 0t0 424078 /var/run/qemu-server/103.qmp
>>
>>No idea why there are two open FDs, both owned by process 110639?
>>
>>I tried to connect with socat
>>
>># socat - /var/run/qemu-server/103.qmp
>>
>>and that simply blocks.
>>
>>Any ideas?
I have done some tests with qmp and qemu-ga socket,
It seem that we can do multiple connections and send query, but response occur only on one connection at time.
lsof show 2 open FD, when first connection is open.
example (with qemu-ga):
#lsof
-----
kvm 63541 root 4u unix 0xffff8804237dcf80 0t0 3953934 /var/run/qemu-server/115.qga
established first connection
#socat unix-connect:/var/run/qemu-server/115.qga readline
#lsof
-----
kvm 63541 root 4u unix 0xffff8804237dcf80 0t0 3953934 /var/run/qemu-server/115.qga
kvm 63541 root 37u unix 0xffff88042a556b00 0t0 3959438 /var/run/qemu-server/115.qga
established second connection
#socat unix-connect:/var/run/qemu-server/115.qga readline
#lsof
-----
kvm 63541 root 4u unix 0xffff8804237dcf80 0t0 3953934 /var/run/qemu-server/115.qga
kvm 63541 root 37u unix 0xffff88042a556b00 0t0 3959438 /var/run/qemu-server/115.qga
#send command to second connection
----------------------------------
{"execute":"guest-ping"}
--> waiting response
#send command to first connection
----------------------------------
{"execute":"guest-ping"}
{"return": {}} --> response
#close first connection
------------------------
second connection receive response : {"return": {}} -
More information about the pve-devel
mailing list