1. 20 Apr, 2009 3 commits
  2. 17 Apr, 2009 5 commits
  3. 16 Apr, 2009 4 commits
  4. 15 Apr, 2009 5 commits
  5. 14 Apr, 2009 6 commits
  6. 13 Apr, 2009 1 commit
  7. 09 Apr, 2009 10 commits
  8. 08 Apr, 2009 6 commits
    • Keir Fraser's avatar
      tools: Always use sane upstream (`native') python paths · 535abca2
      Keir Fraser authored
      Previously, by default we would install our python modules into
      /usr/lib/python/xen, for example /usr/lib/python/xen/__init__.py.
      Upstream python's standard install location (a) includes the Python
      version number and (b) puts things in site-packages by default.
      Our best conjecture for the reason for this was an attempt to make the
      installs portable between different python versions.  However, that
      doesn't work because compiled python modules (.pyc), and C python
      extensions corresponding to one version of python, are not compatible
      across different versions of python.
      This is why upstream include the version number.
      site-packages is the standard location for locally-installed packages
      and is automatically included on the python search path.
      In this change, we abandon our own unusual python path setup:
       * Invoke setup.py in an entirely standard manner.  We pass
         PREFIX and DESTDIR using the appropriate options provided by
         setup.py for those purposes (adding them to setup.py calls
         which were previously lacking them).
       * Since the installation locations are now on the standard
         python path, we no longer need to add anything to the path
         in any of our python utilities.  Therefore remove all that
         code from every python script.  (Many of these scripts
         unconditionally added /usr/lib/python and /usr/lib64/python which
         is wrong even in the old world.)
       * There is no longer any special `Xen python path'.  xen-python-path
         is no longer needed.  It is no longer called by anything in our
         tree.  However since out-of-tree callers may still invoke it, we
         retain it.  It now prints a fixed string referring to a directory
         which does not to exist; callers (who use it to augment their
         python path) will thus add a nonexistent directory to their python
         path which is harmless.
       * Remove various workarounds including use of setup.py --home
         (which is intended for something completely different).
       * Remove tests for the XEN_PYTHON_NATIVE_INSTALL build-time
         environment variable.  The new behaviour is the behaviour which we
         should have had if this variable had been set.  That is, it is now
         as if this variable was always set but also bugs in the resulting
         install have been fixed.
      This should be a proper fix for the bug addressed by c/s 19515.
      Signed-off-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
    • Keir Fraser's avatar
      restore: sign extend p2m when restoring on a host with pfn width < · 511ab783
      Keir Fraser authored
      guest pfn width
      (i.e. 32on64 domain 0 and 64 bit guest domain).
      Otherwise P2M entries which were INVALID_P2M_ENTRY
      (==0xffffffffffffffff) become 0xffffffff after a migrate.
      Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
    • Keir Fraser's avatar
      x86 hvm: Remove the extra IS_PRIV_FOR() checks I added to do_hvm_op(). · eb73953e
      Keir Fraser authored
      Actually this is already done by rcu_lock_target_domain_by_id(). Oops.
      Signed-off-by: default avatarKeir Fraser <keir.fraser@citrix.com>
    • Keir Fraser's avatar
    • Keir Fraser's avatar
      x86 mce: Small cleanups to machine-check hypercall handling. · 31aad153
      Keir Fraser authored
      Signed-off-by: default avatarKeir Fraser <keir.fraser@citrix.com>
      G: Enter commit message.  Lines beginning with 'HG:' are removed.
    • Keir Fraser's avatar