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

2022-07-11 Thread Penny Zheng
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 static allocation on qemu > >> &g

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

2022-07-11 Thread Xenia Ragiadakou
: arm64: Create a test job for testing static allocation on qemu 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

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

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 spec

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 t

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 > > > > config

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 buil

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   0:

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 c

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 ./binaries/qem

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 virtu

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 su

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 als

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, suf