]> git.baikalelectronics.ru Git - kernel.git/commit
xen: scsiback: add LUN of restored domain
authorJuergen Gross <jgross@suse.com>
Tue, 17 Feb 2015 07:02:48 +0000 (08:02 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 16 Mar 2015 14:49:15 +0000 (14:49 +0000)
commit9089e03cca1669b65de194338c2e54d84756f6e6
treed1415532d53fae9152b464e425921a39036950db
parent90491f8ee415e2124a15a72d2070ae6897e12da8
xen: scsiback: add LUN of restored domain

When a xen domain is being restored the LUN state of a pvscsi device
is "Connected" and not "Initialising" as in case of attaching a new
pvscsi LUN.

This must be taken into account when adding a new pvscsi device for
a domain as otherwise the pvscsi LUN won't be connected to the
SCSI target associated with it.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xen-scsiback.c