Quick note: KVM supports the “-uuid
” option to set the value of /sys/devices/virtual/dmi/id/product_uuid
. Looks like libvirt supports this under capabilities / host / uuid
in the XML, too.
host# kvm -uuid 12345678-ABCD-1234-ABCD-1234567890AB ... host# ssh localhost ... ... guest# cat /sys/devices/virtual/dmi/id/product_uuid 12345678-ABCD-1234-ABCD-1234567890AB
© 2012, Kees Cook. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.