Skip to content
Commit df630b8c authored by Peter Xu's avatar Peter Xu Committed by Paolo Bonzini
Browse files

KVM: x86: clear bus pointer when destroyed



When releasing the bus, let's clear the bus pointers to mark it out. If
any further device unregister happens on this bus, we know that we're
done if we found the bus being released already.

Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 3aa53859
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment