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

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

On 6 Oct 2005, at 04:05, Stefan Berger wrote:

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

I broke it yesterday. Previously 'cmd' was statically initialised, and that caused all other fields to get filled with zero automatically. Oops. :-)

 -- Keir

Xen-devel mailing list



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