- Add lbt support for kvm.
- Fix smp.cores value and Fix divide 0 error
- hw/nvme: Change alignment in dma functions for nvme_blk_*
- virtio: fix reachable assertion due to stale value of cached region size
- hw/nvme: fix missing DNR on compare failure
Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
(cherry picked from commit 8040b814b870e30530193485720369d3f81a295e)
Files man8/qemu-ga.8* are packaged in qemu-help package.
Delete it from qemu-guest-agent package.
Signed-off-by: liuxiangdong <liuxiangdong5@huawei.com>
(cherry picked from commit 522d65d17105385cd106c87df815856a3cf244a5)
"%exclude" only means not packaging these three files but they
are still existing in buildroot directory. "ERROR: No build ID
not found in XXXXX" will be reported when generating debug package.
Delete them directly in buildroot directory.
Signed-off-by: liuxiangdong <liuxiangdong5@huawei.com>
(cherry picked from commit 047085038062127f07a5e0a853fbb0d0ac16ff65)
- migration/xbzrle: fix out-of-bounds write with axv512
- migration/xbzrle: use ctz64 to avoid undefined result
- Update bench-code for addressing CI problem
- AVX512 support for xbzrle_encode_buffer
- configure, meson: move AVX tests to meson
- target/i386: KVM: allow fast string operations if host supports them
- target/i386: add FSRM to TCG
- hw/nvme: fix memory leak in nvme_dsm
- aio-posix: fix race between epoll upgrade and aio_set_fd_handler()
- target/i386: Add SGX aex-notify and EDECCSSA support
- hw/usb/imx: Fix out of bounds access in imx_usbphy_read()
- target/i386: Set maximum APIC ID to KVM prior to vCPU creation
- target/i386: Fix sanity check on max APIC ID / X2APIC enablement
Signed-off-by: Fei Xu <xufei30@huawei.com>
(cherry picked from commit 2ddec1532bdfeff758025fa8ebe6423072621ee1)
-vhost-user-blk: fix the resize crash
-plugins: make qemu_plugin_user_exit's locking order consistent with fork_start's
-linux-user: fix strace build w/out munlockall
-ui: fix crash on serial reset, during init
-qga/win/vss: requester_freeze changes
-migration: fix populate_vfio_info
-block/rbd: workaround for ceph issue #53784
-target/i386: add FZRM, FSRS, FSRC
-i386: Add new CPU model SapphireRapids
-core/cpu-common: Fix the wrong '#ifdef __aarch64__'
Signed-off-by: Fei Xu <xufei30@huawei.com>
(cherry picked from commit f9d45693ebcd110b1f143ffe2380cd521b671328)
Add function kvm_arch_accel_class_init definition on loongarch64 machine.
Signed-off-by: lixianglai <lixianglai@loongson.cn>
(cherry picked from commit 6b685cefd08b2a46db9888d6e6e74510b6d62fd0)
-bugfix: fix qmp command migrate-set-parameters
-some bugfixs about ARM hot-plugged CPUs
-hw/core/machine:Fix the missing consideration of cluster-id
-test/tcg:Fix target-specific Makefile variable path for user-mode
-tests:add (riscv virt) machine mapping to testenv
-Make a litte improvement in curl and hw/riscv
-qemu support for loongarch
-hw/pvrdma: Protect against buggy or malious guest driver
-hw/audio/intel-hda:fix stream reset
-dsoundaudio:fix crackling audio recordings
-add notify-vm-exit support for i386
-blok-backend: prevent dangling BDS pointers across aio_poll()
-net:Fix uninitialized data usage
-net/eth:Don't consider ESP to be an IPv6 option header
-hw/net/vmxnet3:Log guest-triggerable errors using LOG_GUEST_ERROR
Signed-off-by: FeiXu <xufei30@huawei.com>
(cherry picked from commit cb597988462cc34a9ef18139c1b6c403333c93a7)
- linux-user: Add strace output for timer_settime64() syscall
- fix qemu-core when vhost-user-net config with server mode
Signed-off-by: yezengruan <yezengruan@huawei.com>
It is more clear about conditonal build.
Signed-off-by: Qiang Wei <qiang.wei@suse.com>
(cherry picked from commit c00bd7dc70f700b90db24c324d2e2333282130b9)
- sync some bugfix patches from upstream
- fix the virtio features negotiation flaw
- fix CVE-2022-4144
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit 86bdfa92116f931f9f221449750d1ddb8b31bacd)
- arm/virt: Fix vcpu hotplug idx_from_topo_ids
- Revert patches related to the vSVA
- sync some bugfix patches from upstream
- add generic vDPA device support
Signed-off-by: yezengruan <yezengruan@huawei.com>
Support rbd by adding --enable-rbd compilation option
Signed-off-by: yuelg <yuelg@chinaunicom.cn>
(cherry picked from commit 62f5717c6f9c7d92224560c2d84381bc09ad9a6f)
- support dirty restraint on vCPU
- support SPR AMX in Qemu
- fix compilation errors of sw64
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit e9095b76ae8be40ed088bf155356ab11d61f9e3b)
net-tulip-Restrict-DMA-engine-to-memories.patch was named with CVE-XX
surfixes, the spec remains that old name, change the name there.
Signed-off-by: Zhang Bo <oscar.zhangbo@huawei.com>
(cherry picked from commit 9e73b27bd80a240f37eb04c17d593c3f83eab6b6)
fix CVE-2022-2962.
The DMA engine is started by I/O access and then itself accesses the
I/O registers, triggering a teentrancy bug.
Fix this bug by restricting the DMA engine to memories regions.
Signed-off-by: Zhang Bo <oscar.zhangbo@huawei.com>
(cherry picked from commit 69b69596a274bd68695dda39ef939ed1ddbf9ba1)
hw/scsi/lsi53c895a: Do not abort when DMA requested and no data queued
tests/qtest: Add fuzz-lsi53c895a-test
scsi/lsi53c895a: fix use-after-free in lsi_do_msgout (CVE-2022-0216)
scsi/lsi53c895a: really fix use-after-free in lsi_do_msgout (CVE-2022-0216)
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit 9b71f5aa79cf60ef96779e8127429e08af0f3f12)
block-nbd was refacted during release 6.2.0, but we didn't induced
all the needed patches within the 6.2.0 baseline, which leads to
vm crash during migration.
the reasons are as below:
when iothread is configured, the coroutines should get back to
the exact iothread that was out of. But within the 6.2.0 baseline,
patches were missing, nbd related coroutine didn't have its related
aio_context. It in fact get to the mainline aio_context, the mistaken
context leads to vm crash.
(cherry picked from commit 6e9beed308cf3a252419fe8fde37cae3d1f2e281)
hw/intc/arm_gicv3: Check for !MEMTX_OK instead of MEMTX_ERROR (CVE-2021-3750)
softmmu/physmem: Simplify flatview_write and address_space_access_valid
softmmu/physmem: Introduce MemTxAttrs::memory field and MEMTX_ACCESS_ERROR
(cherry picked from commit b39643dc6ee4fab61b1d840a1124cb407c7c0af1)
Change Ascend710's quirk regions to bar2 for internal causes.
And support Ascend710 2P format now.
Signed-off-by: Wu Binfeng <wubinfeng@huawei.com>
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit ce1ce575d621f918d1719f8d2fadbbcc68260ada)
vhost-vsock: detach the virqueue element in case of error (CVE-2022-26354)
virtio-net: fix map leaking on error during receive (CVE-2022-26353)
Signed-off-by: yezengruan <yezengruan@huawei.com>
The paramter 'cache' is invalid for host device(/dev/xxx). If
'qemu-img create' operator performed on host device, the host
device not support 'cache' would result 'qemu-img create excute'
failed.
Signed-off-by: Jinhua Cao <caojinhua1@huawei.com>