diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-09-27 10:08:50 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-09-28 13:24:51 +0200 |
commit | 794afd7096f1ef3ea632b5cf75998562a2f8029a (patch) | |
tree | d90f4710d6b67a6b415e696f0ac2687ffce09601 /target-s390x | |
parent | c679e74d2e29fa08ede9121d59aee4e9675611d7 (diff) | |
download | qemu-794afd7096f1ef3ea632b5cf75998562a2f8029a.zip |
s390x/kvm: fix build against qemu_uuid
commit 9c5ce8db2e5c ("vl: Switch qemu_uuid to QemuUUID") changed most
users of qemu_uuid but not all. Fix a build error on s390/kvm.
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x')
-rw-r--r-- | target-s390x/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index a95d3da0f8..495905cf8e 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -1999,7 +1999,7 @@ static void insert_stsi_3_2_2(S390CPU *cpu, __u64 addr, uint8_t ar) strcpy((char *)sysib.ext_names[0], "KVMguest"); } /* Insert UUID */ - memcpy(sysib.vm[0].uuid, qemu_uuid, sizeof(sysib.vm[0].uuid)); + memcpy(sysib.vm[0].uuid, &qemu_uuid, sizeof(sysib.vm[0].uuid)); s390_cpu_virt_mem_write(cpu, addr, ar, &sysib, sizeof(sysib)); } |