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

[Xen-devel] RE: One question to compat model



>>> "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> 12.05.10 10:15 >>>
>The followed small changes cayse compile failed with:
>
>can't read compat/domctl.h: No such file or directory

Sure - domctl.h must not be included from xen-mca.h in any case,
you'll need to move the type declaration if you want to use it outside
the domctl/sysctl set.

>How can I disable compat model now? I remember that option has been removed.

You can't disable CONFIG_COMPAT anymore, but I think you should
be able to tweak the CONFIG_COMPAT section in
xen/arch/x86/cpu/mcheck/mce.c in a way to allow your new code to
be built without doing anything compat-related for the new
structures. But maybe removing the domctl.h dependency already
clarifies matters.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.