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 1316] One 32e, hotplug attaching VT-d NIC to guest faile

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1316] One 32e, hotplug attaching VT-d NIC to guest failed.
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 8 Aug 2008 08:06:59 -0700
Delivery-date: Fri, 08 Aug 2008 08:07:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bug-1316-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
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=1316


haicheng.li@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #2 from haicheng.li@xxxxxxxxx  2008-08-08 08:06 -------
> From: Yuji Shimada [mailto:shimada-yxb@xxxxxxxxxxxxxxx]
> 
> I found that current FLR logic seems to cause hot-plug issue.
> 
> On current implementation, hot-plug is done as follows.
> 
>     1. xend sends 'pci-ins' command to ioemu via xenstore.
> 
>     2. ioemu creates pass-through device and raises SCI to Guest
>        OS. Guest OS loads device driver, and device driver initializes
>        the hot-plugged device.
> 
>     3. xend does FLR(include bus reset and acpi reset).
> 
> Actually 2 and 3 are parallel. But it is possible xend does FLR after
> device driver initialize the device. This cause hot-plug issue.
> 
> To fix the issue, xend should do FLR before sending 'pci-ins' command.
> 
> 
> I will take more than a week holiday starting tomorrow. I will not be
> able to reply the mail.
> 
> Thanks.
> 
> On Mon, 04 Aug 2008 16:18:56 +0900
> Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx> wrote:
> 
>> libpci error handling has been fixed in the latest ioemu-remote and
>> ioemu in xen-3.3.0-rc3-pre. If you test them, libpci read error will
>> disappear. 
>> 
>> But I think hotplug issue is not caused by libpci read error.
>> 
>> I tested xen-3.3.0-rc3-pre (changeset:18212) with ioemu-remote
>> (commit:0a8ce1e7a87126a544f23209ef3a87346601f18a).  "libpci read
>> error" did not appear, but hotplugged NIC did not work.  I checked
>> /proc/interrupts on guest os, and found that guest os received msi
>> only once. 
>> 
>> I try to find out the reason of the issue.
>> 
>> Thanks
>> 
>> --
>> Yuji Shimada


-- 
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