Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistently use "handler is undefined" for missing handlers.
nvproxy additionally branches at the following points which are not covered by the ABI struct: 1. Frontend ioctl NV_ESC_RM_ALLOC_MEMORY on nv_ioctl_nvos02_parameters_with_fd::params::hClass. 2. Frontend ioctl NV_ESC_RM_VID_HEAP_CONTROL on NVOS32_PARAMETERS::function. In case nvproxy doesn't implement one of the values, it should print a warning with the same prefix of "handler is undefined" which is used for other branch points. This will make it easier to grep for missing nvproxy functionality. Also update documentation for nvproxy debugging. Earlier, nvproxy logged "nvproxy: unknown ..." for such situations. That changed with 6953ca0 ("Add NVIDIA driver capability segmentation support to nvproxy."), which moved to using "nvproxy: handler is undefined ...". PiperOrigin-RevId: 726565029
- Loading branch information