You need to sign in or sign up before continuing.
  • N
    qemu: agent: take monitor lock in qemuAgentNotifyEvent · cdd68193
    Nikolay Shirokovskiy 提交于
    qemuAgentNotifyEvent accesses monitor structure and is called on qemu
    reset/shutdown/suspend events under domain lock. Other monitor
    functions on the other hand take monitor lock and don't hold domain lock.
    Thus it is possible to have risky simultaneous access to the structure
    from 2 threads. Let's take monitor lock here to make access exclusive.
    cdd68193
qemu_agent.c 63.4 KB