hyperv/vmbus: Nuke unnecessary MSR read
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6528
This commit is contained in:
parent
8239b2f287
commit
c1d5ebc5a4
@ -215,15 +215,9 @@ vmbus_synic_setup(void *xsc)
|
|||||||
hv_vmbus_synic_siefp siefp;
|
hv_vmbus_synic_siefp siefp;
|
||||||
hv_vmbus_synic_scontrol sctrl;
|
hv_vmbus_synic_scontrol sctrl;
|
||||||
hv_vmbus_synic_sint shared_sint;
|
hv_vmbus_synic_sint shared_sint;
|
||||||
uint64_t version;
|
|
||||||
|
|
||||||
cpu = PCPU_GET(cpuid);
|
cpu = PCPU_GET(cpuid);
|
||||||
|
|
||||||
/*
|
|
||||||
* TODO: Check the version
|
|
||||||
*/
|
|
||||||
version = rdmsr(HV_X64_MSR_SVERSION);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Setup the Synic's message page
|
* Setup the Synic's message page
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user