179 Commits

Author SHA1 Message Date
tangzhongrui
710fa3214a Modify the spec file to specify the package version of zstd and zstd-devel that qemu depends on.
Signed-off-by:  Zhongrui Tang <tangzhongrui@cmss.chinamobile.com>
2021-08-30 17:01:21 +08:00
tangzhongrui
29a47b91a6 Remove duplicate and disorderly changelogs which will cause compilation errors.
Signed-off-by:  Zhongrui Tang <tangzhongrui@cmss.chinamobile.com>
2021-08-30 16:51:48 +08:00
Jiajie Li
0978d96786 block_curl: add bolck_curl package
Signed-off-by: Jiajie Li <lijiajie11@huawei.com>
2021-08-19 13:43:41 +08:00
Chen Qun
0e5958c788 spec: Update release version with !185
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-08-16 11:29:58 +08:00
Chen Qun
ce72a2174d spec: Update patch and changelog with !185 fix CVE-2021-3682 #I45H4H !185
usbredir: fix free call

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-08-16 11:29:37 +08:00
Chen Qun
216918bb04 spec: Update release version with !183
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-08-04 11:28:28 +08:00
Chen Qun
b94d8926ee spec: Update patch and changelog with !183 Support VFIO migration manual clear interface & vSMMUv3/pSMMUv3 2 stage VFIO integration & Support migration in SMMUv3 nested mode !183
vfio: Support host translation granule size
vfio/migrate: Move switch of dirty tracking into vfio_memory_listener
vfio: Fix unregister SaveVMHandler in vfio_migration_finalize
migration/ram: Reduce unnecessary rate limiting
migration/ram: Optimize ram_save_host_page()
qdev/monitors: Fix reundant error_setg of qdev_add_device
linux-headers: update against 5.10 and manual clear vfio dirty log series
vfio: Maintain DMA mapping range for the container
vfio/migration: Add support for manual clear vfio dirty log
hw/arm/smmuv3: Support 16K translation granule
hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly
hw/vfio/common: trace vfio_connect_container operations
update-linux-headers: Import iommu.h
vfio.h and iommu.h header update against 5.10
memory: Add new fields in IOTLBEntry
hw/arm/smmuv3: Improve stage1 ASID invalidation
hw/arm/smmu-common: Allow domain invalidation for NH_ALL/NSNH_ALL
memory: Add IOMMU_ATTR_VFIO_NESTED IOMMU memory region attribute
memory: Add IOMMU_ATTR_MSI_TRANSLATE IOMMU memory region attribute
memory: Introduce IOMMU Memory Region inject_faults API
iommu: Introduce generic header
pci: introduce PCIPASIDOps to PCIDevice
vfio: Force nested if iommu requires it
vfio: Introduce hostwin_from_range helper
vfio: Introduce helpers to DMA map/unmap a RAM section
vfio: Set up nested stage mappings
vfio: Pass stage 1 MSI bindings to the host
vfio: Helper to get IRQ info including capabilities
vfio/pci: Register handler for iommu fault
vfio/pci: Set up the DMA FAULT region
vfio/pci: Implement the DMA fault handler
hw/arm/smmuv3: Advertise MSI_TRANSLATE attribute
hw/arm/smmuv3: Store the PASID table GPA in the translation config
hw/arm/smmuv3: Fill the IOTLBEntry arch_id on NH_VA invalidation
hw/arm/smmuv3: Fill the IOTLBEntry leaf field on NH_VA invalidation
hw/arm/smmuv3: Pass stage 1 configurations to the host
hw/arm/smmuv3: Implement fault injection
hw/arm/smmuv3: Allow MAP notifiers
pci: Add return_page_response pci ops
vfio/pci: Implement return_page_response page response callback
vfio/common: Avoid unmap ram section at vfio_listener_region_del() in nested mode
vfio: Introduce helpers to mark dirty pages of a RAM section
vfio: Add vfio_prereg_listener_log_sync in nested stage
vfio: Add vfio_prereg_listener_log_clear to re-enable mark dirty pages
vfio: Add vfio_prereg_listener_global_log_start/stop in nested stage
hw/arm/smmuv3: Post-load stage 1 configurations to the host

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-08-04 11:28:28 +08:00
Chen Qun
5305f9170e spec: Update release version with !182
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-08-03 21:27:12 +08:00
Chen Qun
c161b2c6fc spec: Update patch and changelog with !182 Some fixes and optimizations of migration !182
kvm: split too big memory section on several memslots
kvm: Reallocate dirty_bmap when we change a slot
accel: kvm: Fix memory waste under mismatch page size
memory: Skip dirty tracking for un-migratable memory regions
Fix use after free in vfio_migration_probe
vfio: Make migration support experimental
vfio: Change default dirty pages tracking behavior during migration
vfio: Fix vfio_listener_log_sync function name typo

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-08-03 21:27:12 +08:00
Chen Qun
a4e907027e spec: Update release version with !174
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-29 16:27:46 +08:00
Chen Qun
c3e19a5376 spec: Update patch and changelog with !174 Some fixes and optimizations for VFIO migration !174
vfio: Move the saving of the config space to the right place in VFIO migration
vfio: Set the priority of the VFIO VM state change handler explicitly
vfio: Avoid disabling and enabling vectors repeatedly in VFIO migration

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-29 16:27:46 +08:00
imxcc
4daf6a89f5 Add migration support for VFIO devices
Add migration support for VFIO devices and the pre-requisite for this

Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-07-29 11:36:27 +08:00
imxcc
d609107256 some bugfix sync from 20.09
Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-07-28 15:19:15 +08:00
imxcc
a97ab16112 hw/arm/virt: Init PMU for hotplugged vCPU
Factor out PMU init code from fdt_add_pmu_nodes and
do PMU init for hotplugged vCPU.

Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-07-23 17:31:00 +08:00
Chen Qun
360c933e51 spec: Update release version with !171
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-23 11:28:28 +08:00
Chen Qun
02150b62a8 spec: Update patch and changelog with !171 i386: backport qemu-4.1 bugfix !171
vl: Don't mismatch g_strsplit()/g_free()
seqlock: fix seqlock_write_unlock_impl function
target/i386: kvm: initialize microcode revision from KVM
target/i386: check for availability of MSR_IA32_UCODE_REV as an emulated MSR

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-23 11:28:28 +08:00
Chen Qun
02c35518f2 spec: Update release version with !168 !169 !170
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-22 21:28:35 +08:00
Chen Qun
81f1d7c169 spec: Update patch and changelog with !170 block: backport qemu-4.1 bugfix !170
qapi/block-core: Introduce BackupCommon
drive-backup: create do_backup_common
blockdev-backup: utilize do_backup_common
qapi: add BitmapSyncMode enum
block/backup: Add mirror sync mode 'bitmap'
block/backup: add 'never' policy to bitmap sync mode
block/backup: loosen restriction on readonly bitmaps
block/backup: hoist bitmap check into QMP interface
block/backup: deal with zero detection
mirror: Fix bdrv_has_zero_init() use
blockdev: fix coding style issues in drive_backup_prepare
blockdev: unify qmp_drive_backup and drive-backup transaction paths
blockdev: unify qmp_blockdev_backup and blockdev-backup transaction paths
blockdev: honor bdrv_try_set_aio_context() context requirements
blockdev: Return bs to the proper context on snapshot abort
block: Fix cross-AioContext blockdev-snapshot

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-22 21:28:35 +08:00
Chen Qun
50771bbc53 spec: Update patch and changelog with !169 bugfix: Move hot plug capability check to pre_plug callback !169
hw/pci/pcie: Move hot plug capability check to pre_plug callback

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-22 21:28:33 +08:00
Chen Qun
322d615298 spec: Update patch and changelog with !168 migration: Rate limit inside host pages !168
migration: use migration_is_active to represent active state
migration: Rate limit inside host pages

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-22 21:28:32 +08:00
Chen Qun
aeae451238 spec: Update release version with !167
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-22 16:27:31 +08:00
Chen Qun
8eeb6bb9d4 spec: Update patch and changelog with !167 backport some qemu-4.1 bugfix !167
virtio-net: delete also control queue when TX/RX deleted
target/i386: enable monitor and ucode revision with -cpu max
target/i386: set the CPUID level to 0x14 on old machine-type
target/i386: kvm: initialize feature MSRs very early
target/i386: add a ucode-rev property

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-22 16:27:31 +08:00
Chen Qun
0cfcdff701 spec: Update release version with !166
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-22 11:27:53 +08:00
Chen Qun
1f5c5e9ea8 spec: Update patch and changelog with !166 mirror/qcow2: backport qemu-4.1 bugfix !166
qcow2: Fix qcow2_alloc_cluster_abort() for external data file
mirror: Wait only for in-flight operations

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-22 11:27:53 +08:00
Chen Qun
3072b3a631 spec: Update release version with !164 !165
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-21 21:27:22 +08:00
Chen Qun
e94ff0db36 spec: Update patch and changelog with !165 backport qemu-4.1 bugfix and CVE fix !165
block/curl: HTTP header fields allow whitespace around values
block/curl: HTTP header field names are case insensitive
backup: Improve error for bdrv_getlength() failure
mirror: Make sure that source and target size match
iotests/143: Create socket in $SOCK_DIR
nbd/server: Avoid long error message assertions CVE-2020-10761
block: Call attention to truncation of long NBD exports
qemu-img convert: Don't pre-zero images

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-21 21:27:22 +08:00
Chen Qun
7cdb42a8eb spec: Update patch and changelog with !164 qemu-4.1 bugfix !164
virtio: don't enable notifications during polling
usbredir: Prevent recursion in usbredir_write
xhci: recheck slot status
vhost: Add names to section rounded warning
vhost-user: Print unexpected slave message types
contrib/libvhost-user: Protect slave fd with mutex
libvhost-user: Fix some memtable remap cases
xics: Don't deassert outputs
i386: Resolve CPU models to v1 by default

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-21 21:27:20 +08:00
imxcc
26a68c032e x86: VMX features can be enable/disable via -cpu flags
migration: bugfix, multifd send pages next channel and
Make sure that we do not call write in case

Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-07-21 15:59:20 +08:00
Chen Qun
8dd195e99a spec: Update release version with !162
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-20 21:27:28 +08:00
Chen Qun
c2924fc4ee spec: Update patch and changelog with !162 block/crypto: improved performance for AES-XTS encryption for LUKS disk encryption !162
crypto: add support for nettle's native XTS impl
crypto: add support for gcrypt's native XTS impl
tests: benchmark crypto with fixed data size, not time period
tests: allow filtering crypto cipher benchmark tests

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-20 21:27:28 +08:00
Chen Qun
b43563c752 spec: Update release version with !161
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-20 16:27:34 +08:00
Chen Qun
dadccf3646 spec: Update patch and changelog with !161 x86: new CPU models for Denverton (server-class Atom-based SoC), Snowridge, and Dhyana !161
target/i386: Introduce Denverton CPU model
target/i386: Add Snowridge-v2 (no MPX) CPU model
i386: Add CPUID bit for CLZERO and XSAVEERPTR

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-20 16:27:34 +08:00
Chen Qun
b405a3c6ee spec: Update release version with !152 !157
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-07-19 21:29:25 +08:00
Chen Qun
665079b389 spec: Update patch and changelog with !157 [feature]add support for AVX512_BF16 and new CPU model Cooperlake !157
x86: Intel AVX512_BF16 feature enabling
i386: Add MSR feature bit for MDS-NO
i386: Add macro for stibp
i386: Add new CPU model Cooperlake
target/i386: Add new bit definitions of MSR_IA32_ARCH_CAPABILITIES
target/i386: Add missed security features to Cooperlake CPU model
target/i386: add PSCHANGE_NO bit for the ARCH_CAPABILITIES MSR
target/i386: Export TAA_NO bit to guests

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-19 21:29:25 +08:00
Chen Qun
1b38d7c3de spec: Update patch and changelog with !152 hw/net/rocker_of_dpa: fix double free bug of rocker device !152
hw/net/rocker_of_dpa: fix double free bug of rocker device

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-07-19 21:29:23 +08:00
imxcc
9347466659 spec: add gcc buildrequire
Signed-off-by: imxcc <xingchaochao@huawei.com>
2021-06-28 16:38:42 +08:00
Chen Qun
230bdff72e spec: Update release version with !146
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-06-21 16:27:59 +08:00
Chen Qun
f64c0eea3d spec: Update patch and changelog with !146 fix CVE-2021-3527 #I3U9T9 && CVE-2019-12067#I3VG5H && CVE-2021-20221 #I3UFOP !146
ide: ahci: add check to avoid null dereference (CVE-2019-12067)
hw/intc/arm_gic: Fix interrupt ID in GICD_SGIR register
usb: limit combined packets to 1 MiB (CVE-2021-3527)

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-06-21 16:27:26 +08:00
Chen Qun
ef989d6fc8 spec: Update release version with !141
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-06-15 16:27:16 +08:00
Chen Qun
f1d6caff39 spec: Update patch and changelog with !141 fix CVE-2021-3544 #I3VG5I && fix CVE-2021-3545 #I3V9I8 && fix CVE-2021-3546 #I3V9I7 !141
vhost-user-gpu: fix resource leak in 'vg_resource_create_2d' (CVE-2021-3544)
vhost-user-gpu: fix memory leak in vg_resource_attach_backing (CVE-2021-3544)
vhost-user-gpu: fix memory leak while calling 'vg_resource_unref' (CVE-2021-3544)
vhost-user-gpu: fix memory leak in 'virgl_cmd_resource_unref' (CVE-2021-3544)
vhost-user-gpu: fix memory leak in 'virgl_resource_attach_backing' (CVE-2021-3544)
vhost-user-gpu: fix memory disclosure in virgl_cmd_get_capset_info (CVE-2021-3545)
vhost-user-gpu: fix OOB write in 'virgl_cmd_get_capset' (CVE-2021-3546)

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-06-15 16:27:11 +08:00
Chen Qun
36455e017b spec: Update release version with !118
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-05-28 16:27:23 +08:00
Chen Qun
6d6cd0fe82 spec: Update patch and changelog with !118 blockjob: Fix crash with IOthread when block commit after snapshot !118
blockjob: Fix crash with IOthread when block commit after snapshot

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-05-28 16:27:22 +08:00
zhouli57
69f71b8b94 arm/cpu: Fixed function undefined error at compile time under arm 2021-05-20 11:10:10 +08:00
Ming Yang
454f2844f7 Merge branch 'master' of gitee.com:src-openeuler/qemu into master 2021-05-20 10:08:04 +08:00
zhouli57
eefa614339 util/cacheinfo: fix crash when compiling with uClibc 2021-05-19 17:21:24 +08:00
Ming Yang
de95cacd5f add strip for block-iscsi.so, block-rbd.so and block-ssh.so.
Signed-off-by: Ming Yang <yangming73@huawei.com>
2021-05-19 09:11:35 +00:00
Chen Qun
6f1aa31d5f spec: Update release version with !88
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-03-26 11:14:37 +08:00
Chen Qun
2562f7d6dc spec: Update patch and changelog with !88 fix CVE-2020-15469 #I1NJI5 !88
hw/pci-host: add pci-intack write method
pci-host: add pcie-msi read method
vfio: add quirk device write method
prep: add ppc-parity write method
nvram: add nrf51_soc flash read method
spapr_pci: add spapr msi read method
tz-ppc: add dummy read/write methods
imx7-ccm: add digprog mmio write method

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-03-26 11:14:36 +08:00
Chen Qun
1b4396dd9a spec: Update release version with !87
increase release verison by one

Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
2021-03-18 22:02:37 +08:00
Chen Qun
578e31cf55 spec: Update patch and changelog with !87 block: Add sanity check when setting retry parameters !87
block: Add sanity check when setting retry parameters

Signed-off-by: Chen Qun<kuhn.chenqun@huawei.com>
2021-03-18 22:02:14 +08:00