mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-15 12:00:26 +00:00
Now moved all the guest related (risc-v doesn't support VMs) and x86 specific commands to x86_shell.c except shell_dump_host_mem. common for guest. > -static int32_t shell_list_vm(__unused int32_t argc, __unused char **argv); > -static int32_t shell_list_vcpu(__unused int32_t argc, __unused char **argv); > -static int32_t shell_to_vm_console(int32_t argc, char **argv); depends on how we map guest memory. > -static int32_t shell_dump_guest_mem(int32_t argc, char **argv); common concept but arch special implementation. > -static int32_t shell_vcpu_dumpreg(int32_t argc, char **argv); > -static int32_t shell_show_cpu_int(__unused int32_t argc, __unused char **argv); > -static int32_t shell_show_ptdev_info(__unused int32_t argc, __unused char **argv); > -static int32_t shell_reboot(int32_t argc, char **argv); x86 special > -static int32_t shell_show_vioapic_info(int32_t argc, char **argv); > -static int32_t shell_show_ioapic_info(__unused int32_t argc, __unused char **argv); > -static int32_t shell_cpuid(int32_t argc, char **argv); > -static int32_t shell_rdmsr(int32_t argc, char **argv); > -static int32_t shell_wrmsr(int32_t argc, char **argv); common but not added for now. > -static int32_t shell_dump_host_mem(int32_t argc, char **argv); Tracked-On: #8805 Signed-off-by: Fei Li <fei1.li@intel.com>
17 lines
404 B
C
17 lines
404 B
C
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <types.h>
|
|
#include <acrn_hv_defs.h>
|
|
|
|
uint16_t npk_loglevel;
|
|
|
|
void npk_log_setup(__unused struct hv_npk_log_param *param) {}
|
|
void npk_log_write(__unused const char *buf, __unused size_t len) {}
|
|
|
|
bool npk_need_log(__unused uint32_t severity) { return false; }
|
|
void npk_log(__unused char *buffer) {}
|