Re: [libvirt] [PATCHv2] blockinfo: fix qemu regression in handling disk name

2011-09-08 Thread Eric Blake
On 09/08/2011 10:29 AM, Michal Privoznik wrote: On 08.09.2011 11:12, Eric Blake wrote: Regression introduced in commit 89b6284fd, due to an incorrect conversion to the new means of converting disk names back to the correct object. -path = actual; +disk = vm->def->disks[i]; /* The

Re: [libvirt] [PATCHv2] blockinfo: fix qemu regression in handling disk name

2011-09-08 Thread Michal Privoznik
On 08.09.2011 11:12, Eric Blake wrote: > Regression introduced in commit 89b6284fd, due to an incorrect > conversion to the new means of converting disk names back to > the correct object. > > * src/qemu/qemu_driver.c (qemuDomainGetBlockInfo): Avoid NULL deref. > --- > src/qemu/qemu_driver.c |

[libvirt] [PATCHv2] blockinfo: fix qemu regression in handling disk name

2011-09-08 Thread Eric Blake
Regression introduced in commit 89b6284fd, due to an incorrect conversion to the new means of converting disk names back to the correct object. * src/qemu/qemu_driver.c (qemuDomainGetBlockInfo): Avoid NULL deref. --- src/qemu/qemu_driver.c |6 +++--- 1 files changed, 3 insertions(+), 3 deleti