Here is an update to QEMU 9.0.0.
https://wiki.qemu.org/ChangeLog/9.0
Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.238
diff -u -p -u -p -r1.238 Makefile
--- Makefile 23 Mar 2024 18:08:31 -0000 1.238
+++ Makefile 24 Apr 2024 05:35:12 -0000
@@ -6,7 +6,7 @@ USE_NOBTCFI= Yes
COMMENT-main= multi system emulator
COMMENT-ga= QEMU guest agent
-VERSION= 8.2.2
+VERSION= 9.0.0
DISTNAME= qemu-${VERSION}
CATEGORIES= emulators
SITES= https://download.qemu.org/
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/qemu/distinfo,v
retrieving revision 1.72
diff -u -p -u -p -r1.72 distinfo
--- distinfo 23 Mar 2024 18:08:31 -0000 1.72
+++ distinfo 24 Apr 2024 05:35:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (qemu-8.2.2.tar.xz) = hHNGwbgsGlSyw49u29hVSe3rF0MLfU09oSYg4pYrxPM=
-SIZE (qemu-8.2.2.tar.xz) = 129398020
+SHA256 (qemu-9.0.0.tar.xz) = MnCKxmww2MiSYz6paMdxwcdtWX1w3erSGg0izPOG2mk=
+SIZE (qemu-9.0.0.tar.xz) = 129789856
Index: patches/patch-meson_build
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-meson_build,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 patch-meson_build
--- patches/patch-meson_build 26 Feb 2024 13:30:18 -0000 1.12
+++ patches/patch-meson_build 24 Apr 2024 05:35:12 -0000
@@ -4,7 +4,7 @@
Index: meson.build
--- meson.build.orig
+++ meson.build
-@@ -2070,7 +2070,7 @@ config_host_data.set('CONFIG_QEMU_FIRMWAREPATH', qemu_
+@@ -2156,7 +2156,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'))
@@ -13,7 +13,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'))
-@@ -4144,9 +4144,6 @@ else
+@@ -4226,9 +4226,6 @@ else
summary_info += {'Objective-C compiler': false}
endif
option_cflags = (get_option('debug') ? ['-g'] : [])
Index: patches/patch-qga_commands-posix_c
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-qga_commands-posix_c,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 patch-qga_commands-posix_c
--- patches/patch-qga_commands-posix_c 26 Feb 2024 13:30:18 -0000 1.9
+++ patches/patch-qga_commands-posix_c 24 Apr 2024 05:35:13 -0000
@@ -5,7 +5,7 @@ Adds support for "guest-get-fsinfo" and
Index: qga/commands-posix.c
--- qga/commands-posix.c.orig
+++ qga/commands-posix.c
-@@ -56,6 +56,11 @@
+@@ -59,6 +59,11 @@
#endif
#endif
@@ -17,7 +17,7 @@ Index: qga/commands-posix.c
static void ga_wait_child(pid_t pid, int *status, Error **errp)
{
pid_t rpid;
-@@ -2747,7 +2752,7 @@ GuestCpuStatsList *qmp_guest_get_cpustats(Error **errp
+@@ -2750,7 +2755,7 @@ GuestCpuStatsList *qmp_guest_get_cpustats(Error **errp
return head;
}
@@ -26,7 +26,7 @@ Index: qga/commands-posix.c
void qmp_guest_suspend_disk(Error **errp)
{
-@@ -2766,10 +2771,99 @@ void qmp_guest_suspend_hybrid(Error **errp)
+@@ -2769,10 +2774,99 @@ void qmp_guest_suspend_hybrid(Error **errp)
GuestLogicalProcessorList *qmp_guest_get_vcpus(Error **errp)
{
@@ -126,7 +126,7 @@ Index: qga/commands-posix.c
int64_t qmp_guest_set_vcpus(GuestLogicalProcessorList *vcpus, Error **errp)
{
error_setg(errp, QERR_UNSUPPORTED);
-@@ -3064,11 +3158,245 @@ GuestNetworkInterfaceList *qmp_guest_network_get_inter
+@@ -3067,11 +3161,245 @@ GuestNetworkInterfaceList *qmp_guest_network_get_inter
#if !defined(CONFIG_FSFREEZE)
@@ -372,7 +372,7 @@ Index: qga/commands-posix.c
GuestFsfreezeStatus qmp_guest_fsfreeze_status(Error **errp)
{
-@@ -3134,12 +3462,21 @@ GList *ga_command_init_blockedrpcs(GList *blockedrpcs)
+@@ -3137,12 +3465,21 @@ GList *ga_command_init_blockedrpcs(GList *blockedrpcs)
{
#if !defined(__linux__)
{
@@ -394,7 +394,7 @@ Index: qga/commands-posix.c
char **p = (char **)list;
while (*p) {
-@@ -3155,11 +3492,19 @@ GList *ga_command_init_blockedrpcs(GList *blockedrpcs)
+@@ -3158,11 +3495,19 @@ GList *ga_command_init_blockedrpcs(GList *blockedrpcs)
#if !defined(CONFIG_FSFREEZE)
{
Index: patches/patch-tcg_riscv_tcg-target_c_inc
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-tcg_riscv_tcg-target_c_inc,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-tcg_riscv_tcg-target_c_inc
--- patches/patch-tcg_riscv_tcg-target_c_inc 20 Apr 2024 19:23:07 -0000
1.1
+++ patches/patch-tcg_riscv_tcg-target_c_inc 24 Apr 2024 05:35:13 -0000
@@ -1,7 +1,7 @@
Index: tcg/riscv/tcg-target.c.inc
--- tcg/riscv/tcg-target.c.inc.orig
+++ tcg/riscv/tcg-target.c.inc
-@@ -2115,7 +2115,7 @@ static void sigill_handler(int signo, siginfo_t *si, v
+@@ -2116,7 +2116,7 @@ static void sigill_handler(int signo, siginfo_t *si, v
{
/* Skip the faulty instruction */
ucontext_t *uc = (ucontext_t *)data;
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/emulators/qemu/pkg/PLIST-main,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 PLIST-main
--- pkg/PLIST-main 26 Feb 2024 13:30:18 -0000 1.16
+++ pkg/PLIST-main 24 Apr 2024 05:35:13 -0000
@@ -111,6 +111,7 @@ share/doc/qemu/devel/code-of-conduct.htm
share/doc/qemu/devel/conflict-resolution.html
share/doc/qemu/devel/control-flow-integrity.html
share/doc/qemu/devel/decodetree.html
+share/doc/qemu/devel/docs.html
share/doc/qemu/devel/ebpf_rss.html
share/doc/qemu/devel/fuzzing.html
share/doc/qemu/devel/index-api.html
@@ -123,7 +124,18 @@ share/doc/qemu/devel/kconfig.html
share/doc/qemu/devel/loads-stores.html
share/doc/qemu/devel/maintainers.html
share/doc/qemu/devel/memory.html
-share/doc/qemu/devel/migration.html
+share/doc/qemu/devel/migration/
+share/doc/qemu/devel/migration/CPR.html
+share/doc/qemu/devel/migration/best-practices.html
+share/doc/qemu/devel/migration/compatibility.html
+share/doc/qemu/devel/migration/dirty-limit.html
+share/doc/qemu/devel/migration/features.html
+share/doc/qemu/devel/migration/index.html
+share/doc/qemu/devel/migration/main.html
+share/doc/qemu/devel/migration/mapped-ram.html
+share/doc/qemu/devel/migration/postcopy.html
+share/doc/qemu/devel/migration/vfio.html
+share/doc/qemu/devel/migration/virtio.html
share/doc/qemu/devel/modules.html
share/doc/qemu/devel/multi-process.html
share/doc/qemu/devel/multi-thread-tcg.html
@@ -151,7 +163,7 @@ share/doc/qemu/devel/testing.html
share/doc/qemu/devel/tracing.html
share/doc/qemu/devel/trivial-patches.html
share/doc/qemu/devel/ui.html
-share/doc/qemu/devel/vfio-migration.html
+share/doc/qemu/devel/vfio-iommufd.html
share/doc/qemu/devel/virtio-backends.html
share/doc/qemu/devel/writing-monitor-commands.html
share/doc/qemu/devel/zoned-storage.html
@@ -185,6 +197,7 @@ share/doc/qemu/specs/acpi_mem_hotplug.ht
share/doc/qemu/specs/acpi_nvdimm.html
share/doc/qemu/specs/acpi_pci_hotplug.html
share/doc/qemu/specs/edu.html
+share/doc/qemu/specs/fsi.html
share/doc/qemu/specs/fw_cfg.html
share/doc/qemu/specs/index.html
share/doc/qemu/specs/ivshmem-spec.html
@@ -208,6 +221,7 @@ share/doc/qemu/specs/vmw_pvscsi-spec.htm
share/doc/qemu/system/
share/doc/qemu/system/arm/
share/doc/qemu/system/arm/aspeed.html
+share/doc/qemu/system/arm/b-l475e-iot01a.html
share/doc/qemu/system/arm/bananapi_m2u.html
share/doc/qemu/system/arm/collie.html
share/doc/qemu/system/arm/cpu-features.html
@@ -260,6 +274,7 @@ 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
@@ -295,6 +310,7 @@ share/doc/qemu/system/openrisc/emulation
share/doc/qemu/system/openrisc/or1k-sim.html
share/doc/qemu/system/openrisc/virt.html
share/doc/qemu/system/ppc/
+share/doc/qemu/system/ppc/amigang.html
share/doc/qemu/system/ppc/embedded.html
share/doc/qemu/system/ppc/powermac.html
share/doc/qemu/system/ppc/powernv.html
@@ -415,6 +431,7 @@ share/qemu/firmware/60-edk2-arm.json
share/qemu/firmware/60-edk2-i386.json
share/qemu/firmware/60-edk2-x86_64.json
share/qemu/hppa-firmware.img
+share/qemu/hppa-firmware64.img
share/qemu/keymaps/
share/qemu/keymaps/ar
share/qemu/keymaps/bepo
Index: pkg/README-main
===================================================================
RCS file: /cvs/ports/emulators/qemu/pkg/README-main,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 README-main
--- pkg/README-main 26 Feb 2024 13:30:18 -0000 1.4
+++ pkg/README-main 24 Apr 2024 05:35:13 -0000
@@ -29,8 +29,7 @@
-hda virtual.img -cdrom cd74.iso -boot d
$ qemu-system-sparc64 -m 64 -monitor stdio \
- -hda virtual.img -cdrom cd74.iso -boot d \
- -net nic,model=ne2k_pci -net user
+ -hda virtual.img -cdrom cd74.iso -boot d
NOTE: start this inside an xterm or equivalent.
NOTE: be sure to choose serial console during install.
@@ -55,8 +54,7 @@
$ qemu-system-x86_64 -m 64 -nographic -no-fd-bootchk -hda virtual.img
- $ qemu-system-sparc64 -m 64 -nographic -hda virtual.img \
- -net nic,model=ne2k_pci -net user
+ $ qemu-system-sparc64 -m 64 -nographic -hda virtual.img
==> Networking