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

2014-11-18 Thread Michael S. Tsirkin
On Tue, Nov 18, 2014 at 11:03:32AM +0800, Jason Wang wrote: > On 11/17/2014 06:08 PM, Michael S. Tsirkin wrote: > > On Mon, Nov 17, 2014 at 05:17:18PM +0800, Jason Wang wrote: > >> This patch tries to detect the possible buggy features advertised by host > >> and sanitize them. One example is booti

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

2014-11-17 Thread Jason Wang
On 11/17/2014 06:08 PM, Michael S. Tsirkin wrote: > On Mon, Nov 17, 2014 at 05:17:18PM +0800, Jason Wang wrote: >> This patch tries to detect the possible buggy features advertised by host >> and sanitize them. One example is booting virtio-net with only ctrl_vq >> disabled, qemu may still advertis

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

2014-11-17 Thread Michael S. Tsirkin
On Mon, Nov 17, 2014 at 05:17:18PM +0800, Jason Wang wrote: > This patch tries to detect the possible buggy features advertised by host > and sanitize them. One example is booting virtio-net with only ctrl_vq > disabled, qemu may still advertise many features which depends on it. This > will trigge

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

2014-11-17 Thread Jason Wang
This patch tries to detect the possible buggy features advertised by host and sanitize 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