Red Hat Bugzilla – Bug 458968
[RHEL5.3]: Make libvirt understand new expanded xvd devices in guests
Last modified: 2009-12-14 16:09:39 EST
Created attachment 314210 [details]
Allow libvirt 0.3.3 to see Xen expanded block devices
Description of problem:
A series of patches was recently posted (and ACK'ed for inclusion) to expand the number of xvd devices that a PV guest (or PV-on-HVM guest) can see. In order for libvirt to get block statistics about these new devices, we need to revamp the code that converts a device name (xvda) to a block number (51712). The patch below (backported from libvirt CVS) does just this.
Created attachment 314215 [details]
Updated libvirt expand vbd patch
Based on feedback from DanB, updated patch with virStrToLong backported. I still need to test this.
Committed in libvirt-0.3.3-13.el5
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.