Bug 1109144 - RFE: make virt-get-kernel able to fetch the dtb from images
Summary: RFE: make virt-get-kernel able to fetch the dtb from images
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-13 10:31 UTC by Richard W.M. Jones
Modified: 2016-10-04 16:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-04 16:07:27 UTC
Embargoed:


Attachments (Terms of Use)

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.


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