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>
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>
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>
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>
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>
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>