[Libvir] [PATCH] Block device and network stats (version 2)

John Levon levon at movementarian.org
Tue Aug 21 11:55:19 UTC 2007


On Tue, Aug 21, 2007 at 03:37:41AM +0100, Daniel P. Berrange 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 :(

john




More information about the libvir-list mailing list