1. 17 Mar, 2011 1 commit
  2. 11 Aug, 2010 1 commit
  3. 12 Jan, 2009 1 commit
    • Keir Fraser's avatar
      Use -MMD -MF in tools/* rather than -Wp,-M... · e61de1e8
      Keir Fraser authored
      If you use -MMD -MF then the correct .o filename is written to the
      .*.d file as the compiler driver arranges everything.  This was done
      in 19010:275abe1c5d24 for the hypervisor.
      
      In this patch we do the same elsewhere in the xen-unstable tree,
      particularly tools/.  Specifically:
       * Change tools/Rules.mk to add -MMD -MF ... to CFLAGS and set DEPS.
       * Remove -Wp,-MD... from every other Makefile
       * Remove setting of DEPS from every other Makefile
       * Ensure that every Makefile says -include $(DEPS)
       * Ensure that every Makefile's clean target removes $(DEPS)
      
      Some Makefiles were already halfway there, but often for a different
      variable name eg PROG_DEP.  The variable name is now standardised in
      Rules.mk as DEPS.
      
      I have done a test build with this change, on Debian etch.
      Signed-off-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
      e61de1e8
  4. 30 Jul, 2008 1 commit
    • Keir Fraser's avatar
      xenconsoled: replace gettimeofday with clock_gettime · 47c52ce5
      Keir Fraser authored
      Currently if someone changes the date on the host, xenconsoled may
      behave incorrectly due to the use of gettimeofday for the rate control
      algorithm. For example I was able to hang the console connected to a
      guest just setting the date forward 20 years. To solve the problem we
      need to use a time source that doesn't change start point, that is
      clock_gettime with CLOCK_MONOTONIC. The only bad side effect is that
      it introduces a dependency to librt, but I think is well worth it.
      Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
      47c52ce5
  5. 27 Jan, 2008 2 commits
  6. 26 Jan, 2008 2 commits
  7. 22 Jan, 2008 2 commits
  8. 17 Jan, 2008 1 commit
  9. 08 Oct, 2007 1 commit
    • Keir Fraser's avatar
      xenconsoled: portability fixes: · 58873e67
      Keir Fraser authored
       - Use openpty(), which does the same as the sequence
         of open(), grantpt(), unlockpt(), ptsname(), tcgetattr()
         simplifies code
       - Check return code from tcsetattr()
       - sprintf() -> snprintf()
       - OpenBSD lacks POSIX grantpt() and unlockpt()
         requires use of openpty()
       - Solaris lacks POSIX openpty() via feedback from SUN (John Levon)
         implement openpty() for Solaris, tested and ok'd by SUN (John
         Levon)
      Signed-off-by: default avatarChristoph Egger <Christoph.Egger@amd.com>
      58873e67
  10. 07 Mar, 2007 1 commit
  11. 31 Oct, 2006 1 commit
  12. 17 Oct, 2006 2 commits
  13. 09 Mar, 2006 1 commit
  14. 23 Nov, 2005 2 commits
  15. 11 Oct, 2005 1 commit
  16. 06 Sep, 2005 1 commit
  17. 30 Aug, 2005 1 commit
  18. 24 Aug, 2005 1 commit
  19. 07 Aug, 2005 1 commit