From: Sander Eikelenboom Subject: Re: Other PCI devices to mark mark as read-only for dom0 Date: Fri, 22 Jun 2012 11:24:36 +0200 Message-ID: <1783278186.20120622112436@eikelenboom.it> References: <4FE43518.9070106@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FE43518.9070106@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Andre Przywara , Christoph Egger , Keir Fraser , Eddie Dong , "xen-devel@lists.xen.org" , Wei Wang , Jan Beulich , "xiantao.zhang@intel.com" List-Id: xen-devel@lists.xenproject.org Friday, June 22, 2012, 11:04:24 AM, you wrote: > Following Jan's infrastructure to mark certain PCI devices as read only, > I think it wise to now consider what other PCI devices should really be > read only to dom0. > My preliminary thoughts include: > * PCI serial devices which Xen is configured to use > * Chipset devices (AMD IOMMU covered by previous patch) > * Cpu information > Are there any others I have overlooked, or reasons that dom0 should be > able to write to these areas? Make devices specified for pci passthrough be really hidden and "owned" by the hyperviso ? - which can in turn delegate ownership to a domain (including dom0) - If a domain is destroyed, the hypervisor resets the device and becomes the owner again instead of dom0 ? > On a related note, should there be a mechanism for dom0 to determine > which PCI configuration areas are read only to itself? -- Best regards, Sander mailto:linux@eikelenboom.it