[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.