From nobody Thu Mar 28 23:35:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1555337795; cv=none; d=zoho.com; s=zohoarc; b=eGUpIj15P9Wso3JoFQjyrjx6lwneXvDr2mKbGosFrYG2VyzPew7oCsh08IQNa4zpzY1Qc6+GNKxn3O3U8UwuvI+6EliyyVZmNQm36i0OzZ5JxNZD3hAu4b/S61klAMZFR5d1FczwzKgj0WJMYkm9pqcPDXquuDwixqM9NlI/LJw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555337795; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=WwnKAnjhgdHMk+ki++ZAGmgUvyewXBh1nbxE7TfSufg=; b=a4LGmeTwejKyw1WWQGnH96OPv+PtpjeyPEscpbrFo0TNI7aM6fvgw4FM6ZlYAnP6NwUFmVwcm3Ph/fy33P7Fcp4MMNGu/LiNdubSw+q14WQhxks0N6eX5mi/US9PTt4kQix/00vIY5yR1wOKiop7KPtpQi22XdMBNfcgGLHjirQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1555337795595909.1522895830125; Mon, 15 Apr 2019 07:16:35 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2B3F1308FE8F; Mon, 15 Apr 2019 14:16:32 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E9488108F83F; Mon, 15 Apr 2019 14:16:31 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 8C64C3FB15; Mon, 15 Apr 2019 14:16:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x3FEGJDX013694 for ; Mon, 15 Apr 2019 10:16:20 -0400 Received: by smtp.corp.redhat.com (Postfix) id F13FE608C6; Mon, 15 Apr 2019 14:16:19 +0000 (UTC) Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.40]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EA006608C2 for ; Mon, 15 Apr 2019 14:16:16 +0000 (UTC) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 840CD306548D for ; Mon, 15 Apr 2019 14:16:08 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id k11so22207649wro.5 for ; Mon, 15 Apr 2019 07:16:08 -0700 (PDT) Received: from localhost ([2001:67c:1560:a003:b047:7014:130f:c17b]) by smtp.gmail.com with ESMTPSA id f11sm68360423wrm.30.2019.04.15.07.16.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Apr 2019 07:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=surgut.co.uk; s=google; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IUDlOKzcblFf1TE6cZFRX6woQ1iq9sUXvJIVc97ISRc=; b=Yl2iwJCKQg4op4it+JjVfjU8yfvURI4/oJTluL4EdAedp9YRSsr/pq7NShI5zOgZXe DpQIClDHSpkCkDAeQK3q/iMfaXgoUAWyf/10pNwvbqp0I4QnvpyyA6fNItWabCodOtJI 92r/BLyPUGeyVX3oLDxge6P3tnWjbkePx2dyU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=IUDlOKzcblFf1TE6cZFRX6woQ1iq9sUXvJIVc97ISRc=; b=a/fBAMrVUVSluHNj6SsUKy+ng0QGrqrw7xHq4xK2DtatDY+PZWkaaaOKDWOrcsyqrc xdArapxuVSKRiIy53XBuyqAtR93Ni5KqiYTmUNS7FqYQuqgYRSuaD6Ry6P5tR72QC4ZX r9xJx6fE2BMg2jWDvLNWJYglGoNVsB4jnH3WKmpPh9aE/8vGdHpKhpmY0lm12AcaV0Ih +F5ZmM1bT6E/UINg6QIznCjVxgoD00+2hYjNDVEtQea8NXXJnEmLjpvPUh98+FcjmtsW 1V6/pTemYZ7JX0LgSoyojooU9YdrmDMZY5hz4OX9q7bSFLbXTbI9DDlSOrxd7K2Oaf9Z DM3g== X-Gm-Message-State: APjAAAUbfi9/6bhcatIYWVyDjmM5IyyTY3/2ZDIouUw2CotwDgVyjZIR qkchcs8CHlQ4PZolLnpFAhogtuD9Mwc= X-Google-Smtp-Source: APXvYqyr4Pao3a4dMZM/5TIXfugQi6dA6Wrd25NyEk1VilsX4VzzTRZiQFA/nIMdLdCEa4qW/jgjMw== X-Received: by 2002:a5d:69c7:: with SMTP id s7mr19421590wrw.71.1555337766625; Mon, 15 Apr 2019 07:16:06 -0700 (PDT) From: Dimitri John Ledkov To: libvir-list@redhat.com Date: Mon, 15 Apr 2019 15:15:59 +0100 Message-Id: <20190415141559.20751-2-xnox@ubuntu.com> In-Reply-To: <20190415141559.20751-1-xnox@ubuntu.com> References: <20190415141559.20751-1-xnox@ubuntu.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Mon, 15 Apr 2019 14:16:08 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Mon, 15 Apr 2019 14:16:08 +0000 (UTC) for IP:'209.85.221.67' DOMAIN:'mail-wr1-f67.google.com' HELO:'mail-wr1-f67.google.com' FROM:'dimitri.ledkov@surgut.co.uk' RCPT:'' X-RedHat-Spam-Score: -0.014 (DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS) 209.85.221.67 mail-wr1-f67.google.com 209.85.221.67 mail-wr1-f67.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.40 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Cc: Dimitri John Ledkov Subject: [libvirt] [PATCH 1/1] viruuid: On POWER, qemu exports uuid as 'vm, uuid' devicetree node. X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Mon, 15 Apr 2019 14:16:32 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Signed-off-by: Dimitri John Ledkov Reviewed-by: Christian Ehrhardt --- 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[] =3D { "/sys/devices/virtual/dmi/id/product_uuid", "/sys/class/dmi/id/product_uuid", + "/sys/firmware/devicetree/base/vm,uuid", NULL }; =20 --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list