1. 07 3月, 2011 1 次提交
  2. 21 11月, 2010 1 次提交
    • A
      Type-safe ioport callbacks · acd1c812
      Avi Kivity 提交于
      The current ioport callbacks are not type-safe, in that they accept an "opaque"
      pointer as an argument whose type must match the argument to the registration
      function; this is not checked by the compiler.
      
      This patch adds an alternative that is type-safe.  Instead of an opaque
      argument, both registation and the callback use a new IOPort type.  The
      callback then uses container_of() to access its main structures.
      
      Currently the old and new methods exist side by side; once the old way is gone,
      we can also save a bunch of memory since the new method requires one pointer
      per ioport instead of 6.
      Acked-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      acd1c812
  3. 10 9月, 2010 1 次提交
  4. 02 10月, 2009 2 次提交
  5. 21 9月, 2009 1 次提交
  6. 07 9月, 2009 1 次提交
  7. 24 8月, 2009 1 次提交
    • A
      Unbreak large mem support by removing kqemu · 4a1418e0
      Anthony Liguori 提交于
      kqemu introduces a number of restrictions on the i386 target.  The worst is that
      it prevents large memory from working in the default build.
      
      Furthermore, kqemu is fundamentally flawed in a number of ways.  It relies on
      the TSC as a time source which will not be reliable on a multiple processor
      system in userspace.  Since most modern processors are multicore, this severely
      limits the utility of kqemu.
      
      kvm is a viable alternative for people looking to accelerate qemu and has the
      benefit of being supported by the upstream Linux kernel.  If someone can
      implement work arounds to remove the restrictions introduced by kqemu, I'm
      happy to avoid and/or revert this patch.
      
      N.B. kqemu will still function in the 0.11 series but this patch removes it from
      the 0.12 series.
      
      Paul, please Ack or Nack this patch.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4a1418e0
  8. 17 7月, 2009 2 次提交
  9. 10 7月, 2009 3 次提交