[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] d54280: tap: set vhostfd passed from qemu cli
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] d54280: tap: set vhostfd passed from qemu cli to non-block... |
Date: |
Fri, 15 Jun 2018 04:49:18 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: d542800d1edc62f63f8a29cfa6bdd1a9536ae11c
https://github.com/qemu/qemu/commit/d542800d1edc62f63f8a29cfa6bdd1a9536ae11c
Author: Brijesh Singh <address@hidden>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M net/tap.c
Log Message:
-----------
tap: set vhostfd passed from qemu cli to non-blocking
A guest boot hangs while probing the network interface when
iommu_platform=on is used.
The following qemu cli hangs without this patch:
# $QEMU \
-netdev tap,fd=3,id=hostnet0,vhost=on,vhostfd=4 3<>/dev/tap67
4<>/dev/host-net \
-device
virtio-net-pci,netdev=hostnet0,id=net0,iommu_platform=on,disable-legacy=on \
...
Commit: c471ad0e9bd46 (vhost_net: device IOTLB support) took care of
setting vhostfd to non-blocking when QEMU opens /dev/host-net but if
the fd is passed from qemu cli then we need to ensure that fd is set
to non-blocking.
Fixes: c471ad0e9bd46 ("vhost_net: device IOTLB support")
Cc: address@hidden
Cc: Michael S. Tsirkin <address@hidden>
Cc: Jason Wang <address@hidden>
Signed-off-by: Brijesh Singh <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Commit: 8b43f964f987d44f25df1b7c002d0c241b57bffe
https://github.com/qemu/qemu/commit/8b43f964f987d44f25df1b7c002d0c241b57bffe
Author: Lin Ma <address@hidden>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M net/net.c
Log Message:
-----------
net: Fix a potential segfault
If user forgets to provide any backend types for '-netdev' in qemu CLI,
It triggers seg fault.
e.g.
Expected:
$ qemu -netdev id=net0
qemu-system-x86_64: Parameter 'type' is missing
Actual:
$ qemu -netdev id=net0
Segmentation fault (core dumped)
Fixes: 547203ead4327 ("net: List available netdevs with "-netdev help")
Reviewed-by: Thomas Huth <address@hidden>
Cc: address@hidden
Signed-off-by: Lin Ma <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Commit: 2285a00c113469bb3e750ca4921cdb7baaae9e25
https://github.com/qemu/qemu/commit/2285a00c113469bb3e750ca4921cdb7baaae9e25
Author: Jan Kiszka <address@hidden>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M hw/net/e1000e_core.c
Log Message:
-----------
e1000e: Do not auto-clear ICR bits which aren't set in EIAC
The spec does not justify clearing of any E1000_ICR_OTHER_CAUSES when
E1000_ICR_OTHER is set in EIAC. In fact, removing this code fixes the
issue the Linux driver runs into since 4aea7a5c5e94 ("e1000e: Avoid
receiver overrun interrupt bursts") and was worked around by
745d0bd3af99 ("e1000e: Remove Other from EIAC").
Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Commit: c67daf4a24442d1bb404a11a6a54dc45ea10f234
https://github.com/qemu/qemu/commit/c67daf4a24442d1bb404a11a6a54dc45ea10f234
Author: linzhecheng <address@hidden>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M net/vhost-user.c
Log Message:
-----------
vhost-user: delete net client if necessary
As qemu_new_net_client create new ncs but error happens later,
ncs will be left in global net_clients list and we can't use them any
more, so we need to cleanup them.
Cc: address@hidden
Signed-off-by: linzhecheng <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
Commit: 91fe7a376ad46e3cc5e82d418aad22173c948a3c
https://github.com/qemu/qemu/commit/91fe7a376ad46e3cc5e82d418aad22173c948a3c
Author: Peter Maydell <address@hidden>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M hw/net/e1000e_core.c
M net/net.c
M net/tap.c
M net/vhost-user.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into
staging
# gpg: Signature made Fri 15 Jun 2018 03:47:09 BST
# gpg: using RSA key EF04965B398D6211
# 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:
vhost-user: delete net client if necessary
e1000e: Do not auto-clear ICR bits which aren't set in EIAC
net: Fix a potential segfault
tap: set vhostfd passed from qemu cli to non-blocking
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/409c241f887a...91fe7a376ad4
**NOTE:** This service been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] d54280: tap: set vhostfd passed from qemu cli to non-block...,
GitHub <=