Skip to content
  • mst@redhat.com's avatar
    vhost: force vhost off for non-MSI guests · 5430a28f
    mst@redhat.com authored
    
    
    When MSI is off, each interrupt needs to be bounced through the io
    thread when it's set/cleared, so vhost-net causes more context switches and
    higher CPU utilization than userspace virtio which handles networking in
    the same thread.
    
    We'll need to fix this by adding level irq support in kvm irqfd,
    for now disable vhost-net in these configurations.
    
    Added a vhostforce flag to force vhost-net back on.
    
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
    5430a28f