1. 14 10月, 2013 1 次提交
  2. 11 9月, 2013 1 次提交
  3. 10 9月, 2013 3 次提交
    • T
      qemu-ga: Add Windows VSS provider and requester as DLL · b39297ae
      Tomoki Sekiyama 提交于
      Adds VSS provider and requester as a qga-vss.dll, which is loaded by
      Windows VSS service as well as by qemu-ga.
      
      "provider.cpp" implements a basic stub of a software VSS provider.
      Currently, this module only relays a frozen event from VSS service to the
      agent, and thaw event from the agent to VSS service, to block VSS process
      to keep the system frozen while snapshots are taken at the host.
      
      To register the provider to the guest system as COM+ application, the type
      library (.tlb) for qga-vss.dll is required. To build it from COM IDL (.idl),
      VisualC++, MIDL and stdole2.tlb in Windows SDK are required. This patch also
      adds pre-compiled .tlb file in the repository in order to enable
      cross-compile qemu-ga.exe for Windows with VSS support.
      
      "requester.cpp" provides the VSS requester to kick the VSS snapshot process.
      Qemu-ga.exe works without the DLL, although fsfreeze features are disabled.
      
      These functions are only supported in Windows 2003 or later. In older
      systems, fsfreeze features are disabled.
      
      In several versions of Windows which don't support attribute
      VSS_VOLSNAP_ATTR_NO_AUTORECOVERY, DoSnapshotSet fails with error
      VSS_E_OBJECT_NOT_FOUND. In this patch, we just ignore this error.
      To solve this fundamentally, we need a framework to handle mount writable
      snapshot on guests, which is required by VSS auto-recovery feature
      (cleanup phase after a snapshot is taken).
      Signed-off-by: NTomoki Sekiyama <tomoki.sekiyama@hds.com>
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      b39297ae
    • T
      qemu-ga: Add configure options to specify path to Windows/VSS SDK · d9840e25
      Tomoki Sekiyama 提交于
      To enable VSS support in qemu-ga for Windows, header files included in
      VSS SDK are required.
      The VSS support is enabled by the configure option like below:
        ./configure --with-vss-sdk="/path/to/VSS SDK"
      
      If the path is omitted, it tries to search the headers from default paths
      and VSS support is enabled only if the SDK is found.
      VSS support is disabled if --without-vss-sdk or --with-vss-sdk=no is
      specified.
      
      VSS SDK is available from:
        http://www.microsoft.com/en-us/download/details.aspx?id=23490
      
      To cross-compile using mingw, you need to setup the SDK on Windows
      environments to extract headers. You can also extract the SDK headers on
      POSIX environments using scripts/extract-vss-headers and msitools.
      
      In addition, --with-win-sdk="/path/to/Windows SDK" option is also added to
      specify path to Windows SDK, which may be used for native-compile of .tlb
      file of qemu-ga VSS provider. However, this is usually unnecessary because
      pre-compiled .tlb file is included.
      Signed-off-by: NTomoki Sekiyama <tomoki.sekiyama@hds.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      d9840e25
    • T
      configure: Support configuring C++ compiler · 83f73fce
      Tomoki Sekiyama 提交于
      Add configuration for C++ compiler in configure and Makefiles.
      The C++ compiler is choosed as following:
       - ${CXX}, if it is specified.
       - ${cross_prefix}g++, if ${cross_prefix} is specified.
       - Otherwise, c++ is used.
      
      Currently, usage of C++ language is only for access to Windows VSS
      using COM+ services in qemu-guest-agent for Windows.
      Signed-off-by: NTomoki Sekiyama <tomoki.sekiyama@hds.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: NMicael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      83f73fce
  4. 03 9月, 2013 1 次提交
  5. 01 9月, 2013 4 次提交
  6. 23 8月, 2013 2 次提交
  7. 02 8月, 2013 1 次提交
    • M
      qemu-ga: build it even if !system · e8ef31a3
      Michael Tokarev 提交于
      Move qemu-ga build check out of if softmmu.. into its own section.
      We want to build qemu-ga for _guest_ even if system build isn't
      done.  It is controlled separately using --enable-guest-agent.
      Additionally, give error message if guest agent is requested but
      not supported.
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      e8ef31a3
  8. 29 7月, 2013 2 次提交
  9. 27 7月, 2013 1 次提交
  10. 23 7月, 2013 11 次提交
  11. 19 7月, 2013 3 次提交
  12. 15 7月, 2013 1 次提交
  13. 10 7月, 2013 1 次提交
  14. 22 6月, 2013 2 次提交
  15. 14 6月, 2013 5 次提交
  16. 12 6月, 2013 1 次提交