]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xen: remove xenpv_set_ids
authorroyger <royger@FreeBSD.org>
Thu, 13 Sep 2018 07:08:31 +0000 (07:08 +0000)
committerroyger <royger@FreeBSD.org>
Thu, 13 Sep 2018 07:08:31 +0000 (07:08 +0000)
commit341a0c315329822f01f284ee4048c953e028d378
tree5ba7803e5c688f1e34c49b647b10bf28993c4eb3
parent10e41e054e4a2b1240fe2f63f66f53b8d71e35d6
 xen: remove xenpv_set_ids

The vcpu_id for legacy PVH mode can be set from the output of cpuid,
so there's no need to have a special function to set it.

Also note that xenpv_set_ids should have been executed only for PV
guests, but was executed for all guests types and vcpu_id was later
fixed up for HVM guests.

Reported by: cperciva
Approved by: re (gjb)
Sponsored by: Citrix Systems R&D
sys/x86/xen/hvm.c
sys/x86/xen/pvcpu_enum.c