Commit 228c127e authored by jiangdongxu's avatar jiangdongxu Committed by Jiang Dongxu
Browse files

vdpa: add log operations

virt inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I86ITO



----------------------------------------------------------------------

Several new interfaces are introduced to allow vdpa
device logging guest memory during live migration and
return to the VMM.

The set_log_base interface is used to set the base
address for buffer storing bitmaps.

The set_log_size interface is used to set the size
of buffer used for storing bitmaps.

The log_sync interface is used to copy the bitmaps
from kernel space to user space of VMM.

These operations are optional. If they are not implemented,
these operations will return EOPNOTSUPP.

Signed-off-by: default avatarjiangdongxu <jiangdongxu1@huawei.com>
parent 791ae23d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment