From: Michael S. Tsirkin Date: Tue, 14 Oct 2014 23:51:55 +0000 (+1030) Subject: virtio: defer config changed notifications X-Git-Tag: omap-for-v3.19/prcm-cleanup~54^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22b7050a024d7deb0c9ef1e14ed73e3b1e369f24;p=pandora-kernel.git 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 Reviewed-by: Cornelia Huck Signed-off-by: Rusty Russell (cosmetic changes) --- Reading git-diff-tree failed