diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-10-07 18:17:15 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-13 10:47:49 +0200 |
commit | cd35beb488c655a86da60d85949c026387187171 (patch) | |
tree | b9795d5587f3a5c9f46e43e0d7899c22be4ffb81 /target/i386 | |
parent | aa3950182f902a48f60d7040069b092eb5aaae21 (diff) | |
download | qemu-cd35beb488c655a86da60d85949c026387187171.zip qemu-cd35beb488c655a86da60d85949c026387187171.tar.gz qemu-cd35beb488c655a86da60d85949c026387187171.tar.bz2 |
monitor: Reduce hmp_info_sev() declaration
While being conditionally used for TARGET_I386 in hmp-commands-info.hx,
hmp_info_sev() is declared for all targets. Reduce its declaration
to target including "monitor/hmp-target.h". This is a minor cleanup.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211007161716.453984-23-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r-- | target/i386/sev-sysemu-stub.c | 2 | ||||
-rw-r--r-- | target/i386/sev.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/sev-sysemu-stub.c b/target/i386/sev-sysemu-stub.c index 68518fd..7a29295 100644 --- a/target/i386/sev-sysemu-stub.c +++ b/target/i386/sev-sysemu-stub.c @@ -13,7 +13,7 @@ #include "qemu/osdep.h" #include "monitor/monitor.h" -#include "monitor/hmp.h" +#include "monitor/hmp-target.h" #include "qapi/qapi-commands-misc-target.h" #include "qapi/qmp/qerror.h" #include "qapi/error.h" diff --git a/target/i386/sev.c b/target/i386/sev.c index 1950479..4c64c68 100644 --- a/target/i386/sev.c +++ b/target/i386/sev.c @@ -32,7 +32,7 @@ #include "migration/blocker.h" #include "qom/object.h" #include "monitor/monitor.h" -#include "monitor/hmp.h" +#include "monitor/hmp-target.h" #include "qapi/qapi-commands-misc-target.h" #include "qapi/qmp/qerror.h" #include "exec/confidential-guest-support.h" |