[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] kernel-kqemu and linux

From: Brad Campbell
Subject: Re: [Qemu-devel] kernel-kqemu and linux
Date: Tue, 21 Mar 2006 15:13:20 +0400
User-agent: Thunderbird 1.6a1 (X11/20060214)

Brad Campbell wrote:
Fabrice Bellard wrote:
Try the following patch:

diff -u -w -r1.39 helper2.c
--- helper2.c   4 Dec 2005 18:46:06 -0000       1.39
+++ helper2.c   20 Mar 2006 23:38:51 -0000
@@ -110,6 +110,7 @@
         env->pat = 0x0007040600070406ULL;
         env->cpuid_ext_features = 0;
env->cpuid_features |= CPUID_FXSR | CPUID_MMX | CPUID_SSE | CPUID_SSE2
+        env->cpuid_features |= CPUID_APIC; /* TEST */
         env->cpuid_xlevel = 0;
const char *model_id = "QEMU Virtual CPU version " QEMU_VERSION;

If it works then APIC usage will become the default on i386...

I'm afraid that makes no difference at all here..
PIII-M linux host and both 2.4 compiled for i386 and 2.6 compiled for PII linux guests

More information here..


Neat trick for capturing such groovy stuff..
In one console :-

cat /dev/ptyzf | tee qemu.oops.log

In another console :-

qemu -hda vm-1.img -kernel /tracks/linux- -serial /dev/ttyzf -append "console=ttyS0" -m 64 -kernel-kqemu

Brad (who just learned about pseudo terminal devices)
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams

reply via email to

[Prev in Thread] Current Thread [Next in Thread]