diff options
author | Julia Suvorova <jusual@redhat.com> | 2020-02-20 17:55:56 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-02-25 09:18:01 +0100 |
commit | cce8944cc9efab47d4bf29cfffb3470371c3541b (patch) | |
tree | ed52680cf5a3703955a0c34ab8bcd23d725928e4 /python | |
parent | 037fb5eb3941c80a2b7c36a843e47207ddb004d4 (diff) |
qdev-monitor: Forbid repeated device_del
Device unplug can be done asynchronously. Thus, sending the second
device_del before the previous unplug is complete may lead to
unexpected results. On PCIe devices, this cancels the hot-unplug
process.
Signed-off-by: Julia Suvorova <jusual@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200220165556.39388-1-jusual@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions