WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1532] New: [VT-d] Shared IRQ device with MSI capable can

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1532] New: [VT-d] Shared IRQ device with MSI capable can not work in guest with INTx mode
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 2 Nov 2009 01:07:13 -0800
Delivery-date: Mon, 02 Nov 2009 01:07:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1532

           Summary: [VT-d] Shared IRQ device with MSI capable can not work
                    in guest with INTx mode
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: jiajun.xu@xxxxxxxxx


Environment:
------------
Service Arch (ia32/ia32e/IA64): ia32-pae
Guest Arch (ia32/ia32e/IA64): ia32-pae
Guest OS Type (Linux/Windows): Linux
Change Set: 20382
Hardware: Nehalem-HEDT
Other:
xen-changeset:   20382:c1f2b68b6dca

pvops git:
commit aa218d939df218dd0fd2a87dcfdf18f3105f44de
Merge: 9cf89da... 67191ef...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

ioemu git:
commit b4bb8b3f09d1c873f522f6aebe1f125a6d1854d0
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Wed Oct 21 16:42:15 2009 +0100


Bug detailed description:
--------------------------
With latest commit, if we assigned a device with MSI capable to a guest and the
device share IRQ with other device, booting the guest with "nomsi" option will
cause the device not work in guest.

In qemu log, it shows binding interrupt fails:

######
domid: 99
qemu: the number of cpus is 2
Strip off blktap sub-type prefix to /share/xvs/var/img.vmxVTD_ASS2_02_1 (drv
'qcow')
Watching /local/domain/0/device-model/99/logdirty/cmd
Watching /local/domain/0/device-model/99/command
char device redirected to /dev/pts/8
qemu_map_cache_init nr_buckets = 4000 size 327680
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 1ab673be-a7d9-0859-a0ec-e3c76ba78f07
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
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/99/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error.
/vm/1ab673be-a7d9-0859-a0ec-e3c76ba78f07/vncpasswd.
medium change watch on `hdc' (index: 2):
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
xs_read(/local/domain/99/log-throttling): read error
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=0x00020000
base_addr=0xd3220000)
pt_register_regions: IO region registered (size=0x00020000
base_addr=0xd3200000)
pt_register_regions: IO region registered (size=0x00000020
base_addr=0x00002001)
pt_register_regions: Expansion ROM registered (size=0x00020000
base_addr=0xd3600000)
register_real_device: Error: Binding of interrupt failed! rc=-1
register_real_device: Real physical device 04:00.0 registered successfuly!
IRQ type = INTx
cirrus vga map change while on lfb mode
pt_iomem_map: e_phys=f3000000 maddr=d3220000 type=0 len=131072 index=0
first_map=1
pt_iomem_map: e_phys=f3020000 maddr=d3200000 type=0 len=131072 index=1
first_map=1
pt_ioport_map: e_phys=c100 pio_base=2000 len=32 index=2 first_map=1
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.
pt_ioport_map: e_phys=ffff pio_base=2000 len=32 index=2 first_map=0
pt_ioport_map: e_phys=c100 pio_base=2000 len=32 index=2 first_map=0
pt_iomem_map: e_phys=ffffffff maddr=d3220000 type=0 len=131072 index=0
first_map=0
pt_iomem_map: e_phys=ffffffff maddr=d3200000 type=0 len=131072 index=1
first_map=0
pt_ioport_map: e_phys=ffff pio_base=2000 len=32 index=2 first_map=0
shutdown requested in cpu_handle_ioreq
Issued domain 99 poweroff
######


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 1532] New: [VT-d] Shared IRQ device with MSI capable can not work in guest with INTx mode, bugzilla-daemon <=