Cui, Dexuan
2009-Oct-15 15:54 UTC
[Xen-devel] [PATCH]xend: passthrough: do not check non-page-aligned MMIO BAR if not strict-check
When the option pci-passthrough-strict-check of /etc/xen/xend-config.sxp is set to ''no'', we don''t check the non-page-aligned MMIO BAR. This could be useful in some cases, e.g., when there is only 1 device in the range of the page and we try to assign the device to pv guest. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tom Rotenberg
2009-Oct-15 15:57 UTC
Re: [Xen-devel] [PATCH]xend: passthrough: do not check non-page-aligned MMIO BAR if not strict-check
Will the default setting be to check the alignment? On Thu, Oct 15, 2009 at 5:54 PM, Cui, Dexuan <dexuan.cui@intel.com> wrote:> When the option pci-passthrough-strict-check of /etc/xen/xend-config.sxp is > set to ''no'', we don''t check the non-page-aligned MMIO BAR. > This could be useful in some cases, e.g., when there is only 1 device in the > range of the page and we try to assign the device to pv guest. > > Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Cui, Dexuan
2009-Oct-15 16:00 UTC
RE: [Xen-devel] [PATCH]xend: passthrough: do not check non-page-aligned MMIO BAR if not strict-check
Yes, because by default we try to prevent potential security issue. Thanks, -- Dexuan -----Original Message----- From: Tom Rotenberg [mailto:tom.rotenberg@gmail.com] Sent: 2009?10?15? 23:57 To: Cui, Dexuan Cc: Keir Fraser; xen-devel@lists.xensource.com; Kay, Allen M Subject: Re: [Xen-devel] [PATCH]xend: passthrough: do not check non-page-aligned MMIO BAR if not strict-check Will the default setting be to check the alignment? On Thu, Oct 15, 2009 at 5:54 PM, Cui, Dexuan <dexuan.cui@intel.com> wrote:> When the option pci-passthrough-strict-check of /etc/xen/xend-config.sxp is > set to ''no'', we don''t check the non-page-aligned MMIO BAR. > This could be useful in some cases, e.g., when there is only 1 device in the > range of the page and we try to assign the device to pv guest. > > Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel