diff options
author | Fam Zheng <famz@redhat.com> | 2016-09-27 17:20:11 +0800 |
---|---|---|
committer | Fam Zheng <famz@redhat.com> | 2016-09-29 11:43:17 +0800 |
commit | 84d0984dfe336f24109a6792d06aad0e9ae5e0a6 (patch) | |
tree | eb3d5eb5cbaafa1333a56cdaa762df97a13a12a2 /hw | |
parent | c640f2849ee8775fe1bbd7a2772610aa77816f9f (diff) |
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 <famz@redhat.com>
Message-Id: <1474968011-29382-1-git-send-email-famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xenpv/xen_domainbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xenpv/xen_domainbuild.c b/hw/xenpv/xen_domainbuild.c index b439b0ed5d..457a8976c3 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 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"); |