QEMU is a FAST! processor emulator using dynamic translation to achieve
good emulation speed.
QEMU has two operating modes:
* Full system emulation. In this mode, QEMU emulates a full system
(for example a PC), including a processor and various peripherials.
It can be used to launch different Operating Systems without rebooting
the PC or to debug system code.
* User mode emulation (Linux host only). In this mode, QEMU can launch
Linux processes compiled for one CPU on another CPU. It can be used to
launch the Wine Windows API emulator or to ease cross-compilation and
cross-debugging.
As QEMU requires no host kernel patches to run, it is very safe and easy to use.
===> The following configuration options are available for qemu-11.1.2_1:
CAPSTONE=off: Disassembly framework support
CDROM_DMA=on: IDE CDROM DMA
CURL=on: Data transfer support via cURL
DEBUG=off: Build with debugging support
DOCS=on: Build and/or install documentation
GNUTLS=on: gnutls dependency (vnc encryption)
GTK3=on: GTK 3 GUI toolkit support
ISCSI=off: libiscsi dependency (iSCSI client for emulated drives)
JPEG=on: jpeg dependency (vnc lossy compression)
OPENGL=on: 2D/3D rendering support via OpenGL
PNG=on: png dependency (vnc compression)
SAMBA=off: samba dependency (for -smb)
SASL=on: cyrus-sasl dependency (vnc encryption)
STATIC_LINK=off: Statically link the executables
STRIP=off: Strip binaries before installation
USBREDIR=off: usb device network redirection (experimental!)
VDE=on: vde dependency (for vde networking)
X11=on: X11 (graphics) support
X86_TARGETS=off: Build only x86 system targets
====> Console (text) interface support: you have to select exactly one of them
NCURSES_BASE=off: Depend on ncurses in base
NCURSES_DEFAULT=on: Depend on ncurses (ports if installed, otherwise base)
NCURSES_PORT=off: Depend on devel/ncurses in ports
===> Use 'make config' to modify these settings
Reason:
emulators/qemu has been updated to 7.1.0. Previous 7.0.X branch has
been repocopied to emulators/qemu70. If someone wants to stick with 7.0.X
branch please use one of the following command:
# pkg install qemu70/qemu70-nox11(based on flavor used)
or
# portmaster -o emulators/qemu70 emulators/qemu
or
# portupgrade -o emulators/qemu70 emulators/qemu
Reason:
emulators/qemu has been updated to 7.0.0. Previous 6.2.X branch has
been repocopied to emulators/qemu6. If someone wants to stick with 6.2.X
branch please use one of the following command:
# pkg install qemu6/qemu6-nox11(based on flavor used)
or
# portmaster -o emulators/qemu6 emulators/qemu
or
# portupgrade -o emulators/qemu6 emulators/qemu
emulators/qemu: Disable plugins for tools and ga
Enabling plugin supports in tools and guest-agent makes it impossible
to install both of them together. So disable them as they have no
specific use cases in tools and guest-agent.
Reported by: garga
*/*: PORTREVISION++ on some @sample-using ports
The handling of @sample with regard to no-root installation was
recently fixed, by 452309533805 (in ports) plus changes in pkg 2.4.
These need new packages built before they will correctly install,
including into VM images generated as part of the FreeBSD release
process.
Unfortunately with the release scheduled for just a few weeks away
and generally slow arm64 package building, there isn't time for a
full pkg set rebuild; so bump a handful of ports which are used in
the release process so that they will be rebuilt.
Users who are not building VM images using the "no-root" pathway
(aka using a METALOG index of the disk image) are not affected by
this; we doubt anyone other than re@ will notice.
With hat: re@
Discussed with: bapt, antoine
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.
No functional or package changes.
emulators/qemu: Fix build on i386
- qemu@tools and qemu@guestagent were failing on i386 due to some
headers not being installed on i386 which is fixed.
- qemu@tools support compression with zstd which was disabled. Enabled
it to support compression of release artifacts. [1]
Reported by: dch [1]
emulators/qemu: Fix regression in gmake
This issue started popping up after the latest gmake upgrade. Although
there are multiple ways of fixing this I will stick with the preferred
path by tijl@ as he is trying to address the issue with other ports.
As I am not sure sure whether if this triggers a different binary being
generated but for the safest route bumping portrevision. This problem
is not reproducible for people using poudreiere to build their ports
PR: 277527
Reported by: rozhuk.im@gmail.com
emulators/qemu: fix build on powerpc*
../util/cpuinfo-ppc.c:49:18: error: use of undeclared identifier
'PPC_FEATURE2_ISEL'
if (hwcap2 & PPC_FEATURE2_ISEL) {
^
../util/cpuinfo-ppc.c:62:26: error: use of undeclared identifier
'PPC_FEATURE2_VEC_CRYPTO'
if (hwcap2 & PPC_FEATURE2_VEC_CRYPTO) {
^
2 errors generated.
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
emulators/qemu: fix build on powerpc64*
1. asm/cputable.h is Linux-only.
2. FreeBSD doesn't yet officially support POWER10, so we don't define
PPC_FEATURE2_ARCH_3_1.
ASCII'ze port descriptions which were (ab)using UTF-8 punctuation
While here, run these files through a spell-checker and wrap some
overly long lines and/or dangling prepositions (when appropriate).
accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
interface.
What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).
What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
(Only the first 15 lines of the commit message are shown above )
emulators/qemu: Fix missing LIB_DEPENDS
Add net/libslirp into LIB_DEPENDS, now required for making user
networking functional.
In qemu 7.2 release the slirp code has been moved out of the source
package and is enabled/disabled at the build time based on the
availability of the libslirp shared library. As such, it needs to be
added into LIB_DEPENDS to make this feature available in the quemu
package.
See
https://wiki.qemu.org/ChangeLog/7.2#Removal_of_the_.22slirp.22_submodule_.28affects_.22-netdev_user.22.29
for a reference.
PR: 269475
Reported by: sobomax
emulators/qemu: remove now-obsolete comment about i386
As of commit 5fcabb512923 qemu builds for i386 again without any
vm_page_t related errors, so the comment is no longer applicable.
emulators/qemu: Re-enable build for i386
During the upgrade to 7.0 the build of qemu for i386 got disabled, due
to "unknown-type name 'vm_page_t'" errors. This has been fixed.
PR: 268647
Reported by: dim
emulators/qemu{,70}: enable for aarch64
Piggy-back off of the work done for powerpc64 to enable aarch64. ppc64
was untested, though I did sanity check MAKE_ARGS with ARCH forced to
both powerpc64 and powerpc64le. Both result in ARCH=ppc64, as they did
before.
While we're here, enable ${MAKE_JOBS_NUMBER} support -- the meson build
will carry any -j flag passed to gmake on to ninja, otherwise it will
default to -j1.
Approved by: bofh (maintainer)
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D37234
emulators/qemu: Update version 7.0.0=>7.1.0
- Unbreak on latest HEAD [1]
Users who want to stick with 7.0.X branch please check UPDATING or use
qemu6. As previous qemu comes with three flavors: the default with X11
support, -nox11 without X11 support and -tools which installs only a
subset of entire qemu.
Reported by: jhb [1]
Relnotes: https://wiki.qemu.org/ChangeLog/7.1
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
emulators: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alejandro Pulver <alejandro@varnet.biz>
* Alexander Best <arundel@gmx.net>
* Alexander Nedotsukov <bland@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Antipovsky <kemm@in-line.ru>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Brian Gaeke <brg@dgate.org>
* Danilo Egea Gondolfo <danilo@FreeBSD.org>
* David Naylor <naylor.b.david@gmail.com>
* David O'Brien (obrien@cs.ucdavis.edu)
(Only the first 15 lines of the commit message are shown above )
emulators/qemu: Update version 6.2.0=>7.0.0
Users who want to stick with 6.X branch please check UPDATING or use
qemu6. As previous qemu comes with three flavors: the default with X11
support, -nox11 without X11 support and -tools which instals only a
subset of entire qemu.
Relnotes: https://wiki.qemu.org/ChangeLog/7.0
emulators/qemu: Use system dtc from ports
- elf2dmp depends on CURL [1]
- Fix build when fusefs-libs3 is installed [2]
PR: 260315 [2]
Reported by: kostikbel@gmail.com [1] d8zNeCFG@aon.at [2]
INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
emulators/qemu: fix build on powerpc
Define _CALL_SYSV to fix error:
In file included from
/wrkdirs/usr/ports/emulators/qemu/work/qemu-5.0.1/tcg/tcg.c:344:
/wrkdirs/usr/ports/emulators/qemu/work/qemu-5.0.1/tcg/ppc/tcg-target.inc.c:2290:3:
error: "Unhandled abi"
Use gcc because clang hangs.
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
emulators/qemu: Fix build on 13
- Use ports dtc instead of packaged dtc [1]
- bin/elf2dmp apparently depends on CURL [2]
- Reduce build to only X86 architectures if X86_TARGETS is set [2]
- rx is not an X86 architecture [2]
PR: 245997 [1] 254385 [2]
Reported by: swills [1] pstef [2]