qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé via" <qemu-devel@nongnu.org>
To: qemu-devel@nongnu.org
Cc: "Richard Henderson" <richard.henderson@linaro.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Thomas Huth" <thuth@redhat.com>
Subject: [PATCH v2 4/9] qtest: Add missing 'hw/qdev-core.h' include
Date: Mon,  7 Feb 2022 09:27:51 +0100	[thread overview]
Message-ID: <20220207082756.82600-5-f4bug@amsat.org> (raw)
In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org>

Add "hw/qdev-core.h" to avoid when refactoring include/:

  softmmu/qtest.c:404:9: error: use of undeclared identifier 'NamedGPIOList'
        NamedGPIOList *ngl;
        ^

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 softmmu/qtest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/softmmu/qtest.c b/softmmu/qtest.c
index 72751e1fd8..8b7cb6aa8e 100644
--- a/softmmu/qtest.c
+++ b/softmmu/qtest.c
@@ -19,6 +19,7 @@
 #include "chardev/char-fe.h"
 #include "exec/ioport.h"
 #include "exec/memory.h"
+#include "hw/qdev-core.h"
 #include "hw/irq.h"
 #include "qemu/accel.h"
 #include "sysemu/cpu-timers.h"
-- 
2.34.1



  parent reply	other threads:[~2022-02-07  9:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07  8:27 [PATCH v2 0/9] exec: Remove 'qemu/log.h' from 'exec-all.h' Philippe Mathieu-Daudé via
2022-02-07  8:27 ` [PATCH v2 1/9] hw/tpm: Clean includes Philippe Mathieu-Daudé via
2022-02-07  8:27 ` [PATCH v2 2/9] hw/remote: Add missing include Philippe Mathieu-Daudé via
2022-02-07  8:27 ` [PATCH v2 3/9] hw/acpi/memory_hotplug: Remove unused 'hw/acpi/pc-hotplug.h' header Philippe Mathieu-Daudé via
2022-02-07  8:27 ` Philippe Mathieu-Daudé via [this message]
2022-02-07  8:27 ` [PATCH v2 5/9] exec/ramblock: Add missing includes Philippe Mathieu-Daudé via
2022-02-07  8:27 ` [PATCH v2 6/9] core/ptimers: Remove unnecessary 'sysemu/cpus.h' include Philippe Mathieu-Daudé via
2022-02-07  8:27 ` [PATCH v2 7/9] target: Add missing "qemu/timer.h" include Philippe Mathieu-Daudé via
2022-02-07  8:27 ` [PATCH v2 8/9] linux-user: " Philippe Mathieu-Daudé via
2022-02-07  8:27 ` [PATCH v2 9/9] exec/exec-all: Move 'qemu/log.h' include in units requiring it Philippe Mathieu-Daudé via
2022-02-21 12:22 ` [PATCH v2 0/9] exec: Remove 'qemu/log.h' from 'exec-all.h' Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220207082756.82600-5-f4bug@amsat.org \
    --to=qemu-devel@nongnu.org \
    --cc=f4bug@amsat.org \
    --cc=pbonzini@redhat.com \
    --cc=richard.henderson@linaro.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).