qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 1e14af: configure: Tidy up remnants of non-64


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 1e14af: configure: Tidy up remnants of non-64-bit physaddr...
Date: Fri, 12 Oct 2012 12:30:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 1e14afef00493bd375264dcea5fb8c7718b23355
      
https://github.com/qemu/qemu/commit/1e14afef00493bd375264dcea5fb8c7718b23355
  Author: Peter Maydell <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Tidy up remnants of non-64-bit physaddrs

Tidy up some remnants of code to support non-64-bit physaddrs
which were accidentally omitted from commit 4be403c8.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 2f5368017f8a0c00e982c3e315acb332a0907792
      
https://github.com/qemu/qemu/commit/2f5368017f8a0c00e982c3e315acb332a0907792
  Author: MORITA Kazutaka <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M block/sheepdog.c

  Log Message:
  -----------
  sheepdog: use bool for boolean variables

This improves readability.

Signed-off-by: MORITA Kazutaka <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 417b0b88904fe1dd8c41bff8092dfbab0134d9cb
      
https://github.com/qemu/qemu/commit/417b0b88904fe1dd8c41bff8092dfbab0134d9cb
  Author: Paolo Bonzini <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M ui/vnc.c

  Log Message:
  -----------
  vnc: fix "info vnc" with "-vnc ..., reverse=on"

When reverse connection is in use, there is no active VNC server
socket.  Because of this, getsockopt(-1, ...) is attempted and
the following error is emitted:

    $ socat TCP-LISTEN:5900,reuseaddr TCP-LISTEN:5901,reuseaddr &
    $ x86_64-softmmu/qemu-system-x86_64 -vnc localhost:5900,reverse -monitor 
stdio
    QEMU 1.2.50 monitor - type 'help' for more information
    (qemu) info vnc
    An undefined error has occurred

Because however the host, family, service and auth fields are
optional, we can just exit if there is no active server socket.

    $ x86_64-softmmu/qemu-system-x86_64 -vnc localhost:5900,reverse -monitor 
stdio
    QEMU 1.2.50 monitor - type 'help' for more information
    (qemu) info vnc
    Server:
    Client:
   address: 127.0.0.1:5900
      x509_dname: none
  username: none

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 884285bf646d93e9dfa4a605bca9f8dc5280b23d
      
https://github.com/qemu/qemu/commit/884285bf646d93e9dfa4a605bca9f8dc5280b23d
  Author: Soren Brinkmann <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/cadence_ttc.c

  Log Message:
  -----------
  cadence_ttc: Fix 'clear on read' behavior

A missing call to qemu_set_irq() when reading the IRQ register
required SW to write to the IRQ register to acknowledge an
interrupt. With this patch the behavior is fixed:
 - Reading the interrupt register clears it and updates the timers
   interrupt status
 - Writes to the interrupt register are ignored

Signed-off-by: Soren Brinkmann <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 9ab1b6053f03d58ba8e7accc8f19c882fbffb66f
      
https://github.com/qemu/qemu/commit/9ab1b6053f03d58ba8e7accc8f19c882fbffb66f
  Author: Evgeny Voevodin <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/arm_gic.c

  Log Message:
  -----------
  hw/arm_gic.c: Fix improper DPRINTF output.

s->cpu_enabled is an array, so s->cpu_enabled ? "En" : "Dis" returns
"En" always. We should use s->cpu_enabled[cpu] here.

Signed-off-by: Evgeny Voevodin <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: ba4906a9b64e165a958e12f6208ca834dc7a36dc
      
https://github.com/qemu/qemu/commit/ba4906a9b64e165a958e12f6208ca834dc7a36dc
  Author: Peter Maydell <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/ds1338.c

  Log Message:
  -----------
  hw/ds1338: Fix mishandling of register pointer

Correct several deficiencies in the handling of the register pointer:
 * it should wrap around after 0x3f, not 0xff
 * guard against the caller handing us an out of range pointer
   (on h/w this can never happen, because only a 7 bit value is
   transferred over the I2C bus)
 * there was confusion over whether nvram[] holds only the 56 bytes
   of guest-accessible NVRAM, or also the secondary registers
   which hold the value of the clock captured at the start of a
   multibyte read. Correct to consistently be the latter, by fixing
   the array size and the offset used for NVRAM writes.
 * ds1338_send was attempting to use 'data' as both the data and
   the register offset simultaneously, which meant that writes to
   any register were broken; fix to use the register pointer.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 35b87a861394ed088c4db3b7ba9a67d8bb2b289e
      
https://github.com/qemu/qemu/commit/35b87a861394ed088c4db3b7ba9a67d8bb2b289e
  Author: Peter Maydell <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/ds1338.c

  Log Message:
  -----------
  hw/ds1338: Recapture current time when register pointer wraps around

