On Sun, May 23, 2010 at 07:17:18PM -0400, Udayan Kapaley
wrote:> Hi all,
>
> I was trying to build xen-4.0.0 from source and got some errors in kvm.c
> which are included below.
>
How are you trying to build it? Please write exact commands.
> I tried putting the included headers in the same directory which led me
> somehow to the point that it threw an unidentified reference to
> cpu_x86_cpuid which i could only find in helper.c , including which
> resulted in more ugly situation.
>
Uhm.. hacks like this are really not needed.
> The output below is from unmodified source.
> I had copied a .config from a default ''make xconfig''
from another
> kernel.Does that make a difference ?
> Also it seems that xen will be built for x86 32 bit even though my
> processor is amd64 (amd turion II dual-core mobile m500).
> I am using kubuntu 9.10 64 bit
>
If you''re using a 64bit distro to build then you''ll build
64bit xen hypervisor.
-- Pasi
> Thanks ,
> Udayan
>
> p.s. : Errors from kvm.c :-
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_arch_init_vcpu*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:48:
> warning: implicit declaration of function *cpu_x86_cpuid*
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_has_msr_star*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:160:
> error: *MSR_STAR* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:160:
> error: (Each undeclared identifier is reported only once
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:160:
> error: for each function it appears in.)
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *set_seg*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:220:
> error: *DESC_TYPE_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:221:
> error: *DESC_P_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:223:
> error: *DESC_B_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:224:
> error: *DESC_S_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:225:
> error: *DESC_L_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:226:
> error: *DESC_G_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:227:
> error: *DESC_AVL_MASK* undeclared (first use in this function)
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *get_seg*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:237:
> error: *DESC_TYPE_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:238:
> error: *DESC_P_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:239:
> error: *DESC_DPL_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:240:
> error: *DESC_B_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:241:
> error: *DESC_S_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:242:
> error: *DESC_L_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:243:
> error: *DESC_G_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:244:
> error: *DESC_AVL_MASK* undeclared (first use in this function)
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_getput_regs*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:266:
> error: *CPUX86State* has no member named *regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:266:
> error: *R_EAX* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:267:
> error: *CPUX86State* has no member named *regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:267:
> error: *R_EBX* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:268:
> error: *CPUX86State* has no member named *regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:268:
> error: *R_ECX* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:269:
> error: *CPUX86State* has no member named *regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:269:
> error: *R_EDX* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:270:
> error: *CPUX86State* has no member named *regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:270:
> error: *R_ESI* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:271:
> error: *CPUX86State* has no member named *regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:271:
> error: *R_EDI* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:272:
> error: *CPUX86State* has no member named *regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:272:
> error: *R_ESP* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:273:
> error: *CPUX86State* has no member named *regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:273:
> error: *R_EBP* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:285:
> error: *CPUX86State* has no member named *eflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:286:
> error: *CPUX86State* has no member named *eip*
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_put_fpu*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:300:
> error: *CPUX86State* has no member named *fpus*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:301:
> error: *CPUX86State* has no member named *fpstt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:302:
> error: *CPUX86State* has no member named *fpuc*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:304:
> error: *CPUX86State* has no member named *fptags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:305:
> error: *CPUX86State* has no member named *fpregs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:305:
> error: *CPUX86State* has no member named *fpregs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:306:
> error: *CPUX86State* has no member named *xmm_regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:306:
> error: *CPUX86State* has no member named *xmm_regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:307:
> error: *CPUX86State* has no member named *mxcsr*
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_put_sregs*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:317:
> error: *CPUX86State* has no member named *interrupt_bitmap*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:320:
> error: *CPUX86State* has no member named *eflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:320:
> error: *VM_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:321:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:321:
> error: *R_CS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:322:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:322:
> error: *R_DS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:323:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:323:
> error: *R_ES* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:324:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:324:
> error: *R_FS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:325:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:325:
> error: *R_GS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:326:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:326:
> error: *R_SS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:328:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:329:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:330:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:331:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:332:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:333:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:335:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:335:
> error: *CR0_PE_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:343:
> error: *CPUX86State* has no member named *tr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:344:
> error: *CPUX86State* has no member named *ldt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:346:
> error: *CPUX86State* has no member named *idt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:347:
> error: *CPUX86State* has no member named *idt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:348:
> error: *CPUX86State* has no member named *gdt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:349:
> error: *CPUX86State* has no member named *gdt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:351:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:352:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:353:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:354:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:356:
> warning: implicit declaration of function *cpu_get_apic_tpr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:357:
> warning: implicit declaration of function *cpu_get_apic_base*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:359:
> error: *CPUX86State* has no member named *efer*
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_put_msrs*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:380:
> error: *MSR_IA32_SYSENTER_CS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:380:
> error: *CPUX86State* has no member named *sysenter_cs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:381:
> error: *MSR_IA32_SYSENTER_ESP* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:381:
> error: *CPUX86State* has no member named *sysenter_esp*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:382:
> error: *MSR_IA32_SYSENTER_EIP* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:382:
> error: *CPUX86State* has no member named *sysenter_eip*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:384:
> error: *MSR_STAR* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:384:
> error: *CPUX86State* has no member named *star*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:385:
> error: *MSR_IA32_TSC* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:385:
> error: *CPUX86State* has no member named *tsc*
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_get_fpu*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:409:
> error: *CPUX86State* has no member named *fpstt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:410:
> error: *CPUX86State* has no member named *fpus*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:411:
> error: *CPUX86State* has no member named *fpuc*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:413:
> error: *CPUX86State* has no member named *fptags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:414:
> error: *CPUX86State* has no member named *fpregs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:414:
> error: *CPUX86State* has no member named *fpregs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:415:
> error: *CPUX86State* has no member named *xmm_regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:415:
> error: *CPUX86State* has no member named *xmm_regs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:416:
> error: *CPUX86State* has no member named *mxcsr*
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_get_sregs*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:431:
> error: *CPUX86State* has no member named *interrupt_bitmap*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:435:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:435:
> error: *R_CS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:436:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:436:
> error: *R_DS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:437:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:437:
> error: *R_ES* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:438:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:438:
> error: *R_FS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:439:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:439:
> error: *R_GS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:440:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:440:
> error: *R_SS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:442:
> error: *CPUX86State* has no member named *tr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:443:
> error: *CPUX86State* has no member named *ldt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:445:
> error: *CPUX86State* has no member named *idt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:446:
> error: *CPUX86State* has no member named *idt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:447:
> error: *CPUX86State* has no member named *gdt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:448:
> error: *CPUX86State* has no member named *gdt*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:450:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:451:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:452:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:453:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:455:
> warning: implicit declaration of function *cpu_set_apic_base*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:457:
> error: *CPUX86State* has no member named *efer*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:468:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:468:
> error: *DESC_DPL_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:468:
> error: *HF_CPL_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:469:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:469:
> error: *CR0_PE_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:469:
> error: *HF_PE_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:469:
> error: *CR0_PE_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:470:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:470:
> error: *HF_MP_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:470:
> error: *CR0_MP_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:471:
> error: *HF_MP_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:471:
> error: *HF_EM_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:471:
> error: *HF_TS_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:472:
> error: *CPUX86State* has no member named *eflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:472:
> error: *HF_TF_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:472:
> error: *HF_VM_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:472:
> error: *HF_IOPL_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:473:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:473:
> error: *CR4_OSFXSR_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:474:
> error: *HF_OSFXSR_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:474:
> error: *CR4_OSFXSR_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:476:
> error: *CPUX86State* has no member named *efer*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:476:
> error: *MSR_EFER_LMA* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:477:
> error: *HF_LMA_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:480:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:480:
> error: *DESC_L_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:481:
> error: *HF_CS32_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:481:
> error: *HF_SS32_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:481:
> error: *HF_CS64_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:483:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:483:
> error: *DESC_B_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:484:
> error: *DESC_B_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:484:
> error: *HF_CS32_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:485:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:486:
> error: *HF_SS32_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:487:
> error: *CPUX86State* has no member named *cr*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:488:
> error: *CPUX86State* has no member named *eflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:488:
> error: *VM_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:490:
> error: *HF_ADDSEG_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:492:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:493:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:494:
> error: *CPUX86State* has no member named *segs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:495:
> error: *HF_ADDSEG_SHIFT* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:498:
> error: *CPUX86State* has no member named *hflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:498:
> error: *CPUX86State* has no member named *hflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:498:
> error: *HF_PE_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:498:
> error: *HF_OSFXSR_MASK* undeclared (first use in this function)
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_get_msrs*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:513:
> error: *MSR_IA32_SYSENTER_CS* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:514:
> error: *MSR_IA32_SYSENTER_ESP* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:515:
> error: *MSR_IA32_SYSENTER_EIP* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:517:
> error: *MSR_STAR* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:518:
> error: *MSR_IA32_TSC* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:534:
> error: *CPUX86State* has no member named *sysenter_cs*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:537:
> error: *CPUX86State* has no member named *sysenter_esp*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:540:
> error: *CPUX86State* has no member named *sysenter_eip*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:543:
> error: *CPUX86State* has no member named *star*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:560:
> error: *CPUX86State* has no member named *tsc*
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_arch_pre_run*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:619:
> error: *CPUX86State* has no member named *eflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:619:
> error: *IF_MASK* undeclared (first use in this function)
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_arch_post_run*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:651:
> error: *CPUX86State* has no member named *eflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:651:
> error: *IF_MASK* undeclared (first use in this function)
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:653:
> error: *CPUX86State* has no member named *eflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:655:
> warning: implicit declaration of function *cpu_set_apic_tpr*
> /media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:
In
> function *kvm_handle_halt*:
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:664:
> error: *CPUX86State* has no member named *eflags*
>
/media/win/study/work/xen/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:664:
> error: *IF_MASK* undeclared (first use in this function)
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users