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

2022-03-07 Thread Trigger Huang
Hi Jason, Thanks for sharing. Yesterday I added some hard code in libxl__build_device_model_args_new() and it worked. :) I think your method is much more flexible, I will have a try at it. Regards, Trigger My draft patch: diff --git a/tools/libs/light/libxl_dm.c b/tools/libs/light/libxl_dm.c

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

2022-03-07 Thread Jason Andryuk
On Sun, Mar 6, 2022 at 7:47 PM Trigger Huang 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 vir

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

2022-03-06 Thread Trigger Huang
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* xxx' If change to use xl, I don't know how to set t

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

2022-03-04 Thread Alex Bennée
Trigger Huang writes: > Hello, > > I have built & installed Xen 4.15 onto my Ubuntu20.04 platform successfully > according to > https://wiki.xenproject.org/wiki/Compiling_Xen_From_Source > After reboot, I entered Domain 0 successfully. The command xl info shows the > right version string. >

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

2022-03-04 Thread Trigger Huang
Hello, I have built & installed Xen 4.15 onto my Ubuntu20.04 platform successfully according to https://wiki.xenproject.org/wiki/Compiling_Xen_From_Source After reboot, I entered Domain 0 successfully. The command xl info shows the right version string. *host