From: "Jan Beulich" Subject: Re: [PATCH RFC] x86/hvm: unify HVM and PVH hypercall tables. Date: Thu, 15 May 2014 12:58:45 +0100 Message-ID: <5374C81502000078000129C4@mail.emea.novell.com> References: <1399563090-30081-1-git-send-email-tim@xen.org> <20140508183943.GA3306@phenom.dumpdata.com> <20140515103008.GB40104@deinos.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140515103008.GB40104@deinos.phlegethon.org> 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: Konrad Rzeszutek Wilk , Tim Deegan Cc: George Dunlap , Keir Fraser , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 15.05.14 at 12:30, wrote: > At 14:39 -0400 on 08 May (1399556383), Konrad Rzeszutek Wilk wrote: >> On Thu, May 08, 2014 at 04:31:30PM +0100, Tim Deegan wrote: >> > Stage one of many in merging PVH and HVM code in the hypervisor. >> > >> > This exposes a few new hypercalls to HVM guests, all of which were >> > already available to PVH ones: >> > >> > - XENMEM_memory_map / XENMEM_machine_memory_map / XENMEM_machphys_mapping: >> > These are basically harmless, if a bit useless to plain HVM. >> > >> > - VCPUOP_send_nmi / VCPUOP_initialise / VCPUOP[_is]_up / VCPUOP_down >> > This will eventually let HVM guests bring up APs the way PVH ones do. >> > For now, the VCPUOP_initialise paths are still gated on is_pvh. >> >> I had a similar patch to enable this under HVM and found out that >> if the guest issues VCPUOP_send_nmi we get in Linux: >> >> [ 3.611742] Corrupted low memory at c000fffc (fffc phys) = 00029b00 >> [ 2.386785] Corrupted low memory at ffff88000000fff8 (fff8 phys) = > 2990000000000 >> >> http://mid.gmane.org/20140422183443.GA6817@phenom.dumpdata.com > > Right, thanks. Do you think that's likely to be a hypervisor bug, or > just a "don't do that then"? Whether that's a hypervisor or Dom0 kernel bug I can't tell (yet), but it certainly shouldn't be a "don't do that then". Jan