This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Some issues in recent ChangeSet.

To: "Yu, Ke" <ke.yu@xxxxxxxxx>, "Zheng, Jeff" <jeff.zheng@xxxxxxxxx>, Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Some issues in recent ChangeSet.
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 04 Sep 2006 14:57:59 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 04 Sep 2006 06:58:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <117E3EB5059E4E48ADFF2822933287A4F92CA6@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbHSO35fCx5+0KMQnOiZIad0jgaqwAAB8wwAAEwq6MAAzyB2wA/cA9AALxX4NABKSdsAAAAeV5wAA5vGhs=
Thread-topic: [Xen-devel] Some issues in recent ChangeSet.
User-agent: Microsoft-Entourage/
On 4/9/06 8:19 am, "Yu, Ke" <ke.yu@xxxxxxxxx> wrote:

> I also see HVM domain reboot failed again in recent cset.
> A quick look showes qemu-dm and HV use diferrent MFN to map shared_page after
> rebooting, this will cause DM event channel binding failure. In my box, DM use
> mfn 0x2d406  while HV use mfn 0x2d426 to map shared page, they differ 0x20
> pages. Looks like xc_get_pfn_list is incorrect after rebooting. I will look
> into this issue. 

Short-term fix: For HVM guests, return frame list by scanning the P2M table
so you definitely get the frames in the right order (currently it always
scans the ownership linked list, which actually has no guaranteed order).

Long-term fix: Always map HVM guest pages by PFN rather than MFN. This will
avoid domain0 needing to manually do P->M translations -- it'll instead
happen automatically inside Xen. Much neater.

Overall we should be aiming to get read of get_pfn_list entirely, especially
for HVM guests.

 -- Keir

Xen-devel mailing list