Skip to contentSkip to conversation

Listing the tools required for Xen development/testing on x86 and Arm by the community

DISCUSSION Ayan Kumar Halder 4 participants 7 messages Jun 2, 2023

lore
Share & tools
lore
#0 lore raw

Hi Xen developers,

We are trying to better document xen project development processes and related tools. At present, we are targeting **x86 and Arm** only.

These tools range from bug/change request tracking means, compilers, infra, editors, code-review tools, etc which is connected in some way to the Xen development and is being currently used by xen-devel community.

I appreciate if you can let me know anything I missed or mistaken and the version currently being used (for some of the tools).

1. Code management portal - xenbits (https://xenbits.xenproject.org), gitlab (https://gitlab.com/xen-project/xen)

2. Project description - wiki.xenproject.org

3. Project management - gitlab

4. Code review - text based email clients (mutt, thunderbird), git-email, b4

5. Text Editors such as vim, emacs

6. Code review history - xen-devel mail archives

7. Code revision management - git

8. Xen coding language - C89, C99, Kconfig

9. Testing tools for Arm64 in gitlab CI

compiler - gcc-9.3.0 (Alpine 3.12)) (most commonly used version)

binutils - GNU Binutils for Debian) 2.38.9

emulator/hw - qemu-system-aarch64-6.0.0, qemuarm64 6.2.0 (From yocto, poky disto - 4.0.5), zcu102 (**need the uboot, TF-A versions **)

dom0/domU kernel - kernel-5.19.0

rootfs - alpine-3.12-arm64-rootfs

firmware - U-Boot 2022.10

10. Testing tools for Arm in gitlab CI

compiler - arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, arm-linux-gnueabihf-gcc (Debian 12.2.0-14) 12.2.0 (most commonly used versions)

emulator/hw - qemu-system-arm 6.2.0 (From yocto, poky disto - 4.0.5)

dom0/domU kernel - kernel-5.15.72 (from Yocto), Kernel-5.10.0-22 (from Debian)

rootfs - alpine-minirootfs-3.15.1-armhf.tar.gz

firmware - U-Boot 2022.10

11. Testing tools for x86

compiler - gcc-9.3.0 (Alpine Linux 9.3.0), gcc (Debian 12.2.0-14) 12.2.0, clang (from Debian) (most commonly used version)

binutils - GNU ld (GNU Binutils for Debian) 2.40)

emulator/hardware - Qubes HW (**need details regarding machine, firmware, etc**) , qemu 6.2.0 (From yocto, poky distro - 4.0.5)

dom0/domU kernel - kernel 6.1.19

rootfs - alpine-3.12-rootfs

firmware - BIOS Dasharo (coreboot+UEFI) v1.1.1 02/22/2023 , EFI v2.70 by EDK II , SMBIOS 3.3.0 , SeaBIOS (version rel-1.16.2-0-gea1b7a0-Xen), GRUB 2.06~rc1

12. Debugger - gdb

13. Xen code building infra - make

14. Testing OS - CentOS 7, Ubuntu, OpenSuse, Arch Linux, Alpine 3.12.12, Debian 10 (Buster), Fedora

( **I could not get the version info for some of these ^^^**)

15. Testing Infra - Gitlab runner, Docker

16. Testing tools common to all architectures - All the host OS packages

dtc, build-essential, zlib1g-dev, libncurses5-dev, libssl-dev, python-dev, python3-dev, xorg-dev, uuid-dev, libyajl-dev, libaio-dev, libglib2.0-dev, libpixman-1-dev, pkg-config, flex, bison, gettext, acpica-tools, bin86, bcc, liblzma-dev, libc6-dev-i386, libnl-3-dev, ocaml-nox, libfindlib-ocaml-dev, markdown, transfig, pandoc, checkpolicy, wget, nasm, mkimage, uboot-tools

17. Documentation related tools - doxygen, rst.

Did I miss anything ?

Kind regards,

Ayan

#1 lore raw
Quoted 5 lines · Ayan Kumar Halder

Hi Xen developers,

We are trying to better document xen project development processes and related tools. At present, we are targeting **x86 and Arm** only.

Quoted 7 lines

These tools range from bug/change request tracking means, compilers, infra, editors, code-review tools, etc which is connected in some way to the Xen development and is being currently used by xen-devel community.

I appreciate if you can let me know anything I missed or mistaken and the version currently being used (for some of the tools).

The Xen git tree contains a README file with some of the information that you are looking for. This link is to that file for the 4.17 release:
https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=README;h=a947e8f3e35b78e2d5c935caa4c7ea71897f0f3c;hb=11560248ffda3f00f20bbdf3ae088af474f7f2a3

The README specifies specific minimum compiler versions for that Xen release.

Quoted 5 lines

1. Code management portal - xenbits (https://xenbits.xenproject.org),
gitlab (https://gitlab.com/xen-project/xen)

Also: patchew: https://patchew.org/Xen/

Quoted 8 lines

2. Project description - wiki.xenproject.org

3. Project management - gitlab

4. Code review - text based email clients (mutt, thunderbird), git-email, b4

Quoted 8 lines

5. Text Editors such as vim, emacs

6. Code review history - xen-devel mail archives

7. Code revision management - git

8. Xen coding language - C89, C99, Kconfig

The Xen community also has tools written in Python, OCaml, Go, and Rust.

Quoted 43 lines

9. Testing tools for Arm64 in gitlab CI

compiler - gcc-9.3.0 (Alpine 3.12)) (most commonly used version)

binutils - GNU Binutils for Debian) 2.38.9

emulator/hw - qemu-system-aarch64-6.0.0, qemuarm64 6.2.0 (From yocto, poky disto - 4.0.5), zcu102 (**need the uboot, TF-A versions **)

dom0/domU kernel - kernel-5.19.0

rootfs - alpine-3.12-arm64-rootfs

firmware - U-Boot 2022.10

10. Testing tools for Arm in gitlab CI

compiler - arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, arm-linux-gnueabihf-gcc (Debian 12.2.0-14) 12.2.0 (most commonly used versions)

emulator/hw - qemu-system-arm 6.2.0 (From yocto, poky disto - 4.0.5)

dom0/domU kernel - kernel-5.15.72 (from Yocto), Kernel-5.10.0-22 (from Debian)

rootfs - alpine-minirootfs-3.15.1-armhf.tar.gz

firmware - U-Boot 2022.10

11. Testing tools for x86

compiler - gcc-9.3.0 (Alpine Linux 9.3.0), gcc (Debian 12.2.0-14) 12.2.0, clang (from Debian) (most commonly used version)

binutils - GNU ld (GNU Binutils for Debian) 2.40)

emulator/hardware - Qubes HW (**need details regarding machine, firmware, etc**) , qemu 6.2.0 (From yocto, poky distro - 4.0.5)

dom0/domU kernel - kernel 6.1.19

Quoted 8 lines

rootfs - alpine-3.12-rootfs

firmware - BIOS Dasharo (coreboot+UEFI) v1.1.1 02/22/2023 , EFI v2.70 by EDK II , SMBIOS 3.3.0 , SeaBIOS (version rel-1.16.2-0-gea1b7a0-Xen), GRUB 2.06~rc1

12. Debugger - gdb

There is a tools/debugger directory in the Xen git tree that contains:
gdbsx, a gdb server for Xen, and kdd, a tool for debugging Xen with the
windows kernel debugger.

Quoted 7 lines

13. Xen code building infra - make

14. Testing OS - CentOS 7, Ubuntu, OpenSuse, Arch Linux, Alpine 3.12.12, Debian 10 (Buster), Fedora

( **I could not get the version info for some of these ^^^**)

Yocto and OpenEmbedded releases contain support for building Xen guest OS images suitable for testing.

Devuan, FreeBSD and OpenBSD.

Quoted 5 lines

15. Testing Infra - Gitlab runner, Docker

16. Testing tools common to all architectures - All the host OS packages

