Re: [PATCH 01/15] qemu: validate: Fix logic for validating precence of the HPET timer

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

 



In the commit summary:

s/precence/presence/

On a Monday in 2023, Peter Krempa wrote:
Commit 24cc9cda826 switched over to use -machine hpet, but one of the
steps it did was to clear the QEMU_CAPS_NO_HPET capability.

The validation check still uses the old capability though which means
that for configs which would explicitly enable HPET we'd report an error.

Since HPET is an x86(_64) platform specific device, convert the
validation check to an architecture check as all supported qemu versions
actually support it.

Modify a test case to request HPET to catch posible future problems.

Fixes: 24cc9cda826
Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
src/qemu/qemu_validate.c                           | 14 +++++++-------
.../q35-virt-manager-basic.x86_64-4.2.0.args       |  1 -
.../q35-virt-manager-basic.x86_64-latest.args      |  2 +-
tests/qemuxml2argvdata/q35-virt-manager-basic.xml  |  2 +-
.../q35-virt-manager-basic.x86_64-latest.xml       |  2 +-
5 files changed, 10 insertions(+), 11 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[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