On Sun, Mar 6, 2022 at 7:47 PM Trigger Huang <[email protected]> wrote:
>
> Hi Alex,
>
> Thanks for the response.
>
> Actually my target is trying to enable virglrenderer on Xen based Qemu. 
> Before, I have successfully enabled it on KVM based Qemu by the Qemu command 
> line. Such as 'qemu-system-x86_64 -device virtio-vga-gl  xxxxxxx'
> If change to use xl, I don't know how to set this kind of special 
> option(-device virtio-vga-gl ) to qemu after I checked the xl's arguments. Or 
> do you have any idea? :)

You can use device_model_args in your xl.cfg:

       device_model_args=[ "ARG", "ARG", ...]
           Pass additional arbitrary options on the device-model command line.
           Each element in the list is passed as an option to the device-
           model.

Regards,
Jason

Reply via email to