diff options
author | Justin Terry (VM) via Qemu-devel <qemu-devel@nongnu.org> | 2018-02-26 09:13:33 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-06 14:01:29 +0100 |
commit | f875f04c2c322357e2e3fbd90ce5613b5be403a9 (patch) | |
tree | db5f9f620cf420602c85baa8a8f72c1869ed97c2 /target | |
parent | b27350e1b992eca3fa4b3fea4065b1b3897ec57f (diff) |
Fix WHPX typo in 'mmio'
Renames the usage of 'memio' to 'mmio' in the emulator callbacks.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
Message-Id: <1519665216-1078-6-git-send-email-juterry@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Justin Terry (VM) via Qemu-devel <qemu-devel@nongnu.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/i386/whpx-all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/whpx-all.c b/target/i386/whpx-all.c index 74a8f4d599..7e58d5f68c 100644 --- a/target/i386/whpx-all.c +++ b/target/i386/whpx-all.c @@ -527,7 +527,7 @@ static HRESULT CALLBACK whpx_emu_ioport_callback( return S_OK; } -static HRESULT CALLBACK whpx_emu_memio_callback( +static HRESULT CALLBACK whpx_emu_mmio_callback( void *ctx, WHV_EMULATOR_MEMORY_ACCESS_INFO *ma) { @@ -610,7 +610,7 @@ static HRESULT CALLBACK whpx_emu_translate_callback( static const WHV_EMULATOR_CALLBACKS whpx_emu_callbacks = { .Size = sizeof(WHV_EMULATOR_CALLBACKS), .WHvEmulatorIoPortCallback = whpx_emu_ioport_callback, - .WHvEmulatorMemoryCallback = whpx_emu_memio_callback, + .WHvEmulatorMemoryCallback = whpx_emu_mmio_callback, .WHvEmulatorGetVirtualProcessorRegisters = whpx_emu_getreg_callback, .WHvEmulatorSetVirtualProcessorRegisters = whpx_emu_setreg_callback, .WHvEmulatorTranslateGvaPage = whpx_emu_translate_callback, |