• P
    qemu: Reuse qemuDomainDetectVcpuPids in cpu hot(un)plug · d0d341a3
    Peter Krempa 提交于
    Now that qemuDomainDetectVcpuPids is able to refresh the vCPU pid
    information it can be reused in the hotplug and hotunplug code paths
    rather than open-coding a very similar algorithm.
    
    A slight algorithm change is necessary for unplug since the vCPU needs
    to be marked offline prior to calling the thread detector function and
    eventually rolled back if something fails.
    d0d341a3
qemu_driver.c 649.7 KB