From: "James Harper" Subject: RE: confusion about the meaning of CONFIG_XEN Date: Mon, 7 Jul 2008 19:42:45 +1000 Message-ID: <000401c8e015$a624be2e$cec8a8c0@int.sbss.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: zanghongyong@ncic.ac.cn, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org CONFIG_XEN is defined when building a PV kernel, and undefined when = building PV drivers for an 'unmodified' (non-PV) kernel. Platform-pci is a device driver which interfaces with xen on a non-PV = kernel, via a virtual PCI device provided by qemu. James -----Original Message----- From: "Zang Hongyong" Sent: 7/07/08 5:59:14 PM To: "xen-devel" Subject: [Xen-devel] confusion about the meaning of CONFIG_XEN hi all, I noticed "CONFIG_XEN" appears many times in Xen source code. I'm = confused about the meaning of "CONFIG_XEN". For example,=20 in "gnttab.c", the definations of gnttab_map() and gnttab_resume() = vary with "ifdef CONFIG_XEN" or not. And I also noticed ifndef CONFIG_XEN , the file is = included. So my questions are 1)What's the meanning of CONFIG_XEN? and on which kind of conditions, = CONFIG_XEN should not be defined? 2)What is platform-pci for? Any advice would be welcome. Thanks in advance. =20 Zang Hongyong zanghongyong@ncic.ac.cn 2008-07-07 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel