]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/s390x: Restrict "loadparm" property to devices that can be used for booting
authorThomas Huth <thuth@redhat.com>
Wed, 13 Nov 2024 11:47:41 +0000 (12:47 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 18 Nov 2024 09:54:42 +0000 (10:54 +0100)
commit6e7c96ae61e0542e97d385084f1f2281a0331054
tree5800c07c1230dd871cfc025025e3a610c01c02c6
parentb8c5fdc6588f82d95807be0eb2215d215a3ba16e
hw/s390x: Restrict "loadparm" property to devices that can be used for booting

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).

Message-ID: <20241113114741.681096-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Jared Rossi <jrossi@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/ccw-device.c
hw/s390x/ccw-device.h
hw/s390x/virtio-ccw-blk.c
hw/s390x/virtio-ccw-net.c
hw/vfio/ccw.c