Re: [Qemu-devel] [PATCH] NetKVM: fix for indirectc mode when vring is full

2014-12-15 Thread Wangting (Kathy)
okay, thank you, I think it is better for net and other feature with one virtio code set like linux. On 2014-12-14 21:30, Yan Vugenfirer wrote: > Thanks! > > The fix is correct, but I am not sure this patch is needed. > This is a frozen part of the code with XP and Windows 2003 support for NetKV

Re: [Qemu-devel] [PATCH] NetKVM: fix for indirectc mode when vring is full

2014-12-14 Thread Yan Vugenfirer
Thanks! The fix is correct, but I am not sure this patch is needed. This is a frozen part of the code with XP and Windows 2003 support for NetKVM only. The library that is used for newer OSes and other drivers has this fix: https://github.com/YanVugenfirer/kvm-guest-drivers-windows/commit/264f1

[Qemu-devel] [PATCH] NetKVM: fix for indirectc mode when vring is full

2014-12-09 Thread Ting Wang
In function vring_add_indirect, there is no limiti about free entry in vring. If vring is full, vq->num_free will be less than zero, and the address of vq->vring.desc becomes illegal. Signed-off-by: Ting Wang --- NetKVM/NDIS5/VirtIO/VirtIORing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion