RE: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-11 Thread Penny Zheng
Hi Xenia > -Original Message- > From: Xenia Ragiadakou > Sent: Monday, July 11, 2022 11:29 PM > To: Penny Zheng ; Stefano Stabellini > ; Julien Grall > Cc: xen-devel@lists.xenproject.org; Doug Goldstein > Subject: Re: [PATCH 2/2] automation: arm64: Create a test job for testing >

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-11 Thread Xenia Ragiadakou
Hi Penny, On 11/7/22 12:02, Penny Zheng wrote: Hi Xenia -Original Message- From: Xen-devel On Behalf Of Xenia Ragiadakou Sent: Friday, July 8, 2022 5:54 PM To: Stefano Stabellini ; Julien Grall Cc: xen-devel@lists.xenproject.org; Doug Goldstein Subject: Re: [PATCH 2/2] automation:

RE: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-11 Thread Penny Zheng
Hi Xenia > -Original Message- > From: Xen-devel On Behalf Of > Xenia Ragiadakou > Sent: Friday, July 8, 2022 5:54 PM > To: Stefano Stabellini ; Julien Grall > Cc: xen-devel@lists.xenproject.org; Doug Goldstein > Subject: Re: [PATCH 2/2] automation: arm64: Create a test job for testing

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Xenia Ragiadakou
On 7/8/22 18:56, Stefano Stabellini wrote: On Fri, 8 Jul 2022, Xenia Ragiadakou wrote: On 7/8/22 02:05, Stefano Stabellini wrote: On Thu, 7 Jul 2022, Julien Grall wrote: Hi Xenia, On 07/07/2022 21:38, Xenia Ragiadakou wrote: Add an arm subdirectory under automation/configs for the arm

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Julien Grall
Hi, On 08/07/2022 16:56, Stefano Stabellini wrote: Or we could add a script to detect and print specific output but I don't know if there is something under /proc or /sys that we could simply "cat" from bash to check it. The domain device-tree should be /proc/device-tree. So you could check

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Stefano Stabellini
On Fri, 8 Jul 2022, Xenia Ragiadakou wrote: > On 7/8/22 02:05, Stefano Stabellini wrote: > > On Thu, 7 Jul 2022, Julien Grall wrote: > > > Hi Xenia, > > > > > > On 07/07/2022 21:38, Xenia Ragiadakou wrote: > > > > Add an arm subdirectory under automation/configs for the arm specific > > > >

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Xenia Ragiadakou
Hi Stefano, On 7/8/22 02:05, Stefano Stabellini wrote: On Thu, 7 Jul 2022, Julien Grall wrote: Hi Xenia, On 07/07/2022 21:38, Xenia Ragiadakou wrote: Add an arm subdirectory under automation/configs for the arm specific configs and add a config that enables static allocation. Modify the

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Julien Grall
On 08/07/2022 10:00, Xenia Ragiadakou wrote: + +(grep -q "Xen dom0less mode detected" qemu-staticmem.serial) || exit 1 + +for ((i=0; i<${#base[@]}; i++)) +do +    start="$(printf "0x%016x" ${base[$i]})" +    end="$(printf "0x%016x" $((${base[$i]} + ${size[$i]} - 1)))" +    grep -q "node  

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Xenia Ragiadakou
On 7/8/22 10:46, Julien Grall wrote: On 08/07/2022 08:17, Xenia Ragiadakou wrote: Hi Julien, Hi Xenia, On 7/8/22 01:26, Julien Grall wrote: Hi Xenia, On 07/07/2022 21:38, Xenia Ragiadakou wrote: Add an arm subdirectory under automation/configs for the arm specific configs and add a

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Xenia Ragiadakou
On 7/8/22 10:35, Julien Grall wrote: Hi, On 08/07/2022 00:05, Stefano Stabellini wrote: On Thu, 7 Jul 2022, Julien Grall wrote: +# Run the test +rm -f qemu-staticmem.serial +set +e +echo "  virtio scan; dhcp; tftpb 0x4000 boot.scr; source 0x4000"| \ +timeout -k 1 60

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Julien Grall
On 08/07/2022 08:17, Xenia Ragiadakou wrote: Hi Julien, Hi Xenia, On 7/8/22 01:26, Julien Grall wrote: Hi Xenia, On 07/07/2022 21:38, Xenia Ragiadakou wrote: Add an arm subdirectory under automation/configs for the arm specific configs and add a config that enables static allocation.

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Julien Grall
Hi, On 08/07/2022 00:05, Stefano Stabellini wrote: On Thu, 7 Jul 2022, Julien Grall wrote: +# Run the test +rm -f qemu-staticmem.serial +set +e +echo " virtio scan; dhcp; tftpb 0x4000 boot.scr; source 0x4000"| \ +timeout -k 1 60 ./binaries/qemu-system-aarch64 -nographic \ +-M

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-08 Thread Xenia Ragiadakou
Hi Julien, On 7/8/22 01:26, Julien Grall wrote: Hi Xenia, On 07/07/2022 21:38, Xenia Ragiadakou wrote: Add an arm subdirectory under automation/configs for the arm specific configs and add a config that enables static allocation. Modify the build script to search for configs also in this

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-07 Thread Stefano Stabellini
On Thu, 7 Jul 2022, Julien Grall wrote: > Hi Xenia, > > On 07/07/2022 21:38, Xenia Ragiadakou wrote: > > Add an arm subdirectory under automation/configs for the arm specific > > configs > > and add a config that enables static allocation. > > > > Modify the build script to search for configs

Re: [PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-07 Thread Julien Grall
Hi Xenia, On 07/07/2022 21:38, Xenia Ragiadakou wrote: Add an arm subdirectory under automation/configs for the arm specific configs and add a config that enables static allocation. Modify the build script to search for configs also in this subdirectory and to keep the generated xen binary,

[PATCH 2/2] automation: arm64: Create a test job for testing static allocation on qemu

2022-07-07 Thread Xenia Ragiadakou
Add an arm subdirectory under automation/configs for the arm specific configs and add a config that enables static allocation. Modify the build script to search for configs also in this subdirectory and to keep the generated xen binary, suffixed with the config file name, as artifact. Create a