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

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] Event channel request fix

To: "xen-devel List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Event channel request fix
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Wed, 5 Oct 2005 23:05:37 -0400
Delivery-date: 2005年10月06日 03:03:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I compiled Xen for SMP and for some strange reason I could not always get the network interface connected to the backend - same for the TPM frontend and probably also block frontend. The attached patch fixes this problem for all three drivers by explicitly setting the requested port for the channel to 0. Since the structure is on the stack (and not declared static) all its members should be explicitly initialized. I don't know why I did not encounter this problem on non-SMP systems before... [[ Maybe a function requiring all necessary parameters passed to it explicitly as parameters would be a less errro-prone solution?]]

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>


Attachment: opch_fix.diff
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] Deletion of 2.4 Linux sparse tree , James Harper
Next by Date: RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks , Puthiyaparambil, Aravindh
Previous by Thread: [Xen-devel] domu's will not stat, objdump match attempt , Ted Kaczmarek
Next by Thread: Re: [Xen-devel] [PATCH] Event channel request fix , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /