qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 587ae2: bswap.h: Remove cpu_to_le16wu()


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 587ae2: bswap.h: Remove cpu_to_le16wu()
Date: Tue, 05 Nov 2013 20:30:05 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 587ae227607d86d07b0a0fb30fff55604ff9ee80
      
https://github.com/qemu/qemu/commit/587ae227607d86d07b0a0fb30fff55604ff9ee80
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/acpi/core.c
    M include/hw/pci/pci.h
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove cpu_to_le16wu()

Replace the legacy cpu_to_le16wu() with stw_le_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 6e931878c1bde26ff594f284a6857e0d786674bc
      
https://github.com/qemu/qemu/commit/6e931878c1bde26ff594f284a6857e0d786674bc
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/net/ne2000.c
    M include/hw/pci/pci.h
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove cpu_to_le32wu()

Replace the legacy cpu_to_le32wu() with stl_le_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: c65e5de94dbe667743d1523d6b4ac301cd76b0fe
      
https://github.com/qemu/qemu/commit/c65e5de94dbe667743d1523d6b4ac301cd76b0fe
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/acpi/core.c
    M include/hw/pci/pci.h
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove le16_to_cpupu()

Replace the legacy le16_to_cpupu() with lduw_le_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: f567656a67e3859a8be2371c45ff66e90321a2c1
      
https://github.com/qemu/qemu/commit/f567656a67e3859a8be2371c45ff66e90321a2c1
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/net/ne2000.c
    M include/hw/pci/pci.h
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove le32_to_cpupu()

Replace the legacy le32_to_cpupu() with ldl_le_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 09fa8439730c707b34af6ab055fc353f6cadc57d
      
https://github.com/qemu/qemu/commit/09fa8439730c707b34af6ab055fc353f6cadc57d
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/net/e1000.c
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove be32_to_cpupu()

Replace the legacy be32_to_cpupu() with ldl_be_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: d8ee2591e495d5feb0e0250866222dedc805c8d8
      
https://github.com/qemu/qemu/commit/d8ee2591e495d5feb0e0250866222dedc805c8d8
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/block/cdrom.c
    M hw/ide/atapi.c
    M hw/net/e1000.c
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove cpu_to_be16wu()

Replace the legacy cpu_to_be16wu() with stw_be_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 6bd194ab9957361f83fdbfb22d452d97b4af28e2
      
https://github.com/qemu/qemu/commit/6bd194ab9957361f83fdbfb22d452d97b4af28e2
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/block/cdrom.c
    M hw/net/e1000.c
    M hw/pci/pcie_aer.c
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove cpu_to_be32wu()

Replace the legacy cpu_to_be32wu() with stl_be_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: e4ef9f465cf7cbc66b85e9df4eebe13086b46f11
      
https://github.com/qemu/qemu/commit/e4ef9f465cf7cbc66b85e9df4eebe13086b46f11
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M block/qcow2-cluster.c
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove cpu_to_be64wu()

Replace the legacy cpu_to_be64wu() with stq_be_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 7d579514a5a7b308b52d4e8567aa9bd1f7aa761b
      
https://github.com/qemu/qemu/commit/7d579514a5a7b308b52d4e8567aa9bd1f7aa761b
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/display/vga_template.h
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Remove cpu_to_32wu()

Replace the legacy cpu_to_32wu() with stl_p().

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 3dce9cad5a6c0b0dbe0830973b270c9466c8ab4b
      
https://github.com/qemu/qemu/commit/3dce9cad5a6c0b0dbe0830973b270c9466c8ab4b
  Author: Wenchao Xia <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M qapi/qapi-dealloc-visitor.c

  Log Message:
  -----------
  qapi: fix memleak by adding implict struct functions in dealloc visitor

Otherwise member "base" is leaked in a qapi_free_STRUCTURE() call.

Signed-off-by: Wenchao Xia <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden
Cc: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 8aa15b6e527f234e491a6d354bed4d10da3a01a7
      
https://github.com/qemu/qemu/commit/8aa15b6e527f234e491a6d354bed4d10da3a01a7
  Author: Wenchao Xia <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M tests/test-qmp-input-visitor.c

  Log Message:
  -----------
  tests: fix memleak in error path test for input visitor

Signed-off-by: Wenchao Xia <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden
Cc: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 61cc919f73ea7ca134c0ac41b748981ad63a253b
      
https://github.com/qemu/qemu/commit/61cc919f73ea7ca134c0ac41b748981ad63a253b
  Author: Mike Frysinger <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: detect endian via compile test

This avoids needing to execute a program and keeping an (incomplete)
list when cross-compiling.

Signed-off-by: Mike Frysinger <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Tested-by: James Hogan <address@hidden> [mips]
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 6f1ce94a2935dab5d0aa3bd13ecc33e352213dc7
      
