Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 806179

Summary: RFE: support inspection of icon for more Windows guests
Product: Red Hat Enterprise Linux 6 Reporter: Yuyu Zhou <yuzhou>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED CANTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: bfan, leiwang, qwan, wshi
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-27 08:58:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yuyu Zhou 2012-03-23 06:04:31 UTC
Description of problem:
For windows guests, inspect-get-icon only support Win7 and WinXP till now. 

Version-Release number of selected component (if applicable):
libguestfs-1.16.10-1.el6.x86_64

How reproducible:
100

Steps to Reproduce:
# guestfish
$ add Win2003-32-hvm.raw
$ run
$ inspect-os
/dev/vda1
$ mount /dev/vda1 /
$ inspect-get-icon /dev/vda1
  
Actual results:
A zero-length buffer is returned.

Expected results:
a buffer containing a PNG image should be returned.

Additional info:
Unsupported Windows guests list:
Windows 2003, Windows Vista, Windows 2008, Windows 2008r2.

Comment 1 RHEL Program Management 2012-07-10 06:19:10 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 RHEL Program Management 2012-07-10 23:48:28 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 3 Richard W.M. Jones 2012-08-10 13:07:14 UTC
No upstream fix.  Likely to be fixed in time for RHEL 7
by integrating libosinfo for CD/installer detection.
Setting RHEL 6.5 flags just in case we rebase.

Comment 4 Richard W.M. Jones 2012-08-10 13:08:36 UTC
Ignore comment 3.

There are issues getting an icon from a Windows guest,
and we can only do it in a limited set of circumstances.
There is no upstream fix at the moment.

Possibly this will be fixed in RHEL 7 or RHEL 6.5 if we
rebase.

Comment 7 Richard W.M. Jones 2013-09-27 08:58:47 UTC
I'm closing this because I had a long look at various Windows
guests to see if it is possible to extract an icon from within
the guest, and I cannot see how to do it.  I have to assume
this is not possible unless someone works out a way.