1. 01 Feb, 2011 4 commits
    • Anthony Liguori's avatar
      vnc: Fix password expiration through 'change vnc ""' (v2) · 1cd20f8b
      Anthony Liguori authored
      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: default avatarNeil Wilson <neil@aldur.co.uk>
      Signed-off-by: default avatarAnthony 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
    • Peter Maydell's avatar
      linux-user: avoid gcc array overrun warning for sparc · e321c34a
      Peter Maydell authored
      
      
      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: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      e321c34a
    • Peter Maydell's avatar
      hw/slavio_intctl.c: fix gcc warning about array bounds overrun · c84a88d8
      Peter Maydell authored
      
      
      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: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      c84a88d8
    • Fabien Chouteau's avatar
      SPARC: Fix Leon3 cache control · 60f356e8
      Fabien Chouteau authored
      
      
      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: default avatarFabien Chouteau <chouteau@adacore.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      60f356e8
  2. 31 Jan, 2011 29 commits
  3. 30 Jan, 2011 1 commit
  4. 29 Jan, 2011 6 commits