mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When configuring a vfio-ap device, specifying only control domains without any usage domains results in a useless configuration in that both adapters and usage domains are required to make cryptographic resources available to the guest. Without that, the control domains are useless. While the kernel allows this, let's reject this combination with a message. Suggested-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com> Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>