On Mon, Jul 03, 2017 at 04:28:00PM +0200, Paolo Bonzini wrote: > > > On 03/07/2017 12:12, Yang Zhong wrote: > > Since Paolo's below patch has fixed A20 issue > > commit bbfa326fc8028e275eddf8c9965c2a1b59405b2e > > target/i386: enable A20 automatically in system management mod > > How is this patch related to kvmvapic? It fixes a bug with vapic > disabled, but it's not a reason to disable kvmvapic. > > Paolo > Hello Paolo,
In that time, in order to verify the tcg code is not useful in kvmvapic.c file, we disabled the kvmvapic rom in the seabios and use the tcg accelator to boot guest image, we found this A20 bug. Once this A20 bug has been fixed, we can use the tcg to bootup the guest image without kvmvapic rom, which show the tcg code in kvmvapic is not useful. This is reason why i removed the tcg code replace of using tcg_enabled() to check the tcg code in kvmvapic.c. thanks! Regards, Yang > > The tcg code in kvmvapic.c is NOT useful, those code need remove. > > > > Signed-off-by: Yang Zhong <yang.zh...@intel.com> > > --- > > hw/i386/kvmvapic.c | 24 ------------------------ > > 1 file changed, 24 deletions(-)