[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ed5d658c-ca7e-6d6f-724f-eecba0e2683c@suse.com>
Date: Thu, 24 Aug 2017 08:11:11 +0200
From: Juergen Gross <jgross@...e.com>
To: Boris Ostrovsky <boris.ostrovsky@...cle.com>
Cc: xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xen: Don't try to call xen_alloc_p2m_entry() on
autotranslating guests
On 24/08/17 00:27, Boris Ostrovsky wrote:
> Commit aba831a69632 ("xen: remove tests for pvh mode in pure pv paths")
> removed XENFEAT_auto_translated_physmap test in xen_alloc_p2m_entry()
> since it is assumed that the routine is never called by non-PV guests.
>
> However, alloc_xenballooned_pages() may make this call on a PVH guest.
> Prevent this from happening by adding XENFEAT_auto_translated_physmap
> check there.
>
> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
> Fixes: aba831a69632 ("xen: remove tests for pvh mode in pure pv paths")
Reviewed-by: Juergen Gross <jgross@...e.com>
Thanks,
Juergen
Powered by blists - more mailing lists