confusion about the meaning of CONFIG_XEN
Thanks James.
======= 2008-07-07 17:42:45 您在来信中写道:=======
Quoted 1 line
CONFIG_XENis defined when building a PV kernel, and undefined when building PV drivers for an 'unmodified' (non-PV) kernel.
In other words, undefined occurs only in PV driver for HVM.
Quoted 1 line
Platform-pci is a device driver which interfaces with xen on a non-PV kernel, via a virtual PCI device provided by qemu.
And Platform-pci is only for PV driver of HVM.
Is my understanding right?
Quoted 32 lines
James
-----Original Message-----
From: "Zang Hongyong"<[email protected]>
Sent: 7/07/08 5:59:14 PM
To: "xen-devel"<[email protected]>
Subject: [Xen-devel] confusion about the meaning ofCONFIG_XENhi all,
I noticed "CONFIG_XEN" appears many times in Xen source code. I'm confused about the meaning of "CONFIG_XEN". For example,
in "gnttab.c", the definations ofgnttab_map()andgnttab_resume()vary with "ifdefCONFIG_XEN" or not. And I also noticed ifndefCONFIG_XEN, the file <platform-pci.h> is included.So my questions are
1)What's the meanning ofCONFIG_XEN? and on which kind of conditions,CONFIG_XENshould not be defined? 2)What is platform-pci for?Any advice would be welcome.
Thanks in advance.
Zang Hongyong
[email protected]
2008-07-07_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
= = = = = = = = = = = = = = = = = = = =
Zang Hongyong
[email protected]
2008-07-07
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel