I want use bochs to debug Intel vt. I installed bochs in a 32-bit machine.
yandong <[email protected]> Tue, 28 May 2013 16:01:10 +0800
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <[email protected]> |
hi all I want use bochs to debug Intel vt. I installed bochs in a 32-bit machine. and I modified the code as follow: in config.h "#define BX_SUPPORT_VMX 0" is changed to " #define BX_SUPPORT_VMX 2" in cpu/init.cc BX_CPU_THIS_PTR msr.ia32_feature_ctrl = /*BX_IA32_FEATURE_CONTROL_LOCK_BIT | */BX_IA32_FEATURE_CONTROL_VMX_ENABLE_BIT; is changed to BX_CPU_THIS_PTR msr.ia32_feature_ctrl = BX_IA32_FEATURE_CONTROL_LOCK_BIT | BX_IA32_FEATURE_CONTROL_VMX_ENABLE_BIT; when I exec "make", I encounter the following error: root@hyd-Lenovo:/home/hyd/bochs-20130526# make cd iodev && \ make libiodev.a make[1]: Entering directory `/home/hyd/bochs-20130526/iodev' g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES devices.cc -o devices.o In file included from ../bochs.h:31:0, from iodev.h:28, from devices.cc:26: ../config.h:672:4: error: #error "VMXx2 require x86-64 support" make[1]: *** [devices.o] Error 1 make[1]: Leaving directory `/home/hyd/bochs-20130526/iodev' make: *** [iodev/libiodev.a] Error 2 ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ bochs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bochs-developers