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 1178] New: PCI BUS master DMA transfer continues after G

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1178] New: PCI BUS master DMA transfer continues after GuestOS crash
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 25 Feb 2008 03:48:22 -0800
Delivery-date: Mon, 25 Feb 2008 03:48:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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=1178

           Summary: PCI BUS master DMA transfer continues after GuestOS
                    crash
           Product: Xen
           Version: 3.0.1
          Platform: All
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: gplcoder@xxxxxx


Both Dom0 und uDom using linux 2.6 (fc8).
pciback is used to allows access to PCI device.
In case guest OS crashes and terminated in the assigned to OS instance PCI
device performs BUS master transfer (from device to system memory) system
memory is overwritten and entire system receives unstable.

The solution is to stop PCI BUS master transfers for all assigned to guest OS
PCI devices if hypervisor detects guest OS crash or exit (like it done for
interrupts).

This can be done by disabling of the master capability in the device PCI
configuration space.

More elegant solution is possible for PCIe devices, but requires the disabling
of the master capability too.

Probably it is even better to disable the device (disable master, memory and
I/O in PCI configuration space) if device is assigned to pciback but no one
guestOS owns the device.


-- 
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 1178] New: PCI BUS master DMA transfer continues after GuestOS crash, bugzilla-daemon <=