qemu/accel
Keqian Zhu 3920552846 accel: kvm: Add aligment assert for kvm_log_clear_one_slot
The parameters start and size are transfered from QEMU memory
emulation layer. It can promise that they are TARGET_PAGE_SIZE
aligned. However, KVM needs they are qemu_real_page_size aligned.

Though no caller breaks this aligned requirement currently, we'd
better add an explicit assert to avoid future breaking.

Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20201217014941.22872-3-zhukeqian1@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-03-06 11:41:54 +01:00
..
hvf hvf: Add hypervisor entitlement to output binaries 2021-01-29 10:47:28 +00:00
kvm accel: kvm: Add aligment assert for kvm_log_clear_one_slot 2021-03-06 11:41:54 +01:00
qtest accel: replace struct CpusAccel with AccelOpsClass 2021-02-05 10:24:15 -10:00
stubs sev: Remove false abstraction of flash encryption 2021-02-08 16:57:38 +11:00
tcg accel/tcg: allow plugin instrumentation to be disable via cflags 2021-02-18 08:19:23 +00:00
xen accel: replace struct CpusAccel with AccelOpsClass 2021-02-05 10:24:15 -10:00
accel-common.c accel: introduce AccelCPUClass extending CPUClass 2021-02-05 10:24:15 -10:00
accel-softmmu.c accel: replace struct CpusAccel with AccelOpsClass 2021-02-05 10:24:15 -10:00
accel-softmmu.h accel: replace struct CpusAccel with AccelOpsClass 2021-02-05 10:24:15 -10:00
accel-user.c accel: extend AccelState and AccelClass to user-mode 2021-02-05 10:24:15 -10:00
dummy-cpus.c accel: move qtest CpusAccel functions to a common location 2020-10-24 07:23:19 +02:00
Kconfig meson: cleanup Kconfig.host handling 2021-01-02 21:03:36 +01:00
meson.build accel: extend AccelState and AccelClass to user-mode 2021-02-05 10:24:15 -10:00