https://github.com/qemu/qemu/commit/6f1ce94a2935dab5d0aa3bd13ecc33e352213dc7
  Author: Peter Maydell <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M docs/memory.txt

  Log Message:
  -----------
  docs/memory.txt: Clarify and expand priority/overlap documentation

The documentation of how overlapping memory regions behave and how
the priority system works was rather brief, and confusion about
priorities seems to be quite common for developers trying to understand
how the memory region system works, so expand and clarify it.
This includes a worked example with overlaps, documentation of the
behaviour when an overlapped container has "holes", and mention
that it's valid for a region to have both MMIO callbacks and
subregions (and how this interacts with priorities when it does).

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 5cb6be2ca3094f4b6b6fd4c44eabec0098acd3e3
      
https://github.com/qemu/qemu/commit/5cb6be2ca3094f4b6b6fd4c44eabec0098acd3e3
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M tests/endianness-test.c
    M tests/test-bitops.c
    M tests/test-opts-visitor.c

  Log Message:
  -----------
  tests: fix 64-bit int literals for 32-bit hosts

On 32-bit hosts:

  CC    tests/test-opts-visitor.o
tests/test-opts-visitor.c: In function 'test_value':
tests/test-opts-visitor.c:128: warning: integer constant is too large for 
'long' type
  CC    tests/test-bitops.o
tests/test-bitops.c:34: warning: integer constant is too large for 'long' type
tests/test-bitops.c:35: warning: integer constant is too large for 'long' type
tests/test-bitops.c:35: warning: integer constant is too large for 'long' type
  CC    tests/endianness-test.o
tests/endianness-test.c:47: warning: integer constant is too large for 'long' 
type

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 2c8ebac7ccf51a8e683de593c4240d2ed7d592ec
      
https://github.com/qemu/qemu/commit/2c8ebac7ccf51a8e683de593c4240d2ed7d592ec
  Author: Marc-André Lureau <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/display/vga.c

  Log Message:
  -----------
  vga: fix invalid read after free

After calling dpy_gfx_replace_surface(s->con, surface), the outer
surface is invalid.

==5370== Invalid read of size 4
==5370==    at 0x460229: surface_bits_per_pixel (console.h:250)
==5370==    by 0x466A81: get_depth_index (vga.c:1173)
==5370==    by 0x467EC2: vga_draw_graphic (vga.c:1718)
==5370==    by 0x4687A5: vga_update_display (vga.c:1914)
==5370==    by 0x2A782E: qxl_hw_update (qxl.c:1766)
==5370==    by 0x3EB83B: graphic_hw_update (console.c:254)
==5370==    by 0x3FBE31: qemu_spice_display_refresh (spice-display.c:418)
==5370==    by 0x2A7D01: display_refresh (qxl.c:1886)
==5370==    by 0x3EEE1C: dpy_refresh (console.c:1436)
==5370==    by 0x3EB543: gui_update (console.c:192)
==5370==    by 0x3C43B3: timerlist_run_timers (qemu-timer.c:488)
==5370==    by 0x3C4416: qemu_clock_run_timers (qemu-timer.c:499)
==5370==  Address 0x22ffb1e0 is 0 bytes inside a block of size 56 free'd
==5370==    at 0x4A074C4: free (in 
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==5370==    by 0x4245FC: free_and_trace (vl.c:2771)
==5370==    by 0x50899AE: g_free (gmem.c:252)
==5370==    by 0x3EE8D3: qemu_free_displaysurface (console.c:1332)
==5370==    by 0x3EEDB7: dpy_gfx_replace_surface (console.c:1427)
==5370==    by 0x467EB6: vga_draw_graphic (vga.c:1714)
==5370==    by 0x4687A5: vga_update_display (vga.c:1914)
==5370==    by 0x2A782E: qxl_hw_update (qxl.c:1766)
==5370==    by 0x3EB83B: graphic_hw_update (console.c:254)
==5370==    by 0x3FBE31: qemu_spice_display_refresh (spice-display.c:418)
==5370==    by 0x2A7D01: display_refresh (qxl.c:1886)
==5370==    by 0x3EEE1C: dpy_refresh (console.c:1436)

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: c2d30667760e3d7b81290d801e567d4f758825ca
      
https://github.com/qemu/qemu/commit/c2d30667760e3d7b81290d801e567d4f758825ca
  Author: Jan Kiszka <address@hidden>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M hw/timer/mc146818rtc.c

  Log Message:
  -----------
  rtc: remove dead SQW IRQ code

This was once introduced by commit 100d9891d6 but was never used in-tree
and then got broken by commit 32e0c8260d. Time to clean up.

Signed-off-by: Jan Kiszka <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/a30b377e0a92...c2d30667760e

reply via email to

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