Skip to content

Commit

Permalink
s390x/kvm: fix build against qemu_uuid
Browse files Browse the repository at this point in the history
commit 9c5ce8d ("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>
  • Loading branch information
borntraeger committed Sep 28, 2016
1 parent c679e74 commit 794afd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target-s390x/kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 794afd7

Please sign in to comment.