Re: [PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-13 Thread Jason Wang
On 11/13/2014 04:53 PM, Cornelia Huck wrote: > On Thu, 13 Nov 2014 13:52:54 +0800 > Jason Wang wrote: > >> This patch tries to detect the possible buggy features advertised by host >> and fix them. One example is booting virtio-net with only ctrl_vq disabled, >> qemu may still advertise many featu

Re: [PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-13 Thread Cornelia Huck
On Thu, 13 Nov 2014 13:52:54 +0800 Jason Wang wrote: > This patch tries to detect the possible buggy features advertised by host > and fix them. One example is booting virtio-net with only ctrl_vq disabled, > qemu may still advertise many features which depends on it. This will > trigger several

Re: [PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Jason Wang
On 11/13/2014 02:06 PM, Wanlong Gao wrote: > On 11/13/2014 01:52 PM, Jason Wang wrote: >> This patch tries to detect the possible buggy features advertised by host >> and fix them. One example is booting virtio-net with only ctrl_vq disabled, >> qemu may still advertise many features which depends

Re: [PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Wanlong Gao
On 11/13/2014 01:52 PM, Jason Wang wrote: > This patch tries to detect the possible buggy features advertised by host > and fix them. One example is booting virtio-net with only ctrl_vq disabled, > qemu may still advertise many features which depends on it. This will > trigger several BUG()s in vir

[PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Jason Wang
This patch tries to detect the possible buggy features advertised by host and fix them. One example is booting virtio-net with only ctrl_vq disabled, qemu may still advertise many features which depends on it. This will trigger several BUG()s in virtnet_send_command(). This patch utilizes the fix_

Re: [PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Jason Wang
On 11/13/2014 01:24 PM, Jason Wang wrote: > This patch tries to detect the possible buggy features advertised by host > and fix them. One example is current booting virtio-net with only > ctrl_vq disabled, qemu may still advertise many features which depends > it. This will trigger several BUG()s i

[PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Jason Wang
This patch tries to detect the possible buggy features advertised by host and fix them. One example is current booting virtio-net with only ctrl_vq disabled, qemu may still advertise many features which depends it. This will trigger several BUG()s in virtnet_send_command(). This patch utilizes the