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

Tian, Kevin kevin.tian at intel.com
Thu Feb 23 03:02:46 UTC 2017


You need put the commit message in setup guide, explaining that it's
a mitigation for running guest applications which trigger unhandled
MSR read/write

> -----Original Message-----
> From: intel-gvt-dev [mailto:intel-gvt-dev-bounces at lists.freedesktop.org] On Behalf Of
> Terrence Xu
> Sent: Thursday, February 23, 2017 10:56 AM
> To: intel-gvt-dev at lists.freedesktop.org
> Cc: Xu, Terrence
> Subject: [PATCH wiki v2] Add kvm.ignore_msrs=1 into host grub.
> 
> 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>
> ---
>  GVTg_Setup_Guide.md | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/GVTg_Setup_Guide.md b/GVTg_Setup_Guide.md
> index 143ff96..88074da 100644
> --- a/GVTg_Setup_Guide.md
> +++ b/GVTg_Setup_Guide.md
> @@ -132,7 +132,7 @@ 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
>      }
> 
> @@ -315,4 +315,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


More information about the intel-gvt-dev mailing list