#1125012 debian-cloud-images: Please enable build on loong64

#1125012#5
Date:
2026-01-08 11:57:58 UTC
From:
To:
Hi,

Please enable build on loong64.
Patch attached.
With attached patch, I have built debian-cloud-images locally.
```
    dh_md5sums
    dh_builddeb
dpkg-deb: building package 'debian-cloud-images-packages' in
'../debian-cloud-images-packages_0.0.9+loong64_loong64.deb'.
  dpkg-genbuildinfo -O../debian-cloud-images_0.0.9+loong64_loong64.buildinfo
  dpkg-genchanges -O../debian-cloud-images_0.0.9+loong64_loong64.changes
dpkg-genchanges: info: including full source code in upload
  dpkg-source --after-build .
dpkg-buildpackage: info: full upload; Debian-native package (full source
is included)
  signfile debian-cloud-images_0.0.9+loong64.dsc
```

Best regards,
Dandan Zhang

Best regards,
Dandan Zhang

#1125012#10
Date:
2026-01-08 13:26:16 UTC
From:
To:
Control: tags -1 + moreinfo

The attached patch will allow the package to build on loong64, but it
doesn't actually add support for building loong64 cloud images, which is
the important part.

What's the status of loong64 virtualization?  I don't see
qemu-system-loong64 in Debian yet.  Is it supported by OpenStack?

noah

#1125012#17
Date:
2026-01-08 13:29:43 UTC
From:
To:
Control: tags -1 - moreinfo

Apologies, I replied before I saw https://salsa.debian.org/cloud-team/debian-cloud-images/-/merge_requests/483

Will review that first.

noah

#1125012#24
Date:
2026-01-09 06:15:05 UTC
From:
To:
Hello,

On Thu, 8 Jan 2026 08:29:43 -0500 Noah Meyerhans wrote:

 > Control: tags -1 - moreinfo
 >
 > On Thu, Jan 08, 2026 at 08:26:16AM -0500, Noah Meyerhans wrote:
 > > On Thu, Jan 08, 2026 at 07:57:58PM +0800, zhangdandan wrote:
 > > > Please enable build on loong64.
 > > > Patch attached.
 > > > With attached patch, I have built debian-cloud-images locally.
 > >
 > > The attached patch will allow the package to build on loong64, but it
 > > doesn't actually add support for building loong64 cloud images,
which is
 > > the important part.
 > >
 > > What's the status of loong64 virtualization? I don't see
 > > qemu-system-loong64 in Debian yet. Is it supported by OpenStack?
 >
 > Apologies, I replied before I saw
https://salsa.debian.org/cloud-team/debian-cloud-images/-/merge_requests/483
 >
 > Will review that first.
 >

Thanks.

You can installed qemu-system-misc pacakges(provide
qemu-system-loongarch64 command) from
http://ftp.debian.org/debian/pool/main/q/qemu/ or
http://ftp.debian.org/debian-ports/pool/main/q/qemu/.

In official build, qemu was just built 4h ago. Please check
https://buildd.debian.org/status/package.php?p=qemu&suite=sid.

$ which qemu-system-loongarch64
/usr/bin/qemu-system-loongarch64
$ dpkg -S /usr/bin/qemu-system-loongarch64
qemu-system-misc: /usr/bin/qemu-system-loongarch64

I built image_sid_generic_loong64.raw from
https://salsa.debian.org/cloud-team/debian-cloud-images/-/merge_requests/483
, and tested via qemu-system-loongarch64.

Best regards,

Dandan Zhang