qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] afb4c5: net: cadence_gem: Set initial MAC add


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] afb4c5: net: cadence_gem: Set initial MAC address
Date: Tue, 27 Oct 2015 04:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: afb4c51fad8cf86104803fc17457b96e86172b98
      
https://github.com/qemu/qemu/commit/afb4c51fad8cf86104803fc17457b96e86172b98
  Author: Sebastian Huber <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M hw/net/cadence_gem.c

  Log Message:
  -----------
  net: cadence_gem: Set initial MAC address

Set initial MAC address to the one specified by the command line.

Signed-off-by: Sebastian Huber <address@hidden>
Reviewed-by: Jason Wang <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 43192fcc1ac0a61cf9e20a9034eae8d1e91f35c8
      
https://github.com/qemu/qemu/commit/43192fcc1ac0a61cf9e20a9034eae8d1e91f35c8
  Author: Thomas Huth <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M net/dump.c

  Log Message:
  -----------
  net/dump: Add support for receive_iov function

Adding a proper receive_iov function to the net dump module.
This will make it easier to support the dump filter feature for
the -netdev option in later patches.

Reviewed-by: Yang Hongyang <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 7bc3074c27bb1eae7c8ccacd920ba55454381786
      
https://github.com/qemu/qemu/commit/7bc3074c27bb1eae7c8ccacd920ba55454381786
  Author: Thomas Huth <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M net/dump.c

  Log Message:
  -----------
  net/dump: Rework net-dump init functions

Move the creation of the dump client from net_dump_init() into
net_init_dump(), so we can later use the former function for
dump via netfilter, too. Also rename net_dump_init() to
net_dump_state_init() to make it easier distinguishable from
net_init_dump().

Reviewed-by: Yang Hongyang <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 75310e3486ab205d870560b75bbcaba72acb26d7
      
https://github.com/qemu/qemu/commit/75310e3486ab205d870560b75bbcaba72acb26d7
  Author: Thomas Huth <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M net/dump.c

  Log Message:
  -----------
  net/dump: Separate the NetClientState from the DumpState

With the upcoming dumping-via-netfilter patch, the DumpState
should not be related to NetClientState anymore, so move the
related information to a new struct called DumpNetClient.

Reviewed-by: Yang Hongyang <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 9d3e12e881bc97bc32ac75d146b5347136f29ca1
      
https://github.com/qemu/qemu/commit/9d3e12e881bc97bc32ac75d146b5347136f29ca1
  Author: Thomas Huth <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M net/dump.c
    M vl.c

  Log Message:
  -----------
  net/dump: Provide the dumping facility as a net-filter

Use the net-filter infrastructure to provide the dumping
functions for netdev devices, too.

Reviewed-by: Yang Hongyang <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: d3e0c032f52f4fb855f9bd2892ebd175a9d975a1
      
https://github.com/qemu/qemu/commit/d3e0c032f52f4fb855f9bd2892ebd175a9d975a1
  Author: Thomas Huth <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M qemu-options.hx

  Log Message:
  -----------
  options: Add documentation for filter-dump

Add a short description for the filter-dump command line options.

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


  Commit: eedeeeffd419ab149e0b0ad5fc4b7cf5e1db6274
      
https://github.com/qemu/qemu/commit/eedeeeffd419ab149e0b0ad5fc4b7cf5e1db6274
  Author: Shmulik Ladkani <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M hw/net/vmxnet3.c

  Log Message:
  -----------
  vmxnet3: Do not fill stats if device is inactive

Guest OS may issue VMXNET3_CMD_GET_STATS even before device was
activated (for example in linux, after insmod but prior net-dev open).

Accessing shared descriptors prior device activation is illegal as the
VMXNET3State structures have not been fully initialized.

As a result, guest memory gets corrupted and may lead to guest OS
crashes.

Fix, by not filling the stats descriptors if device is inactive.

Reported-by: Leonid Shatz <address@hidden>
Acked-by: Dmitry Fleytman <address@hidden>
Signed-off-by: Dana Rubin <address@hidden>
Signed-off-by: Shmulik Ladkani <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 5320c2caf43cc76748a1ffa0fdcaa9eb501d3fcd
      
https://github.com/qemu/qemu/commit/5320c2caf43cc76748a1ffa0fdcaa9eb501d3fcd
  Author: Vladislav Yasevich <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M net/net.c

  Log Message:
  -----------
  net: Remove duplicate data from query-rx-filter on multiqueue net devices

When responding to a query-rx-filter command on a multiqueue
netdev, qemu reports the data for each queue.  The data, however,
is not per-queue, but per device and the same data is reported
multiple times.  This causes confusion and may also cause extra
unnecessary processing when looking at the data.

Commit 638fb14169 (net: Make qmp_query_rx_filter() with name argument
more obvious) partially addresses this issue, by limiting the output
when the name is specified.  However, when the name is not specified,
the issue still persists.

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


  Commit: edc981443d5bd23e01639c2fbba4fbc2dc30204f
      
https://github.com/qemu/qemu/commit/edc981443d5bd23e01639c2fbba4fbc2dc30204f
  Author: Yang Hongyang <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M net/net.c

  Log Message:
  -----------
  net: make iov_to_buf take right size argument in nc_sendv_compat()

We want "buf, sizeof(buf)" here.  sizeof(buffer) is the size of a
pointer, which is wrong.
Thanks to Paolo for pointing it out.

Signed-off-by: Yang Hongyang <address@hidden>
Cc: Jason Wang <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: a3e8a3f382363d5fd452cfc15f90a688d70023d9
      
https://github.com/qemu/qemu/commit/a3e8a3f382363d5fd452cfc15f90a688d70023d9
  Author: Yang Hongyang <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M net/net.c

  Log Message:
  -----------
  net: free the string returned by object_get_canonical_path_component

The value returned from object_get_canonical_path_component
must be freed.

Signed-off-by: Yang Hongyang <address@hidden>
Cc: Jason Wang <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Jason Wang <address@hidden>


  Commit: 7e038b94e74e1c2d1b3598e2e4b0b5c8b79a7278
      
https://github.com/qemu/qemu/commit/7e038b94e74e1c2d1b3598e2e4b0b5c8b79a7278
  Author: Peter Maydell <address@hidden>
  Date:   2015-10-27 (Tue, 27 Oct 2015)

  Changed paths:
    M hw/net/cadence_gem.c
    M hw/net/vmxnet3.c
    M net/dump.c
    M net/net.c
    M qemu-options.hx
    M vl.c

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

# gpg: Signature made Tue 27 Oct 2015 05:47:28 GMT 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:
  net: free the string returned by object_get_canonical_path_component
  net: make iov_to_buf take right size argument in nc_sendv_compat()
  net: Remove duplicate data from query-rx-filter on multiqueue net devices
  vmxnet3: Do not fill stats if device is inactive
  options: Add documentation for filter-dump
  net/dump: Provide the dumping facility as a net-filter
  net/dump: Separate the NetClientState from the DumpState
  net/dump: Rework net-dump init functions
  net/dump: Add support for receive_iov function
  net: cadence_gem: Set initial MAC address

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


Compare: https://github.com/qemu/qemu/compare/9666248a85fd...7e038b94e74e

reply via email to

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