[Qemu-devel] How to enable DEBUG_IOPORT?

2012-02-11 Thread Wizard
All When I reading the code, i find in the cpu_log_items the CPU_LOG_IOPORT is not enabled since the DEBUD_IOPORT is not defined. I searched the configure file but find no option to enable this. So currently the only way to do this is comment out the macro in ioport.c? -- Wizard

[Qemu-devel] int128_add assumes the result will not exceed 128bits?

2012-02-09 Thread Wizard
All, I am reading this code. static inline Int128 int128_add(Int128 a, Int128 b){    Int128 r = { a.lo + b.lo, a.hi + b.hi };    r.hi += (r.lo a.lo) || (r.lo b.lo);   return r;} This assumes the result r will not exceed 128 bits?-- Wizard

[Qemu-devel] User Mode Emulation

2005-12-11 Thread space-wizard
Hello! I want to run some Intel-Linux-Binaries on a PowerPC-Linux-Machine. Does somebody know how to copy the shared libraries and make them usable by qemu-i386? How to call ldconfig? I want to make a collection of some x86 and ppc-Libraries (like the qemu-gnemul-Package at the qemu-Website),

[Qemu-devel] qvm86

2005-12-05 Thread space-wizard
Hi! I tried to install qvm86 under SuSE Linux Enterprise Server 9 running on a Dual Pentium III with Kernel 2.6.5-7.139-smp. After compiling the module: modprobe qvm86 chmod 666 /dev/qvm86 In /var/log/messages I get the following output: kernel: qvm86: unsupported module, tainting kernel.

[Qemu-devel] Time measurement under QEMU

2005-11-24 Thread space-wizard
Hello! I need a precise time measurement under QEMU with SLES 9 (Kernel 2.6.8) as host and guest. I synchronize the clock via ntpdate with a ntp-time-server. Then I start heavy load applications. When I execute ntpdate again, I get a negative offset, sometimes a positive offset with more than 1

[Qemu-devel] Problems with ppc-emulation

2005-11-14 Thread space-wizard
Hello! I make different Benchmarks (lmbench / unixbench) on SuSE Linux Enterprise Server 9 (PPC) with SMP-Kernel running on a PowerPC host. The target OS is SLES9 for Intel x86 . With Unixbench 4.1.0 running at the emulated x86-machine I got the following error message: Recursion Test--Tower of

[Qemu-devel] Re: timing problems

2005-11-09 Thread space-wizard
Hi! I checked my QEMU and I found the same Problems. I'm running SLES9 (x86) on an SLES9 (ppc) host. The target clock runs faster(? I've got positive offsets running ntpdate ?) than the host clock. I've tried severel kernel parameters (eg. clock=pit or clock=pmtmr) without any success. The

[Qemu-devel] opc.h and gen-op.h

2005-11-05 Thread space-wizard
Hello! What is the job of the two files gen-op.h and opc.h? They were created by dyngen -c / -g I don't understand their content. opc.h contains something like: DEF(movl_A0_EAX, 0, 3) DEF(addl_A0_EAX, 0, 5) DEF(addl_A0_EAX_s1, 0, 6) gen-op.h contains: static inline void