Re: Disconnected from qemu, keepalive timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 13, 2016 at 03:47:37PM +0000, Nir Levy wrote:
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.


You are getting this from the 'virsh start $domain' command, right?

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


For your use case you really want to disable the keepalive by using -k0
parameter for virsh, so it will become 'virsh -k0 start $domain'

Kind regards,
Nir Levy
SW Engineer

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




--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]