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

Re: [Xen-devel] PATCH: Add persistent guest & hv logging in xenconsoled

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] PATCH: Add persistent guest & hv logging in xenconsoled
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Mon, 04 Jun 2007 15:07:28 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 04 Jun 2007 07:05:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070604135220.GD17323@xxxxxxxxxx>
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
Thread-index: Acemsa8S7cPmqhKkEdyEowAX8io7RQ==
Thread-topic: [Xen-devel] PATCH: Add persistent guest & hv logging in xenconsoled
User-agent: Microsoft-Entourage/11.3.3.061214
On 4/6/07 14:52, "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:

>> Also, shouldn't the writes to log files be non-blocking, and those fds be
>> added to the select set when there is data waiting to be written?
> 
> IIRC, if you select() on a local file handle it'll always be shown writable
> so I don't believe it'll be any use.

The kernel code appears to agree with you! Fair enough then.

 -- Keir


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