hvf: Introduce hvf vcpu struct
We will need more than a single field for hvf going forward. To keep the global vcpu struct uncluttered, let's allocate a special hvf vcpu struct, similar to how hax does it. Signed-off-by:Alexander Graf <agraf@csgraf.de> Reviewed-by:
Roman Bolshakov <r.bolshakov@yadro.com> Tested-by:
Roman Bolshakov <r.bolshakov@yadro.com> Reviewed-by:
Alex Bennée <alex.bennee@linaro.org> Reviewed-by:
Sergio Lopez <slp@redhat.com> Message-id: 20210519202253.76782-12-agraf@csgraf.de Reviewed-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
Showing
- accel/hvf/hvf-accel-ops.c 6 additions, 2 deletionsaccel/hvf/hvf-accel-ops.c
- include/hw/core/cpu.h 2 additions, 1 deletioninclude/hw/core/cpu.h
- include/sysemu/hvf_int.h 4 additions, 0 deletionsinclude/sysemu/hvf_int.h
- target/i386/hvf/hvf.c 52 additions, 52 deletionstarget/i386/hvf/hvf.c
- target/i386/hvf/vmx.h 13 additions, 11 deletionstarget/i386/hvf/vmx.h
- target/i386/hvf/x86.c 14 additions, 14 deletionstarget/i386/hvf/x86.c
- target/i386/hvf/x86_descr.c 13 additions, 13 deletionstarget/i386/hvf/x86_descr.c
- target/i386/hvf/x86_emu.c 31 additions, 31 deletionstarget/i386/hvf/x86_emu.c
- target/i386/hvf/x86_mmu.c 2 additions, 2 deletionstarget/i386/hvf/x86_mmu.c
- target/i386/hvf/x86_task.c 6 additions, 6 deletionstarget/i386/hvf/x86_task.c
- target/i386/hvf/x86hvf.c 105 additions, 105 deletionstarget/i386/hvf/x86hvf.c
Loading
Please register or sign in to comment