[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 06/18] xenpaging: allow only one xenpaging binary per guest



Olaf Hering writes ("[Xen-devel] [PATCH 06/18] xenpaging: allow only one 
xenpaging binary per guest"):
> -        ERROR("Error initialising shared page");
> +        switch ( errno ) {
> +            case EBUSY:
> +                ERROR("xenpaging is (or was) active on this domain");
> +                break;
> +            case ENODEV:
> +                ERROR("EPT not supported for this guest");
> +                break;
> +            default:
> +                ERROR("Error initialising shared page");
> +                break;

Surely this should print the actual errno value.

> +            /* Only one xenpaging at a time. If xenpaging crashed,
> +             * the cache is in an undefined state and so is the guest
> +             */
> +            rc = -EBUSY;
> +            if ( d->mem_event.enabled )
> +                break;

Is there any way to recover from this or is the guest just hosed ?

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.