On 13/11/24 11:47, Thomas Huth wrote:
Commit bb185de423 ("s390x: Add individual loadparm assignment to
CCW device") added a "loadparm" property to all CCW devices. This
was a little bit unfortunate, since this property is only useful
for devices that can be used for booting, but certainly it is not
useful for devices like virtio-gpu or virtio-tablet.

Thus let's restrict the property to CCW devices that we can boot from
(i.e. virtio-block, virtio-net and vfio-ccw devices).

Signed-off-by: Thomas Huth <[email protected]>
---
  hw/s390x/ccw-device.h     | 5 +++++
  hw/s390x/ccw-device.c     | 4 +---
  hw/s390x/virtio-ccw-blk.c | 1 +
  hw/s390x/virtio-ccw-net.c | 1 +
  hw/vfio/ccw.c             | 1 +
  5 files changed, 9 insertions(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to