317 Commits

Author SHA1 Message Date
Ying Fang
9b341be807 slirp: Fix libslirp CVE-2020-8608
Picked from libslirp upstream:

tcp_emu: fix unsafe snprintf() usages
68ccb8021a

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-03-12 15:37:08 +08:00
Ying Fang
fb21ed7696 slirp: Fix libslirp CVE-2020-7039
Picked from libslirp upstream:

tcp_emu: Fix oob access
2655fffed7

slirp: use correct size while emulating IRC commands
ce131029d6

slirp: use correct size while emulating commands
82ebe9c370

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-03-12 15:34:32 +08:00
Ying Fang
046e9d4f2c spec: Fix patch number mismatch
Patch numbers are mismatched when QEMU is rebased from v4.0.0 to v4.0.1,
this patch is introduced to have it fixed.

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-03-10 10:35:50 +08:00
Ying Fang
b047726c50 iscsi: Cap block count from GET LBA STATUS (CVE-2020-1711)
Pick patch from upstream to fix CVE-2020-1711
upstream url:
https://git.qemu.org/?p=qemu.git;a=commit;h=693fd2acdf14dd86c0bf852610f1c2cca80a74dc

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-03-10 10:28:53 +08:00
Ying Fang
23f09debc1 spec: Build qemu with python3 support
Python2 will reach the end of its life, it's time to build qemu
with python3 support.

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-02-26 11:00:38 +08:00
Ying Fang
e4766d9eee docs: Enable build and install of our rST docs
drop Revert-Enable-build-and-install-of-our-rST-docs.patch
to enable python-sphnix doc support.

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-02-21 18:34:23 +08:00
Ying Fang
87b139ea79 qemu: Rebase from qemu-4.0.0 to qemu-4.0.1
Rebase to qemu-4.0.1 and drop redunt patches.
Update release version info.

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-02-21 18:34:15 +08:00
Ying Fang
ac7cc5760b spec: remove patches that already been merge into 4.0.1 base line
Prepare for upgrading base package from 4.0.0 to 4.0.1.

Remove all the patches that have been contained in 4.0.1 base package.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
2020-02-21 18:34:08 +08:00
zhanghailiang
8116423248 spec: remove fno-inline option
fno-inline option is need by hot-patch, but we didn't support
hot-patch in this version, remove it.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
2020-02-06 10:08:20 +08:00
wsp1991
7374cb0f9c block: fix memleaks in bdrv_refresh_filename
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
2020-01-16 18:15:23 +08:00
xuding
ed0d368182 Fix some memory leak in qemu
Signed-off-by: Ying Fang <fangying1@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
2020-01-13 20:40:08 +08:00
Ying Fang
eb23f6e929 There is a possible memory leak while local_link return -1 without free odirpath and oname.
Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-01-13 16:38:01 +08:00
zhanghailiang
928b70e2d1 Arm: Backport patches from upstream to support more than 256 vcpus
Without this serial, we can't start VM with more than 256 vcpus,
this is limited by kvm API, backport this serial to fix the bug.

With this patches, it can supports up to 512 vcpus.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
2020-01-06 14:42:24 +08:00
dogsheng
5b4fe89268 Package init 2019-12-25 16:06:27 +08:00
dogsheng
42fef5c34b Package init 2019-12-13 16:06:06 +08:00
zhuchunyi
f0229b47e9 update code 2019-11-06 19:50:55 +08:00
overweight
9a683b2a29 Package init 2019-09-30 11:15:46 -04:00