Bug 1598348 - RFE: Support fetching <genid> from VMware guests
Summary: RFE: Support fetching <genid> from VMware guests
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: ---
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Pino Toscano
QA Contact: mxie@redhat.com
Depends On: 1159983 vmgenid vmgenid-libvirt 1591628
Blocks: TRACKER-bugs-affecting-libguestfs 1477664 1118825 1159981
TreeView+ depends on / blocked
Reported: 2018-07-05 07:48 UTC by Richard W.M. Jones
Modified: 2019-06-11 20:45 UTC (History)
28 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: vmgenid-libvirt
Last Closed:
Type: Feature Request
Target Upstream Version:

Attachments (Terms of Use)

Description Richard W.M. Jones 2018-07-05 07:48:30 UTC

VMware supports genid in its vmx metadata files, eg:

vm.genid = "7344585841658099715"
vm.genidX = "-8483171368186442967"

However the <genid> tag does not appear when dumping the XML of this guest>

# virsh -c vpx://root@xx/data/ dumpxml esx6.0-win2012r2-x86_64 
Enter root's password for xx: 
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>

We expect to see <genid> here, as described here:


Comment 2 Daniel Berrangé 2018-07-05 07:59:59 UTC
Hmm, genid should be a UUID, which means 16 unsigned bytes.  I guess vm.genid and vm.genidX are 8 byte signed integers which are supposed to be combined to form the full 16 byte UUID.

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