[PATCH wiki v3] Add kvm.ignore_msrs=1 into host grub.

Zhenyu Wang zhenyuw at linux.intel.com
Thu Feb 23 05:57:28 UTC 2017


On 2017.02.23 11:27:37 +0800, Terrence Xu wrote:
> Since some windows guest 3rd patry application / tools will trigger
> MSR read / write directly, if it access the unhandled msr register,
> guest will trigger BSOD soon. So we added the "kvm.ignore_msrs=1"
> into grub for workaround.
> 
> Signed-off-by: Terrence Xu <terrence.xu at intel.com>

applied, thanks!

> ---
>  GVTg_Setup_Guide.md | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/GVTg_Setup_Guide.md b/GVTg_Setup_Guide.md
> index 143ff96..49c4356 100644
> --- a/GVTg_Setup_Guide.md
> +++ b/GVTg_Setup_Guide.md
> @@ -132,10 +132,13 @@ Make sure the “i915.enable_gvt=1” exist in host grub.cfg, use  Ubuntu as exa
>          else
>              search --no-floppy --fs-uuid --set=root 106518cd-fb74-4048-81de-3ecee7ad74d4
>          fi
> -            linux   /boot/vgt/host-gvt root=UUID=106518cd-fb74-4048-81de-3ecee7ad74d4 ro ignore_loglevel log_buf_len=128M console=ttyS0,115200,8n1 i915.enable_gvt=1
> +            linux   /boot/vgt/host-gvt root=UUID=106518cd-fb74-4048-81de-3ecee7ad74d4 ro ignore_loglevel log_buf_len=128M console=ttyS0,115200,8n1 i915.enable_gvt=1 kvm.ignore_msrs=1
>              initrd  /boot/vgt/initrd-gvt.img
>      }
>  
> +NOTICE: Since some windows guest 3rd patry application / tools (like GPU-Z / Passmark9.0) will trigger MSR read / write directly, if it access the unhandled msr register,  guest will trigger BSOD soon. So we added the "kvm.ignore_msrs=1" into grub for workaround.
> +
> +
>  # 4 Guest Setup #
>  
>  ## 4.1 Linux Guest Setup ##
> @@ -315,4 +318,4 @@ We sugguest to use the secondary gfx card mode (virtual "qxl" or "cirrus" gfx ca
>    - Media:
>      * Multiple thread decode/transcode for JPEG, MPEG2, H264, HEVC, VC1, VP8, etc
>    - OpenCL:
> -    * LuxMark, Beignet
> \ No newline at end of file
> +    * LuxMark, Beignet
> -- 
> 1.9.1
> 
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170223/2cb42d22/attachment.sig>


More information about the intel-gvt-dev mailing list