hv: add a hypercall for the hypervisor NPK log

The hypercall HC_SETUP_HV_NPK_LOG is added to enable/disable/configure
the hypervisor NPK log.

Signed-off-by: Zhi Jin <zhi.jin@intel.com>
Signed-off-by: Zhonghua Sun <zhonghua.sun@intel.com>
Reviewed-by: CHEN Gang <gang.c.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Zhi Jin
2018-08-01 10:54:23 +08:00
committed by wenlingz
parent f4eef9710d
commit dcae438306
6 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/*
* Copyright (C) 2018 Intel Corporation.
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef NPK_LOG_H
#define NPK_LOG_H
static inline void npk_log_setup(__unused struct hv_npk_log_param *param)
{}
#endif /* NPK_LOG_H */