[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] [PATCH] Block device and network stats (version 2)
- From: John Levon <levon movementarian org>
- To: Daniel Veillard <veillard redhat com>
- Cc: libvir-list <libvir-list redhat com>
- Subject: Re: [Libvir] [PATCH] Block device and network stats (version 2)
- Date: Tue, 21 Aug 2007 13:26:14 +0100
On Tue, Aug 21, 2007 at 08:10:33AM -0400, Daniel Veillard wrote:
> > > The Xen impl as coded only works for disks named xvdN, because the code for
> > > calculating device ID assumes xvdN device numbering scheme:
> > >
> > > device = 202 * 256 + minor;
> >
> > What's with device numbering at all? Must we really repeat this crazy
> > Linuxism from xend in libvirt :(
>
> Do you have an alternative ? Because this is commited in CVS and I
> would like to get 0.3.2 rolled out ASAP ! So if you have a practical
> suggestion or a patch, please post it, I may delay the issue but
> just stating 'crazy Linuxism' without specifying why and how this can
> be fixed won't help.
I just checked it out, and it looks like it can be safely encapsulated
in this case. I was worried it would end up like xend but it seems we
can entirely wrap the knowledge of this to be Linux-only.
BTW I am a little concerned that we're re-implementing all this code
when libxenstat can do it. I already wrote this code once :)
apologies,
john
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]