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

[win-pv-devel] [PATCH 0/6] Replace WMI LiteAgent with IOCTL xenagent



Removes the WMI LiteAgent and replaces it with a lightweight 
IOCTL/SetupApi/RegisterDeviceNotification based xenagent.
The xenagent registers for notification from the XenIface Interface
GUID, and uses a single instance (though additional instances are 
detected, although not expected to be present).

This patch series relies on an earlier series that adds the required
IOCTLs to XenIface.

Owen Smith (6):
  Remove LiteAgent, replace with boilerplate xenagent service
  Add device list to track XenIface device(s)
  Add XenIfaceDevice
  Track active device in service class
  Add Suspend and Shutdown handlers
  Set VM's time based on host's time exposed by Xen

 build.py                                |   10 +
 src/win32stubagent/WmiAccessor.cpp      | 1331 -------------------------------
 src/win32stubagent/WmiAccessor.h        |   88 --
 src/win32stubagent/XSAccessor.cpp       |  230 ------
 src/win32stubagent/XSAccessor.h         |  126 ---
 src/win32stubagent/XService.cpp         | 1044 ------------------------
 src/win32stubagent/XService.h           |   54 --
 src/win32stubagent/errors.cpp           |  102 ---
 src/win32stubagent/messages.mc          |   66 --
 src/win32stubagent/stdafx.cpp           |   39 -
 src/win32stubagent/stdafx.h             |   43 -
 src/win32stubagent/w32xagent.rc         |   60 --
 src/win32stubagent/xen.ico              |  Bin 25214 -> 0 bytes
 src/xenagent/devicelist.cpp             |  296 +++++++
 src/xenagent/devicelist.h               |   92 +++
 src/xenagent/messages.mc                |   66 ++
 src/xenagent/service.cpp                |  559 +++++++++++++
 src/xenagent/service.h                  |  100 +++
 src/xenagent/xen.ico                    |  Bin 0 -> 25214 bytes
 src/xenagent/xenagent.rc                |   60 ++
 src/xenagent/xenifacedevice.cpp         |  153 ++++
 src/xenagent/xenifacedevice.h           |   64 ++
 src/xeniface.inf                        |   16 +-
 vs2012/liteagent/LiteAgent.vcxproj      |  251 ------
 vs2012/liteagent/LiteAgent.vcxproj.user |    4 -
 vs2012/xenagent/xenagent.vcxproj        |  221 +++++
 vs2012/xenagent/xenagent.vcxproj.user   |    4 +
 vs2012/xeniface.sln                     |    2 +-
 vs2013/liteagent/LiteAgent.vcxproj      |  256 ------
 vs2013/liteagent/LiteAgent.vcxproj.user |    4 -
 vs2013/xenagent/xenagent.vcxproj        |  225 ++++++
 vs2013/xenagent/xenagent.vcxproj.user   |    4 +
 vs2013/xeniface.sln                     |    2 +-
 33 files changed, 1864 insertions(+), 3708 deletions(-)
 delete mode 100644 src/win32stubagent/WmiAccessor.cpp
 delete mode 100644 src/win32stubagent/WmiAccessor.h
 delete mode 100644 src/win32stubagent/XSAccessor.cpp
 delete mode 100644 src/win32stubagent/XSAccessor.h
 delete mode 100644 src/win32stubagent/XService.cpp
 delete mode 100644 src/win32stubagent/XService.h
 delete mode 100644 src/win32stubagent/errors.cpp
 delete mode 100644 src/win32stubagent/messages.mc
 delete mode 100644 src/win32stubagent/stdafx.cpp
 delete mode 100644 src/win32stubagent/stdafx.h
 delete mode 100644 src/win32stubagent/w32xagent.rc
 delete mode 100644 src/win32stubagent/xen.ico
 create mode 100644 src/xenagent/devicelist.cpp
 create mode 100644 src/xenagent/devicelist.h
 create mode 100644 src/xenagent/messages.mc
 create mode 100644 src/xenagent/service.cpp
 create mode 100644 src/xenagent/service.h
 create mode 100644 src/xenagent/xen.ico
 create mode 100644 src/xenagent/xenagent.rc
 create mode 100644 src/xenagent/xenifacedevice.cpp
 create mode 100644 src/xenagent/xenifacedevice.h
 delete mode 100644 vs2012/liteagent/LiteAgent.vcxproj
 delete mode 100644 vs2012/liteagent/LiteAgent.vcxproj.user
 create mode 100644 vs2012/xenagent/xenagent.vcxproj
 create mode 100644 vs2012/xenagent/xenagent.vcxproj.user
 delete mode 100644 vs2013/liteagent/LiteAgent.vcxproj
 delete mode 100644 vs2013/liteagent/LiteAgent.vcxproj.user
 create mode 100644 vs2013/xenagent/xenagent.vcxproj
 create mode 100644 vs2013/xenagent/xenagent.vcxproj.user

-- 
1.9.4.msysgit.1


_______________________________________________
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®.