Bug 586821 - Booting from qcow image not works for hvm
Summary: Booting from qcow image not works for hvm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Miroslav Rezanina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 568580 (view as bug list)
Depends On:
Blocks: 514499 544300
TreeView+ depends on / blocked
 
Reported: 2010-04-28 12:39 UTC by Miroslav Rezanina
Modified: 2011-01-13 22:21 UTC (History)
5 users (show)

Fixed In Version: xen-3.0.3-108.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-13 22:21:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0031 0 normal SHIPPED_LIVE xen bug fix and enhancement update 2011-01-12 15:59:24 UTC

Description Miroslav Rezanina 2010-04-28 12:39:08 UTC
Description of problem:
Xen guest with boot partition in qcow image file fails to boot on each second start. 

Version-Release number of selected component (if applicable):
kernel-xen-2.6.18-194.el5xen
xen-3.0.3-107
Guest kernel - kernel-2.6.18-194

How reproducible:
50% - Fail on each second boot

Steps to Reproduce:
1. Install RHEL 5.4 as xen hvm guest using qcow image
2. Start guest 10x times
  
Actual results:
Each second start fails - No boot disk error message

Expected results:
No start fail

Additional info:

Comment 1 Miroslav Rezanina 2010-04-28 13:41:58 UTC
I found out that this is caused by wrong handling big endian flag. This cause to switch endian on each startup - this cause only one of two starts succeed. Code for handling old images is not correct and need fix. This problem is probably even in upstream - I'm going to try it.

Comment 6 Miroslav Rezanina 2010-05-20 05:50:58 UTC
*** Bug 568580 has been marked as a duplicate of this bug. ***

Comment 8 Yufang Zhang 2010-09-06 05:26:35 UTC
QA verified this bug on xen-3.0.3-115.el5:

1. Create a qcow image without backing file via qcow-create.
2. Create a HVM guest with this qcow image, then install OS on it.
3. The HVM could boot successfully after OS Installation.

Additional information:
Creating a qcow image with backing file(raw format with OS installed), we could also boot a HVM guest with that qcow image.

So change this bug to VERIFIED.

Comment 10 errata-xmlrpc 2011-01-13 22:21:39 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0031.html


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