[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xen EFI boot and vga-passthrough

  • To: Kristian Hagsted Rasmussen <kristian@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • From: Kristian Hagsted Rasmussen <kristian@xxxxxxxxxx>
  • Date: Mon, 12 Nov 2012 19:18:36 +0000
  • Accept-language: da-DK, en-US
  • Delivery-date: Mon, 12 Nov 2012 19:19:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac3BCUwxBONJB3zmT1y62jykNdtmkQAAQFdA
  • Thread-topic: xen EFI boot and vga-passthrough

Hi all

I can't seem to find any information on vga-passthrough when booting through 
xen.efi, so I assume it should work. But I encounter a problem on a windows 7 
HVM that boots fine when dom0 is booted through MBR but fails when dom0 is 
booted through UEFI.

My system is:
DQ77KB motherboard with bios version 44
Core i7-3779T with VT-d
Intel HD graphics 4000

In the qemu log it seem like xen cannot reach the vga-bios. Is this a known 
problem when booting through xen.efi or is it a bug?

dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 00:02.0 ...
register_real_device: Disable MSI translation via per device option
register_real_device: Disable power management
pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such 
file or directory: 0x0:0x2.0x0
pt_register_regions: IO region registered (size=0x00400000 base_addr=0xf7000004)
pt_register_regions: IO region registered (size=0x10000000 base_addr=0xe000000c)
pt_register_regions: IO region registered (size=0x00000040 base_addr=0x0000f001)
setup_vga_pt: vga bios size (0x0) is invalid!
register_real_device: Setup VGA BIOS of passthroughed gfx failed!

Log file is attached.

Just compared a log file from efi boot to one from MBR boot and found this 
discrepancy between the two:
pt_register_regions: IO region registered (size=0x00400000 
base_addr=0xdfc00004) - MBR boot see last addr       0xdfc00004
pt_register_regions: IO region registered (size=0x00400000 
base_addr=0xf7000004) - EFI boot compare to MBR      0xf7000004

Kind regards Kristian Hagsted Rasmussen

Attachment: windows-domU.log
Description: windows-domU.log

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.