• Xiaotian Feng's avatar
    KVM: destroy workqueue on kvm_create_pit() failures · 3185bf8c
    Xiaotian Feng authored
    kernel needs to destroy workqueue if kvm_create_pit() fails, otherwise
    after pit is freed, the workqueue is leaked.
    Signed-off-by: default avatarXiaotian Feng <dfeng@redhat.com>
    Cc: Avi Kivity <avi@redhat.com>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Gleb Natapov <gleb@redhat.com>
    Cc: "Michael S. Tsirkin" <mst@redhat.com>
    Cc: Gregory Haskins <ghaskins@novell.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    3185bf8c
i8254.c 19 KB