[PATCH 1/1] viruuid: On POWER, qemu exports uuid as 'vm, uuid' devicetree node.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Dimitri John Ledkov <xnox@xxxxxxxxxx>
---
 src/util/viruuid.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/viruuid.c b/src/util/viruuid.c
index 0c12ddcc3e..8553a68965 100644
--- a/src/util/viruuid.c
+++ b/src/util/viruuid.c
@@ -1,3 +1,4 @@
+
 /*
  * viruuid.c: helper APIs for dealing with UUIDs
  *
@@ -201,6 +202,7 @@ getDMISystemUUID(char *uuid, int len)
     const char *paths[] = {
         "/sys/devices/virtual/dmi/id/product_uuid",
         "/sys/class/dmi/id/product_uuid",
+        "/sys/firmware/devicetree/base/vm,uuid",
         NULL
     };
 
-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux