You need to sign in or sign up before continuing.
  • M
    qemu: Fix segmentation fault on reconnect · fef4d132
    Marc Hartmayer 提交于
    On start up of libvirtd the worker pool of the QEMU driver must be
    initialized before trying to reconnect to all the running QEMU
    instances. Otherwise segmentation faults can occur if there are QEMU
    monitor events emitted.
    
     #0  __GI___pthread_mutex_lock
     #1  0x000003fffdba9e62 in virMutexLock
     #2  0x000003fffdbab2dc in virThreadPoolSendJob
     #3  0x000003ffd8343b70 in qemuProcessHandleSerialChanged
     #4  0x000003ffd836a776 in qemuMonitorEmitSerialChange
     #5  0x000003ffd8378e52 in qemuMonitorJSONHandleSerialChange
     #6  0x000003ffd8378930 in qemuMonitorJSONIOProcessEvent
     #7  0x000003ffd837edee in qemuMonitorJSONIOProcessLine
     #8  0x000003ffd837ef86 in qemuMonitorJSONIOProcess
     #9  0x000003ffd836757a in qemuMonitorIOProcess
     #10 0x000003ffd836863e in qemuMonitorIO
     #11 0x000003fffdb4033a in virEventPollDispatchHandles
     #12 0x000003fffdb4055e in virEventPollRunOnce
     #13 0x000003fffdb3e782 in virEventRunDefaultImpl
     #14 0x000003fffdc89400 in virNetDaemonRun
     #15 0x000000010002a816 in main
    Signed-off-by: NMarc Hartmayer <mhartmay@linux.ibm.com>
    Reviewed-by: NBjoern Walk <bwalk@linux.ibm.com>
    Reviewed-by: NBoris Fiuczynski <fiuczy@linux.ibm.com>
    Reviewed-by: NErik Skultety <eskultet@redhat.com>
    fef4d132
qemu_driver.c 681.7 KB