Skip to content

Commit

Permalink
xenpv: Fix qemu_uuid compiling error
Browse files Browse the repository at this point in the history
9c5ce8d 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>
  • Loading branch information
Fam Zheng committed Sep 29, 2016
1 parent c640f28 commit 84d0984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/xenpv/xen_domainbuild.c
Expand Up @@ -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");
Expand Down

0 comments on commit 84d0984

Please sign in to comment.