hv: minor cleanup of hv_main.c

- remove vcpu->arch.nrexits which is useless.
- record full 32 bits of exit_reason to TRACE_2L(). Make the code simpler.

Tracked-On: #6289
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Zide Chen
2021-08-19 11:06:06 -07:00
committed by wenlingz
parent 8de39f7b61
commit 0980420aea
2 changed files with 2 additions and 7 deletions

View File

@@ -254,7 +254,6 @@ struct acrn_vcpu_arch {
bool irq_window_enabled;
bool emulating_lock;
bool xsave_enabled;
uint32_t nrexits;
/* VCPU context state information */
uint32_t exit_reason;