Index: VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_ttm.c =================================================================== --- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/drm/vbox_ttm.c +++ VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_ttm.c @@ -198,6 +198,17 @@ static void vbox_ttm_io_mem_free(struct { } +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) +static int vbox_bo_move(struct ttm_buffer_object *bo, bool evict, + struct ttm_operation_ctx *ctx, + struct ttm_mem_reg *new_mem) +{ + int r; + + r = ttm_bo_move_memcpy(bo, ctx, new_mem); + return r; +} +#else static int vbox_bo_move(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) @@ -213,6 +224,7 @@ static int vbox_bo_move(struct ttm_buffe #endif return r; } +#endif static void vbox_ttm_backend_destroy(struct ttm_tt *tt) {