[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Xen-devel] [PATCH V7 00/11] Xen PCI Passthrough
From: |
Anthony PERARD |
Subject: |
Re: [Qemu-devel] [Xen-devel] [PATCH V7 00/11] Xen PCI Passthrough |
Date: |
Mon, 20 Feb 2012 23:31:35 +0000 |
On Mon, Feb 20, 2012 at 19:58, Tobias Geiger <address@hidden> wrote:
> With the patch you mentioned, xl create looks more familiar:
>
> libxl: error: libxl_pci.c:756:libxl__device_pci_reset: write to
> /sys/bus/pci/devices/0000:03:00.0/reset returned -1: Invalid argument
> libxl: error: libxl_pci.c:756:libxl__device_pci_reset: write to
> /sys/bus/pci/devices/0000:03:00.1/reset returned -1: Invalid argument
>
>
> This is actually "normal", at least compared to traditional qemu-dm - i
> guess due to missing FLR (Bios is capable, but Card not i assume).
:-)
> Anyhow - the downside of the patch is, qemu doesnt even start :)
Nop, qemu start but exit sooner.
> This is qemu-dm.log (with debugging enabled):
This is probably only the end of the logs, but thx.
> [00:06.0] pt_pci_read_config: address=0x0030 val=0x00000000 len=4
> [00:06.0] pt_pci_write_config: address=0x0030 val=0xffffffff len=4
> [00:06.0] pt_iomem_map: BAR 6, e_phys=0xffffffffffffffff maddr=0xc3140000
> len=0x20000 first_map=1
> [00:06.0] pt_pci_read_config: address=0x0030 val=0xfffe0001 len=4
> [00:06.0] pt_pci_write_config: address=0x0030 val=0x00000000 len=4
> [00:06.0] pt_iomem_map: BAR 6, e_phys=0xffffffffffffffff maddr=0xc3140000
> len=0x20000 first_map=0
...
> [00:06.0] pt_pci_read_config: address=0x0004 val=0x00000000 len=2
> [00:06.0] pt_pci_write_config: address=0x0004 val=0x00000004 len=2
> qemu-system-x86_64:
> /usr/src/xen-with-upstream-qemu-patch/upstream-qemu/qemu/memory.c:1378:
> memory_region_del_subregion: Assertion `subregion->parent == mr' failed.
This last line is why QEMU fail and I thinks it's because I never try
a PCI device with a ROM pci bar. I'll try to fix this tomorrow.
Thanks,
--
Anthony PERARD
- Re: [Qemu-devel] [PATCH V7 06/11] pci.c: Add pci_check_bar_overlap, (continued)