From: John Wolfe Date: Fri, 4 Nov 2022 18:45:05 +0000 (-0700) Subject: Changes to common source files not applicable to open-vm-tools. X-Git-Tag: stable-12.2.0~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da618bbbdaa6341c478d548a7d951250c571ad8e;p=thirdparty%2Fopen-vm-tools.git Changes to common source files not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/hostinfo.h b/open-vm-tools/lib/include/hostinfo.h index 77a6d9742..05f2ef5de 100644 --- a/open-vm-tools/lib/include/hostinfo.h +++ b/open-vm-tools/lib/include/hostinfo.h @@ -163,7 +163,6 @@ Bool Hostinfo_Daemonize(const char *path, Bool Hostinfo_NestingSupported(void); Bool Hostinfo_VCPUInfoBackdoor(unsigned bit); -Bool Hostinfo_SynchronizedVTSCs(void); Bool Hostinfo_TouchBackDoor(void); Bool Hostinfo_TouchVirtualPC(void); Bool Hostinfo_TouchXen(void); diff --git a/open-vm-tools/lib/misc/hostinfoHV.c b/open-vm-tools/lib/misc/hostinfoHV.c index 7af7d169e..77252b181 100644 --- a/open-vm-tools/lib/misc/hostinfoHV.c +++ b/open-vm-tools/lib/misc/hostinfoHV.c @@ -422,35 +422,6 @@ Hostinfo_HyperV(void) } -/* - *---------------------------------------------------------------------- - * - * Hostinfo_SynchronizedVTSCs -- - * - * Access the backdoor to determine if the VCPUs' TSCs are - * synchronized. - * - * Results: - * TRUE if the outer VM provides synchronized VTSCs. - * FALSE otherwise. - * - * Side effects: - * Exception if not in a VM, so don't do that! - * - *---------------------------------------------------------------------- - */ - -Bool -Hostinfo_SynchronizedVTSCs(void) -{ -#if defined(__i386__) || defined(__x86_64__) - return Hostinfo_VCPUInfoBackdoor(BDOOR_CMD_VCPU_SYNC_VTSCS); -#else - return FALSE; -#endif -} - - #if defined(_WIN32) #if defined(_WIN64)