The UUID of each guest is collected by the probe and held in the db in table cm_device_attribute it has the dev_attr_key VirtualID
you would need to look up the dev_id for the vm from the cm_device table and then use this to query the cm_device_attribute table
1. look up the dev_id for the vm from the cm_device table
SELECT dev_id ,dev_name FROM [CA_UIM].[dbo].[CM_DEVICE] where dev_name = 'svr2012'
2.use this to query the cm_device_attribute table
SELECT dev_attr_value FROM [CA_UIM].[dbo].[CM_DEVICE_ATTRIBUTE] where dev_id = 'D9553bd962be2f38f89d37d7923e378fb' AND dev_attr_key = 'VirtualID'