* [PULL V2 0/3] Net patches
@ 2021-05-27 4:24 Jason Wang
2021-05-27 4:24 ` [PULL V2 1/3] hw/net/imx_fec: return 0xffff when accessing non-existing PHY Jason Wang
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Jason Wang @ 2021-05-27 4:24 UTC (permalink / raw)
To: peter.maydell; +Cc: Jason Wang, qemu-devel
The following changes since commit d90f154867ec0ec22fd719164b88716e8fd48672:
Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.1-20210504' into staging (2021-05-05 20:29:14 +0100)
are available in the git repository at:
https://github.com/jasowang/qemu.git tags/net-pull-request
for you to fetch changes up to 4f8a39494aded9f2026a26b137378ea2ee3d5338:
tap-bsd: Remove special casing for older OpenBSD releases (2021-05-27 11:03:55 +0800)
----------------------------------------------------------------
----------------------------------------------------------------
Brad Smith (1):
tap-bsd: Remove special casing for older OpenBSD releases
Guenter Roeck (1):
hw/net/imx_fec: return 0xffff when accessing non-existing PHY
Laurent Vivier (1):
virtio-net: failover: add missing remove_migration_state_change_notifier()
hw/net/imx_fec.c | 8 +++-----
hw/net/trace-events | 2 ++
hw/net/virtio-net.c | 1 +
net/tap-bsd.c | 8 --------
4 files changed, 6 insertions(+), 13 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PULL V2 1/3] hw/net/imx_fec: return 0xffff when accessing non-existing PHY
2021-05-27 4:24 [PULL V2 0/3] Net patches Jason Wang
@ 2021-05-27 4:24 ` Jason Wang
2021-05-27 4:24 ` [PULL V2 2/3] virtio-net: failover: add missing remove_migration_state_change_notifier() Jason Wang
` (3 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Jason Wang @ 2021-05-27 4:24 UTC (permalink / raw)
To: peter.maydell
Cc: Jason Wang, qemu-devel, Guenter Roeck, Jean-Christophe Dubois
From: Guenter Roeck <linux@roeck-us.net>
If a PHY does not exist, attempts to read from it should return 0xffff.
Otherwise the Linux kernel will believe that a PHY is there and select
the non-existing PHY. This in turn will result in network errors later
on since the real PHY is not selected or configured.
Since reading from or writing to a non-existing PHY is not an emulation
error, replace guest error messages with traces.
Fixes: 461c51ad4275 ("Add a phy-num property to the i.MX FEC emulator")
Cc: Jean-Christophe Dubois <jcd@tribudubois.net>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
hw/net/imx_fec.c | 8 +++-----
hw/net/trace-events | 2 ++
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c
index f03450c..9c7035b 100644
--- a/hw/net/imx_fec.c
+++ b/hw/net/imx_fec.c
@@ -283,9 +283,8 @@ static uint32_t imx_phy_read(IMXFECState *s, int reg)
uint32_t phy = reg / 32;
if (phy != s->phy_num) {
- qemu_log_mask(LOG_GUEST_ERROR, "[%s.phy]%s: Bad phy num %u\n",
- TYPE_IMX_FEC, __func__, phy);
- return 0;
+ trace_imx_phy_read_num(phy, s->phy_num);
+ return 0xffff;
}
reg %= 32;
@@ -345,8 +344,7 @@ static void imx_phy_write(IMXFECState *s, int reg, uint32_t val)
uint32_t phy = reg / 32;
if (phy != s->phy_num) {
- qemu_log_mask(LOG_GUEST_ERROR, "[%s.phy]%s: Bad phy num %u\n",
- TYPE_IMX_FEC, __func__, phy);
+ trace_imx_phy_write_num(phy, s->phy_num);
return;
}
diff --git a/hw/net/trace-events b/hw/net/trace-events
index baf25ff..78e8566 100644
--- a/hw/net/trace-events
+++ b/hw/net/trace-events
@@ -414,7 +414,9 @@ i82596_channel_attention(void *s) "%p: Received CHANNEL ATTENTION"
# imx_fec.c
imx_phy_read(uint32_t val, int phy, int reg) "0x%04"PRIx32" <= phy[%d].reg[%d]"
+imx_phy_read_num(int phy, int configured) "read request from unconfigured phy %d (configured %d)"
imx_phy_write(uint32_t val, int phy, int reg) "0x%04"PRIx32" => phy[%d].reg[%d]"
+imx_phy_write_num(int phy, int configured) "write request to unconfigured phy %d (configured %d)"
imx_phy_update_link(const char *s) "%s"
imx_phy_reset(void) ""
imx_fec_read_bd(uint64_t addr, int flags, int len, int data) "tx_bd 0x%"PRIx64" flags 0x%04x len %d data 0x%08x"
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PULL V2 2/3] virtio-net: failover: add missing remove_migration_state_change_notifier()
2021-05-27 4:24 [PULL V2 0/3] Net patches Jason Wang
2021-05-27 4:24 ` [PULL V2 1/3] hw/net/imx_fec: return 0xffff when accessing non-existing PHY Jason Wang
@ 2021-05-27 4:24 ` Jason Wang
2021-05-27 4:24 ` [PULL V2 3/3] tap-bsd: Remove special casing for older OpenBSD releases Jason Wang
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Jason Wang @ 2021-05-27 4:24 UTC (permalink / raw)
To: peter.maydell; +Cc: Laurent Vivier, Jason Wang, qemu-devel
From: Laurent Vivier <lvivier@redhat.com>
In the failover case configuration, virtio_net_device_realize() uses an
add_migration_state_change_notifier() to add a state notifier, but this
notifier is not removed by the unrealize function when the virtio-net
card is unplugged.
If the card is unplugged and a migration is started, the notifier is
called and as it is not valid anymore QEMU crashes.
This patch fixes the problem by adding the
remove_migration_state_change_notifier() in virtio_net_device_unrealize().
The problem can be reproduced with:
$ qemu-system-x86_64 -enable-kvm -m 1g -M q35 \
-device pcie-root-port,slot=4,id=root1 \
-device pcie-root-port,slot=5,id=root2 \
-device virtio-net-pci,id=net1,mac=52:54:00:6f:55:cc,failover=on,bus=root1 \
-monitor stdio disk.qcow2
(qemu) device_del net1
(qemu) migrate "exec:gzip -c > STATEFILE.gz"
Thread 1 "qemu-system-x86" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ()
#1 0x0000555555d726d7 in notifier_list_notify (...)
at .../util/notify.c:39
#2 0x0000555555842c1a in migrate_fd_connect (...)
at .../migration/migration.c:3975
#3 0x0000555555950f7d in migration_channel_connect (...)
error@entry=0x0) at .../migration/channel.c:107
#4 0x0000555555910922 in exec_start_outgoing_migration (...)
at .../migration/exec.c:42
Reported-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
hw/net/virtio-net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index 66b9ff4..914051f 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -3373,6 +3373,7 @@ static void virtio_net_device_unrealize(DeviceState *dev)
if (n->failover) {
device_listener_unregister(&n->primary_listener);
+ remove_migration_state_change_notifier(&n->migration_state);
}
max_queues = n->multiqueue ? n->max_queues : 1;
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PULL V2 3/3] tap-bsd: Remove special casing for older OpenBSD releases
2021-05-27 4:24 [PULL V2 0/3] Net patches Jason Wang
2021-05-27 4:24 ` [PULL V2 1/3] hw/net/imx_fec: return 0xffff when accessing non-existing PHY Jason Wang
2021-05-27 4:24 ` [PULL V2 2/3] virtio-net: failover: add missing remove_migration_state_change_notifier() Jason Wang
@ 2021-05-27 4:24 ` Jason Wang
2021-05-27 6:13 ` [PULL V2 0/3] Net patches Bin Meng
2021-05-30 17:33 ` Peter Maydell
4 siblings, 0 replies; 11+ messages in thread
From: Jason Wang @ 2021-05-27 4:24 UTC (permalink / raw)
To: peter.maydell; +Cc: Jason Wang, qemu-devel, Brad Smith
From: Brad Smith <brad@comstyle.com>
OpenBSD added support for tap(4) 10 releases ago.
Remove the special casing for older releases.
Signed-off-by: Brad Smith <brad@comstyle.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
net/tap-bsd.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/net/tap-bsd.c b/net/tap-bsd.c
index 77aaf67..59dfcdf 100644
--- a/net/tap-bsd.c
+++ b/net/tap-bsd.c
@@ -35,10 +35,6 @@
#include <net/if_tap.h>
#endif
-#if defined(__OpenBSD__)
-#include <sys/param.h>
-#endif
-
#ifndef __FreeBSD__
int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
int vnet_hdr_required, int mq_required, Error **errp)
@@ -59,11 +55,7 @@ int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
if (*ifname) {
snprintf(dname, sizeof dname, "/dev/%s", ifname);
} else {
-#if defined(__OpenBSD__) && OpenBSD < 201605
- snprintf(dname, sizeof dname, "/dev/tun%d", i);
-#else
snprintf(dname, sizeof dname, "/dev/tap%d", i);
-#endif
}
TFR(fd = open(dname, O_RDWR));
if (fd >= 0) {
--
2.7.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PULL V2 0/3] Net patches
2021-05-27 4:24 [PULL V2 0/3] Net patches Jason Wang
` (2 preceding siblings ...)
2021-05-27 4:24 ` [PULL V2 3/3] tap-bsd: Remove special casing for older OpenBSD releases Jason Wang
@ 2021-05-27 6:13 ` Bin Meng
2021-05-27 6:35 ` Jason Wang
2021-05-30 17:33 ` Peter Maydell
4 siblings, 1 reply; 11+ messages in thread
From: Bin Meng @ 2021-05-27 6:13 UTC (permalink / raw)
To: Jason Wang; +Cc: Peter Maydell, qemu-devel@nongnu.org Developers
Hi Jason,
On Thu, May 27, 2021 at 12:24 PM Jason Wang <jasowang@redhat.com> wrote:
>
> The following changes since commit d90f154867ec0ec22fd719164b88716e8fd48672:
>
> Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.1-20210504' into staging (2021-05-05 20:29:14 +0100)
>
> are available in the git repository at:
>
> https://github.com/jasowang/qemu.git tags/net-pull-request
>
> for you to fetch changes up to 4f8a39494aded9f2026a26b137378ea2ee3d5338:
>
> tap-bsd: Remove special casing for older OpenBSD releases (2021-05-27 11:03:55 +0800)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------
> Brad Smith (1):
> tap-bsd: Remove special casing for older OpenBSD releases
>
> Guenter Roeck (1):
> hw/net/imx_fec: return 0xffff when accessing non-existing PHY
>
> Laurent Vivier (1):
> virtio-net: failover: add missing remove_migration_state_change_notifier()
>
> hw/net/imx_fec.c | 8 +++-----
> hw/net/trace-events | 2 ++
> hw/net/virtio-net.c | 1 +
> net/tap-bsd.c | 8 --------
> 4 files changed, 6 insertions(+), 13 deletions(-)
What happened to patch 5-12 in the following series?
http://patchwork.ozlabs.org/project/qemu-devel/cover/20210317062638.72626-1-bmeng.cn@gmail.com/
Regards,
Bin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PULL V2 0/3] Net patches
2021-05-27 6:13 ` [PULL V2 0/3] Net patches Bin Meng
@ 2021-05-27 6:35 ` Jason Wang
2021-05-27 7:14 ` Bin Meng
0 siblings, 1 reply; 11+ messages in thread
From: Jason Wang @ 2021-05-27 6:35 UTC (permalink / raw)
To: Bin Meng; +Cc: Peter Maydell, qemu-devel@nongnu.org Developers
在 2021/5/27 下午2:13, Bin Meng 写道:
> Hi Jason,
>
> On Thu, May 27, 2021 at 12:24 PM Jason Wang <jasowang@redhat.com> wrote:
>> The following changes since commit d90f154867ec0ec22fd719164b88716e8fd48672:
>>
>> Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.1-20210504' into staging (2021-05-05 20:29:14 +0100)
>>
>> are available in the git repository at:
>>
>> https://github.com/jasowang/qemu.git tags/net-pull-request
>>
>> for you to fetch changes up to 4f8a39494aded9f2026a26b137378ea2ee3d5338:
>>
>> tap-bsd: Remove special casing for older OpenBSD releases (2021-05-27 11:03:55 +0800)
>>
>> ----------------------------------------------------------------
>>
>> ----------------------------------------------------------------
>> Brad Smith (1):
>> tap-bsd: Remove special casing for older OpenBSD releases
>>
>> Guenter Roeck (1):
>> hw/net/imx_fec: return 0xffff when accessing non-existing PHY
>>
>> Laurent Vivier (1):
>> virtio-net: failover: add missing remove_migration_state_change_notifier()
>>
>> hw/net/imx_fec.c | 8 +++-----
>> hw/net/trace-events | 2 ++
>> hw/net/virtio-net.c | 1 +
>> net/tap-bsd.c | 8 --------
>> 4 files changed, 6 insertions(+), 13 deletions(-)
> What happened to patch 5-12 in the following series?
> http://patchwork.ozlabs.org/project/qemu-devel/cover/20210317062638.72626-1-bmeng.cn@gmail.com/
I want to do some test before the merging. Or if possible, could you
please write a test for this function?
Thanks
>
> Regards,
> Bin
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PULL V2 0/3] Net patches
2021-05-27 6:35 ` Jason Wang
@ 2021-05-27 7:14 ` Bin Meng
2021-05-27 7:23 ` Jason Wang
0 siblings, 1 reply; 11+ messages in thread
From: Bin Meng @ 2021-05-27 7:14 UTC (permalink / raw)
To: Jason Wang; +Cc: Peter Maydell, qemu-devel@nongnu.org Developers
On Thu, May 27, 2021 at 2:35 PM Jason Wang <jasowang@redhat.com> wrote:
>
>
> 在 2021/5/27 下午2:13, Bin Meng 写道:
> > Hi Jason,
> >
> > On Thu, May 27, 2021 at 12:24 PM Jason Wang <jasowang@redhat.com> wrote:
> >> The following changes since commit d90f154867ec0ec22fd719164b88716e8fd48672:
> >>
> >> Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.1-20210504' into staging (2021-05-05 20:29:14 +0100)
> >>
> >> are available in the git repository at:
> >>
> >> https://github.com/jasowang/qemu.git tags/net-pull-request
> >>
> >> for you to fetch changes up to 4f8a39494aded9f2026a26b137378ea2ee3d5338:
> >>
> >> tap-bsd: Remove special casing for older OpenBSD releases (2021-05-27 11:03:55 +0800)
> >>
> >> ----------------------------------------------------------------
> >>
> >> ----------------------------------------------------------------
> >> Brad Smith (1):
> >> tap-bsd: Remove special casing for older OpenBSD releases
> >>
> >> Guenter Roeck (1):
> >> hw/net/imx_fec: return 0xffff when accessing non-existing PHY
> >>
> >> Laurent Vivier (1):
> >> virtio-net: failover: add missing remove_migration_state_change_notifier()
> >>
> >> hw/net/imx_fec.c | 8 +++-----
> >> hw/net/trace-events | 2 ++
> >> hw/net/virtio-net.c | 1 +
> >> net/tap-bsd.c | 8 --------
> >> 4 files changed, 6 insertions(+), 13 deletions(-)
> > What happened to patch 5-12 in the following series?
> > http://patchwork.ozlabs.org/project/qemu-devel/cover/20210317062638.72626-1-bmeng.cn@gmail.com/
>
>
> I want to do some test before the merging. Or if possible, could you
> please write a test for this function?
>
For each of these network adapter models? What kind of tests are
needed? Any pointers?
Regards,
Bin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PULL V2 0/3] Net patches
2021-05-27 7:14 ` Bin Meng
@ 2021-05-27 7:23 ` Jason Wang
0 siblings, 0 replies; 11+ messages in thread
From: Jason Wang @ 2021-05-27 7:23 UTC (permalink / raw)
To: Bin Meng; +Cc: Peter Maydell, qemu-devel@nongnu.org Developers
在 2021/5/27 下午3:14, Bin Meng 写道:
> On Thu, May 27, 2021 at 2:35 PM Jason Wang <jasowang@redhat.com> wrote:
>>
>> 在 2021/5/27 下午2:13, Bin Meng 写道:
>>> Hi Jason,
>>>
>>> On Thu, May 27, 2021 at 12:24 PM Jason Wang <jasowang@redhat.com> wrote:
>>>> The following changes since commit d90f154867ec0ec22fd719164b88716e8fd48672:
>>>>
>>>> Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.1-20210504' into staging (2021-05-05 20:29:14 +0100)
>>>>
>>>> are available in the git repository at:
>>>>
>>>> https://github.com/jasowang/qemu.git tags/net-pull-request
>>>>
>>>> for you to fetch changes up to 4f8a39494aded9f2026a26b137378ea2ee3d5338:
>>>>
>>>> tap-bsd: Remove special casing for older OpenBSD releases (2021-05-27 11:03:55 +0800)
>>>>
>>>> ----------------------------------------------------------------
>>>>
>>>> ----------------------------------------------------------------
>>>> Brad Smith (1):
>>>> tap-bsd: Remove special casing for older OpenBSD releases
>>>>
>>>> Guenter Roeck (1):
>>>> hw/net/imx_fec: return 0xffff when accessing non-existing PHY
>>>>
>>>> Laurent Vivier (1):
>>>> virtio-net: failover: add missing remove_migration_state_change_notifier()
>>>>
>>>> hw/net/imx_fec.c | 8 +++-----
>>>> hw/net/trace-events | 2 ++
>>>> hw/net/virtio-net.c | 1 +
>>>> net/tap-bsd.c | 8 --------
>>>> 4 files changed, 6 insertions(+), 13 deletions(-)
>>> What happened to patch 5-12 in the following series?
>>> http://patchwork.ozlabs.org/project/qemu-devel/cover/20210317062638.72626-1-bmeng.cn@gmail.com/
>>
>> I want to do some test before the merging. Or if possible, could you
>> please write a test for this function?
>>
> For each of these network adapter models?
e1000 and virtio-net should be sufficient.
> What kind of tests are
> needed?
Test whether padding works.
> Any pointers?
You can start to look at virtio-net-test.c.
Thanks
>
> Regards,
> Bin
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PULL V2 0/3] Net patches
2021-05-27 4:24 [PULL V2 0/3] Net patches Jason Wang
` (3 preceding siblings ...)
2021-05-27 6:13 ` [PULL V2 0/3] Net patches Bin Meng
@ 2021-05-30 17:33 ` Peter Maydell
4 siblings, 0 replies; 11+ messages in thread
From: Peter Maydell @ 2021-05-30 17:33 UTC (permalink / raw)
To: Jason Wang; +Cc: QEMU Developers
On Thu, 27 May 2021 at 05:24, Jason Wang <jasowang@redhat.com> wrote:
>
> The following changes since commit d90f154867ec0ec22fd719164b88716e8fd48672:
>
> Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.1-20210504' into staging (2021-05-05 20:29:14 +0100)
>
> are available in the git repository at:
>
> https://github.com/jasowang/qemu.git tags/net-pull-request
>
> for you to fetch changes up to 4f8a39494aded9f2026a26b137378ea2ee3d5338:
>
> tap-bsd: Remove special casing for older OpenBSD releases (2021-05-27 11:03:55 +0800)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.
-- PMM
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PULL V2 0/3] Net patches
2020-07-28 9:10 Jason Wang
@ 2020-07-28 16:14 ` Peter Maydell
0 siblings, 0 replies; 11+ messages in thread
From: Peter Maydell @ 2020-07-28 16:14 UTC (permalink / raw)
To: Jason Wang; +Cc: QEMU Developers
On Tue, 28 Jul 2020 at 10:10, Jason Wang <jasowang@redhat.com> wrote:
>
> The following changes since commit 93ea484375ab473379dd9c836261ef484bd71ab1:
>
> Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2020-07-27 21:00:01 +0100)
>
> are available in the git repository at:
>
> https://github.com/jasowang/qemu.git tags/net-pull-request
>
> for you to fetch changes up to 22dc8663d9fc7baa22100544c600b6285a63c7a3:
>
> net: forbid the reentrant RX (2020-07-28 16:57:58 +0800)
>
> ----------------------------------------------------------------
> Want to send earlier but most patches just come.
>
> - fix vhost-vdpa issues when no peer
> - fix virtio-pci queue enabling index value
> - forbid reentrant RX
>
> Changes from V1:
>
> - drop the patch that has been merged
>
> ----------------------------------------------------------------
> Jason Wang (2):
> virtio-net: check the existence of peer before accessing vDPA config
> net: forbid the reentrant RX
>
> Yuri Benditovich (1):
> virtio-pci: fix wrong index in virtio_pci_queue_enabled
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.
-- PMM
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PULL V2 0/3] Net patches
@ 2020-07-28 9:10 Jason Wang
2020-07-28 16:14 ` Peter Maydell
0 siblings, 1 reply; 11+ messages in thread
From: Jason Wang @ 2020-07-28 9:10 UTC (permalink / raw)
To: peter.maydell; +Cc: Jason Wang, qemu-devel
The following changes since commit 93ea484375ab473379dd9c836261ef484bd71ab1:
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2020-07-27 21:00:01 +0100)
are available in the git repository at:
https://github.com/jasowang/qemu.git tags/net-pull-request
for you to fetch changes up to 22dc8663d9fc7baa22100544c600b6285a63c7a3:
net: forbid the reentrant RX (2020-07-28 16:57:58 +0800)
----------------------------------------------------------------
Want to send earlier but most patches just come.
- fix vhost-vdpa issues when no peer
- fix virtio-pci queue enabling index value
- forbid reentrant RX
Changes from V1:
- drop the patch that has been merged
----------------------------------------------------------------
Jason Wang (2):
virtio-net: check the existence of peer before accessing vDPA config
net: forbid the reentrant RX
Yuri Benditovich (1):
virtio-pci: fix wrong index in virtio_pci_queue_enabled
hw/net/virtio-net.c | 30 +++++++++++++++++++-----------
hw/virtio/virtio-pci.c | 2 +-
net/queue.c | 3 +++
3 files changed, 23 insertions(+), 12 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2021-05-30 17:35 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 4:24 [PULL V2 0/3] Net patches Jason Wang
2021-05-27 4:24 ` [PULL V2 1/3] hw/net/imx_fec: return 0xffff when accessing non-existing PHY Jason Wang
2021-05-27 4:24 ` [PULL V2 2/3] virtio-net: failover: add missing remove_migration_state_change_notifier() Jason Wang
2021-05-27 4:24 ` [PULL V2 3/3] tap-bsd: Remove special casing for older OpenBSD releases Jason Wang
2021-05-27 6:13 ` [PULL V2 0/3] Net patches Bin Meng
2021-05-27 6:35 ` Jason Wang
2021-05-27 7:14 ` Bin Meng
2021-05-27 7:23 ` Jason Wang
2021-05-30 17:33 ` Peter Maydell
-- strict thread matches above, loose matches on Subject: below --
2020-07-28 9:10 Jason Wang
2020-07-28 16:14 ` Peter Maydell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.