xenpv: Fix qemu_uuid compiling error
PATCH 1/1 xenpv: Fix qemu_uuid compiling error
9c5ce8db2 switched the type of qemu_uuid and this should have followed. Fix it.
Signed-off-by Fam Zheng <[email protected]>
--- hw/xenpv/xen_domainbuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/xenpv/xen_domainbuild.c +1 -1
@@ -232,7 +232,7 @@ int xen_domain_build_pv(const char *kernel, const char *ramdisk,unsigned long xenstore_mfn =0 , console_mfn =0 ;int rc; -memcpy (uuid, qemu_uuid,sizeof (uuid)); +memcpy (uuid, &qemu_uuid,sizeof (uuid)); rc =xen_domain_create (xen_xc, ssidref, uuid, flags, &xen_domid);if (rc <0 ) {fprintf (stderr,"xen: xc_domain_create() failed\n" );
Signature · 1 line
2.7.4
Quoted 7 lines · Fam Zheng
9c5ce8db2switched the type ofqemu_uuidand this should have followed. Fix it.Signed-off-by Fam Zheng <[email protected]>--- hw/xenpv/xen_domainbuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Eric Blake <[email protected]>
Quoted 15 lines
hw/xenpv/xen_domainbuild.c +1
-1@@ -232,7 +232,7 @@ int xen_domain_build_pv(const char *kernel, const char *ramdisk,unsigned long xenstore_mfn =0 , console_mfn =0 ;int rc; -memcpy (uuid, qemu_uuid,sizeof (uuid)); +memcpy (uuid, &qemu_uuid,sizeof (uuid)); rc =xen_domain_create (xen_xc, ssidref, uuid, flags, &xen_domid);if (rc <0 ) {fprintf (stderr,"xen: xc_domain_create() failed\n" );
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Stefano Stabellini
Acked-byQuoted 10 lines · Eric Blake
Quoted 7 lines · Fam Zheng
9c5ce8db2switched the type ofqemu_uuidand this should have followed. Fix it.Signed-off-by Fam Zheng <[email protected]>--- hw/xenpv/xen_domainbuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Eric Blake <[email protected]>
Quoted 21 lines
Quoted 15 lines
hw/xenpv/xen_domainbuild.c +1
-1@@ -232,7 +232,7 @@ int xen_domain_build_pv(const char *kernel, const char *ramdisk,unsigned long xenstore_mfn =0 , console_mfn =0 ;int rc; -memcpy (uuid, qemu_uuid,sizeof (uuid)); +memcpy (uuid, &qemu_uuid,sizeof (uuid)); rc =xen_domain_create (xen_xc, ssidref, uuid, flags, &xen_domid);if (rc <0 ) {fprintf (stderr,"xen: xc_domain_create() failed\n" );Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Fam Zheng
AppliedQuoted 5 lines · Stefano Stabellini
Quoted 4 lines · Eric Blake
Quoted 3 lines · Fam Zheng
9c5ce8db2switched the type ofqemu_uuidand this should have followed. Fix it.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Signed-off-by Fam Zheng <[email protected]>--- hw/xenpv/xen_domainbuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Eric Blake <[email protected]>
Queued for next pull request, thanks.
Fam