diff options
author | Peter Xu <peterx@redhat.com> | 2017-03-15 08:01:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 07:30:34 (GMT) |
commit | ef46a13b9c4e49db8aeb319ced36f2c6d34e6bad (patch) | |
tree | d2f28ec7bd5a6a08c682f03f444d001379c44715 /include | |
parent | 5289f1ce39a798e46f31db8efc2e3f99eebf73df (diff) | |
download | linux-ef46a13b9c4e49db8aeb319ced36f2c6d34e6bad.tar.xz |
KVM: x86: clear bus pointer when destroyed
commit df630b8c1e851b5e265dc2ca9c87222e342c093b upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions