Your message dated Sun, 28 Aug 2022 12:02:09 +0000 with message-id <e1osgzr-00fvtq...@fasolo.debian.org> and subject line Bug#1013342: fixed in systemd 247.3-7+deb11u1 has caused the Debian Bug report #1013342, regarding systemd - Please backport support for Hyper-V on arm64 to stable to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1013342: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013342 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: systemd Version: 247.3-7 Severity: important Hi Please backport support for detecting Microsoft Hyper-V on arm64 to stable. Commits are: - 506bbc8569014253ea8614b680ccbc4fc2513a87 - 76eec0649936d9ae2f9087769f463feaf0cf5cb4 This adds new hardware support, which makes it suitable for a stable update, thus reported with severity "important". Patches I used are attached. For me, systemd failed to build on stable, due to missmatch between /usr/include/linux/if_arp.h and ./src/basic/linux/if_arp.h. This needs to be fixed as well. Regards, Bastian -- Vulcans worship peace above all. -- McCoy, "Return to Tomorrow", stardate 4768.3>From 506bbc8569014253ea8614b680ccbc4fc2513a87 Mon Sep 17 00:00:00 2001 From: Boqun Feng <boqun.f...@gmail.com> Date: Wed, 13 Oct 2021 11:32:09 +0800 Subject: [PATCH] virt: Support detection for ARM64 Hyper-V guests The detection of Microsoft Hyper-V VMs is done by cpuid currently, however there is no cpuid on ARM64. And since ARM64 is now a supported architecture for Microsoft Hyper-V guests[1], then use DMI tables to detect a Hyper-V guest, which is more generic and works for ARM64. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7aff79e297ee1aa0126924921fd87a4ae59d2467 --- src/basic/virt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/virt.c b/src/basic/virt.c index 745a855779..64581ad2e1 100644 --- a/src/basic/virt.c +++ b/src/basic/virt.c @@ -165,4 +165,5 @@ static int detect_vm_dmi_vendor(void) { /* https://wiki.freebsd.org/bhyve */ { "BHYVE", VIRTUALIZATION_BHYVE }, + { "Microsoft", VIRTUALIZATION_MICROSOFT }, }; unsigned i; -- 2.30.2>From 76eec0649936d9ae2f9087769f463feaf0cf5cb4 Mon Sep 17 00:00:00 2001 From: Boqun Feng <boqun.f...@gmail.com> Date: Tue, 23 Nov 2021 15:09:26 +0800 Subject: [PATCH] virt: Fix the detection for Hyper-V VMs Use product_version instead of product_name in DMI table and the string "Hyper-V" to avoid misdetection. Fixes: #21468 Signed-off-by: Boqun Feng <boqun.f...@gmail.com> --- src/basic/virt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/basic/virt.c b/src/basic/virt.c index 4e1cbf5b66..9b7dbdc205 100644 --- a/src/basic/virt.c +++ b/src/basic/virt.c @@ -146,7 +146,8 @@ static int detect_vm_dmi_vendor(void) { "/sys/class/dmi/id/product_name", /* Test this before sys_vendor to detect KVM over QEMU */ "/sys/class/dmi/id/sys_vendor", "/sys/class/dmi/id/board_vendor", - "/sys/class/dmi/id/bios_vendor" + "/sys/class/dmi/id/bios_vendor", + "/sys/class/dmi/id/product_version" /* For Hyper-V VMs test */ }; static const struct { @@ -165,5 +166,5 @@ static int detect_vm_dmi_vendor(void) { /* https://wiki.freebsd.org/bhyve */ { "BHYVE", VIRTUALIZATION_BHYVE }, - { "Microsoft", VIRTUALIZATION_MICROSOFT }, + { "Hyper-V", VIRTUALIZATION_MICROSOFT }, }; unsigned i; -- 2.30.2
--- End Message ---
--- Begin Message ---Source: systemd Source-Version: 247.3-7+deb11u1 Done: Michael Biebl <bi...@debian.org> We believe that the bug you reported is fixed in the latest version of systemd, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1013...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Biebl <bi...@debian.org> (supplier of updated systemd package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 07 Aug 2022 15:25:09 +0200 Source: systemd Architecture: source Version: 247.3-7+deb11u1 Distribution: bullseye Urgency: medium Maintainer: Debian systemd Maintainers <pkg-systemd-maintain...@lists.alioth.debian.org> Changed-By: Michael Biebl <bi...@debian.org> Closes: 1013342 1016157 Changes: systemd (247.3-7+deb11u1) bullseye; urgency=medium . * Drop bundled copy of linux/if_arp.h. Fixes build failures with newer kernel headers. * virt: support detection for ARM64 Hyper-V guests (Closes: #1013342) * virt: detect OpenStack instance as KVM on arm (Closes: #1016157) Checksums-Sha1: 818b2f84049d8294181c9c35f1e9c59096027a27 5199 systemd_247.3-7+deb11u1.dsc f5a9b3a1ed633690adfc5fa87a8a9daf0a0dbece 186940 systemd_247.3-7+deb11u1.debian.tar.xz 27c809d190b2543d26d493cacb3a7abb4d0e95ac 8513 systemd_247.3-7+deb11u1_source.buildinfo Checksums-Sha256: 52bfded0adf0297bb825b3c5aefcadd38be9fda59e70fae902245d720d2a4fa2 5199 systemd_247.3-7+deb11u1.dsc 6cf6a07b17f676700d049ddaed8ee8a184f3065bee2550a333039eddde207aa3 186940 systemd_247.3-7+deb11u1.debian.tar.xz ac43f287202a841387a3508e5f873ec67f081bc2e2c2a707c30e3612558a4acd 8513 systemd_247.3-7+deb11u1_source.buildinfo Files: d5407c94f33bb515c29eca984c15ebca 5199 admin optional systemd_247.3-7+deb11u1.dsc ccf42c519145444db0cb0285ef0d0315 186940 admin optional systemd_247.3-7+deb11u1.debian.tar.xz 89e26ee8a3b5b77cd27b8ade53ea1807 8513 admin optional systemd_247.3-7+deb11u1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmMJJNcACgkQauHfDWCP ItwY1Q//bOt6W/oab+niV6uvrQg/WOhoSAjhi6Vp3Bv2Odu5QNHKpz47LIWknmsO ipiiDhpP7MsuSwEp2aj9D5lI823JwRIEKfi7Q9Ezda7TE7DoAXZcizkhmIYD94Xz iU5kPf0e5LmvHQpjEl7OPtOaKluduCjJxsgXkW44kPeQkCtiHXXl++CiQcHP8gqZ GAU/rxbrmfnQCueIqeyW3OoX1b57Q5tt4uwqHzVGKAX8blUAm6tf5+eFK7bV5yap Fuvsaf4efvSD981KtzQ47Ubp046alAzOM/8yaIEkBC2vFDEea5YcxxNBAEe87iZw gc9x0F0m4LA0OJDWVnBvvLVCQHEh2yIwY2RnR6xWRr/npUNU4vMINjOEPBQxhxYl 6tiSl+c0v6Wv6RMllWFFynttvEKxifTRCpUl2LNYmuTZRIAG4Z30WxH0LOTI0oEp K1RsK6Jd3UelVhdlA6tYQAnGhUIzWUFgbNXBeGTYfI9tcvMB4mrvoIETOVknxXHJ 3ZbASZJRvoDa5z/hJ7ALSURAeGplnn/IrB/nz3iVo65gYYp0L5blmNY8uUoufn7D CIDFoE85/swf/BE83daBSV6aeaytOhtQ95g/ruBTJcNYZPOQ42yX1/RgKQHJRjRO IFL3Ylc3+2rYNU8e52pvmg7BByV4pY9iMuNgKAqV9Fz375eABbo= =6949 -----END PGP SIGNATURE-----pgpH4U27pM5oR.pgp
Description: PGP signature
--- End Message ---