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:

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.