Commit Graph

39 Commits

Author SHA1 Message Date
Rosen Penev 39bc254663 treewide: remove uClibc++ support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-05 15:07:46 -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
Yousong Zhou 7b812e8fdd qemu: build sub-packages only for selected targets
While at it, move these pacakges to submenu Utilities -> Virtualization

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-13 21:15:33 -06:00
Yousong Zhou 3aa9ece43c qemu: virtio-console-helper as a separate package
While at it, update copyright header.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
Yousong Zhou c778ff5714 qemu: packaging target {x86_64,arm}-softmmu and friends
At the moment, only build these softmmu emulators for x86_64 and sunxi
target.  The decision was made for the following reasons

 - It seems that interests of virtualization with qemu are mostly from
   x86, and ARM recently.
 - x86, sunxi boards/boxes capable of running qemu with accel=kvm are more
   widely available
 - Not all host, target combinations of qemu works, or even compiles
 - Extra maintenance work and server resources

Test results are as the following

 - Nested vmx works: lede-qemu-x86_64-kvm on lede-qemu-x86_64-kvm
 - KVM on Cubieboard2 works
 - tcg with malta works: lede-qemu-malta-tcg on lede-qemu-malta-tcg.
   But it's too slow to be useful thus not included in this version
 - mips64 host does not compile

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
Yousong Zhou 83f0cfb71a qemu: bump to version 2.6.2
- use CXX_DEPENDS instead of explictly requiring libstdcpp
 - use PKG_INSTALL_DIR for packaging qemu-ga
 - explicitly --disable-docs

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-12-11 21:32:22 -06:00
Yousong Zhou ae8668ae88 qemu: remove the leftover --enable-qemu-agent option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-08-18 11:33:01 +08:00
Yousong Zhou ac0ea8b970 qemu: build only qemu-ga
This has two effects

 - Saves time and computing resources.  Non-relevant tools like
   qemu-img, qemu-io will not be built
 - Fixes packaging failure on octeon target caused by failure of
   building internal pixman library

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-08-18 11:28:21 +08:00
Dirk Neukirchen 1154f45501 qemu: fix ccache enabled builds
issue reported by buildbots
fix error:
ERROR: unknown option gcc

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
2016-08-13 18:48:18 +02:00
Yousong Zhou 248cf4bca0 qemu: bump to 2.5.0
ChangeLog/2.5: http://wiki.qemu.org/ChangeLog/2.5

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-03-14 11:30:58 +08:00
Yousong Zhou 3ea82eecb7 qemu: new package qemu-ga
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-02-26 18:07:53 +08:00