Preparing DASD pass-through devices
To make a DASD device eligible as a VFIO pass-through device, you must bring its
subchannel under control of the vfio_ccw device driver and you must create a
mediated device for the DASD.
For a mediated device that persists across reboots of the KVM host, you must perform the following tasks on the host.
- Persistently assign the DASD's subchannel to the vfio_ccw device driver
- Persistently bring the DASDs CCW device under control of the
vfio_ccwdevice driver, by using the driverctl command, see Assign the DASD's subchannel to the vfio_ccw device driver. - Create a persistent mediated device and configure it as an autostart device
- Create a persistent mediated device for the DASD by using the virsh nodedev-define command. Include this persistent mediated device in the host's autostart configuration with the virsh nodedev-autostart command. See Creating a mediated device for a DASD pass-through device.