提交 84d0984d 编写于 作者: F Fam Zheng

xenpv: Fix qemu_uuid compiling error

9c5ce8db switched the type of qemu_uuid and this should have followed.
Fix it.
Signed-off-by: NFam Zheng <famz@redhat.com>
Message-Id: <1474968011-29382-1-git-send-email-famz@redhat.com>
Reviewed-by: NEric Blake <eblake@redhat.com>
Acked-by: NStefano Stabellini <sstabellini@kernel.org>
上级 c640f284
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册