/*********************************************************
- * Copyright (C) 1998-2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 1998-2022 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
#define BDOOR_CMD_SENDPSHAREHINTS 66 /* Not in use. Deprecated. */
#define BDOOR_CMD_ENABLE_USB_MOUSE 67
#define BDOOR_CMD_GET_VCPU_INFO 68
-# define BDOOR_CMD_VCPU_SLC64 0
+//#define BDOOR_CMD_VCPU_SLC64 0 /* BT-is-dead. Deprecated. */
# define BDOOR_CMD_VCPU_SYNC_VTSCS 1
-# define BDOOR_CMD_VCPU_HV_REPLAY_OK 2
+//#define BDOOR_CMD_VCPU_HV_REPLAY_OK 2 /* Replay-is-dead. Deprecated.*/
# define BDOOR_CMD_VCPU_LEGACY_X2APIC_OK 3
# define BDOOR_CMD_VCPU_MMIO_HONORS_PAT 4
# define BDOOR_CMD_VCPU_RESERVED 31
/*********************************************************
- * Copyright (C) 1998-2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 1998-2022 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
Bool Hostinfo_NestingSupported(void);
Bool Hostinfo_VCPUInfoBackdoor(unsigned bit);
Bool Hostinfo_SynchronizedVTSCs(void);
-Bool Hostinfo_NestedHVReplaySupported(void);
Bool Hostinfo_TouchBackDoor(void);
Bool Hostinfo_TouchVirtualPC(void);
Bool Hostinfo_TouchXen(void);
/*********************************************************
- * Copyright (C) 2011-2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 2011-2022 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
}
-/*
- *----------------------------------------------------------------------
- *
- * Hostinfo_NestedHVReplaySupported --
- *
- * Access the backdoor with a HV replay control query. This is used
- * to determine if we are running in a VM that supports nested HV replay.
- * This function should only be called after determining that the
- * backdoor is present with Hostinfo_TouchBackdoor().
- *
- * Results:
- * TRUE if the outer VM supports nexted HV replay.
- * FALSE otherwise.
- *
- * Side effects:
- * Exception if not in a VM, so don't do that!
- *
- *----------------------------------------------------------------------
- */
-
-Bool
-Hostinfo_NestedHVReplaySupported(void)
-{
-#if defined(__i386__) || defined(__x86_64__)
- return Hostinfo_VCPUInfoBackdoor(BDOOR_CMD_VCPU_HV_REPLAY_OK);
-#else
- return FALSE;
-#endif
-}
-
-
/*
*----------------------------------------------------------------------
*