Port-xen archive

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

Re: PCI pass through Xen 4.1.x and NetBSD 6



Am 23.01.2013 23:37, schrieb Manuel Bouyer:

It has worked at some point, but I've not tested for a long time.
At first glance, I'd say that libxl_device_pci_reset() should be empty for
NetBSD.

I have choosen the fast path and wrote return 0 in this procedure (rebuild package). The error message has gone away. Nevertheless the domu is not reachable afterwards. When looking into qemulog, I got the below.

pci_msitranslate=0 or 1 doesn't make any difference here
[..]
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 02:00.0 ...
pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x2:0x0.0x0 pt_register_regions: IO region registered (size=0x00000000 base_addr=0xfd4f8004)
register_real_device: Error: Mapping irq failed, rc = -22
pt_msi_setup: msi mapped with pirq 37
pci_intx: intx=1
register_real_device: Real physical device 02:00.0 registered successfuly!
IRQ type = MSI-INTx
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 04:00.0 ...
pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x4:0x0.0x0 pt_register_regions: IO region registered (size=0x00000000 base_addr=0xfdbf8004)
register_real_device: Error: Mapping irq failed, rc = -22
pt_msi_setup: msi mapped with pirq 36
pci_intx: intx=1
register_real_device: Real physical device 04:00.0 registered successfuly!
IRQ type = MSI-INTx
pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:05.0][Offset:10h][Length:4] pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:06.0][Offset:10h][Length:4]
cirrus vga map change while on lfb mode
pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:05.0][Offset:10h][Length:4] pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:06.0][Offset:10h][Length:4]
mapping vram to f0000000 - f0400000
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.

[I can see the Windows boot screen, the machine reboots and ..]

pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:05.0][Offset:10h][Length:4] pt_pci_write_config: Internal error: Invalid write emulation return value[-1]. I/O emulator exit.



Home | Main Index | Thread Index | Old Index