
On 05/15/2013 09:57 AM, Lior Vernia wrote:
Hello Eric,
[Please don't top-post on technical lists]
Thank you for your thorough answer. Of course if I don't have to run libvirtd as a privileged user, then I don't have any problem with interacting with QEMU through the standard mechanism.
So just to summarize, this is what I understand would suffice for my Java program to be able to manage VMs through the bindings: 1. Install QEMU, libvirt daemon and libvirt QEMU driver (no worries about the distribution-specific package names).
Correct.
2. Run libvirtd (probably with the -d flag?).
No need to do this manually; connecting to a qemu:///session URI will do it automatically under the hood on your behalf.
3. Run Java program with same user that ran libvirtd, using the QEMU session (as opposed to system) URI.
Correct.
Please correct me if I got anything wrong or if I'm missing another dependency.
Nope, it sounds like you got it. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org