kvmgt local display don't take effect

Yuan, Hang hang.yuan at intel.com
Thu Jul 19 07:23:36 UTC 2018


I don't see any problems on your configuration based on my knowledge. Would you like to try a Linux guest? If Linux guest can work, it means GVT is fine. Then the problem might be Windows guest is not configured correct to use Intel gfx device for display.

Regards,
Henry

From: intel-gvt-dev [mailto:intel-gvt-dev-bounces at lists.freedesktop.org] On Behalf Of charse
Sent: Thursday, July 19, 2018 1:51 PM
To: intel-gvt-dev at lists.freedesktop.org
Subject: Re: kvmgt local display don't take effect


Hi, Thanks for you reply;



Message: 2

Date: Wed, 18 Jul 2018 14:28:53 +0800

From: Hang Yuan <hang.yuan at linux.intel.com<mailto:hang.yuan at linux.intel.com>>

To: intel-gvt-dev at lists.freedesktop.org<mailto:intel-gvt-dev at lists.freedesktop.org>

Subject: Re: kvmgt local display  don't take effect

Message-ID: <20180718062853.GA6767 at linux.intel.com<mailto:20180718062853.GA6767 at linux.intel.com>>

Content-Type: text/plain; charset=us-ascii



On Wed, Jul 18, 2018 at 02:25:21PM +0800, charse wrote:

> Hi:

>     I follow below step:

> 1. update  kernel version to  gvt-stable-4.14;

> 2. update  qemu version to stable-2.10.0;

> when 1 and 2 is done ,I can see the mdev_supported_types directory;

> 3. vm install process:

> 1. use Display Driver Uninstaller in safe mode to remove the default installed Windows Intel GFX drivers;

> 2. using '-vga qxl' to install the quest and   install the official 15.45 Intel graphics drivers from Intels websit, windows 7 Device Manager show the graphics card is HD Graphics 520;

> 3. shutdown the system , change it to '-vga none' reboot the windows 7 virtual system ;

> start the local vm , use gtk , example script:

> /usr/bin/qemu-system-x86_64 \

> -m 2048 -smp 2 -M pc \

> -name local-display-vm \

> -hda /root/kvmgt/win7.qcow2 \

> -bios /usr/bin/bios.bin -enable-kvm \

> -net nic,macaddr=52:54:00:10:00:1A -net tap,script=/etc/qemu-ifup \

> -vga none \

> -display gtk,gl=on \

> -k en-us \

> -machine kernel_irqchip=on \

> -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 \

> -cpu host -usb -usbdevice tablet \

> -device vfio-pci,sysfsdev=/sys/bus/pci/devices/0000:00:02.0/0aa0edee-9f5e-11e7-8864-4f7957d97b7c,x-display=on,x-igd-opregion=on

>

>

> but on qemu display "Guest has not initialized the display (yet)"

> What should I do?  Thanks!

> Best Regards!



Do you use seabios in "-bios /usr/bin/bios.bin'? The local display only works on seabios now.

Reply:

I Sure the bios is seabios now;



#!/bin/bash

/usr/bin/qemu-system-x86_64 \

    -m 2048 -smp 2 -M pc -cpu host\

    -name local-display-vm \

    -hda /root/kvmgt/win7.qcow2 \

    -L /root/igvtg-qemu/roms/seabios/out \

    -bios /root/igvtg-qemu/roms/seabios/out/bios.bin -enable-kvm \

    -net nic,macaddr=52:54:00:10:00:1A -net tap,script=/etc/qemu-ifup \

    -vga none \

    -display gtk,gl=on \

    -k en-us \

    -machine kernel_irqchip=on \

    -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 \

    -cpu host -usb -usbdevice tablet \

    -device vfio-pci,sysfsdev=/sys/bus/pci/devices/0000:00:02.0/0aa0edee-9f5e-11e7-8864-4f7957d97b7c,x-display=on,x-igd-opregion=on



but on qemu display also "Guest has not initialized the display (yet)"
Best Regards!



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20180719/125535ea/attachment.html>


More information about the intel-gvt-dev mailing list