Ravenports generated: 25 Apr 2023 21:12
[ravenports.git] / bucket_A9 / qemu
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               qemu
4 VERSION=                8.0.0
5 KEYWORDS=               emulators
6 VARIANTS=               standard
7 SDESC[standard]=        Fast CPU emulator and virtualizer for x86 platform
8 HOMEPAGE=               https://www.qemu.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://download.qemu.org/
13 DISTFILE[1]=            qemu-8.0.0.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         docs
18                         nls
19                         man
20
21 OPTIONS_AVAILABLE=      none
22 OPTIONS_STANDARD=       none
23
24 BUILD_DEPENDS=          gnutls:dev:standard
25                         harfbuzz:dev:standard
26                         python-Sphinx:single:python_used
27                         python-sphinx-rtd-theme:single:python_used
28                         texi2html:primary:standard
29                         libepoxy:dev:standard
30                         snappy:dev:standard
31 BUILDRUN_DEPENDS=       cyrus-sasl:primary:standard
32                         gnutls:primary:standard
33                         libepoxy:primary:standard
34                         nettle:primary:standard
35                         snappy:primary:standard
36                         vde2:single:standard
37
38 USES=                   cpe gmake pkgconfig bison perl:build python:build
39                         jpeg png mesa ncurses makeinfo ninja curl fontconfig
40                         zstd lzo
41 GNOME_COMPONENTS=       gdkpixbuf gtk2 vte
42 SDL_COMPONENTS=         sdl2 image2
43 XORG_COMPONENTS=        x11 xext
44
45 LICENSE=                GPLv2:primary
46 LICENSE_TERMS=          primary:{{WRKSRC}}/LICENSE
47 LICENSE_FILE=           GPLv2:{{WRKSRC}}/COPYING
48 LICENSE_SCHEME=         solo
49
50 FPC_EQUIVALENT=         emulators/qemu
51
52 MUST_CONFIGURE=         yes
53 CONFIGURE_ARGS=         --disable-usb-redir
54                         --disable-stack-protector
55                         --disable-kvm
56                         --disable-xen
57                         --disable-vde
58                         --enable-docs
59                         --enable-nettle
60                         --enable-profiler
61                         --enable-curses
62                         --prefix={{PREFIX}}
63                         --cc={{CC}}
64                         --python={{PYTHON_CMD}}
65                         --localstatedir=/var
66
67 BUILD_WRKSRC=           {{WRKSRC}}/build
68 MAKE_ENV=               BSD_MAKE="{{MAKE}}"
69                         V=1
70
71 INSTALL_WRKSRC=         {{WRKSRC}}/build
72 PLIST_SUB=              JQUERY=3.6.0
73                         UNDERSCORE=1.13.1
74
75 CFLAGS=                 -I{{NCURSESBASE}}/include/ncursesw
76 VAR_OPSYS[freebsd]=     CONFIGURE_ARGS=--enable-netmap
77                         CONFIGURE_ARGS=--disable-linux-user
78                         CONFIGURE_ARGS=--disable-linux-aio
79 VAR_OPSYS[linux]=       CONFIGURE_ARGS=--disable-netmap
80                         CONFIGURE_ARGS=--disable-linux-user
81 VAR_OPSYS[dragonfly]=   CONFIGURE_ARGS=--disable-netmap
82                         CONFIGURE_ARGS=--disable-linux-user
83                         CONFIGURE_ARGS=--disable-linux-aio
84 VAR_OPSYS[midnightbsd]= CONFIGURE_ARGS=--enable-netmap
85                         CONFIGURE_ARGS=--disable-linux-user
86                         CONFIGURE_ARGS=--disable-linux-aio
87                         CONFIGURE_ARGS=--extra-ldflags=-lutil
88
89 post-patch:
90         # silence some include warnings
91         ${MKDIR} ${WRKSRC}/bsd-user/dragonfly
92         # support midnight
93         ${CP} -a ${WRKSRC}/bsd-user/freebsd ${WRKSRC}/bsd-user/midnightbsd
94
95 post-install:
96         ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample \
97                 ${STAGEDIR}${PREFIX}/etc
98         ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample \
99                 ${STAGEDIR}${PREFIX}/etc
100         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-*
101         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/elf2dmp
102         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/qemu/palcode-clipper
103         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/qemu/hppa-firmware.img
104         (cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${STD_DOCDIR}/)
105         # remove sphinx leftovers
106         ${RM} -r ${STAGEDIR}${STD_DOCDIR}/docs/sphinx
107         # remove empty directories
108         ${RM} -r ${STAGEDIR}/var
109
110 pre-configure-dragonfly:
111         # On dragonfly, userland programs can't include <sys/disk.h>
112         ${REINPLACE_CMD} -e 's|sys/disk\.h|sys/skipdisk.h|' \
113                 ${WRKSRC}/meson.build
114
115 [FILE:782:descriptions/desc.primary]
116 QEMU is a fast processor emulator using dynamic translation to achieve
117 good emulation speed.  QEMU has two operating modes:
118
119  * Full system emulation. In this mode, QEMU emulates a full system (for
120    example a PC), including a processor and various peripherials.  It can
121    be used to launch different Operating Systems without rebooting the PC
122    or to debug system code.
123  * User mode emulation (Linux host only). In this mode, QEMU can launch
124    Linux processes compiled for one CPU on another CPU. It can be used to
125    launch the Wine Windows API emulator or to ease cross-compilation and
126    cross-debugging.
127
128 As QEMU requires no host kernel patches to run, it is safe and easy to use.
129
130 See also the preconfigured system images on http://oszoo.org/
131 Many live cd isos also work.
132
133
134 [FILE:96:distinfo]
135 bb60f0341531181d6cc3969dd19a013d0427a87f918193970d9adb91131e56d0    127835148 qemu-8.0.0.tar.xz
136
137
138 [FILE:2936:manifests/plist.primary]
139 @sample etc/qemu-ifdown.sample
140 @sample etc/qemu-ifup.sample
141 %%ONLY-FREEBSD%%bin/
142  qemu-arm
143  qemu-ga
144  qemu-i386
145  qemu-x86_64
146 %%ONLY-LINUX%%bin/
147  qemu-ga
148  qemu-pr-helper
149 %%ONLY-LINUX%%libexec/qemu-bridge-helper
150 %%ONLY-MIDNIGHTBSD%%bin/
151  qemu-arm
152  qemu-i386
153  qemu-x86_64
154 bin/
155  elf2dmp
156  qemu-edid
157  qemu-img
158  qemu-io
159  qemu-nbd
160  qemu-storage-daemon
161  qemu-system-aarch64
162  qemu-system-alpha
163  qemu-system-arm
164  qemu-system-avr
165  qemu-system-cris
166  qemu-system-hppa
167  qemu-system-i386
168  qemu-system-loongarch64
169  qemu-system-m68k
170  qemu-system-microblaze
171  qemu-system-microblazeel
172  qemu-system-mips
173  qemu-system-mips64
174  qemu-system-mips64el
175  qemu-system-mipsel
176  qemu-system-nios2
177  qemu-system-or1k
178  qemu-system-ppc
179  qemu-system-ppc64
180  qemu-system-riscv32
181  qemu-system-riscv64
182  qemu-system-rx
183  qemu-system-s390x
184  qemu-system-sh4
185  qemu-system-sh4eb
186  qemu-system-sparc
187  qemu-system-sparc64
188  qemu-system-tricore
189  qemu-system-x86_64
190  qemu-system-xtensa
191  qemu-system-xtensaeb
192 include/qemu-plugin.h
193 share/applications/qemu.desktop
194 share/icons/hicolor/128x128/apps/qemu.png
195 share/icons/hicolor/16x16/apps/qemu.png
196 share/icons/hicolor/24x24/apps/qemu.png
197 share/icons/hicolor/256x256/apps/qemu.png
198 share/icons/hicolor/32x32/apps/
199  qemu.bmp
200  qemu.png
201 share/icons/hicolor/48x48/apps/qemu.png
202 share/icons/hicolor/512x512/apps/qemu.png
203 share/icons/hicolor/64x64/apps/qemu.png
204 share/icons/hicolor/scalable/apps/qemu.svg
205 share/qemu/
206  QEMU,cgthree.bin
207  QEMU,tcx.bin
208  bamboo.dtb
209  bios-256k.bin
210  bios-microvm.bin
211  bios.bin
212  canyonlands.dtb
213  edk2-aarch64-code.fd
214  edk2-arm-code.fd
215  edk2-arm-vars.fd
216  edk2-i386-code.fd
217  edk2-i386-secure-code.fd
218  edk2-i386-vars.fd
219  edk2-licenses.txt
220  edk2-x86_64-code.fd
221  edk2-x86_64-secure-code.fd
222  efi-e1000.rom
223  efi-e1000e.rom
224  efi-eepro100.rom
225  efi-ne2k_pci.rom
226  efi-pcnet.rom
227  efi-rtl8139.rom
228  efi-virtio.rom
229  efi-vmxnet3.rom
230  hppa-firmware.img
231  kvmvapic.bin
232  linuxboot.bin
233  linuxboot_dma.bin
234  multiboot.bin
235  multiboot_dma.bin
236  npcm7xx_bootrom.bin
237  openbios-ppc
238  openbios-sparc32
239  openbios-sparc64
240  opensbi-riscv32-generic-fw_dynamic.bin
241  opensbi-riscv64-generic-fw_dynamic.bin
242  palcode-clipper
243  petalogix-ml605.dtb
244  petalogix-s3adsp1800.dtb
245  pvh.bin
246  pxe-e1000.rom
247  pxe-eepro100.rom
248  pxe-ne2k_pci.rom
249  pxe-pcnet.rom
250  pxe-rtl8139.rom
251  pxe-virtio.rom
252  qboot.rom
253  qemu-nsis.bmp
254  qemu_vga.ndrv
255  s390-ccw.img
256  s390-netboot.img
257  skiboot.lid
258  slof.bin
259  trace-events-all
260  u-boot-sam460-20100605.bin
261  u-boot.e500
262  vgabios-ati.bin
263  vgabios-bochs-display.bin
264  vgabios-cirrus.bin
265  vgabios-qxl.bin
266  vgabios-ramfb.bin
267  vgabios-stdvga.bin
268  vgabios-virtio.bin
269  vgabios-vmware.bin
270  vgabios.bin
271  vof-nvram.bin
272  vof.bin
273 share/qemu/firmware/
274  50-edk2-i386-secure.json
275  50-edk2-x86_64-secure.json
276  60-edk2-aarch64.json
277  60-edk2-arm.json
278  60-edk2-i386.json
279  60-edk2-x86_64.json
280 share/qemu/keymaps/
281  ar
282  bepo
283  cz
284  da
285  de
286  de-ch
287  en-gb
288  en-us
289  es
290  et
291  fi
292  fo
293  fr
294  fr-be
295  fr-ca
296  fr-ch
297  hr
298  hu
299  is
300  it
301  ja
302  lt
303  lv
304  mk
305  nl
306  no
307  pl
308  pt
309  pt-br
310  ru
311  sl
312  sv
313  th
314  tr
315
316
317 [FILE:10463:manifests/plist.docs]
318 share/doc/qemu/
319  .buildinfo
320  dbus-dbusindex.html
321  genindex.html
322  index.html
323  objects.inv
324  search.html
325  searchindex.js
326 share/doc/qemu/_static/
327  basic.css
328  custom.js
329  doctools.js
330  documentation_options.js
331  file.png
332  language_data.js
333  minus.png
334  plus.png
335  pygments.css
336  qemu_128x128.png
337  qemu_32x32.png
338  searchtools.js
339  sphinx_highlight.js
340  theme_overrides.css
341 share/doc/qemu/_static/css/
342  badge_only.css
343  theme.css
344 share/doc/qemu/_static/css/fonts/
345  Roboto-Slab-Bold.woff
346  Roboto-Slab-Bold.woff2
347  Roboto-Slab-Regular.woff
348  Roboto-Slab-Regular.woff2
349  fontawesome-webfont.eot
350  fontawesome-webfont.svg
351  fontawesome-webfont.ttf
352  fontawesome-webfont.woff
353  fontawesome-webfont.woff2
354  lato-bold-italic.woff
355  lato-bold-italic.woff2
356  lato-bold.woff
357  lato-bold.woff2
358  lato-normal-italic.woff
359  lato-normal-italic.woff2
360  lato-normal.woff
361  lato-normal.woff2
362 share/doc/qemu/_static/js/
363  badge_only.js
364  html5shiv-printshiv.min.js
365  html5shiv.min.js
366  theme.js
367 share/doc/qemu/about/
368  build-platforms.html
369  deprecated.html
370  emulation.html
371  index.html
372  license.html
373  removed-features.html
374 share/doc/qemu/devel/
375  acpi-bits.html
376  atomics.html
377  bitops.html
378  block-coroutine-wrapper.html
379  build-system.html
380  ci.html
381  clocks.html
382  code-of-conduct.html
383  conflict-resolution.html
384  control-flow-integrity.html
385  decodetree.html
386  ebpf_rss.html
387  fuzzing.html
388  index-api.html
389  index-build.html
390  index-internals.html
391  index-process.html
392  index-tcg.html
393  index.html
394  kconfig.html
395  loads-stores.html
396  maintainers.html
397  memory.html
398  migration.html
399  modules.html
400  multi-process.html
401  multi-thread-tcg.html
402  qapi-code-gen.html
403  qgraph.html
404  qom.html
405  qtest.html
406  replay.html
407  reset.html
408  s390-dasd-ipl.html
409  secure-coding-practices.html
410  stable-process.html
411  style.html
412  submitting-a-patch.html
413  submitting-a-pull-request.html
414  tcg-icount.html
415  tcg-ops.html
416  tcg-plugins.html
417  tcg.html
418  testing.html
419  tracing.html
420  trivial-patches.html
421  ui.html
422  vfio-migration.html
423  virtio-backends.html
424  writing-monitor-commands.html
425 share/doc/qemu/docs/
426  COLO-FT.txt
427  block-replication.txt
428  bypass-iommu.txt
429  colo-proxy.txt
430  conf.py
431  defs.rst.inc
432  igd-assign.txt
433  image-fuzzer.txt
434  index.rst
435  memory-hotplug.txt
436  meson.build
437  multi-thread-compression.txt
438  multiseat.txt
439  nvdimm.txt
440  pci_expander_bridge.txt
441  pcie.txt
442  pcie_pci_bridge.txt
443  pcie_sriov.txt
444  pvrdma.txt
445  qcow2-cache.txt
446  qdev-device-use.txt
447  qemu-option-trace.rst.inc
448  qemupciserial.inf
449  rdma.txt
450  spice-port-fqdn.txt
451  throttle.txt
452  u2f.txt
453  xbzrle.txt
454  xen-save-devices-state.txt
455 share/doc/qemu/docs/_templates/footer.html
456 share/doc/qemu/docs/about/
457  build-platforms.rst
458  deprecated.rst
459  emulation.rst
460  index.rst
461  license.rst
462  removed-features.rst
463 share/doc/qemu/docs/config/
464  ich9-ehci-uhci.cfg
465  mach-virt-graphical.cfg
466  mach-virt-serial.cfg
467  q35-emulated.cfg
468  q35-virtio-graphical.cfg
469  q35-virtio-serial.cfg
470 share/doc/qemu/docs/devel/
471  acpi-bits.rst
472  atomics.rst
473  bitops.rst
474  blkdebug.txt
475  blkverify.txt
476  block-coroutine-wrapper.rst
477  build-system.rst
478  ci-definitions.rst.inc
479  ci-jobs.rst.inc
480  ci-runners.rst.inc
481  ci.rst
482  clocks.rst
483  code-of-conduct.rst
484  conflict-resolution.rst
485  control-flow-integrity.rst
486  decodetree.rst
487  ebpf_rss.rst
488  fuzzing.rst
489  index-api.rst
490  index-build.rst
491  index-internals.rst
492  index-process.rst
493  index-tcg.rst
494  index.rst
495  kconfig.rst
496  loads-stores.rst
497  lockcnt.txt
498  maintainers.rst
499  memory.rst
500  migration.rst
501  modules.rst
502  multi-process.rst
503  multi-thread-tcg.rst
504  multiple-iothreads.txt
505  qapi-code-gen.rst
506  qgraph.rst
507  qom.rst
508  qtest.rst
509  rcu.txt
510  replay.rst
511  reset.rst
512  s390-dasd-ipl.rst
513  secure-coding-practices.rst
514  stable-process.rst
515  style.rst
516  submitting-a-patch.rst
517  submitting-a-pull-request.rst
518  tcg-icount.rst
519  tcg-ops.rst
520  tcg-plugins.rst
521  tcg.rst
522  testing.rst
523  tracing.rst
524  trivial-patches.rst
525  ui.rst
526  vfio-migration.rst
527  virtio-backends.rst
528  virtio-migration.txt
529  writing-monitor-commands.rst
530 share/doc/qemu/docs/interop/
531  barrier.rst
532  bitmaps.rst
533  dbus-display.rst
534  dbus-vmstate.rst
535  dbus.rst
536  firmware.json
537  index.rst
538  live-block-operations.rst
539  nbd.txt
540  parallels.txt
541  pr-helper.rst
542  prl-xml.txt
543  qcow2.txt
544  qed_spec.txt
545  qemu-ga-ref.rst
546  qemu-ga.rst
547  qemu-qmp-ref.rst
548  qemu-storage-daemon-qmp-ref.rst
549  qmp-intro.txt
550  qmp-spec.txt
551  vhost-user-gpu.rst
552  vhost-user.json
553  vhost-user.rst
554  vhost-vdpa.rst
555  virtio-balloon-stats.rst
556  vnc-ledstate-pseudo-encoding.rst
557 share/doc/qemu/docs/specs/
558  acpi_cpu_hotplug.rst
559  acpi_erst.rst
560  acpi_hest_ghes.rst
561  acpi_hw_reduced_hotplug.rst
562  acpi_mem_hotplug.rst
563  acpi_nvdimm.rst
564  acpi_pci_hotplug.rst
565  edu.txt
566  fw_cfg.rst
567  index.rst
568  ivshmem-spec.txt
569  pci-ids.txt
570  pci-serial.txt
571  pci-testdev.txt
572  ppc-spapr-hcalls.rst
573  ppc-spapr-hotplug.rst
574  ppc-spapr-numa.rst
575  ppc-spapr-uv-hcalls.rst
576  ppc-spapr-xive.rst
577  ppc-xive.rst
578  pvpanic.txt
579  rocker.txt
580  sev-guest-firmware.rst
581  standard-vga.txt
582  tpm.rst
583  virt-ctlr.txt
584  vmcoreinfo.txt
585  vmgenid.txt
586  vmw_pvscsi-spec.txt
587 share/doc/qemu/docs/sphinx-static/
588  custom.js
589  theme_overrides.css
590 share/doc/qemu/docs/spin/
591  aio_notify.promela
592  aio_notify_accept.promela
593  aio_notify_bug.promela
594  tcg-exclusive.promela
595  win32-qemu-event.promela
596 share/doc/qemu/docs/system/
597  authz.rst
598  barrier.rst
599  bootindex.rst
600  confidential-guest-support.rst
601  cpu-hotplug.rst
602  cpu-models-mips.rst.inc
603  cpu-models-x86-abi.csv
604  cpu-models-x86.rst.inc
605  device-emulation.rst
606  device-url-syntax.rst.inc
607  gdb.rst
608  generic-loader.rst
609  guest-loader.rst
610  images.rst
611  index.rst
612  introduction.rst
613  invocation.rst
614  keys.rst
615  keys.rst.inc
616  linuxboot.rst
617  managed-startup.rst
618  monitor.rst
619  multi-process.rst
620  mux-chardev.rst
621  mux-chardev.rst.inc
622  pr-manager.rst
623  qemu-block-drivers.rst
624  qemu-block-drivers.rst.inc
625  qemu-cpu-models.rst
626  qemu-manpage.rst
627  replay.rst
628  secrets.rst
629  security.rst
630  target-arm.rst
631  target-avr.rst
632  target-i386-desc.rst.inc
633  target-i386.rst
634  target-m68k.rst
635  target-mips.rst
636  target-openrisc.rst
637  target-ppc.rst
638  target-riscv.rst
639  target-rx.rst
640  target-s390x.rst
641  target-sparc.rst
642  target-sparc64.rst
643  target-xtensa.rst
644  targets.rst
645  tls.rst
646  virtio-net-failover.rst
647  vnc-security.rst
648 share/doc/qemu/docs/system/arm/
649  aspeed.rst
650  collie.rst
651  cpu-features.rst
652  cubieboard.rst
653  digic.rst
654  emcraft-sf2.rst
655  emulation.rst
656  gumstix.rst
657  highbank.rst
658  imx25-pdk.rst
659  integratorcp.rst
660  kzm.rst
661  mainstone.rst
662  mps2.rst
663  musca.rst
664  musicpal.rst
665  nrf.rst
666  nseries.rst
667  nuvoton.rst
668  orangepi.rst
669  palm.rst
670  raspi.rst
671  realview.rst
672  sabrelite.rst
673  sbsa.rst
674  stellaris.rst
675  stm32.rst
676  sx1.rst
677  versatile.rst
678  vexpress.rst
679  virt.rst
680  xlnx-versal-virt.rst
681  xscale.rst
682 share/doc/qemu/docs/system/devices/
683  can.rst
684  canokey.rst
685  ccid.rst
686  cxl.rst
687  igb.rst
688  ivshmem.rst
689  net.rst
690  nvme.rst
691  usb.rst
692  vhost-user-rng.rst
693  vhost-user.rst
694  virtio-pmem.rst
695 share/doc/qemu/docs/system/i386/
696  amd-memory-encryption.rst
697  cpu.rst
698  hyperv.rst
699  kvm-pv.rst
700  microvm.rst
701  pc.rst
702  sgx.rst
703  xen.rst
704 share/doc/qemu/docs/system/loongarch/virt.rst
705 share/doc/qemu/docs/system/openrisc/
706  cpu-features.rst
707  emulation.rst
708  or1k-sim.rst
709  virt.rst
710 share/doc/qemu/docs/system/ppc/
711  embedded.rst
712  powermac.rst
713  powernv.rst
714  ppce500.rst
715  prep.rst
716  pseries.rst
717 share/doc/qemu/docs/system/riscv/
718  microchip-icicle-kit.rst
719  shakti-c.rst
720  sifive_u.rst
721  virt.rst
722 share/doc/qemu/docs/system/s390x/
723  3270.rst
724  bootdevices.rst
725  css.rst
726  pcidevices.rst
727  protvirt.rst
728  vfio-ap.rst
729  vfio-ccw.rst
730 share/doc/qemu/docs/tools/
731  index.rst
732  qemu-img.rst
733  qemu-nbd.rst
734  qemu-pr-helper.rst
735  qemu-storage-daemon.rst
736  qemu-trace-stap.rst
737  virtfs-proxy-helper.rst
738 share/doc/qemu/docs/user/
739  index.rst
740  main.rst
741 share/doc/qemu/interop/
742  barrier.html
743  bitmaps.html
744  dbus-display.html
745  dbus-vmstate.html
746  dbus.html
747  index.html
748  live-block-operations.html
749  pr-helper.html
750  qemu-ga-ref.html
751  qemu-ga.html
752  qemu-qmp-ref.html
753  qemu-storage-daemon-qmp-ref.html
754  vhost-user-gpu.html
755  vhost-user.html
756  vhost-vdpa.html
757  virtio-balloon-stats.html
758  vnc-ledstate-pseudo-encoding.html
759 share/doc/qemu/specs/
760  acpi_cpu_hotplug.html
761  acpi_erst.html
762  acpi_hest_ghes.html
763  acpi_hw_reduced_hotplug.html
764  acpi_mem_hotplug.html
765  acpi_nvdimm.html
766  acpi_pci_hotplug.html
767  fw_cfg.html
768  index.html
769  ppc-spapr-hcalls.html
770  ppc-spapr-hotplug.html
771  ppc-spapr-numa.html
772  ppc-spapr-uv-hcalls.html
773  ppc-spapr-xive.html
774  ppc-xive.html
775  sev-guest-firmware.html
776  tpm.html
777 share/doc/qemu/system/
778  authz.html
779  barrier.html
780  bootindex.html
781  confidential-guest-support.html
782  cpu-hotplug.html
783  device-emulation.html
784  gdb.html
785  generic-loader.html
786  guest-loader.html
787  images.html
788  index.html
789  introduction.html
790  invocation.html
791  keys.html
792  linuxboot.html
793  managed-startup.html
794  monitor.html
795  multi-process.html
796  mux-chardev.html
797  pr-manager.html
798  qemu-block-drivers.html
799  qemu-cpu-models.html
800  qemu-manpage.html
801  replay.html
802  secrets.html
803  security.html
804  target-arm.html
805  target-avr.html
806  target-i386.html
807  target-m68k.html
808  target-mips.html
809  target-openrisc.html
810  target-ppc.html
811  target-riscv.html
812  target-rx.html
813  target-s390x.html
814  target-sparc.html
815  target-sparc64.html
816  target-xtensa.html
817  targets.html
818  tls.html
819  virtio-net-failover.html
820  vnc-security.html
821 share/doc/qemu/system/arm/
822  aspeed.html
823  collie.html
824  cpu-features.html
825  cubieboard.html
826  digic.html
827  emcraft-sf2.html
828  emulation.html
829  gumstix.html
830  highbank.html
831  imx25-pdk.html
832  integratorcp.html
833  kzm.html
834  mainstone.html
835  mps2.html
836  musca.html
837  musicpal.html
838  nrf.html
839  nseries.html
840  nuvoton.html
841  orangepi.html
842  palm.html
843  raspi.html
844  realview.html
845  sabrelite.html
846  sbsa.html
847  stellaris.html
848  stm32.html
849  sx1.html
850  versatile.html
851  vexpress.html
852  virt.html
853  xlnx-versal-virt.html
854  xscale.html
855 share/doc/qemu/system/devices/
856  can.html
857  canokey.html
858  ccid.html
859  cxl.html
860  igb.html
861  ivshmem.html
862  net.html
863  nvme.html
864  usb.html
865  vhost-user-rng.html
866  vhost-user.html
867  virtio-pmem.html
868 share/doc/qemu/system/i386/
869  amd-memory-encryption.html
870  cpu.html
871  hyperv.html
872  kvm-pv.html
873  microvm.html
874  pc.html
875  sgx.html
876  xen.html
877 share/doc/qemu/system/loongarch/virt.html
878 share/doc/qemu/system/openrisc/
879  cpu-features.html
880  emulation.html
881  or1k-sim.html
882  virt.html
883 share/doc/qemu/system/ppc/
884  embedded.html
885  powermac.html
886  powernv.html
887  ppce500.html
888  prep.html
889  pseries.html
890 share/doc/qemu/system/riscv/
891  microchip-icicle-kit.html
892  shakti-c.html
893  sifive_u.html
894  virt.html
895 share/doc/qemu/system/s390x/
896  3270.html
897  bootdevices.html
898  css.html
899  pcidevices.html
900  protvirt.html
901  vfio-ap.html
902  vfio-ccw.html
903 share/doc/qemu/tools/
904  index.html
905  qemu-img.html
906  qemu-nbd.html
907  qemu-pr-helper.html
908  qemu-storage-daemon.html
909  qemu-trace-stap.html
910  virtfs-proxy-helper.html
911 share/doc/qemu/user/
912  index.html
913  main.html
914
915
916 [FILE:333:manifests/plist.nls]
917 share/locale/bg/LC_MESSAGES/qemu.mo
918 share/locale/de_DE/LC_MESSAGES/qemu.mo
919 share/locale/fr_FR/LC_MESSAGES/qemu.mo
920 share/locale/hu/LC_MESSAGES/qemu.mo
921 share/locale/it/LC_MESSAGES/qemu.mo
922 share/locale/sv/LC_MESSAGES/qemu.mo
923 share/locale/tr/LC_MESSAGES/qemu.mo
924 share/locale/uk/LC_MESSAGES/qemu.mo
925 share/locale/zh_CN/LC_MESSAGES/qemu.mo
926
927
928 [FILE:416:manifests/plist.man]
929 %%ONLY-FREEBSD%%share/man/man7/qemu-ga-ref.7.gz
930 %%ONLY-FREEBSD%%share/man/man8/qemu-ga.8.gz
931 %%ONLY-LINUX%%share/man/man7/qemu-ga-ref.7.gz
932 %%ONLY-LINUX%%share/man/man8/qemu-ga.8.gz
933 share/man/man1/
934  qemu-img.1.gz
935  qemu-storage-daemon.1.gz
936  qemu.1.gz
937 share/man/man7/
938  qemu-block-drivers.7.gz
939  qemu-cpu-models.7.gz
940  qemu-qmp-ref.7.gz
941  qemu-storage-daemon-qmp-ref.7.gz
942 share/man/man8/
943  qemu-nbd.8.gz
944  qemu-pr-helper.8.gz
945
946
947 [FILE:414:patches/patch-accel_tcg_translate-all.c]
948 --- accel/tcg/translate-all.c.orig      2023-04-19 16:31:47 UTC
949 +++ accel/tcg/translate-all.c
950 @@ -28,7 +28,7 @@
951  #include "qemu.h"
952  #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
953  #include <sys/param.h>
954 -#if __FreeBSD_version >= 700104
955 +#if defined(__MidnightBSD__) || __FreeBSD_version >= 700104
956  #define HAVE_KINFO_GETVMMAP
957  #define sigqueue sigqueue_freebsd  /* avoid redefinition */
958  #include <sys/proc.h>
959
960
961 [FILE:546:patches/patch-configure]
962 --- configure.orig      2023-04-19 16:31:47 UTC
963 +++ configure
964 @@ -429,6 +429,8 @@ elif check_define __sun__ ; then
965    targetos=sunos
966  elif check_define __HAIKU__ ; then
967    targetos=haiku
968 +elif check_define __MidnightBSD__ ; then
969 +  targetos=freebsd
970  elif check_define __FreeBSD__ ; then
971    targetos=freebsd
972  elif check_define __FreeBSD_kernel__ && check_define __GLIBC__; then
973 @@ -470,6 +472,10 @@ dragonfly)
974    bsd="yes"
975    make="${MAKE-gmake}"
976  ;;
977 +midnightbsd)
978 +  bsd="yes"
979 +  make="${MAKE-gmake}"
980 +;;
981  netbsd)
982    bsd="yes"
983    make="${MAKE-gmake}"
984
985
986 [FILE:2507:patches/patch-meson.build]
987 --- meson.build.orig    2023-04-19 16:31:47 UTC
988 +++ meson.build
989 @@ -58,8 +58,8 @@ config_host_data = configuration_data()
990  genh = []
991  qapi_trace_events = []
992  
993 -bsd_oses = ['gnu/kfreebsd', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'darwin']
994 -supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux']
995 +bsd_oses = ['midnightbsd', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'darwin']
996 +supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux', 'dragonfly', 'midnightbsd']
997  supported_cpus = ['ppc', 'ppc64', 's390x', 'riscv', 'x86', 'x86_64',
998    'arm', 'aarch64', 'loongarch64', 'mips', 'mips64', 'sparc64']
999  
1000 @@ -441,7 +441,7 @@ if get_option('hax').allowed()
1001      accelerators += 'CONFIG_HAX'
1002    endif
1003  endif
1004 -if targetos == 'netbsd'
1005 +if targetos in [ 'netbsd', 'dragonfly' ]
1006    nvmm = cc.find_library('nvmm', required: get_option('nvmm'))
1007    if nvmm.found()
1008      accelerators += 'CONFIG_NVMM'
1009 @@ -889,7 +889,7 @@ if have_system and get_option('curses').
1010        return 0;
1011      }'''
1012  
1013 -  curses_dep_list = targetos == 'windows' ? ['ncurses', 'ncursesw'] : ['ncursesw']
1014 +  curses_dep_list = targetos == 'windows' ? ['ncurses', 'ncursesw'] : ['ncurses']
1015    curses = dependency(curses_dep_list,
1016                        required: false,
1017                        method: 'pkg-config',
1018 @@ -912,15 +912,16 @@ if have_system and get_option('curses').
1019        has_curses_h = cc.has_header('curses.h', args: curses_compile_args)
1020      endif
1021      if has_curses_h
1022 -      curses_libname_list = (targetos == 'windows' ? ['pdcurses'] : ['ncursesw', 'cursesw'])
1023 +      libtinfo = cc.find_library('tinfo', required: false, static: enable_static)
1024 +      curses_libname_list = (targetos == 'windows' ? ['pdcurses'] : ['ncurses'])
1025        foreach curses_libname : curses_libname_list
1026          libcurses = cc.find_library(curses_libname,
1027                                      required: false,
1028                                      kwargs: static_kwargs)
1029          if libcurses.found()
1030 -          if cc.links(curses_test, args: curses_compile_args, dependencies: libcurses)
1031 +          if cc.links(curses_test, args: curses_compile_args, dependencies: [libncurses,libtinfo])
1032              curses = declare_dependency(compile_args: curses_compile_args,
1033 -                                        dependencies: [libcurses])
1034 +                                        dependencies: [libncurses, libtinfo])
1035              break
1036            else
1037              msg = 'curses library not usable'
1038
1039
1040 [FILE:385:patches/patch-meson_mesonbuild_mesonlib_universal.py]
1041 --- meson/mesonbuild/mesonlib/universal.py.orig 2023-04-19 16:32:31 UTC
1042 +++ meson/mesonbuild/mesonlib/universal.py
1043 @@ -658,7 +658,7 @@ def is_netbsd() -> bool:
1044  
1045  
1046  def is_freebsd() -> bool:
1047 -    return platform.system().lower() == 'freebsd'
1048 +    return platform.system().lower() in ('freebsd', 'midnightbsd')
1049  
1050  def is_irix() -> bool:
1051      return platform.system().startswith('irix')
1052
1053
1054 [FILE:454:patches/patch-net_tap-bsd.c]
1055 --- net/tap-bsd.c.orig  2023-04-19 16:31:47 UTC
1056 +++ net/tap-bsd.c
1057 @@ -30,9 +30,16 @@
1058  
1059  #if defined(__NetBSD__) || defined(__FreeBSD__)
1060  #include <sys/ioctl.h>
1061 +#include <sys/socket.h>
1062  #include <net/if.h>
1063  #include <net/if_tap.h>
1064  #endif
1065 +#if defined(__DragonFly)
1066 +#include <sys/ioctl.h>
1067 +#include <sys/socket.h>
1068 +#include <net/if.h>
1069 +#include <net/tap/if_tap.h>
1070 +#endif
1071  
1072  #ifndef __FreeBSD__
1073  int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
1074
1075
1076 [FILE:828:patches/patch-roms_u-boot_include_compiler.h]
1077 --- roms/u-boot/include/compiler.h.orig 2023-04-19 16:32:34 UTC
1078 +++ roms/u-boot/include/compiler.h
1079 @@ -14,6 +14,7 @@
1080      defined(__NetBSD__)  || \
1081      defined(__FreeBSD__) || \
1082      defined(__sun__)    || \
1083 +    defined(__DragonFly__) || \
1084      defined(__APPLE__)
1085  # include <inttypes.h>
1086  #elif defined(__linux__) || defined(__WIN32__) || defined(__MINGW32__) || defined(__OpenBSD__)
1087 @@ -45,10 +46,10 @@
1088  #ifdef __linux__
1089  # include <endian.h>
1090  # include <byteswap.h>
1091 -#elif defined(__MACH__) || defined(__FreeBSD__)
1092 +#elif defined(__MACH__) || defined(__FreeBSD__) || defined(__DragonFly__)
1093  # include <machine/endian.h>
1094  #endif
1095 -#ifdef __FreeBSD__
1096 +#if defined(__FreeBSD__) || defined(__DragonFly__)
1097  # include <sys/endian.h> /* htole32 and friends */
1098  # define __BYTE_ORDER BYTE_ORDER
1099  # define __LITTLE_ENDIAN LITTLE_ENDIAN
1100
1101
1102 [FILE:311:patches/patch-roms_u-boot_lib_bch.c]
1103 --- roms/u-boot/lib/bch.c.orig  2023-04-19 16:32:34 UTC
1104 +++ roms/u-boot/lib/bch.c
1105 @@ -63,7 +63,7 @@
1106  #include <linux/bitops.h>
1107  #else
1108  #include <errno.h>
1109 -#if defined(__FreeBSD__)
1110 +#if defined(__FreeBSD__) || defined(__DragonFly__)
1111  #include <sys/endian.h>
1112  #elif defined(__APPLE__)
1113  #include <machine/endian.h>
1114
1115
1116 [FILE:344:patches/patch-util_getauxval.c]
1117 --- util/getauxval.c.orig       2023-04-19 16:31:47 UTC
1118 +++ util/getauxval.c
1119 @@ -98,7 +98,7 @@ unsigned long qemu_getauxval(unsigned lo
1120      return 0;
1121  }
1122  
1123 -#elif defined(__FreeBSD__)
1124 +#elif defined(__MidnightBSD__) || (defined(__FreeBSD__) && __FreeBSD_version__ > 1200001)
1125  #include <sys/auxv.h>
1126  
1127  unsigned long qemu_getauxval(unsigned long type)
1128
1129
1130 [FILE:7685:files/pkg-message-single]
1131 FreeBSD host notes
1132 ==================
1133
1134 - Needs to set net.link.tap.user_open sysctl in order to use /dev/tap*
1135   networking as non-root.  Don't forget to adjust device node permissions in
1136   /etc/devfs.rules.
1137
1138 - slirp (usermode networking) is fixed now in cvs, on FreeSBIE 1.0 guests you
1139   still have to manually do: echo nameserver 10.0.2.3 >/etc/resolv.conf but
1140   i've been told that that's normal.  (fixed on FreeSBIE 1.1.) And you have
1141   to wait a bit for dhclient to do its thing; traffic to address 10.0.2.2 is
1142   routed to 127.1 on the host.
1143
1144 - Expect timer problems when guest kernel HZ is > hosts, for example time
1145   sleep 1 takes 49 seconds and booting sleeps for minutes at the acd0 probe
1146   with a FreeSBIE 1.0 guest, thats because its kernel is built with HZ=5000,
1147   and FreeBSD's default is 100...  (no longer a problem with FreeSBIE 1.1.)
1148   The linux 2.6 kernel uses 1000 by default btw.  (changed to 250 later, and
1149   recent linux kernels now no longer have a fixed HZ, aka `tickless
1150   kernel'...)  Enabling /dev/rtc doesn't seem to help either (not included
1151   since it needs a patch to emulators/rtc.)
1152
1153 - Update: the above problem has gotten worse with FreeBSD guests
1154   somewhere before 8.0, mainly since the kernel now usually wants
1155   double or even quadruple number of timer irqs compared to HZ if
1156   it detects an apic (and at least early versions of FreeBSD 8 had
1157   a bug that essentially halved qemu's clock rate too); the only
1158   reason you usually don't see symptoms of this with FreeBSD 8
1159   guests is they automatically reduce their HZ to 100 when running
1160   in a VM while the default for the host kernel is still HZ=1000.
1161   Workaround: you can disable the apic clock in the guest by setting
1162
1163     hint.apic.0.clock="0"
1164
1165   in loader.conf(5) (or manually at the loader prompt), if that
1166   doesn't work the only things you can do is either reduce the
1167   guest's HZ to, say, 100 by setting e.g.
1168
1169     kern.hz="100"
1170
1171   from the loader as above (which usually is a good idea in a VM
1172   anyway and FreeBSD 8 now does by itself as mentioned), or otherwise
1173   increase the host's HZ to 2000 or even 4000 from the loader in
1174   the same way.
1175
1176 - The -smb option (smb-export local dir to guest using the default
1177   slirp networking) needs the samba port/package installed
1178   in addition to qemu. (SAMBA knob.)
1179
1180 - If you want to use usb devices connected to the host in the guest
1181   yot need either recent 10-current (not tested yet much) or you can
1182   use usbredir over the network (see below); also unless you are
1183   running qemu as root you then need to fix permissions for /dev/ugen*
1184   device nodes: if you are on 5.x or later (devfs) put a rule in
1185   /etc/devfs.rules, activate it in /etc/rc.conf and run /etc/rc.d/devfs
1186   restart.  Example devfs.rules:
1187
1188     [ugen_ruleset=20]
1189     add path 'ugen*' mode 660 group operator
1190
1191   corresponding rc.conf line:
1192
1193     devfs_system_ruleset="ugen_ruleset"
1194
1195 - If you want to test the new (in 0.15.0) usb network redirection (USBREDIR
1196   option) see this thread by Hans de Goede <hdegoede <at> redhat.com>:
1197
1198     http://thread.gmane.org/gmane.comp.emulators.qemu/110176/focus=110183
1199
1200   Quote:
1201
1202   Example usage:
1203
1204   1) Start usbredirserver for a usb device:
1205   sudo usbredirserver 045e:0772
1206   2) Start qemu with usb2 support + a chardev talking to usbredirserver +
1207      a usb-redir device using this chardev:
1208   qemu -usb \
1209     -readconfig docs/ich9-ehci-uhci.cfg \
1210     -chardev socket,id=usbredirchardev,host=localhost,port=4000 \
1211     -device usb-redir,chardev=usbredirchardev,id=usbredirdev ...
1212
1213   [you would replace docs/ich9-ehci-uhci.cfg with e.g.
1214   /raven/share/doc/qemu/docs/ich9-ehci-uhci.cfg, but turns out
1215   ehci was broken for me here with FreeBSD guests and the previous
1216   qemu version at least, I got:
1217
1218     FETCHENTRY: entry at 22C5484 is of type 2 which is not supported yet processing error - resetting ehci HC
1219     Assertion failed: (0), function ehci_advance_state, file /data/ports/emulators/qemu-devel/work/qemu-0.15.0/hw/usb-ehci.c, line 2045.
1220
1221   The new qemu version works better tho.]
1222
1223 - Still usb: since the hub is no longer attached to the uchi controller and
1224   the wakeup mechanism, resume interrupt is not implemented yet linux guests
1225   will suspend the bus, i.e. they wont see devices usb_add'ed after its
1226   (linux') uhci module got loaded.  Workaround: either add devices before
1227   linux loads the module or rmmod and modprobe it afterwards.  [Not sure
1228   if this still applies to the new libusb host code used on recent
1229   10-current.]
1230
1231 - If you build qemu wihout SDL and then get crashes running it try passing it
1232   -nographic.  This should probably be default in that case...
1233
1234 - qemu's network boot roms (-boot n) have a bug when bootfiles sizes are a
1235   multiple of blksize, if this affects you (like with FreeBSD's /boot/pxeboot)
1236   you can do like
1237
1238     cp /boot/pxeboot pxeboot-qemu && chmod +w pxeboot-qemu && echo >>pxeboot-qemu
1239
1240   and then use pxeboot-qemu.  Actually you need recent btx code
1241   (from after 7.0 was released) because of the real mode boot
1242   problem, so use at least pxeboot from there.  And I just did that
1243   for the pxeboot extracted out of
1244
1245     ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200805/7.0-STABLE-200805-i386-bootonly.iso
1246
1247   and placed it here:
1248
1249     http://people.freebsd.org/~nox/qemu/pxeboot-qemu
1250
1251 - If you use slirp (usernet, the default) and want to mount nfs into the guest
1252   and you are not running qemu as root, then mountd(8) on the exporting box
1253   needs to be run with -n in order to accept requests from ports >= 1024.
1254
1255 - (not FreeBSD-specific:) There have been reports of qcow2 corruption with (at
1256   least) win2k guests on recent kvm (which uses similar qcow2 code than qemu
1257   now, see this thread:
1258
1259     http://lists.gnu.org/archive/html/qemu-devel/2009-02/msg00713.html -
1260
1261   the consensus on that thread seems to be that qcow(2) code has always been
1262   experimental and you should use raw images if you want reliability; raw is
1263   also usually faster.)  You should be able to migrate existing images to raw
1264   using qemu-img(1)'s convert function; raw doesn't support advanced features
1265   like snapshots tho.  [a few important qcow2 bugfixed have been committed in
1266   the meantime so this _might_ be less of an issue now; and meanwhile there
1267   also is the new qed format - I don't know how stable that one is.]
1268
1269 - (also not FreeBSD-specific:)  It is recommended to pass raw images using the
1270   new -drive syntax, specifying format=raw explicitly in order to avoid
1271   malicious guests being able to exploit the format autodetection thats
1272   otherwise getting used.  (Not that you should run malicious guests anyway,
1273   but this eleminates at least a known attack vector.)
1274
1275 - qemu now has improved physical cdrom support, but still there is at
1276   least one known problem: you need to have the guest eject the disc if you
1277   want to change it/take it out, or otherwise the guest may continue using
1278   state (like size) of the old disc.  (You can also do like `change ide1-cd0
1279   /dev/acd0' in the monitor after taking out the disc if a guest cannot eject
1280   it itself.)
1281
1282 - The default configuration location (qemu-ifup script etc.) has been changed
1283   from /etc to PREFIX/etc (usually /raven/etc).  Move your files accordingly.
1284
1285 - The pcap code (-net nic... -net pcap,ifname=...) should work properly now,
1286   with only one exception:  Advanced features like TSO used on the host
1287   interface can cause oversize packets which now do get truncated to avoid
1288   confusing/panicing guests but of course still will cause retransmissions.
1289   So if you see slow throughput and `pcap_send: packet size > ..., truncating'
1290   messages on qemu's tty try disabling TSO etc on the host interface at least
1291   while using pcap.
1292
1293
1294 [FILE:20:files/qemu-ifdown.sample]
1295 #!/bin/sh
1296 exec true
1297
1298
1299 [FILE:20:files/qemu-ifup.sample]
1300 #!/bin/sh
1301 exec true
1302
1303
1304 [FILE:323:dragonfly/patch-hw-ppc_newworld.c]
1305 --- hw/ppc/mac_newworld.c.orig  2023-04-19 16:31:47 UTC
1306 +++ hw/ppc/mac_newworld.c
1307 @@ -75,6 +75,11 @@
1308  #include "hw/sysbus.h"
1309  #include "trace.h"
1310  
1311 +/* FreeBSD headers define this */
1312 +#ifdef round_page
1313 +#undef round_page
1314 +#endif
1315 +
1316  #define MAX_IDE_BUS 2
1317  #define CFG_ADDR 0xf0000510
1318  #define TBFREQ (100UL * 1000UL * 1000UL)
1319
1320
1321 [FILE:334:dragonfly/patch-hw_ppc_mac__oldworld.c]
1322 --- hw/ppc/mac_oldworld.c.orig  2023-04-19 16:31:47 UTC
1323 +++ hw/ppc/mac_oldworld.c
1324 @@ -66,6 +66,11 @@
1325  
1326  #define GRACKLE_BASE 0xfec00000
1327  
1328 +/* FreeBSD headers define this */
1329 +#ifdef round_page
1330 +#undef round_page
1331 +#endif
1332 +
1333  static void fw_cfg_boot_set(void *opaque, const char *boot_device,
1334                              Error **errp)
1335  {
1336
1337
1338 [FILE:906:dragonfly/patch-util_coroutine-ucontext.c]
1339 --- util/coroutine-ucontext.c.orig      2023-04-19 16:31:47 UTC
1340 +++ util/coroutine-ucontext.c
1341 @@ -225,7 +225,15 @@ Coroutine *qemu_coroutine_new(void)
1342                  2, arg.i[0], arg.i[1]);
1343  
1344      /* swapcontext() in, siglongjmp() back out */
1345 -    if (!sigsetjmp(old_env, 0)) {
1346 +    /* Save signal mask in this sigsetjmp, because makecontext on DragonFly
1347 +     * leaves all signals blocked when entering the new context with
1348 +     * swapcontext.
1349 +     * Workaround this, by just having the signal mask restored by the
1350 +     * siglongjmp that brings us back from qemu_coroutine_new().
1351 +     * XXX Remove this workaround when the makecontext behaviour is fixed
1352 +     *     on DragonFly.
1353 +     */
1354 +    if (!sigsetjmp(old_env, 1)) {
1355          start_switch_fiber_asan(COROUTINE_YIELD, &fake_stack_save, co->stack,
1356                                  co->stack_size);
1357          start_switch_fiber_tsan(&fake_stack_save,
1358