I'm creating a new domU using 'virsh create <xmlfile>' without specifying the MAC address within the XML file, under the assumption that the dom0 or hypervisor generates the MAC address for me. Next I'd like to get the MAC address that was assigned to this new domU, and I don't see a way to get that information from the command line via virsh or xm. The closest thing I've found is that you can use 'xm info' and it will give you some MAC address-looking values in its hw_caps line, but I can't find any documentation which explains how to interpret these values and whether or not they're actually related to any of the domUs. I'd like to leverage a shell command if possible for this since I'm communicating with the machine that is running xVM via ssh from a Java program. Can anyone give me any suggestions on how I'd go about doing this?

Thanks in advance for any ideas.

--James
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to