Quoted 9 lines

dtc, build-essential, zlib1g-dev, libncurses5-dev, libssl-dev, python-dev, python3-dev, xorg-dev, uuid-dev, libyajl-dev, libaio-dev, libglib2.0-dev, libpixman-1-dev, pkg-config, flex, bison, gettext, acpica-tools, bin86, bcc, liblzma-dev, libc6-dev-i386, libnl-3-dev, ocaml-nox, libfindlib-ocaml-dev, markdown, transfig, pandoc, checkpolicy, wget, nasm, mkimage, uboot-tools

17. Documentation related tools - doxygen, rst.

Possibly: Sphinx

Quoted 4 lines

Did I miss anything ?

I think you have a good start!

best,
Christopher

Quoted 9 lines

Kind regards,

Ayan

#2 lore raw
In reply to Ayan Kumar Halder
Quoted 61 lines · Ayan Kumar Halder

Hi Xen developers,

We are trying to better document xen project development processes and related tools. At present, we are targeting **x86 and Arm** only.

These tools range from bug/change request tracking means, compilers, infra, editors, code-review tools, etc which is connected in some way to the Xen development and is being currently used by xen-devel community.

I appreciate if you can let me know anything I missed or mistaken and the version currently being used (for some of the tools).

1. Code management portal - xenbits (https://xenbits.xenproject.org), gitlab
(https://gitlab.com/xen-project/xen)

2. Project description - wiki.xenproject.org

3. Project management - gitlab

4. Code review - text based email clients (mutt, thunderbird), git-email, b4

5. Text Editors such as vim, emacs

6. Code review history - xen-devel mail archives

7. Code revision management - git

8. Xen coding language - C89, C99, Kconfig

9. Testing tools for Arm64 in gitlab CI

compiler - gcc-9.3.0 (Alpine 3.12)) (most commonly used version)

binutils - GNU Binutils for Debian) 2.38.9

emulator/hw - qemu-system-aarch64-6.0.0, qemuarm64 6.2.0 (From yocto, poky disto - 4.0.5), zcu102 (**need the uboot, TF-A versions **)

dom0/domU kernel - kernel-5.19.0

rootfs - alpine-3.12-arm64-rootfs

firmware - U-Boot 2022.10

10. Testing tools for Arm in gitlab CI

compiler - arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, arm-linux-gnueabihf-gcc (Debian 12.2.0-14) 12.2.0 (most commonly used versions)

emulator/hw - qemu-system-arm 6.2.0 (From yocto, poky disto - 4.0.5)

dom0/domU kernel - kernel-5.15.72 (from Yocto), Kernel-5.10.0-22 (from Debian)

rootfs - alpine-minirootfs-3.15.1-armhf.tar.gz

firmware - U-Boot 2022.10

11. Testing tools for x86

Quoted 7 lines

compiler - gcc-9.3.0 (Alpine Linux 9.3.0), gcc (Debian 12.2.0-14) 12.2.0, clang (from Debian) (most commonly used version)

binutils - GNU ld (GNU Binutils for Debian) 2.40)

emulator/hardware - Qubes HW (**need details regarding machine, firmware, etc**) , qemu 6.2.0 (From yocto, poky distro - 4.0.5)

There are two x86 machines:
1. MSI PRO Z690-A with Intel Core i5-12600K, this one has Dasharo firmware (coreboot + UEFI)
2. MinisForum UM773 Lite with AMD Ryzen 7 7735HS, this one has stock UEFI firmware

Quoted 40 lines

dom0/domU kernel - kernel 6.1.19

rootfs - alpine-3.12-rootfs

firmware - BIOS Dasharo (coreboot+UEFI) v1.1.1 02/22/2023 , EFI v2.70 by EDK II , SMBIOS 3.3.0 , SeaBIOS (version rel-1.16.2-0-gea1b7a0-Xen), GRUB 2.06~rc1

12. Debugger - gdb

13. Xen code building infra - make

