KVM: Properly lock PIT creation
Otherwise, two threads can create a PIT in parallel and cause a memory leak.
Signed-off-by:
Avi Kivity <avi@redhat.com>
parent
a77ab5ea
Please register or sign in to comment
Otherwise, two threads can create a PIT in parallel and cause a memory leak.
Signed-off-by:
Avi Kivity <avi@redhat.com>