Bug 1875763

Summary: Need a way to specify the machine type for some arches
Product: [Fedora] Fedora Reporter: Daniel BerrangĂ© <berrange>
Component: qemu-sanity-checkAssignee: Richard W.M. Jones <rjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-sanity-check-1.1.6-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-10 14:47:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Berrangé 2020-09-04 10:16:33 UTC
Description of problem:

Some architectures do not have a default machine type in QEMU

$ qemu-sanity-check --qemu=arm-softmmu/qemu-system-arm --kernel=/lib/modules/5.9.0-0.rc3.20200902git9c7d619be5a0.1.fc34.armv7hl/vmlinuz
qemu-system-arm: -nographic: No machine specified, and there is no default
Use -machine help to list supported machines

Eiter qemu-sanity-check needs to automagically pick a machine type, or it needs a --machine  arg to let it be passed in, or both.


Version-Release number of selected component (if applicable):
1.1.5-16

How reproducible:
Always

Steps to Reproduce:
1. Run sanity check with arm / aarch64 binary

Actual results:
Fails due to lack of machine type

Expected results:
Runs

Additional info:

Comment 1 Richard W.M. Jones 2020-09-10 12:42:39 UTC
Patch posted:
https://www.redhat.com/archives/virt-tools-list/2020-September/msg00000.html

Comment 2 Richard W.M. Jones 2020-09-10 13:59:23 UTC
Upstream in
http://git.annexia.org/?p=qemu-sanity-check.git;a=commit;h=b1dcf280b829474c8bce6c0143bebc4c463bd0b2
and qemu-sanity-check 1.1.6.

Comment 3 Richard W.M. Jones 2020-09-10 14:47:43 UTC
Fixed in qemu-sanity-check-1.1.6-1.fc34 if I can ever manage to
get the tests to pass.