Skip to content
Snippets Groups Projects
  1. Jun 11, 2010
  2. May 11, 2010
  3. May 05, 2010
  4. Apr 08, 2010
  5. Apr 01, 2010
    • Aurelien Jarno's avatar
      linux-user/ia64: workaround ia64 strangenesses · 60e99246
      Aurelien Jarno authored
      ia64 has some strangenesses that need to be workaround:
      - it has a __clone2() syscall instead of the using clone() one, with
        different arguments, and which is not declared in the usual headers.
      - ucontext.uc_sigmask is declared with type long int, while it is
        actually of type sigset_t.
      - uc_mcontext, uc_sigmask, uc_stack, uc_link are declared using #define,
        which clashes with the target_ucontext fields. Change their names to
        tuc_*, as already done for some target architectures.
      60e99246
  6. Mar 12, 2010
    • Paul Brook's avatar
      Add tb_page_addr_t · 41c1b1c9
      Paul Brook authored
      
      The page tracking code in exec.c is used by both userspace and system
      emulation.  Userspace emulation uses it to track virtual pages, and
      system emulation to track ram pages.  Introduce a new type to hold this
      kind of address.
      
      Signed-off-by: default avatarPaul Brook <paul@codesourcery.com>
      41c1b1c9
  7. Feb 23, 2010
  8. Feb 21, 2010
  9. Feb 19, 2010
  10. Feb 18, 2010
  11. Feb 15, 2010
  12. Jan 19, 2010
  13. Jan 08, 2010
  14. Dec 05, 2009
  15. Nov 07, 2009
  16. Oct 18, 2009
  17. Sep 12, 2009
    • Blue Swirl's avatar
      Fix sys-queue.h conflict for good · 72cf2d4f
      Blue Swirl authored
      
      Problem: Our file sys-queue.h is a copy of the BSD file, but there are
      some additions and it's not entirely compatible. Because of that, there have
      been conflicts with system headers on BSD systems. Some hacks have been
      introduced in the commits 15cc9235,
      f40d7537,
      96555a96 and
      3990d09a but the fixes were fragile.
      
      Solution: Avoid the conflict entirely by renaming the functions and the
      file. Revert the previous hacks.
      
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      72cf2d4f
  18. Aug 24, 2009
    • Nathan Froyd's avatar
      cleanup cpu-exec.c, part 0/N: consolidate handle_cpu_signal · 0b5c1ce8
      Nathan Froyd authored
      
      handle_cpu_signal is very nearly copy-paste code for each target, with a
      few minor variations.  This patch sets up appropriate defaults for a
      generic handle_cpu_signal and provides overrides for particular targets
      that did things differently.  Fixing things like the persistent (XXX:
      use sigsetjmp) should now become somewhat easier.
      
      Previous comments on this patch suggest that the "activate soft MMU for
      this block" comments refer to defunct functionality.  I have removed
      such blocks for the appropriate targets in this patch.
      
      Signed-off-by: default avatarNathan Froyd <froydnj@codesourcery.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      0b5c1ce8
    • Anthony Liguori's avatar
      Unbreak large mem support by removing kqemu · 4a1418e0
      Anthony Liguori authored
      
      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: default avatarAnthony Liguori <aliguori@us.ibm.com>
      4a1418e0
  19. Aug 22, 2009
  20. Jul 27, 2009
  21. Jul 16, 2009
  22. Jul 12, 2009
    • Igor Kovalenko's avatar
      sparc64: trap handling corrections · 5210977a
      Igor Kovalenko authored
      On Sun, Jul 12, 2009 at 12:09 PM, Blue Swirl<blauwirbel@gmail.com> wrote:
      > On 7/12/09, Igor Kovalenko <igor.v.kovalenko@gmail.com> wrote:
      >> Good trap handling is required to process interrupts.
      >>  This patch fixes the following:
      >>
      >>  - sparc64 has no wim register
      >>  - sparc64 has no psret register, use IE bit of pstate
      >>   extract IE checking code to cpu_interrupts_enabled
      >>  - alternate globals are not available if cpu has GL feature
      >>   in this case bit AG of pstate is constant zero
      >>  - write to pstate must actually write pstate
      >>   even if cpu has GL feature
      >>
      >>  Also timer interrupt is handled using do_interrupt.
      >
      > A bit too much for one patch. Please also remove the code instead of
      > commenting out.
      
      I now excluded timer interrupt related part.
      To my mind other changes are essentially tied together.
      
      > PUT_PSR for Sparc64 needs CC_OP = CC_OP_FLAGS; like Sparc32.
      
      Fixed, please find attached the updated version.
      
      --
      Kind regards,
      Igor V. Kovalenko
      5210977a
  23. Jul 09, 2009
  24. Jun 22, 2009
    • Gleb Natapov's avatar
      Handle init/sipi in a main cpu exec loop. (v2) · b09ea7d5
      Gleb Natapov authored
      
      This should fix compilation problem in case of CONFIG_USER_ONLY.
      
      Currently INIT/SIPI is handled in the context of CPU that sends IPI.
      This patch changes this to handle them like all other events in a main
      cpu exec loop. When KVM will gain thread per vcpu capability it will
      be much more clear to handle those event by cpu thread itself and not
      modify one cpu's state from the context of the other.
      
      Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      b09ea7d5
  25. May 26, 2009
  26. Apr 25, 2009
  27. Apr 24, 2009
  28. Apr 19, 2009
  29. Apr 10, 2009
  30. Apr 04, 2009
  31. Mar 16, 2009
Loading