qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/s390x: Restrict "loadparm" property to devices that can b


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] hw/s390x: Restrict "loadparm" property to devices that can be used for booting
Date: Wed, 13 Nov 2024 12:53:17 +0100
User-agent: Mozilla Thunderbird

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 <thuth@redhat.com>
---
  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é <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]