Bug 1875763 - Need a way to specify the machine type for some arches
Summary: Need a way to specify the machine type for some arches
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu-sanity-check
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-04 10:16 UTC by Daniel Berrangé
Modified: 2020-09-10 14:47 UTC (History)
1 user (show)

Fixed In Version: qemu-sanity-check-1.1.6-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-10 14:47:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.