Module Name: src Committed By: snj Date: Wed Oct 25 07:05:55 UTC 2017
Modified Files: src/sys/arch/x86/x86 [netbsd-8]: vmt.c Log Message: Pull up following revision(s) (requested by maya in ticket #325): sys/arch/x86/x86/vmt.c: revision 1.18 Check that the host supports GET_SPEED as well as GET_VERSION before deciding vmt_probe has succeeded. qemu supports GET_VERSION but not the RPC protocol so the probe succeeds but the attach fails, resulting in "vmt0: failed to open backdoor RPC channel (TCLO protocol)". All known versions of vmware support GET_SPEED and no known qemu versions do, so this prevents it from attempting to attach (and failing) on qemu while still working on vmware. stop checking vmt_type to avoid having to adapt this code. - Taken from openbsd To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.17.2.1 src/sys/arch/x86/x86/vmt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.