Re: [PATCH 2/2] vhost: handle polling failure
From: Jason Wang <jasowang@redhat.com>
Date: 2012-12-28 04:29:38
Also in:
kvm, lkml, virtualization
From: Jason Wang <jasowang@redhat.com>
Date: 2012-12-28 04:29:38
Also in:
kvm, lkml, virtualization
On 12/27/2012 06:01 PM, Wanlong Gao wrote:
On 12/27/2012 02:39 PM, Jason Wang wrote:quoted
quoted
Currently, polling error were ignored in vhost. This may lead some issues (e.g kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix this by:Can this kernel crash be reproduced by hand? Thanks, Wanlong Gaoquoted
quoted
Yes, it could be simply reproduced by: open a tap fd but does not cal TUNSETIFF, then pass it to qemu and enable vhost.