[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: obtain a list of granttable PFNs from toolstack
- To: Olaf Hering <olaf@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Wed, 28 Apr 2021 12:10:11 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nF5Z5XFVP+34JlH6bPaU+/FlpvrsSKOTrIb97eHbun8=; b=O2ataJVEtkQJM+/heBU+8KmPFAk9mfDmXaYuUtr4KekpDvDTy3313rI5NevIf0ZySEed8QkIGJL0jKaWEPyfDw1tyw03wLWZZ0l8U25QLKmprnv7RMfmmFcYqQsiEIBIR5JtwqUk5n6EHaYmy6qacFEKQAPKDniDCRIx4F+APjHbAW+B/4iZc/6qre/jCAaydhOK90mXXbD+LG737agcLHFctzoy0azDeMhuGzeiQh22I52vl4vWE1SUUHXq7usBgIOLbkH1zT7BPKLAr2z/MdVPtqxrOAmPAJl1+91Y7rj4P/oWbO3ASGUsKvbkDG6UXm3hc0LvRp6ZXbRVmjkPOw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kOEz9NRafsamUc4LN1W0I6pjHgqsQNf5twiVg+F3uCPhDrLvh8vhciYgTyFclh40xjsj1C2FTk8mg9hu7sv6SUv/Ewf6dDpLZgQ7VgfhHaOQ2vLuLH5rOcBaPnW6DcjxlwrrgR6X64Xd9q33KfxhHUERsc5OQSiQc+F55k/gtKhDk1RVWGdwZ9+SPPbc8AlWgNJELjIud9BWGMqAJgoOoAxfRsVr4zhJNOEwufjJRTqw1Syw7CMIAbQ4PhVy8BuV2jcmRhS9NG2AaLOsRTWje8ShACyFIRNOM97HLIxyMJju9+Bp2vPUvwyxpHL/TvurMSW4Ozq2+oUA8ZUonQswTw==
- Authentication-results: esa3.hc3370-68.iphmx.com; dkim=hardfail (body hash did not verify [final]) header.i=@citrix.onmicrosoft.com
- Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Wed, 28 Apr 2021 11:10:38 +0000
- Ironport-hdrordr: A9a23:gI2lDKkgWeh7azk2/LTMUHN6LsbpDfOnj2dD5ilNYBxZY6Wkvu iUtrAyyQL0hDENWHsphNCHP+26TWnB8INuiLN+AZ6LZyOjnGezNolt4c/ZwzPmEzDj7eI178 hdWoBEIpnLAVB+5PyX3CCRD8sgzN6b8KqhmOfZyDNXQRt3brx7hj0YNi+wOCRNNW57LLA+E4 eR4dcCgjKmd2geYMjTPAh6Y8HoodrXmJX6JSMcDxk85wWUyR+u4rj2Ex+Xty1uLA9n67Ek7G TDjkjF9ryu2svLtiP0+k3yy9BtmNXnwsZeH8DksKkoAxjllwrAXvUbZ5SspzYwydvfkWoCsN 6JmBs4OtQ21nW5RBDJnTLI+y3NlAkj8GXjz1jwuwqQneXcSCghA8RMwaJ1GyGpk3YIh9133K JV02/xjfM+Znms7UeNham9azhQmkW5unYkm+II5kYvN7c2U7NNsZcZuHpcDZZoJlOI1KkcDO JsAMvAjcwmFG+yUnaxhBgK/PWRRHgpWj+JTk8e0/blqQR+rTRSyksVw9EnhXEQ9J4xYIks3Z W1Do1Y0J5JVcMYdqR7GaMoRta2EHXERVb2PHuVOkmPLtBJB1v977rMpJkl7uCjf5IFiLM0hZ T6SVtd8Uo/YVjnB8Gi1IBCmyq9DlmVbHDI8IVz9pJ5srrzSP7AKiuYUm0jlMOmvrE2HtDbc+ zbAuMUP9bTaU/VXapZ1Qz3XJdfbVMEVtcOh9o9U1WS5urWN4zRsPDBevq7HsusLR8UHkfERl cTVjn6I8tNqmqxXGXjvRTXU3TxPmPl+5ZdF7Xb4v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XRIK3RshcxWvtPbfW4DANxPxxZrPrsMoG4fJT GsmfpgZyHcsKAg5F1OOh+T92usoESRe9VuSgmuGTld3Y8nOMi3UcCBckrNJ4XpSs7U/Qk+vMzi rG0=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 28/04/2021 11:17, Olaf Hering wrote:
> Am Wed, 28 Apr 2021 11:49:59 +0200
> schrieb Jan Beulich <jbeulich@xxxxxxxx>:
>
>> On 28.04.2021 09:50, Olaf Hering wrote:
>>> Is there an API to get a list of PFNs which are currently being active in
>>> the grant table for a given domid?
>> Do you really mean PFNs?
> The save/restore code uses the term "pfn" to refer to page indices from the
> domU point of view. Since I usually just follow the HVM code paths, the term
> might indeed be incorrect for PV.
pfn's is correct here. The migration logic tracks dirty pages in the
same address space as Xen's logdirty bitmap.
For HVM guests, this is ==gfn.
For PV guests, this is the guest's logical idea of its physmap layout,
as written in the M2P, and specifically not mfn/gfn's.
~Andrew
|