[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 15/25] hw/remote: Add missing include
|
From: |
Thomas Huth |
|
Subject: |
[PULL 15/25] hw/remote: Add missing include |
|
Date: |
Mon, 21 Feb 2022 12:59:58 +0100 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Currently "qemu/error-report.h" is implicitly included, however
if headers in include/ get refactored, we get:
hw/remote/proxy-memory-listener.c: In function ‘proxy_memory_listener_commit’:
hw/remote/proxy-memory-listener.c:183:9: error: implicit declaration of
function ‘error_report’; did you mean ‘error_report_err’?
[-Werror=implicit-function-declaration]
183 | error_report("Number of fds is more than %d", REMOTE_MAX_FDS);
| ^~~~~~~~~~~~
| error_report_err
Add the missing "qemu/error-report.h" header to avoid that.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220207082756.82600-3-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/remote/proxy-memory-listener.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/remote/proxy-memory-listener.c
b/hw/remote/proxy-memory-listener.c
index 882c9b4854..0e893f3189 100644
--- a/hw/remote/proxy-memory-listener.c
+++ b/hw/remote/proxy-memory-listener.c
@@ -16,6 +16,7 @@
#include "exec/cpu-common.h"
#include "exec/ram_addr.h"
#include "qapi/error.h"
+#include "qemu/error-report.h"
#include "hw/remote/mpqemu-link.h"
#include "hw/remote/proxy-memory-listener.h"
--
2.27.0
- [PULL 11/25] tests/qtest: failover: test migration if the guest doesn't support failover, (continued)
- [PULL 11/25] tests/qtest: failover: test migration if the guest doesn't support failover, Thomas Huth, 2022/02/21
- [PULL 12/25] tests/qtest: failover: migration abort test with failover off, Thomas Huth, 2022/02/21
- [PULL 14/25] hw/tpm: Clean includes, Thomas Huth, 2022/02/21
- [PULL 05/25] tests/qtest/ide-test: Remove bad retry_isa test, Thomas Huth, 2022/02/21
- [PULL 10/25] tests/qtest: failover: check migration with failover off, Thomas Huth, 2022/02/21
- [PULL 09/25] tests/qtest: failover: check missing guest feature, Thomas Huth, 2022/02/21
- [PULL 13/25] scripts: Remove the old switch-timer-api script, Thomas Huth, 2022/02/21
- [PULL 19/25] core/ptimers: Remove unnecessary 'sysemu/cpus.h' include, Thomas Huth, 2022/02/21
- [PULL 16/25] hw/acpi/memory_hotplug: Remove unused 'hw/acpi/pc-hotplug.h' header, Thomas Huth, 2022/02/21
- [PULL 17/25] qtest: Add missing 'hw/qdev-core.h' include, Thomas Huth, 2022/02/21
- [PULL 15/25] hw/remote: Add missing include,
Thomas Huth <=
- [PULL 21/25] linux-user: Add missing "qemu/timer.h" include, Thomas Huth, 2022/02/21
- [PULL 22/25] softmmu/runstate: Clean headers, Thomas Huth, 2022/02/21
- [PULL 24/25] hw/m68k/mcf: Add missing 'exec/hwaddr.h' header, Thomas Huth, 2022/02/21
- [PULL 18/25] exec/ramblock: Add missing includes, Thomas Huth, 2022/02/21
- [PULL 20/25] target: Add missing "qemu/timer.h" include, Thomas Huth, 2022/02/21
- [PULL 23/25] exec/exec-all: Move 'qemu/log.h' include in units requiring it, Thomas Huth, 2022/02/21
- [PULL 25/25] hw/tricore: Remove unused and incorrect header, Thomas Huth, 2022/02/21
- Re: [PULL 00/25] qtest patches and misc header clean-ups, Philippe Mathieu-Daudé, 2022/02/21
- Re: [PULL 00/25] qtest patches and misc header clean-ups, Peter Maydell, 2022/02/22