commit | df630b8c1e851b5e265dc2ca9c87222e342c093b | [log] [tgz] |
---|---|---|
author | Peter Xu <peterx@redhat.com> | Wed Mar 15 08:01:17 2017 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Mar 21 16:11:18 2017 |
tree | a033e928a091f3d9368da2c6a33e524f4bd62e66 | |
parent | 3aa53859d23e1b9cf1a60f82a9008e35ef10bd6a [diff] |
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: Peter Xu <peterx@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>