From: dinesh chandrasekaran Subject: Xen - Guest memory allocation Date: Sat, 7 Jun 2008 00:27:26 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1036168109==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1036168109== Content-Type: multipart/alternative; boundary="_5ab76550-fd05-4a1e-bf18-e55885396434_" --_5ab76550-fd05-4a1e-bf18-e55885396434_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable YES. But if I want to add memory of type E820_USABLE to xen memory map d= uring boot up (as per xen/e820.c) where the memory to be added lies behind = a PCI device? For ex,=20 If a PCI device reports it has 1GB of memory behind it.=20 And XEN has identified th RAM memory to be 4GB. How can the PCI - 1GB can be added as usable memory to XEN's memory pool to= get a cumulative size of 5GB; =20 thanks, Dinesh C On Fri, Jun 6, 2008 at 3:00 PM, Weiming wrote: AFAIK, In para virtualization, when guest boots, it reads the memory layout from a special page (start info page) instead of from bios. If your guest os is a PV Linux, you can check its source code (e.g. start_k= ernel(), etc.) Thanks, Weiming On Fri, Jun 6, 2008 at 2:00 PM, dinesh chandrasekaran wrote: _________________________________________________________________ No Harvard, No Oxford. We are here. Find out !! http://ss1.richmedia.in/recurl.asp?pid=3D500= --_5ab76550-fd05-4a1e-bf18-e55885396434_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable YES.

        But if I want to add= memory of type E820_USABLE to xen memory map during boot up (as per xen/e8= 20.c) where the memory to be added lies behind a PCI device?

For ex,=
If a PCI device reports it has 1GB of memory behind it.
And XEN ha= s identified th RAM memory to be 4GB.

How can the PCI - 1GB can be a= dded as usable memory to XEN's memory pool to get a cumulative size of 5GB;=
 
thanks,
Dinesh C

On Fri, Jun 6, 2008 at 3:00 PM, We= iming wrote:

AFAIK, In para virtualization, when guest boots, it rea= ds the memory layout from a special page (start info page) instead of from bios.
If yo= ur guest os is a PV Linux, you can check its source code (e.g. start_kernel= (), etc.)

Thanks,
Weiming

On Fri, Jun 6, 2008 at 2:00 PM, dinesh chandr= asekaran <dinesh_chan8@hotma= il.com> wrote:




CoolHotmail : Your crazy perso= nality deserves a unique email identity like yourname@iamcrazy.in. Choose f= rom this and hundreds other unique email ids now Try it! = --_5ab76550-fd05-4a1e-bf18-e55885396434_-- --===============1036168109== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1036168109==--