|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] Help/problems with blktap on xen-unstable
 
Hi,
On Thu, 2006-09-21 at 07:58 -0400, Steven Rostedt wrote:
> As a miscellaneous device, it no longer has a major number.  All 
> versions would become a miscellaneous device. So instead of having a 
> blktap major, and the minor pointing to each of the blktap descriptors 
> in the array, you would record the minor in the descriptor, and among 
> opening the device, you need to search the descriptors to find the minor 
> that matches the opened device.
There's an easy way to do both, I think.  We already have an ioctl to
return the blktap major, so simply registering the control device as a
misc device and then allocating the major for the full set of domain
devices dynamically should work.
--Stephen
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |