summaryrefslogtreecommitdiff
path: root/drivers/block/virtio_blk.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-15 10:21:55 +1030
committerRusty Russell <rusty@rustcorp.com.au>2014-10-15 10:24:56 +1030
commit22b7050a024d7deb0c9ef1e14ed73e3b1e369f24 (patch)
treebe21b9a75aa1b5a95d8bb3ab7bf9470669e643bb /drivers/block/virtio_blk.c
parentc6716bae52f97347e25166c6270aa98693d9212c (diff)
downloadlinux-22b7050a024d7deb0c9ef1e14ed73e3b1e369f24.tar.gz
linux-22b7050a024d7deb0c9ef1e14ed73e3b1e369f24.tar.xz
virtio: defer config changed notifications
Defer config changed notifications that arrive during probe/scan/freeze/restore. This will allow drivers to set DRIVER_OK earlier, without worrying about racing with config change interrupts. This change will also benefit old hypervisors (before 2009) that send interrupts without checking DRIVER_OK: previously, the callback could race with driver-specific initialization. This will also help simplify drivers. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (cosmetic changes)
Diffstat (limited to 'drivers/block/virtio_blk.c')
0 files changed, 0 insertions, 0 deletions