14. Testing OS - CentOS 7, Ubuntu, OpenSuse, Arch Linux, Alpine 3.12.12, Debian 10 (Buster), Fedora

( **I could not get the version info for some of these ^^^**)

15. Testing Infra - Gitlab runner, Docker

16. Testing tools common to all architectures - All the host OS packages

dtc, build-essential, zlib1g-dev, libncurses5-dev, libssl-dev, python-dev, python3-dev, xorg-dev, uuid-dev, libyajl-dev, libaio-dev, libglib2.0-dev, libpixman-1-dev, pkg-config, flex, bison, gettext, acpica-tools, bin86, bcc, liblzma-dev, libc6-dev-i386, libnl-3-dev, ocaml-nox, libfindlib-ocaml-dev, markdown, transfig, pandoc, checkpolicy, wget, nasm, mkimage, uboot-tools

17. Documentation related tools - doxygen, rst.

Did I miss anything ?

Kind regards,

Ayan

Signature · 3 lines
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
#3 lore raw
In reply to Ayan Kumar Halder
Quoted 8 lines · Ayan Kumar Halder

Hi Xen developers,

We are trying to better document xen project development processes and related tools. At present, we are targeting **x86 and Arm** only.

These tools range from bug/change request tracking means, compilers, infra, editors, code-review tools, etc which is connected in some way to the Xen development and is being currently used by xen-devel community.

What is the end goal of this?

I'm kind of unsure why do you care about which editor I use to generate my code, that's up to the developer.

Quoted 13 lines

I appreciate if you can let me know anything I missed or mistaken and the version currently being used (for some of the tools).

1. Code management portal - xenbits (https://xenbits.xenproject.org), gitlab
(https://gitlab.com/xen-project/xen)

2. Project description - wiki.xenproject.org

3. Project management - gitlab

4. Code review - text based email clients (mutt, thunderbird), git-email, b4

Quoted 7 lines

5. Text Editors such as vim, emacs

6. Code review history - xen-devel mail archives

7. Code revision management - git

8. Xen coding language - C89, C99, Kconfig

assembly (gas), python, perl, shell, Makefile, bison, flex, ocaml, go...

Likely more that I've missed.

Quoted 40 lines

9. Testing tools for Arm64 in gitlab CI

compiler - gcc-9.3.0 (Alpine 3.12)) (most commonly used version)

binutils - GNU Binutils for Debian) 2.38.9

emulator/hw - qemu-system-aarch64-6.0.0, qemuarm64 6.2.0 (From yocto, poky disto - 4.0.5), zcu102 (**need the uboot, TF-A versions **)

dom0/domU kernel - kernel-5.19.0

rootfs - alpine-3.12-arm64-rootfs

firmware - U-Boot 2022.10

10. Testing tools for Arm in gitlab CI

compiler - arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, arm-linux-gnueabihf-gcc (Debian 12.2.0-14) 12.2.0 (most commonly used versions)

emulator/hw - qemu-system-arm 6.2.0 (From yocto, poky disto - 4.0.5)

dom0/domU kernel - kernel-5.15.72 (from Yocto), Kernel-5.10.0-22 (from Debian)

rootfs - alpine-minirootfs-3.15.1-armhf.tar.gz

firmware - U-Boot 2022.10

11. Testing tools for x86

compiler - gcc-9.3.0 (Alpine Linux 9.3.0), gcc (Debian 12.2.0-14) 12.2.0, clang (from Debian) (most commonly used version)

binutils - GNU ld (GNU Binutils for Debian) 2.40)

emulator/hardware - Qubes HW (**need details regarding machine, firmware, etc**) , qemu 6.2.0 (From yocto, poky distro - 4.0.5)

Quoted 7 lines

dom0/domU kernel - kernel 6.1.19

rootfs - alpine-3.12-rootfs

firmware - BIOS Dasharo (coreboot+UEFI) v1.1.1 02/22/2023 , EFI v2.70 by EDK II , SMBIOS 3.3.0 , SeaBIOS (version rel-1.16.2-0-gea1b7a0-Xen), GRUB 2.06~rc1

