From: Dan Magenheimer Subject: new hypercall implementation question Date: Thu, 23 Jul 2009 07:31:13 -0700 (PDT) Message-ID: <0e076676-cb5a-44e9-9e4b-90a70a45226f@default> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org Is it safe to pass three guest virtual addresses via a hypercall to Xen and expect Xen to safely copy data (two scalars and one array of pagesize-bytes... not necessarily aligned on a page boundary) back to the guest, or do I need to do something fancy to avoid weird corner cases, e.g. to ensure restartabililty in case of guest page fault? This is a privileged-only hypercall used only as part of save/restore/live-migrate (for tmem) if that is relevant. Thanks, Dan