Re: [PATCH 3/3] qemu_validate: Reject virtiofs with bootindex on s390x with CCW

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

 



Reviewed-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxx>

On 4/22/24 16:57, Peter Krempa wrote:
The CCW variant of the 'vhost-user-fs' device in qemu doesn't
deliberately support the 'bootindex' attribute as the machine is unable
to boot from such device.

Reject '<boot order' on non-PCI virtiofs, add tests validating that it's
rejected as well as that virtiofs on PCI-based hosts but without address
specified will be accepted.

Resolves:https://issues.redhat.com/browse/RHEL-22728
Signed-off-by: Peter Krempa<pkrempa@xxxxxxxxxx>
---
  src/qemu/qemu_validate.c                      | 19 +++++++---
  ...ost-user-fs-ccw-bootindex.s390x-latest.err |  1 +
  .../vhost-user-fs-ccw-bootindex.xml           | 38 +++++++++++++++++++
  ...vhost-user-fs-hugepages.x86_64-latest.args |  2 +
  .../vhost-user-fs-hugepages.x86_64-latest.xml |  8 ++++
  .../vhost-user-fs-hugepages.xml               |  8 ++++
  tests/qemuxmlconftest.c                       |  1 +
  7 files changed, 72 insertions(+), 5 deletions(-)
  create mode 100644 tests/qemuxmlconfdata/vhost-user-fs-ccw-bootindex.s390x-latest.err
  create mode 100644 tests/qemuxmlconfdata/vhost-user-fs-ccw-bootindex.xml

--
Mit freundlichen Grüßen/Kind regards
   Boris Fiuczynski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Wolfgang Wendt
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux