1. 23 1月, 2011 1 次提交
  2. 22 1月, 2011 1 次提交
    • J
      Add "broadcast" option for mce command · 31ce5e0c
      Jin Dongming 提交于
      When the following test case is injected with mce command, maybe user could not
      get the expected result.
          DATA
                     command cpu bank status             mcg_status  addr   misc
              (qemu) mce     1   1    0xbd00000000000000 0x05        0x1234 0x8c
      
          Expected Result
                 panic type: "Fatal Machine check"
      
      That is because each mce command can only inject the given cpu and could not
      inject mce interrupt to other cpus. So user will get the following result:
          panic type: "Fatal machine check on current CPU"
      
      "broadcast" option is used for injecting dummy data into other cpus. Injecting
      mce with this option the expected result could be gotten.
      
      Usage:
          Broadcast[on]
                 command broadcast cpu bank status             mcg_status  addr   misc
          (qemu) mce     -b        1   1    0xbd00000000000000 0x05        0x1234 0x8c
      
          Broadcast[off]
                 command cpu bank status             mcg_status  addr   misc
          (qemu) mce     1   1    0xbd00000000000000 0x05        0x1234 0x8c
      Signed-off-by: NJin Dongming <jin.dongming@np.css.fujitsu.com>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      31ce5e0c
  3. 30 10月, 2010 2 次提交
  4. 23 10月, 2010 1 次提交
  5. 31 7月, 2010 1 次提交
    • A
      linux-user: fix build on hosts not using guest base · 18e9ea8a
      Aurelien Jarno 提交于
      Commit 68a1c816 broke qemu on hosts not
      using guest base. It uses reserved_va unconditionally in mmap.c. To
      avoid to many #ifdef #endif blocks, define RESERVED_VA as either
      reserved_va or 0ul, and use it instead of reserved_va, similarly to what
      has been done with guest_base/GUEST_BASE.
      18e9ea8a
  6. 06 7月, 2010 3 次提交
  7. 15 6月, 2010 1 次提交
  8. 29 5月, 2010 1 次提交
  9. 12 5月, 2010 2 次提交
  10. 05 5月, 2010 1 次提交
    • P
      Remove PAGE_RESERVED · 2e9a5713
      Paul Brook 提交于
      The usermode PAGE_RESERVED code is not required by the current mmap
      implementation, and is already broken when guest_base != 0.
      Unfortunately the bsd emulation still uses the old mmap implementation,
      so we can't rip it out altogether.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      2e9a5713
  11. 18 4月, 2010 1 次提交
  12. 08 4月, 2010 1 次提交
  13. 30 3月, 2010 2 次提交
  14. 22 3月, 2010 1 次提交
  15. 18 3月, 2010 1 次提交
  16. 13 3月, 2010 5 次提交
  17. 04 3月, 2010 1 次提交
  18. 01 3月, 2010 1 次提交
  19. 04 2月, 2010 1 次提交
    • S
      kvm: Flush coalesced MMIO buffer periodly · 62a2744c
      Sheng Yang 提交于
      The default action of coalesced MMIO is, cache the writing in buffer, until:
      1. The buffer is full.
      2. Or the exit to QEmu due to other reasons.
      
      But this would result in a very late writing in some condition.
      1. The each time write to MMIO content is small.
      2. The writing interval is big.
      3. No need for input or accessing other devices frequently.
      
      This issue was observed in a experimental embbed system. The test image
      simply print "test" every 1 seconds. The output in QEmu meets expectation,
      but the output in KVM is delayed for seconds.
      
      Per Avi's suggestion, I hooked flushing coalesced MMIO buffer in VGA update
      handler. By this way, We don't need vcpu explicit exit to QEmu to
      handle this issue.
      Signed-off-by: NSheng Yang <sheng@linux.intel.com>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      62a2744c
  20. 21 12月, 2009 1 次提交
  21. 25 11月, 2009 1 次提交
  22. 02 10月, 2009 2 次提交
  23. 11 9月, 2009 1 次提交
  24. 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
  25. 28 7月, 2009 1 次提交
  26. 17 7月, 2009 2 次提交
  27. 10 7月, 2009 2 次提交
  28. 22 6月, 2009 1 次提交
    • G
      Handle init/sipi in a main cpu exec loop. (v2) · b09ea7d5
      Gleb Natapov 提交于
      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: NGleb Natapov <gleb@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b09ea7d5