Re: [LKML] [PATCH 7/7] xen: Enable grant table and xenbus for PV extension of HVM

From: Sheng Yang
Date: Mon Mar 01 2010 - 20:20:53 EST

On Tuesday 02 March 2010 01:38:58 Konrad Rzeszutek Wilk wrote:
> > +/* The region reserved by QEmu for Xen platform device */
> > +#define GNTTAB_START 0xf2000000ul
> > +#define GNTTAB_SIZE 0x20000ul
> I thought that in the earlier review you said:
> "> > +#define GNTTAB_START 0xfbfe0000ul
> > > +#define GNTTAB_SIZE 0x20000ul
> >
> > Is it possible that there would be a PCI device that would be
> > passed in the guest that would conflict with the above mentioned
> > E820 region?
> I would change them to a dedicated PCI MMIO address in the next version.
> Thanks.
> "
> ?

And yes, this is the dedicated PCI MMIO address I mentioned.. I would update
the comments to get it more clear.

I don't think it's very clear solution, because the real good way to do this
is probe pci device and find out with one is the platform pci device then use
it. But the grant table initialization is quite earlier compared to the
possible probing now... I hardcode the position now, and hunting for a better


Yang, Sheng

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at