vm foreground display for kvmgt upstream version
by 夏华
Hi,
I use the follow configuration:
CPU:Intel(R) Core(TM) i3-6100U
Host : ubuntu 16.04.1
update kernel: gvt-linux (gvt-stable-4.12)
Qemu: Igvtg-qemu ( stable-2.9.0)
I can find vgpu path in /sys/bus/pci/devices/0000:00:02.0/mdev_suppot_types and create win7 vm; When I forbid the qxl card and use acceleration card , I can connect vm for TightVNC ; But local is Black screen.
I want to show the acceleration card only in local, like kvmgt 2016Q4 version, what can I do?
Waiting for your reply! Thanks.
==============================================
hua wang
mail:charse_2009(a)126.com
3 years, 4 months
How gpu requests are trapped by kvmgt ?
by Adel Belkhiri
Hi everybody,
I have a question about the implementation of KVMGT. According to the
documentation, the virtual machine, send some requests to the gpu directly
(which are mainly related to memory access) and forward some other requests
to KVMGT module.
I read the code of KVMGT but i didn't understand how gpu requests are
trapped by KVMGT ? Are they sent by the VM to a certain shared memory that
is constantly read by KVMGT or there are other entities involved in this
(like KVM) ? and who decide which request to be directly sent to the gpu or
to be forwarded to kvmgt ? is it the graphics card driver of the VM (i915)
or KVMGT ?
Thanks a lot for your help.
Yours.
3 years, 4 months
[ANNOUNCE] Intel GVT-g ISO for 2017-Q3 Release
by Xu, Terrence
Hi all,
We are pleased to release the Intel GVT-g ISO which contains all the 2017-Q3 updates for both KVMGT and XenGT. The setup guide is embedded in ISO, please refer to README file for more details.
This update consists of:
- Kernel version upgraded to 4.12 from 4.11.
- Live migration feature preliminary supported.
- QoS feature preliminary supported.
- IOMMU feature supported.
- OVMF feature supported.
- VGPU reset feature optimization, with related issues be fixed.
- Supported server platforms: Intel(r) Xeon(r) E3_v4, E3_v5 and E3_v6 with Intel Graphics processor, the E3_v6 is new supported platform.
- Supported client platforms: Intel(r) Core(tm) 5th generation (code name: Broadwell), 6th generation (code name: Skylake) and 7th generation (code name: Kabylake), the 7th generation is new supported platform.
- Validated Guest OS: Windows7 32bit, Window7 64bit, Windows8.1 64bit, Windows10 64bit and Linux.
- GVT-g only supports remote display not local display by this release.
- Remote protocol: only guest-side remoting protocol is supported, host-side remoting connection like SPICE is working in progress. For example, user can use X11VNC for Guest Linux VM or TightVNC for Guest Windows VM.
Refer to Q3'17 KVMGT and XenGT release notes for more details.
ISO download link:
https://download.01.org/GVT-g/2017Q3/
Official GVT-g portal:
https://01.org/igvt-g
If you have any questions, please subscribe to join the mailing list:
https://lists.01.org/mailman/listinfo/igvt-g
Please subscribe to join the mailing list if you want to learn more about GVT-g project:
https://lists.01.org/mailman/listinfo/igvt-g
Please subscribe to join the mailing list if you want to contribute/review latest GVT-g upstream patches:
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
Note: The KVMGT and XenGT project should be considered a work in progress. As such it is not a complete product nor should it be considered one. Extra care should be taken when testing and configuring a system to use the KVMGT and XenGT project.
Thanks
Terrence
Tel: +86-21-6116 5390
MP: +86-1356 4367 024
Mail: terrence.xu(a)intel.com
_______________________________________________
GVT-g mailing list
iGVT-g(a)lists.01.org
https://lists.01.org/mailman/listinfo/igvt-g
3 years, 4 months
[Intel-gfx] [GVT-g] [ANNOUNCE] 2017-Q3 release of XenGT (Intel GVT-g for Xen)
by Xu, Terrence
Hi all,
We are pleased to announce an update of Intel GVT-g for Xen.
Intel GVT-g is a full GPU virtualization solution with mediated pass-through, starting from 4th generation Intel Core(TM) processors with Intel processor graphics. A virtual GPU instance is maintained for each VM, with part of performance critical resources directly assigned. The capability of running native graphics driver inside a VM, without hypervisor intervention in performance critical paths, achieves a good balance among performance, feature, and sharing capability. GVT-g for Xen hypervisor is XenGT.
Repositories
- Xen : https://github.com/01org/igvtg-xen (tag: 2017-q3-xengt-stable-4.9)
- Kernel: https://github.com/01org/gvt-linux/ (tag: 2017-q3-gvt-stable-4.12)
- Qemu: https://github.com/01org/igvtg-qemu (tag: 2017-q3-stable-2.9.0)
This update consists of:
- Kernel version upgraded to 4.12 from 4.11.
- Live migration feature preliminary supported.
- QoS feature preliminary supported.
- IOMMU feature supported.
- OVMF feature supported.
- VGPU reset feature optimization, with related issues be fixed.
- Supported server platforms: Intel(r) Xeon(r) E3_v4, E3_v5 and E3_v6 with Intel Graphics processor, E3_v6 is new supported platform.
- Supported client platforms: Intel(r) Core(tm) 5th generation (code name: Broadwell), 6th generation (code name: Skylake) and 7th generation (code name: Kabylake), 7th generation is new supported platform.
- Validated Guest OS: Windows7 32bit, Window7 64bit, Windows8.1 64bit, Windows10 64bit and Linux.
- GVT-g only supports remote display not local display by this release.
- Remote protocol: only guest-side remoting protocol is supported, host-side remoting connection like SPICE is working in progress. For example, user can use X11VNC for Guest Linux VM or TightVNC for Guest Windows VM.
Limitation or known issues:
- GVT-g can support maximum 7 Guest VMs due to host graphics resource limitation. When user runs 7 VMs simultaneously, host OS can only run in text mode.
- In order to support Guest Windows7 32bit VM, user is recommended to configure vgt_low_gm_sz=128 / 256 / 512 in HVM file because Guest Windows7 32bit VM needs more graphics resource than other Guest VM.
- In order to support Guest VM high resolution and screen resolution adjustable in Guest Windows8.1 64bit VM and Guest Windows10 64bit VM, user is recommended to configure vgt_low_gm_sz=64 / 128 / 256 / 512 in HVM file to get larger VM aperture size.
- Some 3rd party applications/tools like 3DMark which including special DirectX12 feature test ,it will trigger Guest VM GPU reset.
- In corner case, Guest Windows 7 32bit VM may be killed automatically by Xen when Guest VM runs into TDR. This issues happens only on Broadwell platform. The workaround is to disable part of viridian feature in Guest VM hvm file by adding viridian=["all", "!apic_assist"].
- In corner case, Linux Guest VM may GPU hang while running special Intel-GPU-Tools test case on it.
- For live migration feature, we cannot migrate Guest Windows VM when Guest VM memory is 2048M or 4096M, user is recommended to configure Guest VM memory to 1024MB.
Setup guide:
https://github.com/01org/gvt-linux/wiki/GVTg_Setup_Guide
This is the first GVT-g community release based on new Upstream architecture design, refer to the following document for new architecture introduction:
https://01.org/igvt-g/documentation/intel-gvt-g-new-architecture-introduc...
Please subscribe to join the mailing list if you want to learn more about GVT-g project:
https://lists.01.org/mailman/listinfo/igvt-g
Please subscribe to join the mailing list if you want to contribute/review latest GVT-g upstream patches:
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
Official GVT-g portal:
https://01.org/igvt-g
More information about background, architecture and others about Intel GVT-g, can be found at:
https://01.org/igvt-g
https://www.usenix.org/conference/atc14/technical-sessions/presentation/tian
http://events.linuxfoundation.org/sites/events/files/slides/XenGT-Xen%20S...
http://events.linuxfoundation.org/sites/events/files/slides/XenGT-Xen%20S...
https://01.org/xen/blogs/srclarkx/2013/graphics-virtualization-xengt
Note:
The XenGT project should be considered a work in progress. As such it is not a complete product nor should it be considered one. Extra care should be taken when testing and configuring a system to use the XenGT project.
Thanks
Terrence
Tel: +86-21-6116 5390
MP: +86-1356 4367 024
Mail: terrence.xu(a)intel.com
_______________________________________________
GVT-g mailing list
iGVT-g(a)lists.01.org
https://lists.01.org/mailman/listinfo/igvt-g
_______________________________________________
Intel-gfx mailing list
Intel-gfx(a)lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
3 years, 4 months
[Intel-gfx] [GVT-g] [ANNOUNCE] 2017-Q3 release of KVMGT (Intel GVT-g for KVM)
by Xu, Terrence
Hi all,
We are pleased to announce an update of Intel GVT-g for KVM.
Intel GVT-g for KVM (a.k.a. KVMGT) is a full GPU virtualization solution with mediated pass-through, starting from 5th generation Intel Core(TM) processors with Intel processor graphics. A virtual GPU instance is maintained for each VM, with part of performance critical resources directly assigned. The capability of running native graphics driver inside a VM, without hypervisor intervention in performance critical paths, achieves a good balance among performance, feature, and sharing capability.
Repositories:
- Kernel: https://github.com/01org/gvt-linux/ (tag: 2017-q3-gvt-stable-4.12)
- Qemu: https://github.com/01org/igvtg-qemu (tag: 2017-q3-stable-2.9.0)
This update consists of:
- Kernel version upgraded to 4.12 from 4.11.
- Live migration feature preliminary supported.
- QoS feature preliminary supported.
- IOMMU feature supported.
- OVMF feature supported.
- VGPU reset feature optimization, with related issues be fixed.
- Supported server platforms: Intel(r) Xeon(r) E3_v4, E3_v5 and E3_v6 with Intel Graphics processor, the E3_v6 is new supported platform.
- Supported client platforms: Intel(r) Core(tm) 5th generation (code name: Broadwell), 6th generation (code name: Skylake) and 7th generation (code name: Kabylake), the 7th generation is new supported platform.
- Validated Guest OS: Windows7 32bit, Window7 64bit, Windows8.1 64bit, Windows10 64bit and Linux.
- GVT-g only supports remote display not local display by this release.
- Remote protocol: only guest-side remoting protocol is supported, host-side remoting connection like SPICE is working in progress. For example, user can use X11VNC for Guest Linux VM or TightVNC for Guest Windows VM.
Limitation or known issues:
- GVT-g can support maximum 7 Guest VMs due to host graphics resource limitation. When user runs 7 VMs simultaneously, host OS can only run in text mode.
- In order to support Guest Windows7 32bit VM, user can only uses vGPU type1, type2, type4 not type8 because Guest Windows7 32bit VM needs more graphics resource than other Guest VM.
- Some 3rd party applications/tools like GPU_Z, Passmark 9.0 may read/write GPU MSR directly, it will trigger Guest VM BSOD since those MSRs are unhandled registers in KVMGT. The workaround is to set MSR read /write ignore flag to 1 in host grub file by adding "kvm.ignore_msrs=1".
- Some 3rd party applications/tools like 3DMark which including special DirectX12 feature test ,it will trigger Guest VM GPU reset.
- In corner case, Linux Guest VM may GPU hang while running special Intel-GPU-Tools test case on it.
- In corner case, for live migration feature, the fake GPU reset happening while migrating Linux Guest VM which Guest VM running 3D workload.
- Guest Windows VM often GPU hang while the IOMMU feature enabled. This issues happens only on a few Broadwell platforms due to the hardware problem. The workaround is to turn off the integrated graphics engine on IOMMU in hot grub file by adding "intel_iommu=igfx_off".
Setup guide:
https://github.com/01org/gvt-linux/wiki/GVTg_Setup_Guide
This is the first GVT-g community release based on new Upstream architecture design, refer to the following document for new architecture introduction:
https://01.org/igvt-g/documentation/intel-gvt-g-new-architecture-introduc...
Please subscribe to join the mailing list if you want to learn more about GVT-g project:
https://lists.01.org/mailman/listinfo/igvt-g
Please subscribe to join the mailing list if you want to contribute/review latest GVT-g upstream patches:
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
Official GVT-g portal:
https://01.org/igvt-g
More information about background, architecture and others about Intel GVT-g, can be found at:
http://www.linux-kvm.org/images/f/f3/01x08b-KVMGT-a.pdf
https://www.usenix.org/conference/atc14/technical-sessions/presentation/tian
Note:
The KVMGT project should be considered a work in progress. As such it is not a complete product nor should it be considered one. Extra care should be taken when testing and configuring a system to use the KVMGT project.
Thanks
Terrence
Tel: +86-21-6116 5390
MP: +86-1356 4367 024
Mail: terrence.xu(a)intel.com
_______________________________________________
GVT-g mailing list
iGVT-g(a)lists.01.org
https://lists.01.org/mailman/listinfo/igvt-g
_______________________________________________
Intel-gfx mailing list
Intel-gfx(a)lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
3 years, 4 months