Ravenports generated: 22 Feb 2023 04:27
[ravenports.git] / bucket_A9 / qemu
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               qemu
4 VERSION=                7.2.0
5 REVISION=               1
6 KEYWORDS=               emulators
7 VARIANTS=               standard
8 SDESC[standard]=        Fast CPU emulator and virtualizer for x86 platform
9 HOMEPAGE=               https://www.qemu.org/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            https://download.qemu.org/
14 DISTFILE[1]=            qemu-7.2.0.tar.xz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         docs
19                         nls
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 BUILDRUN_DEPENDS=       cyrus-sasl:primary:standard
30                         gnutls:primary:standard
31                         libepoxy:single:standard
32                         nettle:primary:standard
33                         snappy:single:standard
34                         vde2:single:standard
35
36 USES=                   cpe gmake pkgconfig bison perl:build python:build
37                         jpeg png mesa ncurses makeinfo ninja curl fontconfig
38                         zstd 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:10388: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  _sphinx_javascript_frameworks_compat.js
334  basic.css
335  custom.js
336  doctools.js
337  documentation_options.js
338  file.png
339  jquery.js
340  language_data.js
341  minus.png
342  plus.png
343  pygments.css
344  qemu_128x128.png
345  qemu_32x32.png
346  searchtools.js
347  sphinx_highlight.js
348  theme_overrides.css
349 share/doc/qemu/_static/css/
350  badge_only.css
351  theme.css
352 share/doc/qemu/_static/css/fonts/
353  Roboto-Slab-Bold.woff
354  Roboto-Slab-Bold.woff2
355  Roboto-Slab-Regular.woff
356  Roboto-Slab-Regular.woff2
357  fontawesome-webfont.eot
358  fontawesome-webfont.svg
359  fontawesome-webfont.ttf
360  fontawesome-webfont.woff
361  fontawesome-webfont.woff2
362  lato-bold-italic.woff
363  lato-bold-italic.woff2
364  lato-bold.woff
365  lato-bold.woff2
366  lato-normal-italic.woff
367  lato-normal-italic.woff2
368  lato-normal.woff
369  lato-normal.woff2
370 share/doc/qemu/_static/js/
371  badge_only.js
372  html5shiv-printshiv.min.js
373  html5shiv.min.js
374  theme.js
375 share/doc/qemu/about/
376  build-platforms.html
377  deprecated.html
378  index.html
379  license.html
380  removed-features.html
381 share/doc/qemu/devel/
382  acpi-bits.html
383  atomics.html
384  bitops.html
385  block-coroutine-wrapper.html
386  build-system.html
387  ci.html
388  clocks.html
389  code-of-conduct.html
390  conflict-resolution.html
391  control-flow-integrity.html
392  decodetree.html
393  ebpf_rss.html
394  fuzzing.html
395  index-api.html
396  index-build.html
397  index-internals.html
398  index-process.html
399  index-tcg.html
400  index.html
401  kconfig.html
402  loads-stores.html
403  maintainers.html
404  memory.html
405  migration.html
406  modules.html
407  multi-process.html
408  multi-thread-tcg.html
409  qapi-code-gen.html
410  qgraph.html
411  qom.html
412  qtest.html
413  replay.html
414  reset.html
415  s390-dasd-ipl.html
416  secure-coding-practices.html
417  stable-process.html
418  style.html
419  submitting-a-patch.html
420  submitting-a-pull-request.html
421  tcg-icount.html
422  tcg-plugins.html
423  tcg.html
424  testing.html
425  tracing.html
426  trivial-patches.html
427  ui.html
428  vfio-migration.html
429  virtio-backends.html
430  writing-monitor-commands.html
431 share/doc/qemu/docs/
432  COLO-FT.txt
433  block-replication.txt
434  bypass-iommu.txt
435  colo-proxy.txt
436  conf.py
437  defs.rst.inc
438  igd-assign.txt
439  image-fuzzer.txt
440  index.rst
441  memory-hotplug.txt
442  meson.build
443  multi-thread-compression.txt
444  multiseat.txt
445  nvdimm.txt
446  pci_expander_bridge.txt
447  pcie.txt
448  pcie_pci_bridge.txt
449  pcie_sriov.txt
450  pvrdma.txt
451  qcow2-cache.txt
452  qdev-device-use.txt
453  qemu-option-trace.rst.inc
454  qemupciserial.inf
455  rdma.txt
456  spice-port-fqdn.txt
457  throttle.txt
458  u2f.txt
459  xbzrle.txt
460  xen-save-devices-state.txt
461 share/doc/qemu/docs/_templates/footer.html
462 share/doc/qemu/docs/about/
463  build-platforms.rst
464  deprecated.rst
465  index.rst
466  license.rst
467  removed-features.rst
468 share/doc/qemu/docs/config/
469  ich9-ehci-uhci.cfg
470  mach-virt-graphical.cfg
471  mach-virt-serial.cfg
472  q35-emulated.cfg
473  q35-virtio-graphical.cfg
474  q35-virtio-serial.cfg
475 share/doc/qemu/docs/devel/
476  acpi-bits.rst
477  atomics.rst
478  bitops.rst
479  blkdebug.txt
480  blkverify.txt
481  block-coroutine-wrapper.rst
482  build-system.rst
483  ci-definitions.rst.inc
484  ci-jobs.rst.inc
485  ci-runners.rst.inc
486  ci.rst
487  clocks.rst
488  code-of-conduct.rst
489  conflict-resolution.rst
490  control-flow-integrity.rst
491  decodetree.rst
492  ebpf_rss.rst
493  fuzzing.rst
494  index-api.rst
495  index-build.rst
496  index-internals.rst
497  index-process.rst
498  index-tcg.rst
499  index.rst
500  kconfig.rst
501  loads-stores.rst
502  lockcnt.txt
503  maintainers.rst
504  memory.rst
505  migration.rst
506  modules.rst
507  multi-process.rst
508  multi-thread-tcg.rst
509  multiple-iothreads.txt
510  qapi-code-gen.rst
511  qgraph.rst
512  qom.rst
513  qtest.rst
514  rcu.txt
515  replay.rst
516  reset.rst
517  s390-dasd-ipl.rst
518  secure-coding-practices.rst
519  stable-process.rst
520  style.rst
521  submitting-a-patch.rst
522  submitting-a-pull-request.rst
523  tcg-icount.rst
524  tcg-plugins.rst
525  tcg.rst
526  testing.rst
527  tracing.rst
528  trivial-patches.rst
529  ui.rst
530  vfio-migration.rst
531  virtio-backends.rst
532  virtio-migration.txt
533  writing-monitor-commands.rst
534 share/doc/qemu/docs/interop/
535  barrier.rst
536  bitmaps.rst
537  dbus-display.rst
538  dbus-vmstate.rst
539  dbus.rst
540  firmware.json
541  index.rst
542  live-block-operations.rst
543  nbd.txt
544  parallels.txt
545  pr-helper.rst
546  prl-xml.txt
547  qcow2.txt
548  qed_spec.txt
549  qemu-ga-ref.rst
550  qemu-ga.rst
551  qemu-qmp-ref.rst
552  qemu-storage-daemon-qmp-ref.rst
553  qmp-intro.txt
554  qmp-spec.txt
555  vhost-user-gpu.rst
556  vhost-user.json
557  vhost-user.rst
558  vhost-vdpa.rst
559  virtio-balloon-stats.rst
560  vnc-ledstate-Pseudo-encoding.txt
561 share/doc/qemu/docs/specs/
562  acpi_cpu_hotplug.rst
563  acpi_erst.rst
564  acpi_hest_ghes.rst
565  acpi_hw_reduced_hotplug.rst
566  acpi_mem_hotplug.rst
567  acpi_nvdimm.rst
568  acpi_pci_hotplug.rst
569  edu.txt
570  fw_cfg.rst
571  index.rst
572  ivshmem-spec.txt
573  pci-ids.txt
574  pci-serial.txt
575  pci-testdev.txt
576  ppc-spapr-hcalls.rst
577  ppc-spapr-hotplug.rst
578  ppc-spapr-numa.rst
579  ppc-spapr-uv-hcalls.rst
580  ppc-spapr-xive.rst
581  ppc-xive.rst
582  pvpanic.txt
583  rocker.txt
584  sev-guest-firmware.rst
585  standard-vga.txt
586  tpm.rst
587  virt-ctlr.txt
588  vmcoreinfo.txt
589  vmgenid.txt
590  vmw_pvscsi-spec.txt
591 share/doc/qemu/docs/sphinx-static/
592  custom.js
593  theme_overrides.css
594 share/doc/qemu/docs/spin/
595  aio_notify.promela
596  aio_notify_accept.promela
597  aio_notify_bug.promela
598  tcg-exclusive.promela
599  win32-qemu-event.promela
600 share/doc/qemu/docs/system/
601  authz.rst
602  barrier.rst
603  bootindex.rst
604  confidential-guest-support.rst
605  cpu-hotplug.rst
606  cpu-models-mips.rst.inc
607  cpu-models-x86-abi.csv
608  cpu-models-x86.rst.inc
609  device-emulation.rst
610  device-url-syntax.rst.inc
611  gdb.rst
612  generic-loader.rst
613  guest-loader.rst
614  images.rst
615  index.rst
616  invocation.rst
617  keys.rst
618  keys.rst.inc
619  linuxboot.rst
620  managed-startup.rst
621  monitor.rst
622  multi-process.rst
623  mux-chardev.rst
624  mux-chardev.rst.inc
625  pr-manager.rst
626  qemu-block-drivers.rst
627  qemu-block-drivers.rst.inc
628  qemu-cpu-models.rst
629  qemu-manpage.rst
630  quickstart.rst
631  replay.rst
632  secrets.rst
633  security.rst
634  target-arm.rst
635  target-avr.rst
636  target-i386-desc.rst.inc
637  target-i386.rst
638  target-m68k.rst
639  target-mips.rst
640  target-openrisc.rst
641  target-ppc.rst
642  target-riscv.rst
643  target-rx.rst
644  target-s390x.rst
645  target-sparc.rst
646  target-sparc64.rst
647  target-xtensa.rst
648  targets.rst
649  tls.rst
650  virtio-net-failover.rst
651  vnc-security.rst
652 share/doc/qemu/docs/system/arm/
653  aspeed.rst
654  collie.rst
655  cpu-features.rst
656  cubieboard.rst
657  digic.rst
658  emcraft-sf2.rst
659  emulation.rst
660  gumstix.rst
661  highbank.rst
662  imx25-pdk.rst
663  integratorcp.rst
664  kzm.rst
665  mainstone.rst
666  mps2.rst
667  musca.rst
668  musicpal.rst
669  nrf.rst
670  nseries.rst
671  nuvoton.rst
672  orangepi.rst
673  palm.rst
674  raspi.rst
675  realview.rst
676  sabrelite.rst
677  sbsa.rst
678  stellaris.rst
679  stm32.rst
680  sx1.rst
681  versatile.rst
682  vexpress.rst
683  virt.rst
684  xlnx-versal-virt.rst
685  xscale.rst
686 share/doc/qemu/docs/system/devices/
687  can.rst
688  canokey.rst
689  ccid.rst
690  cxl.rst
691  ivshmem.rst
692  net.rst
693  nvme.rst
694  usb.rst
695  vhost-user-rng.rst
696  vhost-user.rst
697  virtio-pmem.rst
698 share/doc/qemu/docs/system/i386/
699  amd-memory-encryption.rst
700  cpu.rst
701  hyperv.rst
702  kvm-pv.rst
703  microvm.rst
704  pc.rst
705  sgx.rst
706 share/doc/qemu/docs/system/loongarch/loongson3.rst
707 share/doc/qemu/docs/system/openrisc/
708  cpu-features.rst
709  emulation.rst
710  or1k-sim.rst
711  virt.rst
712 share/doc/qemu/docs/system/ppc/
713  embedded.rst
714  powermac.rst
715  powernv.rst
716  ppce500.rst
717  prep.rst
718  pseries.rst
719 share/doc/qemu/docs/system/riscv/
720  microchip-icicle-kit.rst
721  shakti-c.rst
722  sifive_u.rst
723  virt.rst
724 share/doc/qemu/docs/system/s390x/
725  3270.rst
726  bootdevices.rst
727  css.rst
728  protvirt.rst
729  vfio-ap.rst
730  vfio-ccw.rst
731 share/doc/qemu/docs/tools/
732  index.rst
733  qemu-img.rst
734  qemu-nbd.rst
735  qemu-pr-helper.rst
736  qemu-storage-daemon.rst
737  qemu-trace-stap.rst
738  virtfs-proxy-helper.rst
739  virtiofsd.rst
740 share/doc/qemu/docs/user/
741  index.rst
742  main.rst
743 share/doc/qemu/interop/
744  barrier.html
745  bitmaps.html
746  dbus-display.html
747  dbus-vmstate.html
748  dbus.html
749  index.html
750  live-block-operations.html
751  pr-helper.html
752  qemu-ga-ref.html
753  qemu-ga.html
754  qemu-qmp-ref.html
755  qemu-storage-daemon-qmp-ref.html
756  vhost-user-gpu.html
757  vhost-user.html
758  vhost-vdpa.html
759  virtio-balloon-stats.html
760 share/doc/qemu/specs/
761  acpi_cpu_hotplug.html
762  acpi_erst.html
763  acpi_hest_ghes.html
764  acpi_hw_reduced_hotplug.html
765  acpi_mem_hotplug.html
766  acpi_nvdimm.html
767  acpi_pci_hotplug.html
768  fw_cfg.html
769  index.html
770  ppc-spapr-hcalls.html
771  ppc-spapr-hotplug.html
772  ppc-spapr-numa.html
773  ppc-spapr-uv-hcalls.html
774  ppc-spapr-xive.html
775  ppc-xive.html
776  sev-guest-firmware.html
777  tpm.html
778 share/doc/qemu/system/
779  authz.html
780  barrier.html
781  bootindex.html
782  confidential-guest-support.html
783  cpu-hotplug.html
784  device-emulation.html
785  gdb.html
786  generic-loader.html
787  guest-loader.html
788  images.html
789  index.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  quickstart.html
802  replay.html
803  secrets.html
804  security.html
805  target-arm.html
806  target-avr.html
807  target-i386.html
808  target-m68k.html
809  target-mips.html
810  target-openrisc.html
811  target-ppc.html
812  target-riscv.html
813  target-rx.html
814  target-s390x.html
815  target-sparc.html
816  target-sparc64.html
817  target-xtensa.html
818  targets.html
819  tls.html
820  virtio-net-failover.html
821  vnc-security.html
822 share/doc/qemu/system/arm/
823  aspeed.html
824  collie.html
825  cpu-features.html
826  cubieboard.html
827  digic.html
828  emcraft-sf2.html
829  emulation.html
830  gumstix.html
831  highbank.html
832  imx25-pdk.html
833  integratorcp.html
834  kzm.html
835  mainstone.html
836  mps2.html
837  musca.html
838  musicpal.html
839  nrf.html
840  nseries.html
841  nuvoton.html
842  orangepi.html
843  palm.html
844  raspi.html
845  realview.html
846  sabrelite.html
847  sbsa.html
848  stellaris.html
849  stm32.html
850  sx1.html
851  versatile.html
852  vexpress.html
853  virt.html
854  xlnx-versal-virt.html
855  xscale.html
856 share/doc/qemu/system/devices/
857  can.html
858  canokey.html
859  ccid.html
860  cxl.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 share/doc/qemu/system/loongarch/loongson3.html
877 share/doc/qemu/system/openrisc/
878  cpu-features.html
879  emulation.html
880  or1k-sim.html
881  virt.html
882 share/doc/qemu/system/ppc/
883  embedded.html
884  powermac.html
885  powernv.html
886  ppce500.html
887  prep.html
888  pseries.html
889 share/doc/qemu/system/riscv/
890  microchip-icicle-kit.html
891  shakti-c.html
892  sifive_u.html
893  virt.html
894 share/doc/qemu/system/s390x/
895  3270.html
896  bootdevices.html
897  css.html
898  protvirt.html
899  vfio-ap.html
900  vfio-ccw.html
901 share/doc/qemu/tools/
902  index.html
903  qemu-img.html
904  qemu-nbd.html
905  qemu-pr-helper.html
906  qemu-storage-daemon.html
907  qemu-trace-stap.html
908  virtfs-proxy-helper.html
909  virtiofsd.html
910 share/doc/qemu/user/
911  index.html
912  main.html
913
914
915 [FILE:333:manifests/plist.nls]
916 share/locale/bg/LC_MESSAGES/qemu.mo
917 share/locale/de_DE/LC_MESSAGES/qemu.mo
918 share/locale/fr_FR/LC_MESSAGES/qemu.mo
919 share/locale/hu/LC_MESSAGES/qemu.mo
920 share/locale/it/LC_MESSAGES/qemu.mo
921 share/locale/sv/LC_MESSAGES/qemu.mo
922 share/locale/tr/LC_MESSAGES/qemu.mo
923 share/locale/uk/LC_MESSAGES/qemu.mo
924 share/locale/zh_CN/LC_MESSAGES/qemu.mo
925
926
927 [FILE:337:patches/patch-include_qemu_bswap.h]
928 --- include/qemu/bswap.h.orig   2022-12-14 16:28:45 UTC
929 +++ include/qemu/bswap.h
930 @@ -4,7 +4,7 @@
931  #ifdef CONFIG_MACHINE_BSWAP_H
932  # include <sys/endian.h>
933  # include <machine/bswap.h>
934 -#elif defined(__FreeBSD__)
935 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
936  # include <sys/endian.h>
937  #elif defined(__HAIKU__)
938  # include <endian.h>
939
940
941 [FILE:2368:patches/patch-meson.build]
942 --- meson.build.orig    2022-12-14 16:28:45 UTC
943 +++ meson.build
944 @@ -47,7 +47,7 @@ genh = []
945  qapi_trace_events = []
946  
947  bsd_oses = ['gnu/kfreebsd', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'darwin']
948 -supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux']
949 +supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux', 'dragonfly']
950  supported_cpus = ['ppc', 'ppc64', 's390x', 'riscv', 'x86', 'x86_64',
951    'arm', 'aarch64', 'loongarch64', 'mips', 'mips64', 'sparc64']
952  
953 @@ -444,7 +444,7 @@ if get_option('hax').allowed()
954      accelerators += 'CONFIG_HAX'
955    endif
956  endif
957 -if targetos == 'netbsd'
958 +if targetos in [ 'netbsd', 'dragonfly' ]
959    nvmm = cc.find_library('nvmm', required: get_option('nvmm'))
960    if nvmm.found()
961      accelerators += 'CONFIG_NVMM'
962 @@ -887,7 +887,7 @@ if have_system and get_option('curses').
963        return 0;
964      }'''
965  
966 -  curses_dep_list = targetos == 'windows' ? ['ncurses', 'ncursesw'] : ['ncursesw']
967 +  curses_dep_list = targetos == 'windows' ? ['ncurses', 'ncursesw'] : ['ncurses']
968    curses = dependency(curses_dep_list,
969                        required: false,
970                        method: 'pkg-config',
971 @@ -910,15 +910,16 @@ if have_system and get_option('curses').
972        has_curses_h = cc.has_header('curses.h', args: curses_compile_args)
973      endif
974      if has_curses_h
975 -      curses_libname_list = (targetos == 'windows' ? ['pdcurses'] : ['ncursesw', 'cursesw'])
976 +      libtinfo = cc.find_library('tinfo', required: false, static: enable_static)
977 +      curses_libname_list = (targetos == 'windows' ? ['pdcurses'] : ['ncurses'])
978        foreach curses_libname : curses_libname_list
979          libcurses = cc.find_library(curses_libname,
980                                      required: false,
981                                      kwargs: static_kwargs)
982          if libcurses.found()
983 -          if cc.links(curses_test, args: curses_compile_args, dependencies: libcurses)
984 +          if cc.links(curses_test, args: curses_compile_args, dependencies: [libncurses,libtinfo])
985              curses = declare_dependency(compile_args: curses_compile_args,
986 -                                        dependencies: [libcurses])
987 +                                        dependencies: [libncurses, libtinfo])
988              break
989            else
990              msg = 'curses library not usable'
991
992
993 [FILE:454:patches/patch-net_tap-bsd.c]
994 --- net/tap-bsd.c.orig  2022-12-14 16:28:45 UTC
995 +++ net/tap-bsd.c
996 @@ -30,9 +30,16 @@
997  
998  #if defined(__NetBSD__) || defined(__FreeBSD__)
999  #include <sys/ioctl.h>
1000 +#include <sys/socket.h>
1001  #include <net/if.h>
1002  #include <net/if_tap.h>
1003  #endif
1004 +#if defined(__DragonFly)
1005 +#include <sys/ioctl.h>
1006 +#include <sys/socket.h>
1007 +#include <net/if.h>
1008 +#include <net/tap/if_tap.h>
1009 +#endif
1010  
1011  #ifndef __FreeBSD__
1012  int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
1013
1014
1015 [FILE:314:patches/patch-util_getauxval.c]
1016 --- util/getauxval.c.orig       2022-12-14 16:28:44 UTC
1017 +++ util/getauxval.c
1018 @@ -98,7 +98,7 @@ unsigned long qemu_getauxval(unsigned lo
1019      return 0;
1020  }
1021  
1022 -#elif defined(__FreeBSD__)
1023 +#elif defined(__FreeBSD__) && __FreeBSD_version__ > 1200001
1024  #include <sys/auxv.h>
1025  
1026  unsigned long qemu_getauxval(unsigned long type)
1027
1028
1029 [FILE:7685:files/pkg-message-single]
1030 FreeBSD host notes
1031 ==================
1032
1033 - Needs to set net.link.tap.user_open sysctl in order to use /dev/tap*
1034   networking as non-root.  Don't forget to adjust device node permissions in
1035   /etc/devfs.rules.
1036
1037 - slirp (usermode networking) is fixed now in cvs, on FreeSBIE 1.0 guests you
1038   still have to manually do: echo nameserver 10.0.2.3 >/etc/resolv.conf but
1039   i've been told that that's normal.  (fixed on FreeSBIE 1.1.) And you have
1040   to wait a bit for dhclient to do its thing; traffic to address 10.0.2.2 is
1041   routed to 127.1 on the host.
1042
1043 - Expect timer problems when guest kernel HZ is > hosts, for example time
1044   sleep 1 takes 49 seconds and booting sleeps for minutes at the acd0 probe
1045   with a FreeSBIE 1.0 guest, thats because its kernel is built with HZ=5000,
1046   and FreeBSD's default is 100...  (no longer a problem with FreeSBIE 1.1.)
1047   The linux 2.6 kernel uses 1000 by default btw.  (changed to 250 later, and
1048   recent linux kernels now no longer have a fixed HZ, aka `tickless
1049   kernel'...)  Enabling /dev/rtc doesn't seem to help either (not included
1050   since it needs a patch to emulators/rtc.)
1051
1052 - Update: the above problem has gotten worse with FreeBSD guests
1053   somewhere before 8.0, mainly since the kernel now usually wants
1054   double or even quadruple number of timer irqs compared to HZ if
1055   it detects an apic (and at least early versions of FreeBSD 8 had
1056   a bug that essentially halved qemu's clock rate too); the only
1057   reason you usually don't see symptoms of this with FreeBSD 8
1058   guests is they automatically reduce their HZ to 100 when running
1059   in a VM while the default for the host kernel is still HZ=1000.
1060   Workaround: you can disable the apic clock in the guest by setting
1061
1062     hint.apic.0.clock="0"
1063
1064   in loader.conf(5) (or manually at the loader prompt), if that
1065   doesn't work the only things you can do is either reduce the
1066   guest's HZ to, say, 100 by setting e.g.
1067
1068     kern.hz="100"
1069
1070   from the loader as above (which usually is a good idea in a VM
1071   anyway and FreeBSD 8 now does by itself as mentioned), or otherwise
1072   increase the host's HZ to 2000 or even 4000 from the loader in
1073   the same way.
1074
1075 - The -smb option (smb-export local dir to guest using the default
1076   slirp networking) needs the samba port/package installed
1077   in addition to qemu. (SAMBA knob.)
1078
1079 - If you want to use usb devices connected to the host in the guest
1080   yot need either recent 10-current (not tested yet much) or you can
1081   use usbredir over the network (see below); also unless you are
1082   running qemu as root you then need to fix permissions for /dev/ugen*
1083   device nodes: if you are on 5.x or later (devfs) put a rule in
1084   /etc/devfs.rules, activate it in /etc/rc.conf and run /etc/rc.d/devfs
1085   restart.  Example devfs.rules:
1086
1087     [ugen_ruleset=20]
1088     add path 'ugen*' mode 660 group operator
1089
1090   corresponding rc.conf line:
1091
1092     devfs_system_ruleset="ugen_ruleset"
1093
1094 - If you want to test the new (in 0.15.0) usb network redirection (USBREDIR
1095   option) see this thread by Hans de Goede <hdegoede <at> redhat.com>:
1096
1097     http://thread.gmane.org/gmane.comp.emulators.qemu/110176/focus=110183
1098
1099   Quote:
1100
1101   Example usage:
1102
1103   1) Start usbredirserver for a usb device:
1104   sudo usbredirserver 045e:0772
1105   2) Start qemu with usb2 support + a chardev talking to usbredirserver +
1106      a usb-redir device using this chardev:
1107   qemu -usb \
1108     -readconfig docs/ich9-ehci-uhci.cfg \
1109     -chardev socket,id=usbredirchardev,host=localhost,port=4000 \
1110     -device usb-redir,chardev=usbredirchardev,id=usbredirdev ...
1111
1112   [you would replace docs/ich9-ehci-uhci.cfg with e.g.
1113   /raven/share/doc/qemu/docs/ich9-ehci-uhci.cfg, but turns out
1114   ehci was broken for me here with FreeBSD guests and the previous
1115   qemu version at least, I got:
1116
1117     FETCHENTRY: entry at 22C5484 is of type 2 which is not supported yet processing error - resetting ehci HC
1118     Assertion failed: (0), function ehci_advance_state, file /data/ports/emulators/qemu-devel/work/qemu-0.15.0/hw/usb-ehci.c, line 2045.
1119
1120   The new qemu version works better tho.]
1121
1122 - Still usb: since the hub is no longer attached to the uchi controller and
1123   the wakeup mechanism, resume interrupt is not implemented yet linux guests
1124   will suspend the bus, i.e. they wont see devices usb_add'ed after its
1125   (linux') uhci module got loaded.  Workaround: either add devices before
1126   linux loads the module or rmmod and modprobe it afterwards.  [Not sure
1127   if this still applies to the new libusb host code used on recent
1128   10-current.]
1129
1130 - If you build qemu wihout SDL and then get crashes running it try passing it
1131   -nographic.  This should probably be default in that case...
1132
1133 - qemu's network boot roms (-boot n) have a bug when bootfiles sizes are a
1134   multiple of blksize, if this affects you (like with FreeBSD's /boot/pxeboot)
1135   you can do like
1136
1137     cp /boot/pxeboot pxeboot-qemu && chmod +w pxeboot-qemu && echo >>pxeboot-qemu
1138
1139   and then use pxeboot-qemu.  Actually you need recent btx code
1140   (from after 7.0 was released) because of the real mode boot
1141   problem, so use at least pxeboot from there.  And I just did that
1142   for the pxeboot extracted out of
1143
1144     ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200805/7.0-STABLE-200805-i386-bootonly.iso
1145
1146   and placed it here:
1147
1148     http://people.freebsd.org/~nox/qemu/pxeboot-qemu
1149
1150 - If you use slirp (usernet, the default) and want to mount nfs into the guest
1151   and you are not running qemu as root, then mountd(8) on the exporting box
1152   needs to be run with -n in order to accept requests from ports >= 1024.
1153
1154 - (not FreeBSD-specific:) There have been reports of qcow2 corruption with (at
1155   least) win2k guests on recent kvm (which uses similar qcow2 code than qemu
1156   now, see this thread:
1157
1158     http://lists.gnu.org/archive/html/qemu-devel/2009-02/msg00713.html -
1159
1160   the consensus on that thread seems to be that qcow(2) code has always been
1161   experimental and you should use raw images if you want reliability; raw is
1162   also usually faster.)  You should be able to migrate existing images to raw
1163   using qemu-img(1)'s convert function; raw doesn't support advanced features
1164   like snapshots tho.  [a few important qcow2 bugfixed have been committed in
1165   the meantime so this _might_ be less of an issue now; and meanwhile there
1166   also is the new qed format - I don't know how stable that one is.]
1167
1168 - (also not FreeBSD-specific:)  It is recommended to pass raw images using the
1169   new -drive syntax, specifying format=raw explicitly in order to avoid
1170   malicious guests being able to exploit the format autodetection thats
1171   otherwise getting used.  (Not that you should run malicious guests anyway,
1172   but this eleminates at least a known attack vector.)
1173
1174 - qemu now has improved physical cdrom support, but still there is at
1175   least one known problem: you need to have the guest eject the disc if you
1176   want to change it/take it out, or otherwise the guest may continue using
1177   state (like size) of the old disc.  (You can also do like `change ide1-cd0
1178   /dev/acd0' in the monitor after taking out the disc if a guest cannot eject
1179   it itself.)
1180
1181 - The default configuration location (qemu-ifup script etc.) has been changed
1182   from /etc to PREFIX/etc (usually /raven/etc).  Move your files accordingly.
1183
1184 - The pcap code (-net nic... -net pcap,ifname=...) should work properly now,
1185   with only one exception:  Advanced features like TSO used on the host
1186   interface can cause oversize packets which now do get truncated to avoid
1187   confusing/panicing guests but of course still will cause retransmissions.
1188   So if you see slow throughput and `pcap_send: packet size > ..., truncating'
1189   messages on qemu's tty try disabling TSO etc on the host interface at least
1190   while using pcap.
1191
1192
1193 [FILE:20:files/qemu-ifdown.sample]
1194 #!/bin/sh
1195 exec true
1196
1197
1198 [FILE:20:files/qemu-ifup.sample]
1199 #!/bin/sh
1200 exec true
1201
1202
1203 [FILE:323:dragonfly/patch-hw-ppc_newworld.c]
1204 --- hw/ppc/mac_newworld.c.orig  2022-12-14 16:28:45 UTC
1205 +++ hw/ppc/mac_newworld.c
1206 @@ -75,6 +75,11 @@
1207  #include "hw/sysbus.h"
1208  #include "trace.h"
1209  
1210 +/* FreeBSD headers define this */
1211 +#ifdef round_page
1212 +#undef round_page
1213 +#endif
1214 +
1215  #define MAX_IDE_BUS 2
1216  #define CFG_ADDR 0xf0000510
1217  #define TBFREQ (100UL * 1000UL * 1000UL)
1218
1219
1220 [FILE:334:dragonfly/patch-hw_ppc_mac__oldworld.c]
1221 --- hw/ppc/mac_oldworld.c.orig  2022-12-14 16:28:45 UTC
1222 +++ hw/ppc/mac_oldworld.c
1223 @@ -66,6 +66,11 @@
1224  
1225  #define GRACKLE_BASE 0xfec00000
1226  
1227 +/* FreeBSD headers define this */
1228 +#ifdef round_page
1229 +#undef round_page
1230 +#endif
1231 +
1232  static void fw_cfg_boot_set(void *opaque, const char *boot_device,
1233                              Error **errp)
1234  {
1235
1236
1237 [FILE:906:dragonfly/patch-util_coroutine-ucontext.c]
1238 --- util/coroutine-ucontext.c.orig      2022-12-14 16:28:45 UTC
1239 +++ util/coroutine-ucontext.c
1240 @@ -225,7 +225,15 @@ Coroutine *qemu_coroutine_new(void)
1241                  2, arg.i[0], arg.i[1]);
1242  
1243      /* swapcontext() in, siglongjmp() back out */
1244 -    if (!sigsetjmp(old_env, 0)) {
1245 +    /* Save signal mask in this sigsetjmp, because makecontext on DragonFly
1246 +     * leaves all signals blocked when entering the new context with
1247 +     * swapcontext.
1248 +     * Workaround this, by just having the signal mask restored by the
1249 +     * siglongjmp that brings us back from qemu_coroutine_new().
1250 +     * XXX Remove this workaround when the makecontext behaviour is fixed
1251 +     *     on DragonFly.
1252 +     */
1253 +    if (!sigsetjmp(old_env, 1)) {
1254          start_switch_fiber_asan(COROUTINE_YIELD, &fake_stack_save, co->stack,
1255                                  co->stack_size);
1256          start_switch_fiber_tsan(&fake_stack_save,
1257