qemu-system-i386: -mem-path not supported with Xen when try to use memory-backend-memfd to share the memory with external processes on qemu-xen stable-4.16

2022-04-06 Thread Trigger Huang
Hello, The QEMU Documentation suggests to use memory-backend-memfd to share the memory with external processes, so I add the following patch to libxl__build_device_model_args_new() @ tools/libs/light/libxl_dm.c *+ flexarray_append_pair(dm_args, "-object",

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

2022-03-07 Thread Trigger Huang
ot;Delete cirrus-vga, and add sdl display and virtio-vga-gl!\n"); break; case LIBXL_VGA_INTERFACE_TYPE_NONE: break; On Tue, Mar 8, 2022 at 10:19 AM Jason Andryuk wrote: > On Sun, Mar 6, 2022 at 7:47 PM Trigger Huang > wrote: > > > > Hi Alex, > >

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

2022-03-06 Thread Trigger Huang
this kind of special option(*-device virtio-vga-gl* ) to qemu after I checked the xl's arguments. Or do you have any idea? :) Seems using XL is much more common than directly using the qemu command line , right? Thanks, Trigger On Fri, Mar 4, 2022 at 11:05 PM Alex Bennée wrote: > > T

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