Paul Durrant writes ("[PATCH v7 03/12] tools/libxenforeignmemory: add support 
for resource mapping"):
> A previous patch introduced a new HYPERVISOR_memory_op to acquire guest
> resources for direct priv-mapping.
> 
> This patch adds new functionality into libxenforeignmemory to make use
> of a new privcmd ioctl [1] that uses the new memory op to make such
> resources available via mmap(2).
> 
> [1] 
> http://xenbits.xen.org/gitweb/?p=people/pauldu/linux.git;a=commit;h=ce59a05e6712

This looks plausible to me.

I wonder whether this, particularly for the ioreq server page, will
make it possible to deprivilege earlier than I did in my own series on
Friday.

(With my series, I do the depriv on entering the `running' state,
which is quite late.  It's after reading the migration stream, which
is not ideal.  But it did mean that qemu had already aquired the ioreq
page by then so it worked.  Unless that's just because my Xen was a
bit old?)

Anyway,

Acked-by: Ian Jackson <ian.jack...@eu.citrix.com>

Ian.

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

Reply via email to