All of lore.kernel.org
 help / color / mirror / Atom feed
* xen EFI boot and vga-passthrough
@ 2012-11-12 19:08 Kristian Hagsted Rasmussen
  2012-11-12 19:18 ` Kristian Hagsted Rasmussen
  2012-11-12 21:24 ` Laszlo Ersek
  0 siblings, 2 replies; 5+ messages in thread
From: Kristian Hagsted Rasmussen @ 2012-11-12 19:08 UTC (permalink / raw)
  To: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 1321 bytes --]

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.



Kind regards Kristian Hagsted Rasmussen


[-- Attachment #1.2: Type: text/html, Size: 5017 bytes --]

[-- Attachment #2: windows-domU.log --]
[-- Type: application/octet-stream, Size: 6272 bytes --]

domid: 6
Using xvda for guest's hda
Using file /dev/sda6 in read-write mode
Watching /local/domain/0/device-model/6/logdirty/cmd
Watching /local/domain/0/device-model/6/command
Watching /local/domain/6/cpu
char device redirected to /dev/pts/4
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 7ab99945-ca42-4230-9628-0e82c8bae257
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/6/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error. /vm/7ab99945-ca42-4230-9628-0e82c8bae257/vncpasswd.
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
vcpu-set: watch node error.
xs_read(/local/domain/6/log-throttling): read error
qemu: ignoring not-understood drive `/local/domain/6/log-throttling'
medium change watch on `/local/domain/6/log-throttling' - unknown device, ignored
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!
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 00:1a.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:0x1a.0x0
pt_register_regions: IO region registered (size=0x00000400 base_addr=0xf7d38000)
pci_intx: intx=1
register_real_device: Real physical device 00:1a.0 registered successfuly!
IRQ type = INTx
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 00:1b.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:0x1b.0x0
pt_register_regions: IO region registered (size=0x00004000 base_addr=0xf7d30004)
pci_intx: intx=1
register_real_device: Real physical device 00:1b.0 registered successfuly!
IRQ type = INTx
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 00:1d.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:0x1d.0x0
pt_register_regions: IO region registered (size=0x00000400 base_addr=0xf7d37000)
pci_intx: intx=1
register_real_device: Real physical device 00:1d.0 registered successfuly!
IRQ type = INTx
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 01:00.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: 0x1:0x0.0x0
pt_register_regions: IO region registered (size=0x00400000 base_addr=0xf7800004)
pt_register_regions: IO region registered (size=0x00400000 base_addr=0xf7400004)
pci_intx: intx=1
register_real_device: Real physical device 01:00.0 registered successfuly!
IRQ type = INTx
pt_iomem_map: e_phys=f1400000 maddr=f7800000 type=0 len=4194304 index=0 first_map=1
pt_iomem_map: e_phys=f1800000 maddr=f7400000 type=0 len=4194304 index=2 first_map=1
pt_iomem_map: e_phys=f1c20000 maddr=f7d30000 type=0 len=16384 index=0 first_map=1
pt_iomem_map: e_phys=f1c24000 maddr=f7d38000 type=0 len=4096 index=0 first_map=1
pt_iomem_map: e_phys=f1c25000 maddr=f7d37000 type=0 len=4096 index=0 first_map=1
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
pt_iomem_map: e_phys=ffffffff maddr=f7d38000 type=0 len=4096 index=0 first_map=0
pt_iomem_map: e_phys=f1c24000 maddr=f7d38000 type=0 len=4096 index=0 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7d30000 type=0 len=16384 index=0 first_map=0
pt_iomem_map: e_phys=f1c20000 maddr=f7d30000 type=0 len=16384 index=0 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7d37000 type=0 len=4096 index=0 first_map=0
pt_iomem_map: e_phys=f1c25000 maddr=f7d37000 type=0 len=4096 index=0 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7800000 type=0 len=4194304 index=0 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7400000 type=0 len=4194304 index=2 first_map=0
pt_iomem_map: e_phys=f1400000 maddr=f7800000 type=0 len=4194304 index=0 first_map=0
pt_iomem_map: e_phys=f1800000 maddr=f7400000 type=0 len=4194304 index=2 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7d38000 type=0 len=4096 index=0 first_map=0
pt_iomem_map: e_phys=f1c24000 maddr=f7d38000 type=0 len=4096 index=0 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7d30000 type=0 len=16384 index=0 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7d37000 type=0 len=4096 index=0 first_map=0
pt_iomem_map: e_phys=f1c25000 maddr=f7d37000 type=0 len=4096 index=0 first_map=0
pt_iomem_map: e_phys=f1c20000 maddr=f7d30000 type=0 len=16384 index=0 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7800000 type=0 len=4194304 index=0 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=f7400000 type=0 len=4194304 index=2 first_map=0
pt_iomem_map: e_phys=f1400000 maddr=f7800000 type=0 len=4194304 index=0 first_map=0
pt_iomem_map: e_phys=f1800000 maddr=f7400000 type=0 len=4194304 index=2 first_map=0

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-13  6:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 19:08 xen EFI boot and vga-passthrough Kristian Hagsted Rasmussen
2012-11-12 19:18 ` Kristian Hagsted Rasmussen
     [not found]   ` <CADnevChOxU8Ut3PQX28+E56uFZBiryLQyN3mZ1hL-ddTfiQ7+A@mail.gmail.com>
2012-11-13  6:28     ` Kristian Hagsted Rasmussen
2012-11-12 21:24 ` Laszlo Ersek
2012-11-13  6:36   ` Kristian Hagsted Rasmussen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.