The DS1338 datasheet documents that the current time is captured into
the secondary registers when the register pointer wraps round to zero
as well as at a START condition. Implement this.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 7f7fd0f2e4d6b4f2ec137cda67f6c9a140668ea3
      
https://github.com/qemu/qemu/commit/7f7fd0f2e4d6b4f2ec137cda67f6c9a140668ea3
  Author: Peter Maydell <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/ds1338.c

  Log Message:
  -----------
  hw/ds1338: Remove 'now' field from state struct

The 'struct tm now' field in the state structure is in fact only
ever used as a temporary (the actual RTC state is held in 'offset').
Remove it from the state structure in favour of using local variables
to avoid confusion about whether it needs to be saved on migration.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: f4741402ab8afe9014b6a54aed4cb0423041dbcb
      
https://github.com/qemu/qemu/commit/f4741402ab8afe9014b6a54aed4cb0423041dbcb
  Author: Peter Maydell <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/ds1338.c

  Log Message:
  -----------
  hw/ds1338: Implement state save/restore

Implement state save/restore for the DS1338. This requires
the usual minor adjustment of types in the state struct to
get fixed-width ones with vmstate macros.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 853e65e0b45403477c8a89afdb4c0abd4c3f97da
      
https://github.com/qemu/qemu/commit/853e65e0b45403477c8a89afdb4c0abd4c3f97da
  Author: Jean-Christophe PLAGNIOL-VILLARD <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/versatilepb.c

  Log Message:
  -----------
  versatilepb: add gpio pl061 support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: fa2ddcb4f5f33c07c68cec67615c88a98fab02de
      
https://github.com/qemu/qemu/commit/fa2ddcb4f5f33c07c68cec67615c88a98fab02de
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/zynq_slcr.c

  Log Message:
  -----------
  zynq_slcr: Fixed ResetValues enum

There is a gap in the reset region of the address space at offset 0x208. This
throws out all these enum values by one when translating them to address 
offsets.
Fixed by putting the corresponding gap in the enum as well.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: fae15286751d8a8209724b14b62d065f1111e621
      
https://github.com/qemu/qemu/commit/fae15286751d8a8209724b14b62d065f1111e621
  Author: Peter Maydell <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/arm_gic.c
    M hw/arm_gic_common.c
    M hw/arm_gic_internal.h
    M hw/armv7m_nvic.c

  Log Message:
  -----------
  arm_gic: Rename gic_state to GICState

Rename the gic_state struct to match QEMU's coding style conventions
for structure names, since the impending KVM-for-ARM patches will
create another subclass of it. This patch was created using:
  sed -i 's/gic_state/GICState/g' hw/arm_gic.c hw/arm_gic_common.c \
    hw/arm_gic_internal.h hw/armv7m_nvic.c

Acked-by: Andreas Färber <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 5d9619aa1fc348fe8894553c15c1ec886fa33939
      
https://github.com/qemu/qemu/commit/5d9619aa1fc348fe8894553c15c1ec886fa33939
  Author: Anthony Liguori <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M block/sheepdog.c
    M configure
    M ui/vnc.c

  Log Message:
  -----------
  Merge remote-tracking branch 'stefanha/trivial-patches' into staging

* stefanha/trivial-patches:
  vnc: fix "info vnc" with "-vnc ..., reverse=on"
  sheepdog: use bool for boolean variables
  configure: Tidy up remnants of non-64-bit physaddrs


  Commit: ae72f3f5391cc761665824eeea542d3c5ad7ca67
      
https://github.com/qemu/qemu/commit/ae72f3f5391cc761665824eeea542d3c5ad7ca67
  Author: Anthony Liguori <address@hidden>
  Date:   2012-10-12 (Fri, 12 Oct 2012)

  Changed paths:
    M hw/arm_gic.c
    M hw/arm_gic_common.c
    M hw/arm_gic_internal.h
    M hw/armv7m_nvic.c
    M hw/cadence_ttc.c
    M hw/ds1338.c
    M hw/versatilepb.c
    M hw/zynq_slcr.c

  Log Message:
  -----------
  Merge remote-tracking branch 'pmaydell/arm-devs.for-upstream' into staging

* pmaydell/arm-devs.for-upstream:
  arm_gic: Rename gic_state to GICState
  zynq_slcr: Fixed ResetValues enum
  versatilepb: add gpio pl061 support
  hw/ds1338: Implement state save/restore
  hw/ds1338: Remove 'now' field from state struct
  hw/ds1338: Recapture current time when register pointer wraps around
  hw/ds1338: Fix mishandling of register pointer
  hw/arm_gic.c: Fix improper DPRINTF output.
  cadence_ttc: Fix 'clear on read' behavior


Compare: https://github.com/qemu/qemu/compare/628cc97df704...ae72f3f5391c

reply via email to

[Prev in Thread] Current Thread [Next in Thread]