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