Reviewed-by: Boris Fiuczynski <fiuczy(a)linux.ibm.com>
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(a)redhat.com>
---
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