diff options
author | Peter Xu <peterx@redhat.com> | 2017-03-15 16:01:17 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-21 17:11:18 +0100 |
commit | df630b8c1e851b5e265dc2ca9c87222e342c093b (patch) | |
tree | a033e928a091f3d9368da2c6a33e524f4bd62e66 /arch | |
parent | 3aa53859d23e1b9cf1a60f82a9008e35ef10bd6a (diff) | |
download | linux-stable-df630b8c1e851b5e265dc2ca9c87222e342c093b.tar.gz linux-stable-df630b8c1e851b5e265dc2ca9c87222e342c093b.tar.bz2 linux-stable-df630b8c1e851b5e265dc2ca9c87222e342c093b.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions