<div dir="ltr"><div>Hello,</div>I've added a Channel Device through virt-manager GUI. virsh dumpxml shows the device as.<div><br></div><div><div><channel type='unix'></div><div>      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/ubuntusaucy.marx'/></div><div>      <target type='virtio' name='marx'/></div><div>      <alias name='channel2'/></div><div>      <address type='virtio-serial' controller='0' bus='0' port='3'/></div><div>    </channel></div></div><div><br></div><div>I am expecting virConnectListAllNodeDevices to have the device in its output. But I don't see it there. Is it the right function to call ?</div><div><br></div><div><div>virNodeDevicePtr* devices;</div><div>int dev_count = virConnectListAllNodeDevices(conn, &devices, 0);</div></div><div><div>std::cout << "Devices: " << dev_count << std::endl;</div><div>for(virNodeDevicePtr* device = devices; device < devices+dev_count; ++device){</div><div>      std::cout << virNodeDeviceGetName(*device) << std::endl;</div><div>}</div></div><div><br></div><div>returns 66 devices but once I loop through devices I don't get any corresponding name for the channel device.</div><div><br></div><div>Tried using </div><div><br></div><div>virConnectListAllNodeDevices(conn, &devices, VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPORTS);</div><div><br></div><div>returns 0 devices.</div><div><br></div><div>Thanks.</div><div><br></div></div>