I do use an LLVM based toolstack, so that's usually latest LLVM import on FreeBSD. We do also test this on the cirrus-ci, see:

https://github.com/royger/xen/runs/5334480206

I_n any case I think the scope to some of the questions is unknown, it's not feasible to expect to list every possible combination of Linux versions vs Xen version vs whatever guests versions a given developer might be running.

Regards, Roger.

#4 lore raw

Hi Roger,

Quoted 10 lines · Roger Pau Monné
Quoted 8 lines · Ayan Kumar Halder

Hi Xen developers,

We are trying to better document xen project development processes and related tools. At present, we are targeting **x86 and Arm** only.

These tools range from bug/change request tracking means, compilers, infra, editors, code-review tools, etc which is connected in some way to the Xen development and is being currently used by xen-devel community.

What is the end goal of this?

We are trying to do an initial assesment of the requirements for Xen functional safety.

As a first step, I am trying to make a list tools which are in someways related to Xen development/testing/deployment.

Quoted 3 lines

I'm kind of unsure why do you care about which editor I use to generate my code, that's up to the developer.

I agree that editor, email-clients are something that are an individual developer's choice.

However as it is related to Xen development, we want to atleast put down some of the commonly used tools.

At a later state when (and if) we go through the list with a safety assessor, we might prune some of these items.

Quoted 18 lines
Quoted 18 lines

I appreciate if you can let me know anything I missed or mistaken and the version currently being used (for some of the tools).

1. Code management portal - xenbits (https://xenbits.xenproject.org), gitlab
(https://gitlab.com/xen-project/xen)

2. Project description - wiki.xenproject.org

3. Project management - gitlab

4. Code review - text based email clients (mutt, thunderbird), git-email, b4

5. Text Editors such as vim, emacs

6. Code review history - xen-devel mail archives

Quoted 7 lines
Quoted 3 lines

7. Code revision management - git

8. Xen coding language - C89, C99, Kconfig

assembly (gas), python, perl, shell, Makefile, bison, flex, ocaml, go...

Likely more that I've missed.

Ack

Quoted 44 lines
Quoted 44 lines

9. Testing tools for Arm64 in gitlab CI

compiler - gcc-9.3.0 (Alpine 3.12)) (most commonly used version)

binutils - GNU Binutils for Debian) 2.38.9

emulator/hw - qemu-system-aarch64-6.0.0, qemuarm64 6.2.0 (From yocto, poky disto - 4.0.5), zcu102 (**need the uboot, TF-A versions **)

dom0/domU kernel - kernel-5.19.0

rootfs - alpine-3.12-arm64-rootfs

firmware - U-Boot 2022.10

10. Testing tools for Arm in gitlab CI

compiler - arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, arm-linux-gnueabihf-gcc (Debian 12.2.0-14) 12.2.0 (most commonly used versions)

emulator/hw - qemu-system-arm 6.2.0 (From yocto, poky disto - 4.0.5)

dom0/domU kernel - kernel-5.15.72 (from Yocto), Kernel-5.10.0-22 (from Debian)

rootfs - alpine-minirootfs-3.15.1-armhf.tar.gz

firmware - U-Boot 2022.10

11. Testing tools for x86

compiler - gcc-9.3.0 (Alpine Linux 9.3.0), gcc (Debian 12.2.0-14) 12.2.0, clang (from Debian) (most commonly used version)

binutils - GNU ld (GNU Binutils for Debian) 2.40)

emulator/hardware - Qubes HW (**need details regarding machine, firmware, etc**) , qemu 6.2.0 (From yocto, poky distro - 4.0.5)

dom0/domU kernel - kernel 6.1.19

rootfs - alpine-3.12-rootfs

Quoted 7 lines
Quoted 3 lines

firmware - BIOS Dasharo (coreboot+UEFI) v1.1.1 02/22/2023 , EFI v2.70 by EDK II , SMBIOS 3.3.0 , SeaBIOS (version rel-1.16.2-0-gea1b7a0-Xen), GRUB 2.06~rc1

