|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH 13/16]: PVH xen: introduce p2m_map_foreign
>>> On 12.01.13 at 03:09, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> wrote:
> --- a/xen/arch/x86/physdev.c Fri Jan 11 16:38:07 2013 -0800
> +++ b/xen/arch/x86/physdev.c Fri Jan 11 16:43:02 2013 -0800
> @@ -485,6 +485,7 @@ ret_t do_physdev_op(int cmd, XEN_GUEST_H
>
> case PHYSDEVOP_set_iopl: {
> struct physdev_set_iopl set_iopl;
> + NO_PVH_ASSERT_VCPU(current);
> ret = -EFAULT;
> if ( copy_from_guest(&set_iopl, arg, 1) != 0 )
> break;
As i the previous patch - if execution can reach here for a PVH
guest, you must not assert this not being the case, but return
an error instead.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |