qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QUESTION]: vhost-user-gpu: Unable to find a satisfying vhost-user-g


From: Marc-André Lureau
Subject: Re: [QUESTION]: vhost-user-gpu: Unable to find a satisfying vhost-user-gpu
Date: Wed, 27 May 2020 14:29:11 +0200

Hi

On Wed, May 27, 2020 at 11:18 AM Jun Piao <address@hidden> wrote:
Hi Marc-André,

I encounter a problem when trying to use vhost-user-gpu as below. And
I'm not familiar to the libvirt code. Could you please help find out
the reason?

# virsh create snap1.xml
error: Failed to create domain from snap1.xml
error: operation failed: Unable to find a satisfying vhost-user-gpu


Libvirt implements the logic described in: https://git.qemu.org/?p=qemu.git;a=blob;f=docs/interop/vhost-user.json;h=ef8ac5941f5c8d14402566a984a0a0876d768c19;hb=HEAD#l171

Check if you have  /usr/share/qemu/vhost-user/50-qemu-gpu.json and if the binary location is correct.

If it fails after that, enable libvirt debugging for more details.

hope that helps

qemu-4.1.1:
  # ./vhost-user-gpu -v -s /home/vgpu.sock -r /dev/dri/renderD128

libvirt-5.8.0:
    <graphics type='spice' port='5901' tlsPort='5903' autoport='yes'>
      <listen type='socket' socket='/tmp/spice.socket1'/>
      <gl enable='yes' rendernode='/dev/dri/renderD128'/>
    </graphics>
    <video model='virtio'>
      <driver name='vhostuser'/>
      <acceleration accel3d='yes' rendernode='/dev/dri/renderD128'/>
    </video>

thanks,
Jun



--
Marc-André Lureau

reply via email to

[Prev in Thread] Current Thread [Next in Thread]