This is part of SBUF component, what kind of compile option do we use? Let us use same one.
shell command "vmexit" is the only one user of vmexit_time/cnt and we use the get_vmexit_profile, enclosed by HV_DEBUG, to access these variables.
BTW, hcall side also needs this kind of compile option.
I can't follow here. Can you make it more clear.
-- Thanks Kaige Fu
-----Original Message----- From: acrn-dev@... [mailto:acrn-dev@...] On Behalf Of Kaige Fu Sent: Monday, August 13, 2018 1:28 PM To: acrn-dev@... Subject: [acrn-dev] [PATCH] HV: hv_main: Add #ifdef HV_DEBUG before debug specific code
vmexit_time and vmexit_cnt is used for debuging only. This patch encloses these debug specific code using #ifdef HV_DEBUG.