From: Christoph Hellwig Date: Tue, 1 Feb 2011 20:43:48 +0000 (+0100) Subject: virtio_blk: allow re-reading config space at runtime X-Git-Tag: v3.0-rc2~23^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a7c924cf03da2a76ea4dc0aac1a788cf95a9c29;p=pandora-kernel.git virtio_blk: allow re-reading config space at runtime Wire up the virtio_driver config_changed method to get notified about config changes raised by the host. For now we just re-read the device size to support online resizing of devices, but once we add more attributes that might be changeable they could be added as well. Note that the config_changed method is called from irq context, so we'll have to use the workqueue infrastructure to provide us a proper user context for our changes. Signed-off-by: Christoph Hellwig Signed-off-by: Rusty Russell --- Reading git-diff-tree failed