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