Bug 801117
Summary: | libguestfs cannot get icon for Windows 8 | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Richard W.M. Jones <rjones> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | mbooth, virt-maint |
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: | 2012-12-01 11:11:38 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
Richard W.M. Jones
2012-03-07 17:34:39 UTC
Not unsurprisingly, libguestfs 1.19.65 also cannot get an icon for Windows 8 (full release). $ ./run ./inspector/virt-inspector /tmp/win8x32.img <?xml version="1.0"?> <operatingsystems> <operatingsystem> <root>/dev/sda2</root> <name>windows</name> <arch>i386</arch> <distro>windows</distro> <product_name>Windows 8 Enterprise</product_name> <product_variant>Client</product_variant> <major_version>6</major_version> <minor_version>2</minor_version> <windows_systemroot>/Windows</windows_systemroot> <windows_current_control_set>ControlSet001</windows_current_control_set> <hostname>win8x32</hostname> <format>installed</format> <mountpoints> <mountpoint dev="/dev/sda2">/</mountpoint> </mountpoints> <filesystems> <filesystem dev="/dev/sda2"> <type>ntfs</type> <uuid>4EC00F45C00F32AF</uuid> </filesystem> </filesystems> <drive_mappings> <drive_mapping name="C">/dev/sda2</drive_mapping> </drive_mappings> <applications/> </operatingsystem> </operatingsystems> I added this temporary patch: commit 160977987f8e3922cebcdaaeb36fa69f92dc7587 (HEAD, master) Author: Richard W.M. Jones <rjones> Date: Fri Nov 30 23:00:33 2012 +0000 inspection: Temporary logo for Windows 8. See the comment from the code: NB about Windows 8: No location we've found so far contains a suitable icon for Win8. In particular, explorer.exe definitely does *not* contain any Windows logo as a resource (I checked). Therefore the "basket icon" that this produces is just a stand-in until we have a better idea for solving this problem. Final fix is upstream: https://github.com/libguestfs/libguestfs/commit/3d59ed5458575e417e704db58ede43a4e386014d |