>From XenServer only point of view, this block of code is redundant. Because >result of `dmesg | grep -q "Xen HVM"` on HVM instance on XenServer, line 41, >will work 100% of the time. The gotcha point of this function is to look for >hvm on xen the first thing and if not a match let the rest of the function try >to detect the _type_.
A while back I had the same issue and did a non-conclusive investigation about how `virt-what` works, and was actually getting all sorts of results/order on HVM and PV instance on Xen Server. Essentially the workaround I came up with the same as mentioned above. [ Full content available at: https://github.com/apache/cloudstack/pull/2824 ] This message was relayed via gitbox.apache.org for [email protected]
