hvf: Introduce hvf vcpu struct
commitb533450e74500dd67f0aa49775809ea33bc465b7
authorAlexander Graf <agraf@csgraf.de>
Thu, 3 Jun 2021 13:09:34 +0000 (3 14:09 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Jun 2021 15:43:27 +0000 (3 16:43 +0100)
treeed4a54d0c402c554796ffaac9b7418848d53469f
parentd662ede2b1eb033883b7c96866e84e8b54524ccb
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>
accel/hvf/hvf-accel-ops.c
include/hw/core/cpu.h
include/sysemu/hvf_int.h
target/i386/hvf/hvf.c
target/i386/hvf/vmx.h
target/i386/hvf/x86.c
target/i386/hvf/x86_descr.c
target/i386/hvf/x86_emu.c
target/i386/hvf/x86_mmu.c
target/i386/hvf/x86_task.c
target/i386/hvf/x86hvf.c