Bug 1109144

Summary: RFE: make virt-get-kernel able to fetch the dtb from images
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mbooth, mzatko, ptoscano, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-04 16:07:27 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 Richard W.M. Jones 2014-06-13 10:31:08 UTC
Description of problem:

Grab this image:
http://oirase.annexia.org/tmp/Fedora-21-aarch64-20140407.img.xz
Uncompress it and run:
virt-builder --get-kernel Fedora-21-aarch64-20140407.img

Since this is an ARM image, it requires a dtb to boot.  However
virt-builder --get-kernel doesn't fetch the dtb.

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

virt-builder 1.27.14

Comment 1 Richard W.M. Jones 2015-02-25 21:29:29 UTC
Before you look at this, I believe fetching the dtb from
images is actually the wrong thing to do.  It was necessary
back in the bad old days, but these days qemu can reliably
generate a dtb for all arm guests.

So anyway I think this is NOTABUG.

Comment 2 Maros Zatko 2015-02-27 17:29:05 UTC
I was able to boot above aarch64 image using qemu 2.2.50 even with dtb files removed from boot directory.

Comment 3 Pino Toscano 2016-10-04 16:07:27 UTC
Renaming according to the proper place (virt-get-kernel) where this should be implemented, in case.

OTOH, closing as per comment 1 and comment 2.