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