Skip to content
Snippets Groups Projects
  • Alex Bennée's avatar
    e1a0e635
    backends/vhost-user: remove the ioeventfd check · e1a0e635
    Alex Bennée authored
    
    While ioeventfds are needed for good performance with KVM guests it
    should not be a gating requirement. We can run vhost-user backends using
    simulated ioeventfds or inband signalling.
    
    With this change I can run:
    
      $QEMU $OPTS \
        -display gtk,gl=on \
        -device vhost-user-gpu-pci,chardev=vhgpu \
        -chardev socket,id=vhgpu,path=vhgpu.sock
    
    with:
    
      ./contrib/vhost-user-gpu/vhost-user-gpu \
        -s vhgpu.sock \
        -v
    
    and at least see things start-up - although the display gets rotated by
    180 degrees. Once lightdm takes over we never make it to the login
    prompt and just get a blank screen.
    
    Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
    Cc: Gerd Hoffmann <kraxel@redhat.com>
    Message-Id: <20221202132231.1048669-1-alex.bennee@linaro.org>
    
    Message-Id: <20230130124728.175610-1-alex.bennee@linaro.org>
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    e1a0e635
    History
    backends/vhost-user: remove the ioeventfd check
    Alex Bennée authored
    
    While ioeventfds are needed for good performance with KVM guests it
    should not be a gating requirement. We can run vhost-user backends using
    simulated ioeventfds or inband signalling.
    
    With this change I can run:
    
      $QEMU $OPTS \
        -display gtk,gl=on \
        -device vhost-user-gpu-pci,chardev=vhgpu \
        -chardev socket,id=vhgpu,path=vhgpu.sock
    
    with:
    
      ./contrib/vhost-user-gpu/vhost-user-gpu \
        -s vhgpu.sock \
        -v
    
    and at least see things start-up - although the display gets rotated by
    180 degrees. Once lightdm takes over we never make it to the login
    prompt and just get a blank screen.
    
    Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
    Cc: Gerd Hoffmann <kraxel@redhat.com>
    Message-Id: <20221202132231.1048669-1-alex.bennee@linaro.org>
    
    Message-Id: <20230130124728.175610-1-alex.bennee@linaro.org>
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>