Re: [Xen-devel] [PATCH] libxl: Initialize valid_devs in output_topologyinfo()

2015-05-21 Thread Ian Campbell
On Mon, 2015-05-18 at 10:48 +0100, Wei Liu wrote: > On Fri, May 15, 2015 at 11:06:57AM -0400, Boris Ostrovsky wrote: > > Commit e78e8b9bb649 ("libxl: Add interface for querying hypervisor > > about PCI topology") neglected to initialize valid_devs. This > > may result in not printing a message to c

Re: [Xen-devel] [PATCH] libxl: Initialize valid_devs in output_topologyinfo()

2015-05-18 Thread Wei Liu
On Fri, May 15, 2015 at 11:06:57AM -0400, Boris Ostrovsky wrote: > Commit e78e8b9bb649 ("libxl: Add interface for querying hypervisor > about PCI topology") neglected to initialize valid_devs. This > may result in not printing a message to console if no IO topology > information is available and, m

[Xen-devel] [PATCH] libxl: Initialize valid_devs in output_topologyinfo()

2015-05-15 Thread Boris Ostrovsky
Commit e78e8b9bb649 ("libxl: Add interface for querying hypervisor about PCI topology") neglected to initialize valid_devs. This may result in not printing a message to console if no IO topology information is available and, more importantly, may break non-debug builds on some versions of gcc. Sig