• D
    pseries: Generate device paths for VIO devices · c4eda5b7
    David Gibson 提交于
    This patch implements a get_dev_path qdev hook for the pseries paravirtual
    VIO bus.  With upcoming savevm support, this will become very important for
    scsi disks hanging of VIO virtual SCSI adapters.  scsibus_get_dev_path
    uses the get_dev_path of the parent adapter if available, but otherwise
    just uses a local channel/target/lun number to identify the device.  So if
    two disks are present in the system having the same target and lun on
    seperate VIO scsi adapters, savevm cannot distinguish them.  Since the
    conventional way of using VSCSI adapters is to have just one disk per
    adapter, such a conflict is very likely.
    Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    c4eda5b7
spapr_vio.c 16.4 KB