1. 02 2月, 2011 4 次提交
    • 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
    • P
      linux-user: avoid gcc array overrun warning for sparc · e321c34a
      Peter Maydell 提交于
      Suppress a gcc array bounds overrun warning when filling in the SPARC
      signal frame by adjusting our definition of the structure so that the
      fp and callers_pc membes are part of the ins[] array rather than
      separate fields; since qemu has no need to access the fields individually
      there is no need to follow the kernel's structure field naming exactly.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      e321c34a
    • P
      hw/slavio_intctl.c: fix gcc warning about array bounds overrun · c84a88d8
      Peter Maydell 提交于
      The Ubuntu 10.10 gcc for ARM complains that we might be overrunning
      the cpu_irqs[][] array: silence this by correcting the bounds on the
      loop. (In fact we would not have overrun the array because bit
      MAX_PILS in pil_pending and irl_out will always be 0.)
      
      Also add a comment about why the loop's lower bound is OK.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      c84a88d8
    • F
      SPARC: Fix Leon3 cache control · 60f356e8
      Fabien Chouteau 提交于
      The "leon3_cache_control_int" (op_helper.c) function is called within leon3.c
      which leads to segfault error with the global "env".
      
      Now cache control is a CPU feature and everything is handled in op_helper.c.
      Signed-off-by: NFabien Chouteau <chouteau@adacore.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      60f356e8
  2. 01 2月, 2011 1 次提交
  3. 31 1月, 2011 28 次提交
  4. 30 1月, 2011 3 次提交
  5. 29 1月, 2011 4 次提交