From: Oliver Kurth Date: Fri, 15 Sep 2017 18:23:50 +0000 (-0700) Subject: Change to shared header file unrelated to open-vm-tools. X-Git-Tag: stable-10.2.0~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca5c37c17a9631533de41eba1f770ca833c07e9;p=thirdparty%2Fopen-vm-tools.git Change to shared header file unrelated to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/hostinfo.h b/open-vm-tools/lib/include/hostinfo.h index 67b09058c..10682d262 100644 --- a/open-vm-tools/lib/include/hostinfo.h +++ b/open-vm-tools/lib/include/hostinfo.h @@ -137,7 +137,6 @@ Bool Hostinfo_Daemonize(const char *path, Bool Hostinfo_NestingSupported(void); Bool Hostinfo_VCPUInfoBackdoor(unsigned bit); -Bool Hostinfo_SLC64Supported(void); Bool Hostinfo_SynchronizedVTSCs(void); Bool Hostinfo_NestedHVReplaySupported(void); Bool Hostinfo_TouchBackDoor(void); diff --git a/open-vm-tools/lib/misc/hostinfoHV.c b/open-vm-tools/lib/misc/hostinfoHV.c index d14f38ab3..df6e215c0 100644 --- a/open-vm-tools/lib/misc/hostinfoHV.c +++ b/open-vm-tools/lib/misc/hostinfoHV.c @@ -280,37 +280,6 @@ Hostinfo_TouchXen(void) } -/* - *---------------------------------------------------------------------- - * - * Hostinfo_SLC64Supported -- - * - * Access the backdoor with an SLC64 control query. This is used - * to determine if we are running in a VM that supports SLC64. - * This function should only be called after determining that the - * backdoor is present with Hostinfo_TouchBackdoor(). - * - * Results: - * TRUE if the outer VM supports SLC64. - * FALSE otherwise. - * - * Side effects: - * Exception if not in a VM, so don't do that! - * - *---------------------------------------------------------------------- - */ - -Bool -Hostinfo_SLC64Supported(void) -{ -#if defined(__i386__) || defined(__x86_64__) - return Hostinfo_VCPUInfoBackdoor(BDOOR_CMD_VCPU_SLC64); -#else - return FALSE; -#endif -} - - /* *---------------------------------------------------------------------- *