|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/5] xen: domctl XSM hook removal
>>> On 20.11.12 at 15:51, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> wrote:
> --- a/xen/arch/x86/domctl.c
> +++ b/xen/arch/x86/domctl.c
> @@ -96,10 +96,6 @@ long arch_do_domctl(
>
> page = mfn_to_page(mfn);
>
> - ret = xsm_getpageframeinfo(d);
> - if ( ret )
> - break;
This is actually a bug fix - with this still in place, the operation
returns success even if the get_page() below fails.
Jan
> -
> if ( likely(get_page(page, d)) )
> {
> ret = 0;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |