Commit Graph

59 Commits

Author SHA1 Message Date
Vladimir Ermakov 48e103ef0d qemu: update to 9.0.0
- update version: 9.0.0
- refresh patches

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2024-04-30 13:45:48 -07:00
krant 0f4591537a qemu: update to 8.2.2
- Use HTTPS for URLs

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-10 16:15:28 -07:00
Vladimir Ermakov 196955742c qemu: update to 8.2.0
- Refresh patches.
- Disable new features like AF XDP, Rutabaga VGA, libkeyutils
- Delete removed features such as HAX hypervisor

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2024-02-18 09:18:23 +08:00
Vladimir Ermakov a517b7660b qemu: update to 8.1.2
Changes:
- Update to 8.1.2
- Refresh patches
- Replace absent option --with-git-submodules with --disable-download

Fix #22530

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2023-10-30 18:21:11 +01:00
Mathew McBride 821bbcdf8b qemu: enable host support for armsr/armv8
As of OpenWrt main branch commit e505873e65f72 ("armsr: armv8:
enable KVM host") [merged 2023-08-15], armsr/armv8 has
KVM host support. We can now enable QEMU host for this
target.

For example, you can run OpenWrt armsr/armv8 as a guest
like so:
qemu-system-aarch64 -nographic -M virt -cpu host --enable-kvm \
	-bios u-boot.bin -smp 1 -m 1024 \
	-drive file=openwrt-armsr-armv8-generic-ext4-combined.img,format=raw,index=0,media=disk

A compatible u-boot.bin can be obtained from u-boot-qemu_armv8/u-boot.bin
that is built with the armsr target and available from
downloads.openwrt.org.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
2023-08-16 11:02:28 +08:00
Vladimir Ermakov 73ee68a597 qemu: update to 8.0.2
Update version and refresh patches.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2023-06-16 13:58:04 +08:00
Tianling Shen e007556915 qemu: change references from armvirt to armsr
armvirt target has been renamed to armsr (Arm SystemReady) [1],
so the dependency need to be changed as well.

40b02a2301

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-16 12:30:32 +08:00
Vladimir Ermakov 6035e4884d qemu: add zstd option
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2023-04-23 18:35:39 +08:00
Vladimir Ermakov 65d052d9b8 qemu: update to 8.0.0
- Update version to 8.0.0
- Refresh patches
- Update configure opttions to disable libdw

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2023-04-23 18:35:39 +08:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Vladimir Ermakov e93a9d0063 qemu: update to 7.2.0
drop disas and bios patches
refresh patches

qemu: vhost-scsi does not exist, drop unsupported vhost options

qemu: disable VDUSE by default

qemu: slirp and vnc-png option gone

Note: libpng still needed if vnc enabled.

Link: https://github.com/openwrt/packages/pull/18623
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
(squash commits)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2023-03-01 17:15:27 +08:00
Nicola Corna b3ea2c4fca qemu: enable usb passthrough by default
The total uncompressed size increase (qemu-system-x86_64 and the new libusb
dependency) is less than 1%.

Signed-off-by: Nicola Corna <nicola@corna.info>
2022-11-11 15:18:46 -08:00
Vladimir Ermakov df6cf458c4 qemu: add seccomp feature
Patch add an option to enable seccomp support,
adds dependency on libseccomp.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2022-01-18 12:53:27 +08:00
Vladimir Ermakov 421fb2fea4 qemu: update to 6.2.0
Qemu version updated to 6.2.0, patch set refreshed for it.

Options --disable-jemalloc --disable-tcmalloc was replaced
by --enable-malloc=CHOICE, defaults to system.

Libudev search was moved from configure to meson.build, and now it's
not so easy to disable it. Even though --disable-mpath present.

Delete patches 0008-falloc and 0009-fs - they're already in 6.2.0.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2022-01-18 12:53:27 +08:00
Tianling Shen 11265308c7 qemu: add libslirp dependency
It has been integrated in QEMU to provide user mode networking.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-12-16 13:27:47 +08:00
Rosen Penev 0b349d9ea3 qemu: disable libfuse
Fixes x86 build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-11-02 10:38:49 +08:00
Rosen Penev 5ccd4d1c25 treewide: compile with tools/meson
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-17 22:06:52 -07:00
Rosen Penev e28f2db374 qemu: fix compilation on 64 bit platforms
Last patch is for mips. Second is an upstream backport. First is needed
for at least musl 1.2.x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-16 15:19:29 +08:00
Vladimir Ermakov b8ef617993 qemu: update to 6.1.0, add usb passthrough option
One of big change is that QEMU has switched to Meson build system.
That result in few changes to build scripts to fix python interpreter
usage.
Second change that it's not possible to select binaries to build, so
now we have to build all targets at once (that require --enable-tools).

Options --disable-sheepdog and --disable-vxhs was removed from qemu
6.1.0 and 6.0.0 accordingly.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2021-09-14 21:28:45 +08:00
Rosen Penev 39bc254663 treewide: remove uClibc++ support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-05 15:07:46 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Yousong Zhou 31abcf26de qemu: remove ref to now non-existent TARGET_arm64
It was removed in base system commit 88468f7e ("armvirt: merge arm64 as
subtarget 64") in 2017

No change in packaged content

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-12-18 20:29:06 +08:00
Yousong Zhou 33bbeceaa7 qemu: add patch for qga guest-shutdown command
Ref: https://github.com/openwrt/packages/issues/14244
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-12-17 17:08:40 +08:00
Yousong Zhou 1e836cb41a qemu: fix build failure caused by ld cannot find iconv
This was caused by upstream project commit db5adeaa ("build-sys: clean
up flags included in the linker command line")

Reported-by: W. Michael Petullo <mike@flyn.org>
Link: https://github.com/openwrt/packages/issues/13081
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-12 00:05:37 +08:00
Yousong Zhou 100bd27e4d qemu: use $(ICONV_DEPENDS)
In case CONFIG_BUILD_NLS was enabled

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-12 00:05:37 +08:00
Yousong Zhou 7a98f0b370 qemu: explictly --disable-linux-io-uring
Fixes openwrt/packages#12808

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-14 21:24:39 +08:00
Yousong Zhou ba6e5fc393 qemu: filter out configure args with predefined macros
Reported-by: a3033406ea (commitcomment-39321758)
Suggested-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-21 11:16:07 +08:00
Yousong Zhou a3033406ea qemu: ignore configure option --disable-ipv6
Fixes: https://github.com/openwrt/packages/issues/12194
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-20 23:32:01 +08:00
Yousong Zhou f40420d456 qemu: bump to version 5.0.0
The slirp patch was included in this QEMU release

CXX_DEPENDS is now added for all host components otherwise we get
errors like the following

  Package qemu-img is missing dependencies for the following libraries:
  libuClibc++.so.0
  Package qemu-nbd is missing dependencies for the following libraries:
  libuClibc++.so.0

--disable-bluez was removed from configure args because upstream
deprecated bluetooth subsystem since qemu v3.1 and remove the code in
commit 1d4ffe8dc77c ("Remove the core bluetooth code")

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-05-11 17:02:16 +08:00
Yousong Zhou 47d9bf8418 qemu: fix building on mips arch
Add fallback zero value definition for MAP_SYNC etc. even when building
for CONFIG_LINUX.

Fixes openwrt/packages#11067

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-30 13:23:39 +08:00
Yousong Zhou ca7ea1402c qemu: add ui options to PKG_CONFIG_DEPENDS
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-20 17:27:13 +08:00
Yousong Zhou bdac2c8289 qemu: enable guest_agent no matter whether softmmu is enabled
Fixes: openwrt/packages#11067

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-02-07 03:12:54 +08:00
Yousong Zhou 14ee7cd3bf qemu: bump to version 4.2.0 2019-12-16 02:50:15 +00:00
Yousong Zhou df4811c6c3 qemu: bump to version 4.1.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-11-18 02:54:51 +00:00
Yousong Zhou 924b136aa7 qemu: allow configure SPICE ui support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-28 09:10:11 +08:00
Yousong Zhou 0d4313fdcc qemu: enable basic VNC ui support
With other features like vnc jpeg, png, sasl configurable

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-10-28 09:10:11 +08:00
Yousong Zhou a2bbedb880 qemu: patch for CVE-2019-15890
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-23 02:16:01 +00:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Yousong Zhou 1a3f436a2f qemu: bump to version 4.1.0
Package qemu-blobs was removed and replaced with separate firmware
packages for size considerations.

QEMU switched to libssh from libssh2 and configure option also changes

For upstream changelog, see http://wiki.qemu.org/ChangeLog/4.1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-20 10:05:51 +00:00
Yousong Zhou 8875e3c513 qemu: bump to version 4.0.0
Group configure options by the functionality category they roughly
belong to

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-04-30 12:46:45 +00:00
Yousong Zhou 160e84e91f qemu: explicitly disable dependency on libpmem, libudev, libxml2
Supersedes openwrt/packages#8571

Reported-by: Rosen Penev rosenp@gmail.com
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-04-02 15:47:16 +08:00
Yousong Zhou c75e155018 qemu: sort --disable-xx list
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-04-02 15:47:16 +08:00
Yousong Zhou 36f2832f9d qemu: bump to version 3.1.0
Changelog can be found at https://wiki.qemu.org/ChangeLog/3.1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-12-17 04:11:10 +00:00
Yousong Zhou 9400257639 qemu: tighten up CONFIGURE_ARGS spec
This is more for readability, no functional change

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-08-20 02:43:56 +00:00
Yousong Zhou 41c3a2e0a5 qemu: bump to version 3.0.0
Also switch to domain download.qemu.org and .xz files

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-08-20 02:38:56 +00:00
Yousong Zhou cfab296848 qemu: bump to version 2.12.1
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-08-06 02:02:11 +00:00
Mathew McBride fd6fd08eee qemu: package qemu-nbd
qemu-nbd is used to 'mount' images to /dev/nbdX block devices, for
example, to manipulate a qcow2 image as a disk device

Signed-off-by: Mathew McBride <matt@traverse.com.au>
2018-06-19 10:39:02 +08:00
Mathew McBride b3c428cc23 qemu: package qemu-img
qemu-img is used for converting between different VM image types,
such as qcow2 to raw and vice versa.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
2018-06-19 10:39:02 +08:00
Yousong Zhou 8bd3bd86ad qemu: bump to version 2.11.1
Here are the notable changes

 - pixman is now not part of the release tarball and is required as an
   external dependency
 - archipelago is removed by upstream
 - patches are regenerated with git-format-patch
 - ifunc requirement is now removed

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-24 15:41:36 +08:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00