On 02/07/2011 11:24 AM, Ravi Kumar Kulkarni wrote:
On Mon, Feb 7, 2011 at 2:19 PM, Avi Kivity<a...@redhat.com> wrote:
> On 02/07/2011 10:33 AM, Ravi Kumar Kulkarni wrote:
>>
>> On Sun, Feb 6, 2011 at 10:50 PM, Avi Kivity<a...@redhat.com> wrote:
>>>
>>> > On 02/04/2011 03:58 PM, Jan Kiszka wrote:
>>>>
>>>> >>
>>>>>
>>>>> >> > when i run my kernel image with qemu-kvm it gives emulation
>>>>> >> error
>>>>> >> > failure
>>>>> >> > trying to execute the code outside ROM or RAM at fec00000(IO
>>>>> >> APIC base
>>>>> >> > address)
>>>>> >> > but the same code runs fine with qemu. can anyone please
point
>>>>> >> me
>>>>> >> > where might be the problem or how to find out this one?
>>>
>>> >
>>> > Please post the error message.
>>
>> Im attachin the error message in kvm.txt file with above mail.
>> KVM internal error. Suberror: 1
>> rax
>> 000000000000000d rbx 000000001e2db2a6 rcx 00000000fa4bec19 rdx
>> 0000000000000088
>> rsi 000000001f4de1ea rdi 0000000000000000 rsp
>> 00000000000c0004 rbp 000000001f464fbb
>>
>> r8 0000000000000000 r9
0000000000000000
>> r10 0000000000000000 r11 0000000000000000
>> r12
>> 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
>> 0000000000000000
>> rip 000000001e2f3f7b rflags 00010097
>> cs 0008
>> (00000000/ffffffff p 1 dpl 0 db 1 s 1 type b l 0 g
>
> What's the guest code at rip 0x1e2f3f7b ?
please find the code below.
(qemu) xp /20iw 0x1e2f3f83
That is not the same address. And the code you posted doesn't make any
sense.
--
error compiling committee.c: too many arguments to function