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

Re: [Xen-devel] [PATCH v7 10/10] xen/common: do not implicitly permit access to mapped I/O memory



>>> On 10.05.14 at 03:10, <avanzini.arianna@xxxxxxxxx> wrote:
> On 05/06/2014 11:06 AM, Jan Beulich wrote:
>> And now that I reached the end of the patch I'm still missing the
>> similar adjustments for I/O port handling, while I think I saw you
>> claim somewhere that in this version you did deal with that.
>> 
> 
> The previous version of the patch gave access permission to I/O ports (in
> do_pci_add()) only to paravirtualized domains. This version of the patch
> executes also for HVM domains all the code that was previously executed only 
> for
> PV domains, including the invocation of ioport_permission. As Ian Campbell
> suggested (and hoping I understood his suggestion correctly), it does:
> if (hvm)
>     device_model_related_code();
> previously_pv_specific_code();

Now, I was talking about the hypervisor code only, whereas your
reply seems to refer to tools side code. I.e. I was expecting the
MMIO related changes to the domctl handling to get suitably
mirrored to the similar but not identical I/O port handling.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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