feat: patched qemu 11.1.2 identity series with macos support

This commit is contained in:
2026-10-10 01:11:44 +02:00
parent f99ff1400a
commit d47e1d5fa0
15 changed files with 606 additions and 59 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
# Maintainer: Sandwich <sandwich@archworks.co>
#
# QEMU 11.1.1 with the platform-identity patches from vfio-native, installed
# QEMU 11.1.2 with the platform-identity patches from vfio-native, installed
# under /opt/qemu-native so the system qemu package is never touched. Clears
# FIRMWARE, VIRTUAL_DISK, DISK_SERIAL, PCI_VENDOR, DEVICES, QEMU_FW_CFG and
# QEMU_USB. Only the x86_64 system emulator is built.
pkgname=vfio-native-qemu
_qver=11.1.1
_qver=11.1.2
_tag=1.1.0
pkgver=${_qver}
pkgrel=1
@@ -24,11 +24,11 @@ options=('!strip')
source=("git+${url}.git#tag=v${_tag}"
"https://download.qemu.org/qemu-${_qver}.tar.xz")
sha256sums=('SKIP'
'079ffbff8a7111bbc89022107cbabf3bbfd614d5fc9d7cc675991196aca12482')
'731b5681e4bb18be313231579b8efd0296c5b015fa36dc533874b639ba838016')
prepare() {
cd "qemu-${_qver}"
for p in "${srcdir}"/vfio-native/patches/qemu/0[1-8]-*.patch; do
for p in "${srcdir}"/vfio-native/patches/qemu/[0-9][0-9]-*.patch; do
msg2 "applying ${p##*/}"
patch -Np1 --no-backup-if-mismatch -i "$p"
done