>> libvirt starts its network servers (admin, qemu, lxc) and prepares
the main daemon (event loop)

#14 0x000055bf43449407 in main (argc=<optimized out>, argv=<optimized
out>) at ../../../daemon/libvirtd.c:1577

>> libvirt starts the main loop

#13 0x00007f9453575b4d in virNetDaemonRun (dmn=0x55bf445c28e0) at
../../../src/rpc/virnetdaemon.c:701

>> main loop keeps monitoring declared events and deals with locking for that 
>> structure 
>> the loop walks all declared events and calls the appropriate callback when 
>> fd is ready 
>> 
>> " (cb)(watch, fds[n].fd, hEvents, opaque); " at virEventRunDefaultImpl 
>> 
>> clearly the callback for one file descriptor was the "qemumonitorio()" 

#10 0x00007f945342b393 in virEventPollDispatchHandles (fds=<optimized out>, 
nfds=<optimized out>) at ../../../src/util/vireventpoll.c:509 
#11 virEventPollRunOnce () at ../../../src/util/vireventpoll.c:658 
#12 0x00007f9453429c01 in virEventRunDefaultImpl () at 
../../../src/util/virevent.c:314 

>> function responsible for receiving data from QEMU monitor (answer to
libvirt commands to qemu)

#9 0x00007f942c0223fc in qemuMonitorIO (watch=watch@entry=107,
fd=<optimized out>, events=<optimized out>, events@entry=13,
opaque=opaque@entry=0x7f94000ab3b0) at ../../../src/qemu
qemu_monitor.c:718

>> this function is defined by the following logic order: 
>> 
>> #1 qemuprocesslaunch() 
>> #2 qemuprocesswaitformonitor() 
>> #3 qemuconnectmonitor() 
>> #4 qemumonitorsetdomainlog() 
>> 
>> it defines what is the "log function" (mon->logfunc()) 

#8 qemuProcessReportLogError (logCtxt=<optimized out>,
msgprefix=0x7f942c095548 "early end of file from monitor, possible
problem") at ../../../src/qemu/qemu_process.c:1696

... continues ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1670659

Title:
  Libvirt can crash on lack of memory when starting multiple instances

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1670659/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to