| 1 | /* |
| 2 | * Stub interface for CPER payload parser for error injection |
| 3 | * |
| 4 | * Copyright(C) 2024-2025 Huawei LTD. |
| 5 | * |
| 6 | * This code is licensed under the GPL version 2 or later. See the |
| 7 | * COPYING file in the top-level directory. |
| 8 | * |
| 9 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 10 | */ |
| 11 | |
| 12 | #include "qemu/osdep.h" |
| 13 | #include "qapi/error.h" |
| 14 | #include "qapi/qapi-commands-acpi-hest.h" |
| 15 | #include "hw/acpi/ghes.h" |
| 16 | |
| 17 | void qmp_inject_ghes_v2_error(const char *cper, Error **errp) |
| 18 | { |
| 19 | error_setg(errp, "GHES QMP error inject is not compiled in"); |
| 20 | } |