Re: [libvirt] virDomainDefineXML forbidden for read only access

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

 



Kenneth Nagin wrote:
I am running an application that invokes the java method
virDomainDefineXML.  But  virDomainDefineXML is throwing  the exception
"forbidden for read only access".   I'm running as root.  I can
successfully define domain xml and create VMs with virsh.

Any suggestion of what I am do wrong?

First question -- how are you connecting? The second argument to org.libvirt.Connect.Connect(String, boolean) is the read-only flag; I'm guessing you're passing true?

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]