Re: [libvirt] [libvirt-python PATCH] override: iterate virDomainFSInfo.devAliases using ndevAliases

2014-12-02 Thread Michal Privoznik
On 01.12.2014 22:23, Tomoki Sekiyama wrote: Currently devAliases in virDomainFSInfo struct are iterated as a NULL-terminated list, but that is not guaranteed. It should use ndevAliases which stores the number of the items in devAliases. Signed-off-by: Tomoki Sekiyama --- libvirt-override.c |

[libvirt] [libvirt-python PATCH] override: iterate virDomainFSInfo.devAliases using ndevAliases

2014-12-01 Thread Tomoki Sekiyama
Currently devAliases in virDomainFSInfo struct are iterated as a NULL-terminated list, but that is not guaranteed. It should use ndevAliases which stores the number of the items in devAliases. Signed-off-by: Tomoki Sekiyama --- libvirt-override.c |7 --- 1 file changed, 4 insertions(+),