Re: [PATCH 1/3] virtio-net: fix max vring buf size when set ring num

2022-09-19 Thread Michael S. Tsirkin
On Mon, Sep 19, 2022 at 05:39:13AM -0400, liuhaiwei wrote: Pls write a commit log. Explain what is this patch fixing and why this is the correct fix. > Signed-off-by: liuhaiwei Please use your full first and last name. No anonymous contributions. > --- > hw/virtio/virtio.c | 10 +

[PATCH 1/3] virtio-net: fix max vring buf size when set ring num

2022-09-19 Thread liuhaiwei
Signed-off-by: liuhaiwei --- hw/virtio/virtio.c | 10 +++--- include/hw/virtio/virtio.h | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index 5d607aeaa0..d93c20d747 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c