Re: Config Errro when Creating a virtual device attachment to backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



于 2011年09月15日 15:30, huachao yao 写道:
Hi, buddy,
I want to create a virtual device attachment to backend.
The domain is running, and my code  phase is as below:

xmlConfiguration    = "<devices><sound model='es1370'/></devices>";
virDomainAttachDevice(dom,xmlConfiguration);


Try with <devices> tag removed.


But the exception "libvir: Domain Config error : XML error: unknown device type " happen when running.
Is it something wrong in the XML configuration? What should i do to deal with such Config error ?

ps: the hypervisor is KVM.


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux