diff options
| author | Maxim Levitsky <mlevitsk@redhat.com> | 2021-11-11 12:06:02 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-10 09:47:18 +0100 |
| commit | ecd39d620b0a3938dc3a80721e8aa436075d2916 (patch) | |
| tree | 5dee9dab83c16649fa4d1bbe404f78cecab838ab /include/sysemu/kvm.h | |
| parent | 43709a0ca3b09e952bde3f38112f1d7fbf7c65b1 (diff) | |
| download | focaccia-qemu-ecd39d620b0a3938dc3a80721e8aa436075d2916.tar.gz focaccia-qemu-ecd39d620b0a3938dc3a80721e8aa436075d2916.zip | |
gdbstub: reject unsupported flags in handle_set_qemu_sstep
handle_query_qemu_sstepbits is reporting NOIRQ and NOTIMER bits even if they are not supported (as is the case with record/replay). Instead, store the supported singlestep flags and reject any unsupported bits in handle_set_qemu_sstep. This removes the need for the get_sstep_flags() wrapper. While at it, move the variables in GDBState, instead of using global variables. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> [Extracted from Maxim's patch into a separate commit. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20211111110604.207376-4-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/kvm.h')
0 files changed, 0 insertions, 0 deletions