From: Avi Kivity <avi@redhat.com>
To: Jerry Geis <geisj@pagestation.com>
Cc: kvm@vger.kernel.org
Subject: Re: kvm guest for 486 sx
Date: Tue, 07 Jul 2009 15:50:18 +0300 [thread overview]
Message-ID: <4A53448A.7050002@redhat.com> (raw)
In-Reply-To: <4A53414F.3070300@pagestation.com>
On 07/07/2009 03:36 PM, Jerry Geis wrote:
>
> Avi Kivity wrote:
>> On 07/07/2009 03:06 PM, Jerry Geis wrote:
>>>> Try -cpu 486,-fpu.
>>>>
>>>
>>> Avi,
>>>
>>> Running this command:
>>> qemu-system-x86_64 -net nic,model=rtl8139 -net user -hda $1 -no-acpi
>>> -usb -cpu 486,-fpu &
>>>
>>> I get a seg fault:
>>> qemu-system-x86[15419]: segfault at c ip 0000000000458b95 sp
>>> 0000000041d9df90 error 4 in qemu-system-x86_64[400000+208000]
>>>
>>>
>>> I am running kvm-87 centos 5.3 x86_64.
>>
>> Add -no-kvm-irqchip. A 486 doesn't have a local APIC, which the code
>> expects.
>>
> Running with this line:
> qemu-system-x86_64 -net nic,model=rtl8139 -net user -hda $1 -no-acpi
> -usb -cpu 486,-fpu -no-kvm-irqchip &
>
>
>
> My /proc/cpuinfo shows the follow:
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 4
> model : 0
> model name : 04/00
> stepping : 0
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : no
> cpuid level : 0
> wp : yes
> flags :
> bogomips : 2965.50
> clflush size : 32
> power management:
>
>
> Notice FPU indicates yes and I requested -fpu on the command line.
I think it detects the host fpu as a 487 coprocessor. Anything in dmesg
about it? Note there's no fpu in the flags: line.
That's a kvm kernel bug.
> also is this a 486 as it says AMD?
You can override it if you like, -cpu 486,vendor=AuthenticAMD (I think).
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-07-07 13:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-06 19:58 kvm guest for 486 sx Jerry Geis
2009-07-07 9:54 ` Avi Kivity
2009-07-07 12:06 ` Jerry Geis
2009-07-07 12:17 ` Avi Kivity
2009-07-07 12:31 ` Jerry Geis
2009-07-07 12:36 ` Jerry Geis
2009-07-07 12:50 ` Avi Kivity [this message]
2009-07-07 13:15 ` Jerry Geis
2009-07-07 13:23 ` Avi Kivity
2009-07-07 14:58 ` Jerry Geis
2009-07-07 15:38 ` Avi Kivity
2009-07-07 23:35 ` Jerry Geis
2009-07-08 11:04 ` Andre Przywara
2009-07-08 11:25 ` Avi Kivity
2009-07-07 12:19 ` Gleb Natapov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A53448A.7050002@redhat.com \
--to=avi@redhat.com \
--cc=geisj@pagestation.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox