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

[win-pv-devel] [PATCH 0/5] Add new IOCTLs to XENIFACE



This patch series implements new IOCTLs needed for libvchan. User mode
code will come next. Some notes:

- All new IOCTLs have their input and output data format defined as
structs. I kept them separate for all IOCTLs even if the contents is the
same. Not sure if that's needed but I feel it's a good idea -- if one
IOCTL changes its data format, others won't be affected.

- Grant/map IOCTLs are pended forever, a separate IOCTL is used to get
their actual result. Unmapping memory from user mode needs to be done
below DISPATCH_LEVEL and in context of the same process, but cancel
routines are not guaranteed to be either. Tests showed that they were
always called at APC_LEVEL and in the correct context, but to be safe I
queue a work item to execute at PASSIVE and use KeStackAttachProcess to
change the address space.

- Is there a particular reason for header files not being included in VS
projects? That would help with navigating the code.

- I only updated the VS2013 project, don't have VS2012 at hand but it's
probably easy to do by hand.

- Feel free to change names/formatting if/where needed :)

-- 
RafaÅ WojdyÅa
Qubes Tools for Windows developer
https://www.qubes-os.org/

_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

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