All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Paterson-Jones <roland@rolandpj.com>
To: xen-devel@lists.xensource.com
Subject: Re: Help/problems with blktap on xen-unstable
Date: Wed, 20 Sep 2006 15:44:27 +0200	[thread overview]
Message-ID: <451145BB.2010503@rolandpj.com> (raw)
In-Reply-To: <451131DF.1000903@rolandpj.com>

Roland Paterson-Jones wrote:

>  So, I guess I need to recompile with an alternate device major number.

I can find the following refs to 254 in the source (some are dups):

./linux-2.6.16.13-xen0/drivers/xen/blktap/blktap.c:              
major=254, minor numbers begin at 0            */
./linux-2.6.16.13-xen0/drivers/xen/blktap/blktap.c:#define 
BLKTAP_DEV_MAJOR 254         /* TODO: Make major number dynamic  *
./linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c:              
major=254, minor numbers begin at 0            */
./linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c:#define 
BLKTAP_DEV_MAJOR 254         /* TODO: Make major number dynamic  *
./tools/blktap/lib/blktaplib.h:#define BLKTAP_DEV_MAJOR 254
./tools/blktap/drivers/blktapctrl.c:    make_blktap_dev(devname,254,0);
./tools/blktap_user/aiotools/blktapctrl.c:    
make_blktap_dev(devname,254,0);
./tools/blktap_user/blktaplib.h:#define BLKTAP_DEV_MAJOR 254

I'm guessing it would be good to have one definition, but I'm not too 
familiar with the code structure. Can a .h file span kernel and user 
source? Also, any idea what is meant by making major number 'dynamic' - 
are they proposing walking the major numbers in code until successful, 
or just a config option somewhere (where?).

Regards
Roland

  reply	other threads:[~2006-09-20 13:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20  6:37 Help/problems with blktap on xen-unstable Roland Paterson-Jones
2006-09-20 10:18 ` Christophe Saout
2006-09-20 12:06   ` Roland Paterson-Jones
2006-09-20 12:10     ` Petersson, Mats
2006-09-20 12:10     ` Christophe Saout
2006-09-20 12:19       ` Roland Paterson-Jones
2006-09-20 13:44         ` Roland Paterson-Jones [this message]
2006-09-20 13:53           ` Petersson, Mats
2006-09-20 12:21       ` Roland Paterson-Jones
2006-09-20 18:35   ` Steven Rostedt
     [not found]     ` <45123C4B.1020205@rolandpj.com>
2006-09-21 11:58       ` Steven Rostedt
2006-09-21 18:57         ` Andrew Warfield
2006-09-26 11:40         ` Stephen C. Tweedie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=451145BB.2010503@rolandpj.com \
    --to=roland@rolandpj.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.