From: "Jan Beulich" Subject: Re: [PATCH] x86/MSI: add mechanism to protect MSI-X table from PV guest accesses Date: Mon, 25 Feb 2013 09:38:42 +0000 Message-ID: <512B3F3202000078000C0AF3@nat28.tlf.novell.com> References: <511297F502000078000BC935@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xiantao Zhang Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 25.02.13 at 06:17, "Zhang, Xiantao" wrote: > I think this fix also covers HVM side, right ? The HVM case was already taken care of without this change. > For PV side, I recalled > there was already a fix in Xend to protect PV guest from accessing the > related MMIO range. There once was such a change, but iirc it got reverted quickly, and no-one ever cared to restore it in a way that wouldn't break things. Also, that wouldn't help xl in any way. > Also for HVM guest, last year you proposed and submitted > a patch to Xen-Qemu for blocking guest's accesses to the related MMIO range. Not quite - that change was a pre-req to make it possible to also deny Dom0 access to that range, because qemu was incorrectly mapping the range in question. > Looks like the previous fixes are not needed any more if this fix got > check-in, right ? They all will still be necessary. This change (or one of the described alternatives) is only to close the remaining hole for PV guests. Jan