i386: hvf: Move mmio_buf into CPUX86State

There's no similar field in CPUX86State, but it's needed for MMIO traps.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200528193758.51454-13-r.bolshakov@yadro.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Roman Bolshakov 2020-05-28 22:37:57 +03:00 committed by Paolo Bonzini
parent 577f02b890
commit fe76b09c5b
4 changed files with 12 additions and 7 deletions

View file

@ -1603,6 +1603,7 @@ typedef struct CPUX86State {
#endif
#if defined(CONFIG_HVF)
HVFX86LazyFlags hvf_lflags;
void *hvf_mmio_buf;
HVFX86EmulatorState *hvf_emul;
#endif