Dario Faggioli
e8c9119cb5
- Add an audio-oss sub-package - Add some new (mostly documentation) files in the package - Remove option --audio-drv-list because audio is detected by meson automatically in latest version. - Remove options --disable-jemalloc and --disable-tcmalloc which are changed in v6.2.0. - Update to v 6.2.0. For full release notese, see: * https://wiki.qemu.org/ChangeLog/6.2. Be sure to also check the following pages: * https://qemu-project.gitlab.io/qemu/about/removed-features.html * https://qemu-project.gitlab.io/qemu/about/deprecated.html Some notable changes: * virtio-mem: guest memory dumps are now fully supported, along with pre-copy/post-copy migration and background guest snapshots * QMP: support for nw DEVICE_UNPLUG_GUEST_ERROR to detect guest-reported hotplug failures * TCG: improvements to TCG plugin argument syntax, and multi-core support for cache plugin * 68k: improved support for Apple’s NuBus, including ability to load declaration ROMs, and slot IRQ support * ARM: macOS hosts with Apple Silicon CPUs now support ‘hvf’ accelerator for AArch64 guests * ARM: emulation support for Fujitsu A64FX processor model * ARM: emulation support for kudo-mbc machine type * ARM: M-profile MVE extension is now supported for Cortex-M55 * ARM: ‘virt’ machine now supports an emulated ITS (Interrupt Translation Service) and supports more than 123 CPUs in emulation mode * ARM: xlnx-zcu102 and xlnx-versal-virt machines now support BBRAM and eFUSE devices * PowerPC: improved POWER10 support for the ‘powernv’ machine type * PowerPC: initial support for POWER10 DD2.0 CPU model * PowerPC: support for FORM2 PAPR NUMA descriptions for ‘pseries’ machine type * RISC-V: support for Zb[abcs] instruction set extensions * RISC-V: support for vhost-user and numa mem options across all boards * RISC-V: SiFive PWM support * x86: support for new Snowridge-v4 CPU model * x86: guest support for Intel SGX * x86: AMD SEV guests now support measurement of kernel binary when doing direct kernel boot (not using a bootloader) * Patches dropped: 9pfs-fix-crash-in-v9fs_walk.patch block-introduce-max_hw_iov-for-use-in-sc.patch hmp-Unbreak-change-vnc.patch hw-acpi-ich9-Add-compat-prop-to-keep-HPC.patch hw-i386-acpi-build-Deny-control-on-PCIe-.patch i386-cpu-Remove-AVX_VNNI-feature-from-Co.patch net-vmxnet3-validate-configuration-value.patch pcie-rename-native-hotplug-to-x-native-h.patch plugins-do-not-limit-exported-symbols-if.patch plugins-execlog-removed-unintended-s-at-.patch qemu-nbd-Change-default-cache-mode-to-wr.patch qemu-sockets-fix-unix-socket-path-copy-a.patch target-arm-Don-t-skip-M-profile-reset-en.patch target-i386-add-missing-bits-to-CR4_RESE.patch tcg-arm-Fix-tcg_out_vec_op-function-sign.patch uas-add-stream-number-sanity-checks.patch vhost-vsock-fix-migration-issue-when-seq.patch virtio-balloon-don-t-start-free-page-hin.patch virtio-mem-pci-Fix-memory-leak-when-crea.patch virtio-net-fix-use-after-unmap-free-for-.patch OBS-URL: https://build.opensuse.org/request/show/941047 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=681
65 lines
2.0 KiB
Diff
65 lines
2.0 KiB
Diff
From: Alexander Graf <agraf@suse.de>
|
|
Date: Mon, 23 Jul 2012 10:24:14 +0200
|
|
Subject: linux-user: Fake /proc/cpuinfo
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Fedora 17 for ARM reads /proc/cpuinfo and fails if it doesn't contain
|
|
ARM related contents. This patch implements a quick hack to expose real
|
|
/proc/cpuinfo data taken from a real world machine.
|
|
|
|
The real fix would be to generate at least the flags automatically based
|
|
on the selected CPU. Please do not submit this patch upstream until this
|
|
has happened.
|
|
|
|
Signed-off-by: Alexander Graf <agraf@suse.de>
|
|
[AF: Rebased for v1.6 and v1.7]
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
---
|
|
linux-user/syscall.c | 24 ++++++++++++++++++++++++
|
|
1 file changed, 24 insertions(+)
|
|
|
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
|
index 0a1d99cb44d168d561de4c42e132..d4f3295b9d1837126f35d8357e80 100644
|
|
--- a/linux-user/syscall.c
|
|
+++ b/linux-user/syscall.c
|
|
@@ -7871,6 +7871,27 @@ static int open_self_stat(void *cpu_env, int fd)
|
|
return 0;
|
|
}
|
|
|
|
+#if defined(TARGET_ARM)
|
|
+static int open_cpuinfo(void *cpu_env, int fd)
|
|
+{
|
|
+ dprintf(fd,
|
|
+"Processor : ARMv7 Processor rev 5 (v7l)\n"
|
|
+"BogoMIPS : 799.53\n"
|
|
+"Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3\n"
|
|
+"CPU implementer : 0x41\n"
|
|
+"CPU architecture: 7\n"
|
|
+"CPU variant : 0x2\n"
|
|
+"CPU part : 0xc08\n"
|
|
+"CPU revision : 5\n"
|
|
+"\n"
|
|
+"Hardware : Genesi Efika MX (Smarttop)\n"
|
|
+"Revision : 51030\n"
|
|
+"Serial : 0000000000000000\n");
|
|
+
|
|
+ return 0;
|
|
+}
|
|
+#endif
|
|
+
|
|
static int open_self_auxv(void *cpu_env, int fd)
|
|
{
|
|
CPUState *cpu = env_cpu((CPUArchState *)cpu_env);
|
|
@@ -8025,6 +8046,9 @@ static int do_openat(void *cpu_env, int dirfd, const char *pathname, int flags,
|
|
#if defined(TARGET_SPARC) || defined(TARGET_HPPA)
|
|
{ "/proc/cpuinfo", open_cpuinfo, is_proc },
|
|
#endif
|
|
+#if defined(TARGET_ARM)
|
|
+ { "cpuinfo", open_cpuinfo, is_proc_myself },
|
|
+#endif
|
|
#if defined(TARGET_M68K)
|
|
{ "/proc/hardware", open_hardware, is_proc },
|
|
#endif
|