Re: build failure with --enable-cpu-level=6--enable-vmx=1

"Sebastian Herbszt" <[email protected]>
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <74BCBA32DDB649B0949969367D9E80DD@FSCPC>
I wrote:
> event.cc: In static member function 'static bx_bool BX_CPU_C::handleAsyncEvent()':
> event.cc:181:28: error: 'VMX_TPR_Virtualization' was not declared in this scope
> make[1]: *** [event.o] Error 1

VMX_TPR_Virtualization is only available with BX_SUPPORT_VMX && BX_SUPPORT_X86_64.

Should

#if BX_SUPPORT_VMX
  if (is_unmasked_event_pending(BX_EVENT_VMX_VTPR_UPDATE)) {
    VMX_TPR_Virtualization();
  }
#endif

be changed to BX_SUPPORT_VMX && BX_SUPPORT_X86_64?

Sebastian


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.