include/hw/i386: Don't include qemu-common.h in .h files
commit9cafc0735f5451dd6c8845f2a5c2c73bd7a7580c
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Nov 2021 20:05:07 +0000 (29 20:05 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:35:26 +0000 (15 10:35 +0000)
treea4e353609aa287777c00fd4f807de810610d5c00
parente0e875a68a1cc699658a40b8449267c7460de60f
include/hw/i386: Don't include qemu-common.h in .h files

The qemu-common.h header is not supposed to be included from any
other header files, only from .c files (as documented in a comment at
the start of it).

include/hw/i386/x86.h and include/hw/i386/microvm.h break this rule.
In fact, the include is not required at all, so we can just drop it
from both files.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20211129200510.1233037-2-peter.maydell@linaro.org
include/hw/i386/microvm.h
include/hw/i386/x86.h