Module Name: src Committed By: bouyer Date: Wed Sep 9 16:46:06 UTC 2020
Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Workarounds for amazon's Xen 4.2 version, still present on some instances: - It doens't provides an xencons, so allow HVM_PARAM_CONSOLE_PFN to fail - the xen clock is not fully functionnal, so don't try to use it if HVM_PARAM_CONSOLE_PFN failed. - it doesn't have XEN_HVM_CPUID_VCPU_ID_PRESENT so fall back to ci_acpiid as ci_vcpuid in this case. It also doesn't support the per-CPU event callback; so fix the fallback to global vector (don't try to register more per-cpu vector) Should fix port-amd64/55543 To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/sys/arch/xen/xen/hypervisor.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.