I do use an LLVM based toolstack, so that's usually latest LLVM import on FreeBSD. We do also test this on the cirrus-ci, see:

https://github.com/royger/xen/runs/5334480206

Thanks, this is interesting info.

For the moment, I am ignoring the downstream forks of Xen.

I am only considering the tools used by the upstream Xen and the associated CI/CD.

Quoted 5 lines

I_n any case I think the scope to some of the questions is unknown, it's not feasible to expect to list every possible combination of Linux versions vs Xen version vs whatever guests versions a given developer might be running.

I agree . That is the reason I am picking up the compiler, linux, binutils, firmware, etc versions from our gitlab CI.

It also acts as a proof that we are testing Xen against a known set of compiler, linux versions, etc.

- Ayan

Quoted 2 lines

Regards, Roger.

#5 lore raw
Quoted 24 lines · Ayan Kumar Halder

Hi Roger,

Quoted 10 lines · Roger Pau Monné
Quoted 8 lines · Ayan Kumar Halder

Hi Xen developers,

We are trying to better document xen project development processes and related tools. At present, we are targeting **x86 and Arm** only.

These tools range from bug/change request tracking means, compilers, infra, editors, code-review tools, etc which is connected in some way to the Xen development and is being currently used by xen-devel community.

What is the end goal of this?

We are trying to do an initial assesment of the requirements for Xen functional safety.

As a first step, I am trying to make a list tools which are in someways related to Xen development/testing/deployment.

Quoted 3 lines

I'm kind of unsure why do you care about which editor I use to generate my code, that's up to the developer.

Quoted 8 lines

I agree that editor, email-clients are something that are an individual developer's choice.

However as it is related to Xen development, we want to atleast put down some of the commonly used tools.

At a later state when (and if) we go through the list with a safety assessor, we might prune some of these items.

I have very little idea about what's required for a safety assessor, sorry.

Will this have an impact on what tools are allowed to be used when working with certain parts of Xen? (the safety certifiable parts I would assume)

Quoted 73 lines
Quoted 18 lines
Quoted 18 lines

I appreciate if you can let me know anything I missed or mistaken and the version currently being used (for some of the tools).

1. Code management portal - xenbits (https://xenbits.xenproject.org), gitlab
(https://gitlab.com/xen-project/xen)

2. Project description - wiki.xenproject.org

3. Project management - gitlab

4. Code review - text based email clients (mutt, thunderbird), git-email, b4

5. Text Editors such as vim, emacs

6. Code review history - xen-devel mail archives

Quoted 7 lines
Quoted 3 lines

7. Code revision management - git

8. Xen coding language - C89, C99, Kconfig

assembly (gas), python, perl, shell, Makefile, bison, flex, ocaml, go...

Likely more that I've missed.

Ack

Quoted 47 lines
Quoted 47 lines

9. Testing tools for Arm64 in gitlab CI

compiler - gcc-9.3.0 (Alpine 3.12)) (most commonly used version)

binutils - GNU Binutils for Debian) 2.38.9

emulator/hw - qemu-system-aarch64-6.0.0, qemuarm64 6.2.0 (From yocto, poky disto - 4.0.5), zcu102 (**need the uboot, TF-A versions **)

dom0/domU kernel - kernel-5.19.0

rootfs - alpine-3.12-arm64-rootfs

firmware - U-Boot 2022.10

10. Testing tools for Arm in gitlab CI

compiler - arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, arm-linux-gnueabihf-gcc (Debian 12.2.0-14) 12.2.0 (most commonly used versions)

emulator/hw - qemu-system-arm 6.2.0 (From yocto, poky disto - 4.0.5)

dom0/domU kernel - kernel-5.15.72 (from Yocto), Kernel-5.10.0-22 (from Debian)

rootfs - alpine-minirootfs-3.15.1-armhf.tar.gz

firmware - U-Boot 2022.10

11. Testing tools for x86

