diff options
author | Wei Liu <liuwe@linux.microsoft.com> | 2025-02-21 00:36:10 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-25 16:18:12 +0100 |
commit | bc4fa8c3c9b5e2ad945617b667362b71b13495ad (patch) | |
tree | 327ce990f6f431556761243d0058e69a2a66631f /rust/qemu-api | |
parent | 2540917285872ab08f3ce66990983edd19ef4ec0 (diff) | |
download | qemu-bc4fa8c3c9b5e2ad945617b667362b71b13495ad.zip qemu-bc4fa8c3c9b5e2ad945617b667362b71b13495ad.tar.gz qemu-bc4fa8c3c9b5e2ad945617b667362b71b13495ad.tar.bz2 |
target/i386/hvf: fix the declaration of hvf_handle_io
There is a conflicting declaration for hvf_handle_io in x86_emu.c. The type of
the first argument is wrong. There has never been a problem because the first
argument is not used in hvf_handle_io.
That being said, the code shouldn't contain such an error. Use the proper
declaration from hvf-i386.h.
Take the chance to change the first argument's type to be CPUState.
Signed-off-by: Wei Liu <liuwe@linux.microsoft.com>
Link: https://lore.kernel.org/r/1740126987-8483-3-git-send-email-liuwe@linux.microsoft.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions