kvmgt local display don't take effect
Hang Yuan
hang.yuan at linux.intel.com
Wed Jul 18 06:28:53 UTC 2018
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.
More information about the intel-gvt-dev
mailing list