From: Eric Blake Subject: Re: [PATCH] xenpv: Fix qemu_uuid compiling error Date: Tue, 27 Sep 2016 10:08:26 -0500 Message-ID: References: <1474968011-29382-1-git-send-email-famz@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PmXMEjcDd48TCclsEJnIhNnuEbmc8QjdS" Return-path: In-Reply-To: <1474968011-29382-1-git-send-email-famz@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: "Qemu-devel" To: Fam Zheng , qemu-devel@nongnu.org Cc: Anthony Perard , xen-devel@lists.xensource.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PmXMEjcDd48TCclsEJnIhNnuEbmc8QjdS From: Eric Blake To: Fam Zheng , qemu-devel@nongnu.org Cc: Anthony Perard , xen-devel@lists.xensource.com, Stefano Stabellini Message-ID: Subject: Re: [Qemu-devel] [PATCH] xenpv: Fix qemu_uuid compiling error References: <1474968011-29382-1-git-send-email-famz@redhat.com> In-Reply-To: <1474968011-29382-1-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/27/2016 04:20 AM, Fam Zheng wrote: > 9c5ce8db2 switched the type of qemu_uuid and this should have followed.= > Fix it. >=20 > Signed-off-by: Fam Zheng > --- > hw/xenpv/xen_domainbuild.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Eric Blake >=20 > diff --git a/hw/xenpv/xen_domainbuild.c b/hw/xenpv/xen_domainbuild.c > index b439b0e..457a897 100644 > --- a/hw/xenpv/xen_domainbuild.c > +++ b/hw/xenpv/xen_domainbuild.c > @@ -232,7 +232,7 @@ int xen_domain_build_pv(const char *kernel, const c= har *ramdisk, > unsigned long xenstore_mfn =3D 0, console_mfn =3D 0; > int rc; > =20 > - memcpy(uuid, qemu_uuid, sizeof(uuid)); > + memcpy(uuid, &qemu_uuid, sizeof(uuid)); > rc =3D xen_domain_create(xen_xc, ssidref, uuid, flags, &xen_domid)= ; > if (rc < 0) { > fprintf(stderr, "xen: xc_domain_create() failed\n"); >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --PmXMEjcDd48TCclsEJnIhNnuEbmc8QjdS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJX6otqAAoJEKeha0olJ0NqcV0IAJ/5geBIBuWk+NRYYz8bgVjy SPQCx2I2Z1dmcYV2F7Tw3J09CTzU+Ger+a4bRnDpUkpmry0QzSVns9BXDSr2Rz0M +yFcrL48wsvjJa6P+DJfb3qZ9qUgb3GkiVqxIlPsRWRfk/zZAAAdk9BeIE3wGIXM VLzInNcxpoY3nXeGMLM7CifQgwv9I0vMxbu2eQMHjkhdPJOfPUzD6YbHENinwIt4 fTpweNbw3blXwNN1J0kZyb6swpK+ijsv7EUUJwLrn5G/u1qEuGpjWYbqvwj6ManX JCPrB36Q/WtrLPEbOfPkxEBUyGGy4HA97vZfi/EztgjKmJ+HzAVkI29wlYVTJ18= =ws16 -----END PGP SIGNATURE----- --PmXMEjcDd48TCclsEJnIhNnuEbmc8QjdS--