]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SPARC64: Add Linux vds driver Device ID support for Solaris guest boot
authorGeorge Kennedy <george.kennedy@oracle.com>
Mon, 15 May 2017 14:43:56 +0000 (07:43 -0700)
committerShannon Nelson <shannon.nelson@oracle.com>
Wed, 31 May 2017 23:43:49 +0000 (16:43 -0700)
commited062e6e6f750eaed546e6e54965b0b4fec24d7b
tree88493172511afa2cfa7990274f67fa11514a7e19
parent4e58e2418a051a0d0998179eb1690e6da29ffef1
SPARC64: Add Linux vds driver Device ID support for Solaris guest boot

Currently, Solaris guest backend disk images cannot be moved from the Device ID
they were created at and still boot. This bug fix adds Solaris Device ID
support to the Linux vds driver to allow a Solaris guest backend disk image to
be moved to a different device ID from where it was created and still boot.

The Linux vds driver support added in this bug is for Solaris disk images
only. In the future, Solaris Device ID support for physical disk backends will
be added to the Linux vds driver as well.

From PSARC/1995/352:
Solaris Device IDs provide a means for identifying a device, independent of the
device's current name or device number. The instance number of a device number
may change across reconfiguration boots, changing the device number (dev_t) for
that device.  Operator errors in recabling can cause devices to swap logical
device names, introducing the potential for data loss.

Signed-off-by: George Kennedy <george.kennedy@oracle.com>
Reviewed-by: Alexandre Chartre <Alexandre.Chartre@oracle.com>
Orabug: 25836231
Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/block/vds/Makefile
drivers/block/vds/vds.h
drivers/block/vds/vds_devid.c [new file with mode: 0644]
drivers/block/vds/vds_devid.h [new file with mode: 0644]
drivers/block/vds/vds_efi.c
drivers/block/vds/vds_io.c
drivers/block/vds/vds_io.h
drivers/block/vds/vds_main.c
drivers/block/vds/vds_vtoc.c