[libvirt] virsh nodedev-dempxml is not supported by the connection driver

Osier Yang jyang at redhat.com
Mon May 9 08:34:43 UTC 2011


于 2011年05月09日 16:02, guan qin 写道:
> Hi,
>
> I meet a problem when I use the command "virsh nodedev-dumpxml
> pci_0000_00_19_0",it shows as follows:
>
> root at shahe26:~# virsh nodedev-list
> error: Failed to count node devices
> error: this function is not supported by the connection driver:
> virNodeNumOfDevices
>
> root at shahe26:~# virsh nodedev-dumpxml pci_0000_00_19_0
> error: Could not find matching device 'pci_0000_00_19_0'
> error: this function is not supported by the connection driver:
> virNodeDeviceLookupByName
>
> root at shahe26:~# virsh -version
> 0.9.0
> root at shahe26:~# virsh net-list
> Name                 State      Autostart
> -----------------------------------------
> default              active     yes
> root at shahe26:~# virsh list
>   Id Name                 State
> ----------------------------------
> root at shahe26:~#
>
> I find that only the command "virsh nodedev-? ***" can't work . How can
> I solve this problem ? thanks.
>
> best regards,
> qinguan
>

Looks like your libvirt is compiled without "with-udev" and
"with-hal", you need to install the required devel pkgs, and
re-compile.

Regards
Osier
>
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list




More information about the libvir-list mailing list