Bug 1394859

Summary: Missing binfmt for qemu-aarch64-static
Product: [Fedora] Fedora Reporter: Nathaniel McCallum <npmccallum>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: amit.shah, berrange, cfergeau, crobinso, dwmw2, itamar, nicolas, pbonzini, rjones, virt-maint
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-2.7.1-6.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-19 09:25:18 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 Nathaniel McCallum 2016-11-14 15:24:20 UTC
The title says it all.

Comment 1 Nathaniel McCallum 2016-11-14 16:18:35 UTC
This is what I'm using (it is tested working):

$ cat /usr/lib/binfmt.d/qemu-aarch64-static.conf
:qemu-aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-aarch64-static:F

Please note that I'm masking out the entire byte for e_ident[EI_OSABI] as discussed here: https://bugzilla.redhat.com/show_bug.cgi?id=1394878

Comment 2 Nathaniel McCallum 2016-11-15 22:42:45 UTC
Fixed in qemu-2.7.0-9.fc26.

Comment 3 Nicolas Dufresne 2017-04-13 17:30:54 UTC
This config file is still missing in Fedora 25, qemu-aarch64 version 2.7.1. Was this fix suppose to be in 25 too ?

Comment 4 Nathaniel McCallum 2017-04-13 18:21:36 UTC
That would be up to the qemu maintainers. I only got permission to resolve this for rawhide.

Comment 5 Cole Robinson 2017-04-13 22:23:03 UTC
I'll backport Nathaniel's changes to f25

Comment 6 Fedora Update System 2017-04-15 18:24:33 UTC
qemu-2.7.1-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-01925dba3c

Comment 7 Fedora Update System 2017-04-16 21:23:50 UTC
qemu-2.7.1-6.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-01925dba3c

Comment 8 Fedora Update System 2017-04-19 09:25:18 UTC
qemu-2.7.1-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.