|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH 5 of 9] libxl: only use interactive PyGrub	mode w
 
> That sounds unfortunate.  I agree with you.
Well Ian Campbell proposed to use a timeout in select and drop data
when the timeout is hit, that what I've implemented in
libxl: drop bootloader output if xenconsole file descriptor is not
available for writing
The patch is quite simple and solves the problem, I don't think it
interferes with normal boot process, since a 1s timeout is quite high
for data to be delivered from xenconsoled_fd to the user if the
console is attached. The other option would be to modify xenconsole
daemon, but I think that's far too complicated for a problem that can
be solved easily.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |