mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to qemu-10.2.0, from Brad (maintainer), plus I regen'd plist
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 riscv64
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 riscv64 sparc64
|
||||
DPB_PROPERTIES= parallel
|
||||
|
||||
USE_NOBTCFI= Yes
|
||||
@@ -6,7 +6,7 @@ USE_NOBTCFI= Yes
|
||||
COMMENT-main= multi system emulator
|
||||
COMMENT-ga= QEMU guest agent
|
||||
|
||||
VERSION= 10.0.2
|
||||
VERSION= 10.2.0
|
||||
DISTNAME= qemu-${VERSION}
|
||||
CATEGORIES= emulators
|
||||
SITES= https://download.qemu.org/
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (qemu-10.0.2.tar.xz) = 73hvI5jLUYRgD2mu9NXWke/URXajz/QSbTjUxv7Id1k=
|
||||
SIZE (qemu-10.0.2.tar.xz) = 135678180
|
||||
SHA256 (qemu-10.2.0.tar.xz) = njCtG4ufe0RjABWC0aspfznPzOpdCFQMDKbWZyeFiDo=
|
||||
SIZE (qemu-10.2.0.tar.xz) = 141093360
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Index: block/nfs.c
|
||||
--- block/nfs.c.orig
|
||||
+++ block/nfs.c
|
||||
@@ -271,8 +271,13 @@ static int coroutine_fn nfs_co_preadv(BlockDriverState
|
||||
@@ -270,8 +270,13 @@ static int coroutine_fn nfs_co_preadv(BlockDriverState
|
||||
task.iov = iov;
|
||||
|
||||
WITH_QEMU_LOCK_GUARD(&client->mutex) {
|
||||
@@ -17,7 +17,7 @@ Index: block/nfs.c
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
@@ -317,9 +322,15 @@ static int coroutine_fn nfs_co_pwritev(BlockDriverStat
|
||||
@@ -314,9 +319,15 @@ static int coroutine_fn nfs_co_pwritev(BlockDriverStat
|
||||
}
|
||||
|
||||
WITH_QEMU_LOCK_GUARD(&client->mutex) {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
- revert retguard bug workaround
|
||||
- support for libnfs API v2
|
||||
- localstatedir does not belong under prefix
|
||||
- remove hardcoding of optimization
|
||||
@@ -6,17 +5,7 @@
|
||||
Index: meson.build
|
||||
--- meson.build.orig
|
||||
+++ meson.build
|
||||
@@ -702,8 +702,7 @@ hardening_flags = [
|
||||
#
|
||||
# NB2: This clashes with the "retguard" extension of OpenBSD's Clang
|
||||
# https://gitlab.com/qemu-project/qemu/-/issues/2278
|
||||
-if host_os != 'openbsd' and \
|
||||
- cc.compiles('extern struct { void (*cb)(void); } s; void f(void) { s.cb(); }',
|
||||
+if cc.compiles('extern struct { void (*cb)(void); } s; void f(void) { s.cb(); }',
|
||||
name: '-fzero-call-used-regs=used-gpr',
|
||||
args: ['-O2', '-fzero-call-used-regs=used-gpr'])
|
||||
hardening_flags += '-fzero-call-used-regs=used-gpr'
|
||||
@@ -1154,7 +1153,7 @@ endif
|
||||
@@ -1178,7 +1178,7 @@ endif
|
||||
|
||||
libnfs = not_found
|
||||
if not get_option('libnfs').auto() or have_block
|
||||
@@ -25,7 +14,7 @@ Index: meson.build
|
||||
required: get_option('libnfs'),
|
||||
method: 'pkg-config')
|
||||
endif
|
||||
@@ -2412,7 +2411,7 @@ config_host_data.set('CONFIG_QEMU_FIRMWAREPATH', qemu_
|
||||
@@ -2411,7 +2411,7 @@ config_host_data.set('CONFIG_QEMU_FIRMWAREPATH', qemu_
|
||||
config_host_data.set_quoted('CONFIG_QEMU_HELPERDIR', get_option('prefix') / get_option('libexecdir'))
|
||||
config_host_data.set_quoted('CONFIG_QEMU_ICONDIR', get_option('prefix') / qemu_icondir)
|
||||
config_host_data.set_quoted('CONFIG_QEMU_LOCALEDIR', get_option('prefix') / get_option('localedir'))
|
||||
@@ -34,7 +23,7 @@ Index: meson.build
|
||||
config_host_data.set_quoted('CONFIG_QEMU_MODDIR', get_option('prefix') / qemu_moddir)
|
||||
config_host_data.set_quoted('CONFIG_SYSCONFDIR', get_option('prefix') / get_option('sysconfdir'))
|
||||
|
||||
@@ -4584,9 +4583,6 @@ if have_rust
|
||||
@@ -4731,9 +4731,6 @@ if have_rust
|
||||
summary_info += {'bindgen version': bindgen.version()}
|
||||
endif
|
||||
option_cflags = (get_option('debug') ? ['-g'] : [])
|
||||
|
||||
@@ -3,7 +3,7 @@ Adapted from https://github.com/aborche/qemu-guest-agent
|
||||
Index: qga/main.c
|
||||
--- qga/main.c.orig
|
||||
+++ qga/main.c
|
||||
@@ -44,7 +44,11 @@
|
||||
@@ -45,7 +45,11 @@
|
||||
#else /* CONFIG_BSD */
|
||||
#define QGA_VIRTIO_PATH_DEFAULT "/dev/virtio-ports/org.qemu.guest_agent.0"
|
||||
#endif /* CONFIG_BSD */
|
||||
@@ -15,7 +15,7 @@ Index: qga/main.c
|
||||
#define QGA_STATE_RELATIVE_DIR "run"
|
||||
#else
|
||||
#define QGA_VIRTIO_PATH_DEFAULT "\\\\.\\Global\\org.qemu.guest_agent.0"
|
||||
@@ -1613,7 +1617,11 @@ int main(int argc, char **argv)
|
||||
@@ -1656,7 +1660,11 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (config->method == NULL) {
|
||||
|
||||
@@ -5,7 +5,7 @@ Adds support for "guest-get-fsinfo" and "guest-get-vcpus"
|
||||
Index: qga/qapi-schema.json
|
||||
--- qga/qapi-schema.json.orig
|
||||
+++ qga/qapi-schema.json
|
||||
@@ -775,7 +775,7 @@
|
||||
@@ -762,7 +762,7 @@
|
||||
'data': {'logical-id': 'int',
|
||||
'online': 'bool',
|
||||
'*can-offline': 'bool'},
|
||||
@@ -14,7 +14,7 @@ Index: qga/qapi-schema.json
|
||||
|
||||
##
|
||||
# @guest-get-vcpus:
|
||||
@@ -791,7 +791,7 @@
|
||||
@@ -778,7 +778,7 @@
|
||||
##
|
||||
{ 'command': 'guest-get-vcpus',
|
||||
'returns': ['GuestLogicalProcessor'],
|
||||
@@ -23,16 +23,16 @@ Index: qga/qapi-schema.json
|
||||
|
||||
##
|
||||
# @guest-set-vcpus:
|
||||
@@ -887,7 +887,7 @@
|
||||
@@ -874,7 +874,7 @@
|
||||
'data': [ 'ide', 'fdc', 'scsi', 'virtio', 'xen', 'usb', 'uml', 'sata',
|
||||
'sd', 'unknown', 'ieee1394', 'ssa', 'fibre', 'raid', 'iscsi',
|
||||
'sas', 'mmc', 'virtual', 'file-backed-virtual', 'nvme' ],
|
||||
- 'if': { 'any': [ 'CONFIG_WIN32', 'CONFIG_LINUX' ] } }
|
||||
+ 'if': { 'any': [ 'CONFIG_WIN32', 'CONFIG_LINUX', 'CONFIG_BSD' ] } }
|
||||
|
||||
|
||||
##
|
||||
@@ -906,7 +906,7 @@
|
||||
# @GuestPCIAddress:
|
||||
@@ -892,7 +892,7 @@
|
||||
{ 'struct': 'GuestPCIAddress',
|
||||
'data': {'domain': 'int', 'bus': 'int',
|
||||
'slot': 'int', 'function': 'int'},
|
||||
@@ -41,7 +41,7 @@ Index: qga/qapi-schema.json
|
||||
|
||||
##
|
||||
# @GuestCCWAddress:
|
||||
@@ -926,7 +926,7 @@
|
||||
@@ -912,7 +912,7 @@
|
||||
'ssid': 'int',
|
||||
'subchno': 'int',
|
||||
'devno': 'int'},
|
||||
@@ -50,7 +50,7 @@ Index: qga/qapi-schema.json
|
||||
|
||||
##
|
||||
# @GuestDiskAddress:
|
||||
@@ -956,7 +956,7 @@
|
||||
@@ -942,7 +942,7 @@
|
||||
'bus': 'int', 'target': 'int', 'unit': 'int',
|
||||
'*serial': 'str', '*dev': 'str',
|
||||
'*ccw-address': 'GuestCCWAddress'},
|
||||
@@ -59,7 +59,7 @@ Index: qga/qapi-schema.json
|
||||
|
||||
##
|
||||
# @GuestNVMeSmart:
|
||||
@@ -1076,7 +1076,7 @@
|
||||
@@ -1063,7 +1063,7 @@
|
||||
'data': {'name': 'str', 'mountpoint': 'str', 'type': 'str',
|
||||
'*used-bytes': 'uint64', '*total-bytes': 'uint64',
|
||||
'*total-bytes-privileged': 'uint64', 'disk': ['GuestDiskAddress']},
|
||||
@@ -68,7 +68,7 @@ Index: qga/qapi-schema.json
|
||||
|
||||
##
|
||||
# @guest-get-fsinfo:
|
||||
@@ -1090,7 +1090,7 @@
|
||||
@@ -1077,7 +1077,7 @@
|
||||
##
|
||||
{ 'command': 'guest-get-fsinfo',
|
||||
'returns': ['GuestFilesystemInfo'],
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: tests/qtest/meson.build
|
||||
--- tests/qtest/meson.build.orig
|
||||
+++ tests/qtest/meson.build
|
||||
@@ -385,14 +385,6 @@ qtests = {
|
||||
'ast2700-smc-test': files('aspeed-smc-utils.c', 'ast2700-smc-test.c'),
|
||||
@@ -394,14 +394,6 @@ qtests = {
|
||||
'netdev-socket': files('netdev-socket.c', '../unit/socket-helpers.c'),
|
||||
}
|
||||
|
||||
-if vnc.found()
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
Set OpenBSD/powerpc cache sizes.
|
||||
|
||||
Index: util/cacheflush.c
|
||||
--- util/cacheflush.c.orig
|
||||
+++ util/cacheflush.c
|
||||
@@ -167,6 +167,13 @@ static void arch_cache_info(int *isize, int *dsize)
|
||||
have_coherent_icache = qemu_getauxval(AT_HWCAP) & PPC_FEATURE_ICACHE_SNOOP;
|
||||
}
|
||||
|
||||
+#elif defined(_ARCH_PPC) && defined (__OpenBSD__)
|
||||
+static void arch_cache_info(int *isize, int *dsize)
|
||||
+{
|
||||
+ *isize = 32;
|
||||
+ *dsize = 32;
|
||||
+}
|
||||
+
|
||||
#else
|
||||
static void arch_cache_info(int *isize, int *dsize) { }
|
||||
#endif /* arch_cache_info */
|
||||
@@ -50,6 +50,7 @@ share/doc/qemu/.buildinfo
|
||||
share/doc/qemu/_sources/
|
||||
share/doc/qemu/_static/
|
||||
share/doc/qemu/_static/_sphinx_javascript_frameworks_compat.js
|
||||
share/doc/qemu/_static/base-stemmer.js
|
||||
share/doc/qemu/_static/basic.css
|
||||
share/doc/qemu/_static/css/
|
||||
share/doc/qemu/_static/css/badge_only.css
|
||||
@@ -75,6 +76,7 @@ share/doc/qemu/_static/css/theme.css
|
||||
share/doc/qemu/_static/custom.js
|
||||
share/doc/qemu/_static/doctools.js
|
||||
share/doc/qemu/_static/documentation_options.js
|
||||
share/doc/qemu/_static/english-stemmer.js
|
||||
share/doc/qemu/_static/file.png
|
||||
share/doc/qemu/_static/jquery.js
|
||||
share/doc/qemu/_static/js/
|
||||
@@ -106,6 +108,7 @@ share/doc/qemu/devel/build-environment.html
|
||||
share/doc/qemu/devel/build-system.html
|
||||
share/doc/qemu/devel/clocks.html
|
||||
share/doc/qemu/devel/code-of-conduct.html
|
||||
share/doc/qemu/devel/code-provenance.html
|
||||
share/doc/qemu/devel/codebase.html
|
||||
share/doc/qemu/devel/conflict-resolution.html
|
||||
share/doc/qemu/devel/control-flow-integrity.html
|
||||
@@ -167,7 +170,6 @@ share/doc/qemu/devel/tcg-plugins.html
|
||||
share/doc/qemu/devel/tcg.html
|
||||
share/doc/qemu/devel/testing/
|
||||
share/doc/qemu/devel/testing/acpi-bits.html
|
||||
share/doc/qemu/devel/testing/avocado.html
|
||||
share/doc/qemu/devel/testing/blkdebug.html
|
||||
share/doc/qemu/devel/testing/blkverify.html
|
||||
share/doc/qemu/devel/testing/ci.html
|
||||
@@ -199,9 +201,12 @@ share/doc/qemu/interop/nbd.html
|
||||
share/doc/qemu/interop/parallels.html
|
||||
share/doc/qemu/interop/pr-helper.html
|
||||
share/doc/qemu/interop/prl-xml.html
|
||||
share/doc/qemu/interop/qcow2.html
|
||||
share/doc/qemu/interop/qed_spec.html
|
||||
share/doc/qemu/interop/qemu-qmp-ref.html
|
||||
share/doc/qemu/interop/qemu-storage-daemon-qmp-ref.html
|
||||
share/doc/qemu/interop/qmp-spec.html
|
||||
share/doc/qemu/interop/vfio-user.html
|
||||
share/doc/qemu/interop/vhost-user-gpu.html
|
||||
share/doc/qemu/interop/vhost-user.html
|
||||
share/doc/qemu/interop/vhost-vdpa.html
|
||||
@@ -267,6 +272,7 @@ share/doc/qemu/system/arm/imx25-pdk.html
|
||||
share/doc/qemu/system/arm/imx8mp-evk.html
|
||||
share/doc/qemu/system/arm/integratorcp.html
|
||||
share/doc/qemu/system/arm/kzm.html
|
||||
share/doc/qemu/system/arm/max78000.html
|
||||
share/doc/qemu/system/arm/mcimx6ul-evk.html
|
||||
share/doc/qemu/system/arm/mcimx7d-sabre.html
|
||||
share/doc/qemu/system/arm/mps2.html
|
||||
@@ -301,6 +307,7 @@ share/doc/qemu/system/devices/can.html
|
||||
share/doc/qemu/system/devices/canokey.html
|
||||
share/doc/qemu/system/devices/ccid.html
|
||||
share/doc/qemu/system/devices/cxl.html
|
||||
share/doc/qemu/system/devices/emmc.html
|
||||
share/doc/qemu/system/devices/igb.html
|
||||
share/doc/qemu/system/devices/ivshmem-flat.html
|
||||
share/doc/qemu/system/devices/ivshmem.html
|
||||
@@ -309,12 +316,14 @@ share/doc/qemu/system/devices/net.html
|
||||
share/doc/qemu/system/devices/nvme.html
|
||||
share/doc/qemu/system/devices/usb-u2f.html
|
||||
share/doc/qemu/system/devices/usb.html
|
||||
share/doc/qemu/system/devices/vhost-user-input.html
|
||||
share/doc/qemu/system/devices/vhost-user-rng.html
|
||||
share/doc/qemu/system/devices/vhost-user.html
|
||||
share/doc/qemu/system/devices/virtio-gpu.html
|
||||
share/doc/qemu/system/devices/virtio-pmem.html
|
||||
share/doc/qemu/system/devices/virtio-snd.html
|
||||
share/doc/qemu/system/devices/vfio-user.html
|
||||
share/doc/qemu/system/devices/virtio/
|
||||
share/doc/qemu/system/devices/virtio/index.html
|
||||
share/doc/qemu/system/devices/virtio/vhost-user-contrib.html
|
||||
share/doc/qemu/system/devices/virtio/vhost-user.html
|
||||
share/doc/qemu/system/devices/virtio/virtio-gpu.html
|
||||
share/doc/qemu/system/devices/virtio/virtio-pmem.html
|
||||
share/doc/qemu/system/devices/virtio/virtio-snd.html
|
||||
share/doc/qemu/system/gdb.html
|
||||
share/doc/qemu/system/generic-loader.html
|
||||
share/doc/qemu/system/guest-loader.html
|
||||
@@ -327,8 +336,10 @@ share/doc/qemu/system/i386/microvm.html
|
||||
share/doc/qemu/system/i386/nitro-enclave.html
|
||||
share/doc/qemu/system/i386/pc.html
|
||||
share/doc/qemu/system/i386/sgx.html
|
||||
share/doc/qemu/system/i386/tdx.html
|
||||
share/doc/qemu/system/i386/xen.html
|
||||
share/doc/qemu/system/i386/xenpvh.html
|
||||
share/doc/qemu/system/igvm.html
|
||||
share/doc/qemu/system/images.html
|
||||
share/doc/qemu/system/index.html
|
||||
share/doc/qemu/system/introduction.html
|
||||
@@ -365,6 +376,7 @@ share/doc/qemu/system/riscv/microchip-icicle-kit.html
|
||||
share/doc/qemu/system/riscv/shakti-c.html
|
||||
share/doc/qemu/system/riscv/sifive_u.html
|
||||
share/doc/qemu/system/riscv/virt.html
|
||||
share/doc/qemu/system/riscv/xiangshan-kunminghu.html
|
||||
share/doc/qemu/system/s390x/
|
||||
share/doc/qemu/system/s390x/3270.html
|
||||
share/doc/qemu/system/s390x/bootdevices.html
|
||||
@@ -376,6 +388,7 @@ share/doc/qemu/system/s390x/vfio-ap.html
|
||||
share/doc/qemu/system/s390x/vfio-ccw.html
|
||||
share/doc/qemu/system/secrets.html
|
||||
share/doc/qemu/system/security.html
|
||||
share/doc/qemu/system/sriov.html
|
||||
share/doc/qemu/system/target-arm.html
|
||||
share/doc/qemu/system/target-avr.html
|
||||
share/doc/qemu/system/target-i386.html
|
||||
@@ -440,11 +453,17 @@ share/locale/zh_CN/LC_MESSAGES/qemu.mo
|
||||
share/qemu/
|
||||
share/qemu/QEMU,cgthree.bin
|
||||
share/qemu/QEMU,tcx.bin
|
||||
share/qemu/bamboo.dtb
|
||||
share/qemu/ast27x0_bootrom.bin
|
||||
share/qemu/bios-256k.bin
|
||||
share/qemu/bios-microvm.bin
|
||||
share/qemu/bios.bin
|
||||
share/qemu/canyonlands.dtb
|
||||
share/qemu/dtb/
|
||||
share/qemu/dtb/bamboo.dtb
|
||||
share/qemu/dtb/canyonlands.dtb
|
||||
share/qemu/dtb/pegasos1.dtb
|
||||
share/qemu/dtb/pegasos2.dtb
|
||||
share/qemu/dtb/petalogix-ml605.dtb
|
||||
share/qemu/dtb/petalogix-s3adsp1800.dtb
|
||||
share/qemu/edk2-aarch64-code.fd
|
||||
share/qemu/edk2-arm-code.fd
|
||||
share/qemu/edk2-arm-vars.fd
|
||||
@@ -525,8 +544,6 @@ share/qemu/openbios-sparc64
|
||||
share/qemu/opensbi-riscv32-generic-fw_dynamic.bin
|
||||
share/qemu/opensbi-riscv64-generic-fw_dynamic.bin
|
||||
share/qemu/palcode-clipper
|
||||
share/qemu/petalogix-ml605.dtb
|
||||
share/qemu/petalogix-s3adsp1800.dtb
|
||||
share/qemu/pnv-pnor.bin
|
||||
share/qemu/pvh.bin
|
||||
share/qemu/pxe-e1000.rom
|
||||
@@ -542,7 +559,7 @@ share/qemu/s390-ccw.img
|
||||
share/qemu/skiboot.lid
|
||||
share/qemu/slof.bin
|
||||
share/qemu/trace-events-all
|
||||
share/qemu/u-boot-sam460-20100605.bin
|
||||
share/qemu/u-boot-sam460.bin
|
||||
share/qemu/u-boot.e500
|
||||
share/qemu/vgabios-ati.bin
|
||||
share/qemu/vgabios-bochs-display.bin
|
||||
|
||||
Reference in New Issue
Block a user