aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-10-07 18:17:00 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-13 10:47:49 +0200
commitf83aeeaeba1cf3e25d6292d9cc12064bfe2e78ab (patch)
treef6021753dbbdc075e4a751bb29aa532c1fda8224 /target
parent9f885cac701325ebcbf7e4393aa9b21b32ec3c12 (diff)
downloadqemu-f83aeeaeba1cf3e25d6292d9cc12064bfe2e78ab.zip
qemu-f83aeeaeba1cf3e25d6292d9cc12064bfe2e78ab.tar.gz
qemu-f83aeeaeba1cf3e25d6292d9cc12064bfe2e78ab.tar.bz2
target/i386/cpu: Add missing 'qapi/error.h' header
Commit 00b81053244 ("target-i386: Remove assert_no_error usage") forgot to add the "qapi/error.h" for &error_abort, add it now. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Connor Kuehl <ckuehl@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211007161716.453984-8-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/i386/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index a7b1b6a..b54b985 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -27,6 +27,7 @@
#include "sysemu/hvf.h"
#include "kvm/kvm_i386.h"
#include "sev_i386.h"
+#include "qapi/error.h"
#include "qapi/qapi-visit-machine.h"
#include "qapi/qmp/qerror.h"
#include "qapi/qapi-commands-machine-target.h"