mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-29 21:49:05 +00:00
Revert "DM: Disable plane_restriction on 4.19 kernel"
This reverts commit 072e77e746 so that
plane_restriction can be enabled.
Tracked-on: https://github.com/projectacrn/acrn-hypervisor/issues/1373
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: He, Min <min.he@intel.com>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
kernel_version=$(uname -r | awk -F. '{ printf("%d.%d", $1,$2) }')
|
||||
|
||||
function launch_clear()
|
||||
{
|
||||
vm_name=vm$1
|
||||
@@ -43,10 +41,4 @@ for i in `ls -d /sys/devices/system/cpu/cpu[1-99]`; do
|
||||
fi
|
||||
done
|
||||
|
||||
gvt_args=0x070F00
|
||||
# this is the temporal solution before plane_restriction is ready on 4.19
|
||||
if [ "$kernel_version" = "4.19" ]; then
|
||||
gvt_args=0
|
||||
fi
|
||||
|
||||
launch_clear 1 1 "64 448 8" $gvt_args clear
|
||||
launch_clear 1 1 "64 448 8" 0x070F00 clear
|
||||
|
||||
Reference in New Issue
Block a user