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

Re: [Xen-devel] Some Xen pci-passthrough questions



>>> On 26.10.17 at 22:48, <linux@xxxxxxxxxxxxxx> wrote:
> - While adding some extra logging and enabling the logging on xen pt in 
> qemu,
>   i wonder if it wouldn't be beneficial to have at least some basic logging 
> permanently enabled ? 

For this end everything further down you would better have added
the qemu maintainers. I've now put them on Cc.

Jan

> - Enabling the xen pt logging in qemu spit out some things, i wonder if they 
> are normal:
> 
>         qemu-system-i386: -serial pty: char device redirected to /dev/pts/16 
> (label serial0)
>         [00:05.0] xen_pt_realize: Assigning real physical device 08:00.0 to 
> devfn 0x28
>         [00:05.0] xen_pt_register_regions: IO region 0 registered 
> (size=0x00002000 base_addr=0xfe1fe000 type: 0x4)
> 
>     Are these somehow expected / benign (they also occur when pci 
> passthrough is succesful) ?:
>         [00:05.0] xen_pt_config_reg_init: Offset 0x000e mismatch! 
> Emulated=0x0080, host=0x0000, syncing to 0x0080.
>         [00:05.0] xen_pt_config_reg_init: Offset 0x0010 mismatch! 
> Emulated=0x0000, host=0xfe1fe004, syncing to 0xfe1fe004.
>         [00:05.0] xen_pt_config_reg_init: Offset 0x0052 mismatch! 
> Emulated=0x0000, host=0x4803, syncing to 0x0003.
>         [00:05.0] xen_pt_config_reg_init: Offset 0x0072 mismatch! 
> Emulated=0x0000, host=0x0086, syncing to 0x0080.
>         [00:05.0] xen_pt_config_reg_init: Offset 0x00a4 mismatch! 
> Emulated=0x0000, host=0x8fc0, syncing to 0x8fc0.
>         [00:05.0] xen_pt_config_reg_init: Offset 0x00b2 mismatch! 
> Emulated=0x0000, host=0x1012, syncing to 0x1012.
> 
>         [00:05.0] xen_pt_msix_init: get MSI-X table BAR base 0xfe1fe000
>         [00:05.0] xen_pt_msix_init: table_off = 0x1000, total_entries = 8
>         [00:05.0] xen_pt_msix_init: table_off = 0x1000, total_entries = 8, 
> PCI_MSIX_ENTRY_SIZE = 0x10,  msix->table_offset_adjust = 0,  msix->table_base 
> = 
> 0xfe1fe000
>         [00:05.0] xen_pt_msix_init: Error: Can't map physical MSI-X table: 
> Invalid argument
>         [00:05.0] xen_pt_msix_size_init: Error: Internal error: Invalid 
> xen_pt_msix_init.
>         Failed to initialize 12/15, type = 0x1, rc: -22
>         [00:05.0] xen_pt_msi_set_enable: disabling MSI.
> 
>     This crash seems to indicate the above disabling of MSI isn't handled 
> well enough to prevent this from happening: 
>         *** Error in `/usr/local/lib/xen/bin/qemu-system-i386': corrupted 
> size vs. prev_size: 0x000055ce13565570 ***
>         ======= Backtrace: =========
>         /lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7f700ab7ebcb]
>         /lib/x86_64-linux-gnu/libc.so.6(+0x76f96)[0x7f700ab84f96]
>         <snip>
> 
> --
> Sander
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx 
> https://lists.xen.org/xen-devel 




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

 


Rackspace

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