mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
hvm: Processor Objects require unique IDs.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
938d51e10e
commit
2d420d93a6
1 file changed
+3
@@ -205,8 +205,11 @@ int construct_processor_objects(uint8_t *buf)
|
||||
for ( i = 0; i < nr_cpus; i++ )
|
||||
{
|
||||
memcpy(p, pdat, sizeof(pdat));
|
||||
/* ProcessorName */
|
||||
p[5] = hex[(i>>4)&15];
|
||||
p[6] = hex[(i>>0)&15];
|
||||
/* ProcessorID */
|
||||
p[7] = i;
|
||||
p += sizeof(pdat);
|
||||
}
|
||||
|
||||
|
||||