commit | e67423c7b4f20c327de533b068907aab33720482 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Oct 15 10:22:33 2014 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Oct 15 10:25:12 2014 +1030 |
tree | 48c0db846c0d9ca6bea32f87adfbfebb5b385c2c | |
parent | 1fa5b2a784dc52d929432bcc963a0bfb3a74608f [diff] |
virtio_scsi: fix race on device removal We cancel event work on device removal, but an interrupt could trigger immediately after this, and queue it again. To fix, set a flag. Loosely based on patch by Paolo Bonzini Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>