]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
guestrpc module to handle VMware backdoor port GuestRPC functionality
authorStephen J. Kiernan <stevek@FreeBSD.org>
Wed, 1 May 2024 19:45:45 +0000 (15:45 -0400)
committerStephen J. Kiernan <stevek@FreeBSD.org>
Wed, 1 May 2024 19:45:45 +0000 (15:45 -0400)
commitecaab0fb5da4cd7340c62b77bcb19efcfa1b69df
tree25fb75cce1265cb08216db09f85d18eea8f2c54f
parentf4b08097d8e274e1a8526d864c31462ea42d9e9f
guestrpc module to handle VMware backdoor port GuestRPC functionality

Convert existing FreeBSD vmware_hvcall function to take a channel
and parameter arguments.

Added vmware_guestrpc_cmd() to send GuestRPC commands to the VMware
hypervisor. The sbuf argument is used for both the command to send
and to store the data to return to the caller.

The following KPIs can be used to get and set FreeBSD-specific guest
information in key/value pairs:
 * vmware_guestrpc_set_guestinfo
   - set a value into the guestinfo.fbsd.<keyword> key
 * vmware_guestrpc_get_guestinfo
   - get the value stored in the guestinfo.fbsd.<keyword> key

Add VMware devices to x86 NOTES

Reviewed by: jhb
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D44528
sys/conf/files.x86
sys/x86/acpica/madt.c
sys/x86/conf/NOTES
sys/x86/include/vmware.h
sys/x86/include/vmware_guestrpc.h [new file with mode: 0644]
sys/x86/x86/identcpu.c
sys/x86/x86/tsc.c
sys/x86/x86/vmware_guestrpc.c [new file with mode: 0644]