qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a15555: util: Improved qemu_hexmap() to inclu


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a15555: util: Improved qemu_hexmap() to include an ascii d...
Date: Thu, 07 Apr 2016 03:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a1555559ab5bad24fcd1c56fd39284afad8f5af7
      
https://github.com/qemu/qemu/commit/a1555559ab5bad24fcd1c56fd39284afad8f5af7
  Author: Isaac Lozano <address@hidden>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M net/net.c
    M util/hexdump.c

  Log Message:
  -----------
  util: Improved qemu_hexmap() to include an ascii dump of the buffer

qemu_hexdump() in util/hexdump.c has been changed to give also include a
ascii dump of the buffer. Also, calls to hex_dump() in net/net.c have
been replaced with calls to qemu_hexdump(). This takes care of two misc
BiteSized Tasks.

Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Isaac Lozano <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 74044c8ffc10c2cfd76f80c785c3f6a6f101a662
      
https://github.com/qemu/qemu/commit/74044c8ffc10c2cfd76f80c785c3f6a6f101a662
  Author: Pooja Dhannawat <address@hidden>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M net/net.c

  Log Message:
  -----------
  net: Allocating Large sized arrays to heap

nc_sendv_compat has a huge stack usage of 69680 bytes approx.
Moving large arrays to heap to reduce stack usage.

Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Pooja Dhannawat <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 044d65525f6ac2093042ae18dbf8c1300b5c1c18
      
https://github.com/qemu/qemu/commit/044d65525f6ac2093042ae18dbf8c1300b5c1c18
  Author: Paolo Bonzini <address@hidden>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M net/net.c

  Log Message:
  -----------
  net: fix OptsVisitor memory leak

Fixes 96a1616("qapi-dealloc: Reduce use outside of generated code")
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 91731d5f6d85ca33e7c151e8feac3d5cfafec4d4
      
https://github.com/qemu/qemu/commit/91731d5f6d85ca33e7c151e8feac3d5cfafec4d4
  Author: Jason Wang <address@hidden>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M hw/net/rtl8139.c

  Log Message:
  -----------
  rtl8139: using CP_TX_OWN for ownership transferring during tx

Through CP_TX_OWN and CP_RX_OWN points to the same bit, we'd better use
CP_TX_OWN for tx descriptor handling.

Signed-off-by: Jason Wang <address@hidden>


  Commit: e0a039e50d481dce6b4ee45a29002538a258cd89
      
https://github.com/qemu/qemu/commit/e0a039e50d481dce6b4ee45a29002538a258cd89
  Author: zhanghailiang <address@hidden>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M net/filter.c

  Log Message:
  -----------
  filter-buffer: fix segfault when starting qemu with status=off property

After commit 338d3f, we support 'status' property for filter object.
The segfault can be triggered by starting qemu with 'status=off' property
for filter, when the s->incoming_queue is NULL, we reference it directly
in qemu_net_queue_flush() which was called in status_changed() callback
function.

We shouldn't trigger status_changed() before the filter was initialized,
We can check the value of 'nf->netdev' to confirm if the filter is
initialized or not, so let's check its value before calling
status_changed().

Signed-off-by: zhanghailiang <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 0f9d6bd210f21e5f8f80be51996f397536520f40
      
https://github.com/qemu/qemu/commit/0f9d6bd210f21e5f8f80be51996f397536520f40
  Author: Peter Maydell <address@hidden>
  Date:   2016-04-07 (Thu, 07 Apr 2016)

  Changed paths:
    M hw/net/rtl8139.c
    M net/filter.c
    M net/net.c
    M util/hexdump.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into 
staging

# gpg: Signature made Wed 06 Apr 2016 03:21:19 BST using RSA key ID 398D6211
# gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <address@hidden>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211

* remotes/jasowang/tags/net-pull-request:
  filter-buffer: fix segfault when starting qemu with status=off property
  rtl8139: using CP_TX_OWN for ownership transferring during tx
  net: fix OptsVisitor memory leak
  net: Allocating Large sized arrays to heap
  util: Improved qemu_hexmap() to include an ascii dump of the buffer

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


Compare: https://github.com/qemu/qemu/compare/7acbff99c6c2...0f9d6bd210f2

reply via email to

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