lkml.org 
[lkml]   [2012]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Xen-devel] incorrect layout of globals from head_64.S during kexec boot
On Tue, Jul 17, Olaf Hering wrote:

To make this robust against allocation errors I will change it to

do {

> + /* Allocate new mfn for previous pfn */
> + rc = HYPERVISOR_memory_op(XENMEM_populate_physmap, &reservation);

} while (rc == 0);

> +
> + /* Make sure the previous pfn is really connected to a (new) mfn */
> + BUG_ON(rc != 1);

Olaf


\
 
 \ /
  Last update: 2012-07-17 15:21    [W:0.136 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site