[libvirt] Disconnected from qemu, keepalive timeout

Nir Levy nirl at asocsnetworks.com
Wed Jul 13 15:47:37 UTC 2016


Hello Guys,

Thanks for reading this,
I have compiled libvirt and qemu over fedora 22 for using debug information and no opt ("-g3 -O0").
I am investigating the xml feature
  <qemu:commandline>
    <qemu:arg value='-trace'/>
    <qemu:arg value='events=/home/qemu_traced_symbols'/>
  </qemu:commandline>

qemu_traced_symbols includes all qemu traced symbols.

I have used:
catch syscall clone
set follow-fork-mode child
set detach-on-fork off

and debugged the child
so after libvirt start VM2 wanted to debug the parameters (cmd->args, which indeed includes -trace and  events=/home/qemu_traced_symbols
I have debugged the the child after spawning.
And returned for the parent (using gdb inferior 1)
for debugging the virCommandHandshakeWait (with the args)

but I keep getting
error: Disconnected from qemu:///system due to keepalive timeout
grep @ libvirt-1.2.21/ shows no code only change log.

Can you please help me resolve this issue?
How do those args are passed, is it via JSON?

Kind regards,
Nir Levy
SW Engineer

Web: www.asocstech.com<http://www.asocstech.com/> |
[cid:image001.jpg at 01D1B599.5A2C9530]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160713/fd5ef057/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2704 bytes
Desc: image001.jpg
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160713/fd5ef057/attachment-0001.jpg>


More information about the libvir-list mailing list