compiler - gcc-9.3.0 (Alpine Linux 9.3.0), gcc (Debian 12.2.0-14) 12.2.0, clang (from Debian) (most commonly used version)

binutils - GNU ld (GNU Binutils for Debian) 2.40)

emulator/hardware - Qubes HW (**need details regarding machine, firmware, etc**) , qemu 6.2.0 (From yocto, poky distro - 4.0.5)

dom0/domU kernel - kernel 6.1.19

rootfs - alpine-3.12-rootfs

firmware - BIOS Dasharo (coreboot+UEFI) v1.1.1 02/22/2023 , EFI v2.70 by EDK II , SMBIOS 3.3.0 , SeaBIOS (version rel-1.16.2-0-gea1b7a0-Xen), GRUB 2.06~rc1

Quoted 8 lines
Quoted 4 lines

I do use an LLVM based toolstack, so that's usually latest LLVM import on FreeBSD. We do also test this on the cirrus-ci, see:

https://github.com/royger/xen/runs/5334480206

Thanks, this is interesting info.

For the moment, I am ignoring the downstream forks of Xen.

That's not a fork of Xen, just plain Xen hosted on my personal github repo.

Quoted 2 lines

I am only considering the tools used by the upstream Xen and the associated CI/CD.

Gitlab CI does test with LLVM toolchain also.

osstest does test FreeBSD guests, but no FreeBSD dom0.

Quoted 11 lines
Quoted 5 lines

I_n any case I think the scope to some of the questions is unknown, it's not feasible to expect to list every possible combination of Linux versions vs Xen version vs whatever guests versions a given developer might be running.

I agree . That is the reason I am picking up the compiler, linux, binutils, firmware, etc versions from our gitlab CI.

It also acts as a proof that we are testing Xen against a known set of compiler, linux versions, etc.

OK, so the question is not what every developers uses, but you trying to narrow down the scope to a specific environment?

Maybe what you want to do is create a specific container in the Gitlab CI that has the specific tools versions you care about from a safety certify angle.

Regards, Roger.

#6 lore raw

Hi Roger,

Quoted 25 lines · Roger Pau Monné
Quoted 24 lines · Ayan Kumar Halder

Hi Roger,

Quoted 10 lines · Roger Pau Monné
Quoted 8 lines · Ayan Kumar Halder

Hi Xen developers,

We are trying to better document xen project development processes and related tools. At present, we are targeting **x86 and Arm** only.

These tools range from bug/change request tracking means, compilers, infra, editors, code-review tools, etc which is connected in some way to the Xen development and is being currently used by xen-devel community.

What is the end goal of this?

We are trying to do an initial assesment of the requirements for Xen functional safety.

As a first step, I am trying to make a list tools which are in someways related to Xen development/testing/deployment.

Quoted 2 lines

I'm kind of unsure why do you care about which editor I use to generate my code, that's up to the developer.

I agree that editor, email-clients are something that are an individual developer's choice.

Quoted 7 lines
Quoted 5 lines

However as it is related to Xen development, we want to atleast put down some of the commonly used tools.

At a later state when (and if) we go through the list with a safety assessor, we might prune some of these items.

I have very little idea about what's required for a safety assessor, sorry.

Same here :)

Quoted 4 lines

Will this have an impact on what tools are allowed to be used when working with certain parts of Xen? (the safety certifiable parts I would assume)

At the moment, I am not very sure.

At the least, our first step is to gather the list of existing tools.

Quoted 75 lines
Quoted 75 lines
Quoted 18 lines
Quoted 18 lines

I appreciate if you can let me know anything I missed or mistaken and the version currently being used (for some of the tools).

