aboutsummaryrefslogtreecommitdiff
path: root/repos
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-01-08 08:20:14 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-01-08 08:20:14 +0800
commit2a61c7e5aeb3d7df645852747976c279a50cdc04 (patch)
treed7cd6b81bbfa52a22df3b3d4826c8ea6a03c27c0 /repos
parent826a8809848322925a6c7671d4ae5755adff6c86 (diff)
downloadalicelinux-2a61c7e5aeb3d7df645852747976c279a50cdc04.tar.gz
alicelinux-2a61c7e5aeb3d7df645852747976c279a50cdc04.zip
qemu: updated to 9.2.0
Diffstat (limited to 'repos')
-rw-r--r--repos/extra/qemu/.checksum3
-rw-r--r--repos/extra/qemu/.files8
-rw-r--r--repos/extra/qemu/abuild5
-rw-r--r--repos/extra/qemu/lfs64.patch204
4 files changed, 8 insertions, 212 deletions
diff --git a/repos/extra/qemu/.checksum b/repos/extra/qemu/.checksum
index 669af854..ddf1dbcf 100644
--- a/repos/extra/qemu/.checksum
+++ b/repos/extra/qemu/.checksum
@@ -1,2 +1 @@
-fb71351dbe52dfaa672d68ba95abfd55695604fc8809b5f75553bd2a45224b09 lfs64.patch
-6224952404de92f432c2bca216ab69054e9f8ac3e447e081f10623e015128aab qemu-9.1.2.tar.xz
+1e684430b5d3663b4ef37a2a6f5654a6686b9ab48377c3c781a4f9901c7aed28 qemu-9.2.0.tar.xz
diff --git a/repos/extra/qemu/.files b/repos/extra/qemu/.files
index b6f73591..7a8425f7 100644
--- a/repos/extra/qemu/.files
+++ b/repos/extra/qemu/.files
@@ -63,6 +63,8 @@ drwxr-xr-x root/root usr/share/qemu/
-rw-r--r-- root/root usr/share/qemu/edk2-i386-secure-code.fd
-rw-r--r-- root/root usr/share/qemu/edk2-i386-vars.fd
-rw-r--r-- root/root usr/share/qemu/edk2-licenses.txt
+-rw-r--r-- root/root usr/share/qemu/edk2-loongarch64-code.fd
+-rw-r--r-- root/root usr/share/qemu/edk2-loongarch64-vars.fd
-rw-r--r-- root/root usr/share/qemu/edk2-riscv-code.fd
-rw-r--r-- root/root usr/share/qemu/edk2-riscv-vars.fd
-rw-r--r-- root/root usr/share/qemu/edk2-x86_64-code.fd
@@ -81,9 +83,10 @@ drwxr-xr-x root/root usr/share/qemu/firmware/
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-aarch64.json
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-arm.json
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-i386.json
+-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-loongarch64.json
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-x86_64.json
--rwxr-xr-x root/root usr/share/qemu/hppa-firmware.img
--rwxr-xr-x root/root usr/share/qemu/hppa-firmware64.img
+-rw-r--r-- root/root usr/share/qemu/hppa-firmware.img
+-rw-r--r-- root/root usr/share/qemu/hppa-firmware64.img
drwxr-xr-x root/root usr/share/qemu/keymaps/
-rw-r--r-- root/root usr/share/qemu/keymaps/ar
-rw-r--r-- root/root usr/share/qemu/keymaps/bepo
@@ -144,7 +147,6 @@ drwxr-xr-x root/root usr/share/qemu/keymaps/
-rw-r--r-- root/root usr/share/qemu/qemu-nsis.bmp
-rw-r--r-- root/root usr/share/qemu/qemu_vga.ndrv
-rw-r--r-- root/root usr/share/qemu/s390-ccw.img
--rw-r--r-- root/root usr/share/qemu/s390-netboot.img
-rw-r--r-- root/root usr/share/qemu/skiboot.lid
-rw-r--r-- root/root usr/share/qemu/slof.bin
-rw-r--r-- root/root usr/share/qemu/trace-events-all
diff --git a/repos/extra/qemu/abuild b/repos/extra/qemu/abuild
index 308436b9..68063aaf 100644
--- a/repos/extra/qemu/abuild
+++ b/repos/extra/qemu/abuild
@@ -1,7 +1,6 @@
name=qemu
-version=9.1.2
+version=9.2.0
release=1
-source="https://download.$name.org/$name-$version.tar.xz
- lfs64.patch"
+source="https://download.$name.org/$name-$version.tar.xz"
build_type=configure_build
build_opt="--target-list=x86_64-softmmu --disable-gtk --enable-slirp --audio-drv-list=alsa"
diff --git a/repos/extra/qemu/lfs64.patch b/repos/extra/qemu/lfs64.patch
deleted file mode 100644
index 3654d5e7..00000000
--- a/repos/extra/qemu/lfs64.patch
+++ /dev/null
@@ -1,204 +0,0 @@
-diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index bbba2a6..38fa09a 100644
---- a/linux-user/syscall.c
-+++ b/linux-user/syscall.c
-@@ -6812,13 +6812,13 @@ static int target_to_host_fcntl_cmd(int cmd)
- ret = cmd;
- break;
- case TARGET_F_GETLK:
-- ret = F_GETLK64;
-+ ret = F_GETLK;
- break;
- case TARGET_F_SETLK:
-- ret = F_SETLK64;
-+ ret = F_SETLK;
- break;
- case TARGET_F_SETLKW:
-- ret = F_SETLKW64;
-+ ret = F_SETLKW;
- break;
- case TARGET_F_GETOWN:
- ret = F_GETOWN;
-@@ -6834,13 +6834,13 @@ static int target_to_host_fcntl_cmd(int cmd)
- break;
- #if TARGET_ABI_BITS == 32
- case TARGET_F_GETLK64:
-- ret = F_GETLK64;
-+ ret = F_GETLK;
- break;
- case TARGET_F_SETLK64:
-- ret = F_SETLK64;
-+ ret = F_SETLK;
- break;
- case TARGET_F_SETLKW64:
-- ret = F_SETLKW64;
-+ ret = F_SETLKW;
- break;
- #endif
- case TARGET_F_SETLEASE:
-@@ -6894,8 +6894,8 @@ static int target_to_host_fcntl_cmd(int cmd)
- * them to 5, 6 and 7 before making the syscall(). Since we make the
- * syscall directly, adjust to what is supported by the kernel.
- */
-- if (ret >= F_GETLK64 && ret <= F_SETLKW64) {
-- ret -= F_GETLK64 - 5;
-+ if (ret >= F_GETLK && ret <= F_SETLKW) {
-+ ret -= F_GETLK - 5;
- }
- #endif
-
-@@ -6928,7 +6928,7 @@ static int host_to_target_flock(int type)
- return type;
- }
-
--static inline abi_long copy_from_user_flock(struct flock64 *fl,
-+static inline abi_long copy_from_user_flock(struct flock *fl,
- abi_ulong target_flock_addr)
- {
- struct target_flock *target_fl;
-@@ -6953,7 +6953,7 @@ static inline abi_long copy_from_user_flock(struct flock64 *fl,
- }
-
- static inline abi_long copy_to_user_flock(abi_ulong target_flock_addr,
-- const struct flock64 *fl)
-+ const struct flock *fl)
- {
- struct target_flock *target_fl;
- short l_type;
-@@ -6972,8 +6972,8 @@ static inline abi_long copy_to_user_flock(abi_ulong target_flock_addr,
- return 0;
- }
-
--typedef abi_long from_flock64_fn(struct flock64 *fl, abi_ulong target_addr);
--typedef abi_long to_flock64_fn(abi_ulong target_addr, const struct flock64 *fl);
-+typedef abi_long from_flock64_fn(struct flock *fl, abi_ulong target_addr);
-+typedef abi_long to_flock64_fn(abi_ulong target_addr, const struct flock *fl);
-
- #if defined(TARGET_ARM) && TARGET_ABI_BITS == 32
- struct target_oabi_flock64 {
-@@ -6984,7 +6984,7 @@ struct target_oabi_flock64 {
- abi_int l_pid;
- } QEMU_PACKED;
-
--static inline abi_long copy_from_user_oabi_flock64(struct flock64 *fl,
-+static inline abi_long copy_from_user_oabi_flock64(struct flock *fl,
- abi_ulong target_flock_addr)
- {
- struct target_oabi_flock64 *target_fl;
-@@ -7009,7 +7009,7 @@ static inline abi_long copy_from_user_oabi_flock64(struct flock64 *fl,
- }
-
- static inline abi_long copy_to_user_oabi_flock64(abi_ulong target_flock_addr,
-- const struct flock64 *fl)
-+ const struct flock *fl)
- {
- struct target_oabi_flock64 *target_fl;
- short l_type;
-@@ -7029,7 +7029,7 @@ static inline abi_long copy_to_user_oabi_flock64(abi_ulong target_flock_addr,
- }
- #endif
-
--static inline abi_long copy_from_user_flock64(struct flock64 *fl,
-+static inline abi_long copy_from_user_flock64(struct flock *fl,
- abi_ulong target_flock_addr)
- {
- struct target_flock64 *target_fl;
-@@ -7054,7 +7054,7 @@ static inline abi_long copy_from_user_flock64(struct flock64 *fl,
- }
-
- static inline abi_long copy_to_user_flock64(abi_ulong target_flock_addr,
-- const struct flock64 *fl)
-+ const struct flock *fl)
- {
- struct target_flock64 *target_fl;
- short l_type;
-@@ -7075,7 +7075,7 @@ static inline abi_long copy_to_user_flock64(abi_ulong target_flock_addr,
-
- static abi_long do_fcntl(int fd, int cmd, abi_ulong arg)
- {
-- struct flock64 fl64;
-+ struct flock fl64;
- #ifdef F_GETOWN_EX
- struct f_owner_ex fox;
- struct target_f_owner_ex *target_fox;
-@@ -7347,7 +7347,7 @@ static inline abi_long target_truncate64(CPUArchState *cpu_env, const char *arg1
- arg2 = arg3;
- arg3 = arg4;
- }
-- return get_errno(truncate64(arg1, target_offset64(arg2, arg3)));
-+ return get_errno(truncate(arg1, target_offset64(arg2, arg3)));
- }
- #endif
-
-@@ -7361,7 +7361,7 @@ static inline abi_long target_ftruncate64(CPUArchState *cpu_env, abi_long arg1,
- arg2 = arg3;
- arg3 = arg4;
- }
-- return get_errno(ftruncate64(arg1, target_offset64(arg2, arg3)));
-+ return get_errno(ftruncate(arg1, target_offset64(arg2, arg3)));
- }
- #endif
-
-@@ -8597,7 +8597,7 @@ static int do_getdents(abi_long dirfd, abi_long arg2, abi_long count)
- void *tdirp;
- int hlen, hoff, toff;
- int hreclen, treclen;
-- off64_t prev_diroff = 0;
-+ off_t prev_diroff = 0;
-
- hdirp = g_try_malloc(count);
- if (!hdirp) {
-@@ -8650,7 +8650,7 @@ static int do_getdents(abi_long dirfd, abi_long arg2, abi_long count)
- * Return what we have, resetting the file pointer to the
- * location of the first record not returned.
- */
-- lseek64(dirfd, prev_diroff, SEEK_SET);
-+ lseek(dirfd, prev_diroff, SEEK_SET);
- break;
- }
-
-@@ -8684,7 +8684,7 @@ static int do_getdents64(abi_long dirfd, abi_long arg2, abi_long count)
- void *tdirp;
- int hlen, hoff, toff;
- int hreclen, treclen;
-- off64_t prev_diroff = 0;
-+ off_t prev_diroff = 0;
-
- hdirp = g_try_malloc(count);
- if (!hdirp) {
-@@ -8726,7 +8726,7 @@ static int do_getdents64(abi_long dirfd, abi_long arg2, abi_long count)
- * Return what we have, resetting the file pointer to the
- * location of the first record not returned.
- */
-- lseek64(dirfd, prev_diroff, SEEK_SET);
-+ lseek(dirfd, prev_diroff, SEEK_SET);
- break;
- }
-
-@@ -11157,7 +11157,7 @@ static abi_long do_syscall1(CPUArchState *cpu_env, int num, abi_long arg1,
- return -TARGET_EFAULT;
- }
- }
-- ret = get_errno(pread64(arg1, p, arg3, target_offset64(arg4, arg5)));
-+ ret = get_errno(pread(arg1, p, arg3, target_offset64(arg4, arg5)));
- unlock_user(p, arg2, ret);
- return ret;
- case TARGET_NR_pwrite64:
-@@ -11174,7 +11174,7 @@ static abi_long do_syscall1(CPUArchState *cpu_env, int num, abi_long arg1,
- return -TARGET_EFAULT;
- }
- }
-- ret = get_errno(pwrite64(arg1, p, arg3, target_offset64(arg4, arg5)));
-+ ret = get_errno(pwrite(arg1, p, arg3, target_offset64(arg4, arg5)));
- unlock_user(p, arg2, 0);
- return ret;
- #endif
-@@ -12034,7 +12034,7 @@ static abi_long do_syscall1(CPUArchState *cpu_env, int num, abi_long arg1,
- case TARGET_NR_fcntl64:
- {
- int cmd;
-- struct flock64 fl;
-+ struct flock fl;
- from_flock64_fn *copyfrom = copy_from_user_flock64;
- to_flock64_fn *copyto = copy_to_user_flock64;
-