You need to sign in or sign up before continuing.
  1. 10 5月, 2011 1 次提交
  2. 13 4月, 2011 2 次提交
  3. 02 4月, 2011 1 次提交
    • D
      Parse SDR1 on mtspr instead of at translate time · bb593904
      David Gibson 提交于
      On ppc machines with hash table MMUs, the special purpose register SDR1
      contains both the base address of the encoded size (hashed) page tables.
      
      At present, we interpret the SDR1 value within the address translation
      path.  But because the encodings of the size for 32-bit and 64-bit are
      different this makes for a confusing branch on the MMU type with a bunch
      of curly shifts and masks in the middle of the translate path.
      
      This patch cleans things up by moving the interpretation on SDR1 into the
      helper function handling the write to the register.  This leaves a simple
      pre-sanitized base address and mask for the hash table in the CPUState
      structure which is easier to work with in the translation path.
      
      This makes the translation path more readable.  It addresses the FIXME
      comment currently in the mtsdr1 helper, by validating the SDR1 value during
      interpretation.  Finally it opens the way for emulating a pSeries-style
      partition where the hash table used for translation is not mapped into
      the guests's RAM.
      Signed-off-by: NDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      bb593904
  4. 22 3月, 2011 1 次提交
  5. 21 3月, 2011 1 次提交
    • P
      change all other clock references to use nanosecond resolution accessors · 74475455
      Paolo Bonzini 提交于
      This was done with:
      
          sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
              $(git grep -l 'qemu_get_clock\>' )
          sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
              $(git grep -l 'qemu_new_timer\>' )
      
      after checking that get_clock and new_timer never occur twice
      on the same line.  There were no missed occurrences; however, even
      if there had been, they would have been caught by the compiler.
      
      There was exactly one false positive in qemu_run_timers:
      
           -    current_time = qemu_get_clock (clock);
           +    current_time = qemu_get_clock_ns (clock);
      
      which is of course not in this patch.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      74475455
  6. 17 3月, 2011 1 次提交
  7. 15 3月, 2011 3 次提交
  8. 14 2月, 2011 1 次提交
  9. 02 2月, 2011 2 次提交
    • P
      add qemu_chr_set_echo · c48855e1
      Paolo Bonzini 提交于
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c48855e1
    • A
      vnc: Fix password expiration through 'change vnc ""' (v2) · 1cd20f8b
      Anthony Liguori 提交于
      commit 52c18be9 introduced a regression in the
      change vnc password command that changed the behavior of setting the VNC
      password to an empty string from disabling login to disabling authentication.
      
      This commit refactors the code to eliminate this overloaded semantics in
      vnc_display_password and instead introduces the vnc_display_disable_login.   The
      monitor implementation then determines the behavior of an empty or missing
      string.
      
      Recently, a set_password command was added that allows both the Spice and VNC
      password to be set.  This command has not shown up in a release yet so the
      behavior is not yet defined.
      
      This patch proposes that an empty password be treated as an empty password with
      no special handling.  For specifically disabling login, I believe a new command
      should be introduced instead of overloading semantics.
      
      I'm not sure how Spice handles this but I would recommend that we have Spice
      and VNC have consistent semantics here for the 0.14.0 release.
      Reported-by: NNeil Wilson <neil@aldur.co.uk>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ---
      v1 -> v2
       - Add a proper return to make sure that login is really disabled instead of
         relying on the VNC server to treat empty passwords specially
      1cd20f8b
  10. 25 1月, 2011 1 次提交
  11. 24 1月, 2011 3 次提交
  12. 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
  13. 15 1月, 2011 1 次提交
  14. 19 12月, 2010 1 次提交
  15. 12 12月, 2010 2 次提交
  16. 09 12月, 2010 3 次提交
  17. 06 12月, 2010 3 次提交
  18. 17 11月, 2010 1 次提交
  19. 04 11月, 2010 2 次提交
  20. 22 10月, 2010 1 次提交
  21. 14 10月, 2010 1 次提交
  22. 03 10月, 2010 1 次提交
  23. 01 10月, 2010 6 次提交