Ying Fang
4ed2e8773c
Backport: backport form upstream stable v4.1.1
...
This patch backports bugfix patch series from qemu upstream v4.1.1
Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-05-12 11:33:00 +08:00
Ying Fang
0b90f5bb05
Rebase qemu to 4.1.0 version
...
Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-05-12 11:33:00 +08:00
Pan Nengyuan
527d495377
nbd: backport nbd fix from qemu upstream
...
-nbd: Fix regression with multiple meta contexts
Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
2020-04-24 16:34:27 +08:00
Ying Fang
a83a262a67
slirp: Fix CVE-2020-1983
...
upstream url:
9bd6c59132
Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-04-24 15:10:23 +08:00
Ying Fang
235154df9e
async: Fix qemu main thread hang on weak ordered platfrom
...
aio-wait: delegate polling of main AioContext if BQL not held
upstream_url: https://patchwork.kernel.org/patch/11482099/
async: use explicit memory barriers
upstream_url: https://patchwork.kernel.org/patch/11482103/
Signed-off-by: Ying Fang <fanging1@huawei.com>
2020-04-11 08:52:38 +08:00
Leo Fang
b3ccd965a7
pcie: Add pcie-root-port deivce fast plug/unplug feature
...
If a device is plugged in the pcie-root-port when VM kernel is
booting, the kernel may wrongly disable the device.
This bug was brought in by two patches of the linux kernel:
https://patchwork.kernel.org/patch/10575355/
https://patchwork.kernel.org/patch/10766219/
VM runtime like kata uses this feature to boot microVM,
so we must fix it up. We hack into the pcie native hotplug
patch so that hotplug/unplug will work under this circumstance.
Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-03-18 17:27:28 +08:00
zhanghailiang
79d0c59389
spec: include linuxboot_dma.bin and pvh.bin in x86 package
...
linuxboot_dma.bin will be used by kata. Let's put it back
into x86 package.
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
2020-03-17 16:48:40 +08:00
Ying Fang
db47ea85b4
qemu: backport some bug fixing patches from upstream
...
We backport some bug fixing patches form qemu-stable-4.1.1
branch of upstream.
Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-03-16 22:39:17 +08:00
Chen Qun
f2082b3f2f
fix some issue for monitor and iscsi
...
block/iscsi: use MIN() between mx_sb_len and sb_len_wr
monitor: fix memory leak in monitor_fdset_dup_fd_find_remove
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2020-03-16 15:59:10 +08:00
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