1. Code management portal - xenbits (https://xenbits.xenproject.org), gitlab
(https://gitlab.com/xen-project/xen)

2. Project description - wiki.xenproject.org

3. Project management - gitlab

4. Code review - text based email clients (mutt, thunderbird), git-email, b4

5. Text Editors such as vim, emacs

6. Code review history - xen-devel mail archives

Quoted 7 lines
Quoted 3 lines

7. Code revision management - git

8. Xen coding language - C89, C99, Kconfig

assembly (gas), python, perl, shell, Makefile, bison, flex, ocaml, go...

Likely more that I've missed.

Ack

Quoted 49 lines
Quoted 39 lines

9. Testing tools for Arm64 in gitlab CI

compiler - gcc-9.3.0 (Alpine 3.12)) (most commonly used version)

binutils - GNU Binutils for Debian) 2.38.9

emulator/hw - qemu-system-aarch64-6.0.0, qemuarm64 6.2.0 (From yocto, poky disto - 4.0.5), zcu102 (**need the uboot, TF-A versions **)

dom0/domU kernel - kernel-5.19.0

rootfs - alpine-3.12-arm64-rootfs

firmware - U-Boot 2022.10

10. Testing tools for Arm in gitlab CI

compiler - arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, arm-linux-gnueabihf-gcc (Debian 12.2.0-14) 12.2.0 (most commonly used versions)

emulator/hw - qemu-system-arm 6.2.0 (From yocto, poky disto - 4.0.5)

dom0/domU kernel - kernel-5.15.72 (from Yocto), Kernel-5.10.0-22 (from Debian)

rootfs - alpine-minirootfs-3.15.1-armhf.tar.gz

firmware - U-Boot 2022.10

11. Testing tools for x86

compiler - gcc-9.3.0 (Alpine Linux 9.3.0), gcc (Debian 12.2.0-14) 12.2.0, clang (from Debian) (most commonly used version)

binutils - GNU ld (GNU Binutils for Debian) 2.40)

emulator/hardware - Qubes HW (**need details regarding machine, firmware, etc**) , qemu 6.2.0 (From yocto, poky distro - 4.0.5)

Quoted 7 lines

dom0/domU kernel - kernel 6.1.19

rootfs - alpine-3.12-rootfs

firmware - BIOS Dasharo (coreboot+UEFI) v1.1.1 02/22/2023 , EFI v2.70 by EDK II , SMBIOS 3.3.0 , SeaBIOS (version rel-1.16.2-0-gea1b7a0-Xen), GRUB 2.06~rc1

I do use an LLVM based toolstack, so that's usually latest LLVM import on FreeBSD. We do also test this on the cirrus-ci, see:

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

https://github.com/royger/xen/runs/5334480206

Thanks, this is interesting info.

For the moment, I am ignoring the downstream forks of Xen.

That's not a fork of Xen, just plain Xen hosted on my personal github repo.

Ok

Quoted 6 lines
Quoted 3 lines

I am only considering the tools used by the upstream Xen and the associated CI/CD.

Gitlab CI does test with LLVM toolchain also.

osstest does test FreeBSD guests, but no FreeBSD dom0.

Ok

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

I_n any case I think the scope to some of the questions is unknown, it's not feasible to expect to list every possible combination of Linux versions vs Xen version vs whatever guests versions a given developer might be running.

Quoted 7 lines
Quoted 5 lines

I agree . That is the reason I am picking up the compiler, linux, binutils, firmware, etc versions from our gitlab CI.

It also acts as a proof that we are testing Xen against a known set of compiler, linux versions, etc.

OK, so the question is not what every developers uses, but you trying to narrow down the scope to a specific environment?

Yes, I am trying to do 3 things here :-

1. Gather the most commonly used developer tools - For eg vim, emacs, mutt, thunderbird

2. Gather the current tools used in any existing upstream Xen testing - For eg gitlab tests, OSS tests, XTF, etc.

Here, I am particularly interested in the libraries, compilers, binutils, kernel, hardware/emulator, firmware and their respective versions.

3. Gather all the dependencies for Xen - For eg C89, C99, python, Asm, OS packages mentioned in README (as Christopher pointed out).

Quoted 4 lines

Maybe what you want to do is create a specific container in the Gitlab CI that has the specific tools versions you care about from a safety certify angle.

Yes, that might be a possible approach.

- Ayan

Quoted 2 lines

Regards, Roger.