From: jiangdongxu jiangdongxu1@huawei.com
virt inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB0RL4
----------------------------------------------------------------------
open CONFIG_VDPA for x86 arch and open CONFIG_VHOST_VDPA_MIGRATION build config for vdpa migration support.
--- arch/arm64/configs/openeuler_defconfig | 2 +- arch/x86/configs/openeuler_defconfig | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/configs/openeuler_defconfig b/arch/arm64/configs/openeuler_defconfig index 3550028ad7d4..49874e85f8d8 100644 --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -6475,7 +6475,7 @@ CONFIG_VHOST_NET=m CONFIG_VHOST_SCSI=m CONFIG_VHOST_VSOCK=m CONFIG_VHOST_VDPA=m -# CONFIG_VHOST_VDPA_MIGRATION is not set +CONFIG_VHOST_VDPA_MIGRATION=y # CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set
# diff --git a/arch/x86/configs/openeuler_defconfig b/arch/x86/configs/openeuler_defconfig index 5c54e0fed823..cd293719ecb0 100644 --- a/arch/x86/configs/openeuler_defconfig +++ b/arch/x86/configs/openeuler_defconfig @@ -7124,7 +7124,7 @@ CONFIG_VIRTIO_INPUT=m CONFIG_VIRTIO_MMIO=m # CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set CONFIG_VIRTIO_DMA_SHARED_BUFFER=m -# CONFIG_VDPA is not set +CONFIG_VDPA=m CONFIG_VHOST_IOTLB=m CONFIG_VHOST_TASK=y CONFIG_VHOST=m @@ -7132,7 +7132,8 @@ CONFIG_VHOST_MENU=y CONFIG_VHOST_NET=m # CONFIG_VHOST_SCSI is not set CONFIG_VHOST_VSOCK=m -# CONFIG_VHOST_VDPA_MIGRATION is not set +CONFIG_VHOST_VDPA=m +CONFIG_VHOST_VDPA_MIGRATION=y # CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set
#