WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pfn to mfn mapping for HVM domains?

To: "Bryan D. Payne" <bryan@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] pfn to mfn mapping for HVM domains?
From: Steven Smith <sos22-xen@xxxxxxxxxxxxx>
Date: Sun, 1 Oct 2006 18:50:22 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, sos22@xxxxxxxxxxxxx
Delivery-date: Sun, 01 Oct 2006 10:50:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6C48E963-609D-4512-ACFE-AB386DC9620B@xxxxxxxxxxxx>
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>
References: <6C48E963-609D-4512-ACFE-AB386DC9620B@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>         live_shinfo = xa_mmap_mfn(
>             instance, PROT_READ, instance->info.shared_info_frame);
>         if (live_shinfo == NULL){
>             goto error_exit;
>         }
> 
>       /* live_shinfo->arch.pfn_to_mfn_frame_list_list == NULL here for HVM 
> domains */
Yes, that's expected.  The P2M table in HVM domains is managed
entirely by the hypervisor, whereas it's mostly a guest-controlled
thing in PV domains.  Try using xc_translate_gpfn_list instead, which
does P2M translation on HVM domains.

Steven.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] pfn to mfn mapping for HVM domains?, Steven Smith <=