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

Re: How to create and start Xen guest VM by qemu-system-x86_64 command line



On Sun, Mar 6, 2022 at 7:47 PM Trigger Huang <trigger.huang@xxxxxxxxx> 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



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.