Re: [libvirt-users] Can a VM tell what host it's on?

2012-02-02 Thread Bryan Kearney
On 02/02/2012 01:33 PM, Whit Blauvelt wrote: Is there a way internal to a KVM VM to know which host it's running on? It could send a command via ssh to virsh on a host, and learn from that whether the host currently has it running. But is there something within the VM itself which will reveal th

Re: [libvirt-users] how to setup libvirt with java bindings for use

2011-10-26 Thread Bryan Kearney
On 10/26/2011 09:39 AM, Dan Hirsch wrote: Hi, I would like to use libvirt to manipulate virtual machines of different types (KVM, ESXi etc.) I added dependencies to my project the libvirt and jna jars. trying to execute your example code I am getting a run time exception saying the library cann't

[libvirt-users] Release of libvirt-java 0.4.7

2011-02-03 Thread Bryan Kearney
I have just released 0.4.7 of libvirt java. There are 2 main items in this release: - Only throw errors on real errors. - Remote non thread safe error reporting - BZ 600819 Incorrect scheduler parameter value passed to native API. You can access the latest version via the following means: Sour

Re: [libvirt-users] java binding and virtualbox-ose

2010-11-15 Thread Bryan Kearney
On 11/15/2010 04:58 AM, Andrea Turli wrote: Matthias, On 11/14/2010 11:47 PM, Matthias Bolte wrote: 2010/11/14 Andrea Turli: I'm trying to connect to vbox hypervisor on an Ubuntu 10.04 machine through libvirt java binding (libvirt-java-0.4.6) by simply invoking: Connect conn = new Connect("vb

Re: [libvirt-users] Fwd: undefining and redefining a Domain from libvirt java bindings

2010-10-18 Thread Bryan Kearney
On 10/15/2010 10:05 AM, Matthias Bolte wrote: 2010/10/13 Matthias Bolte: 2010/10/12 Matthias Bolte: 2010/10/12 Ravi Pawar: hi, i am trying to undefine a domain by using dm.undefine(); and then trying to create one with same name is giving me error saying 'Domain not found: no domain with mat

Re: [libvirt-users] Anyone has new libvirt java binding jar, i want the latest one. i dont have the build env at my end.

2010-10-04 Thread Bryan Kearney
Available from here, and also the central maven repo: http://www.libvirt.org/maven2/ -- bk On 10/04/2010 08:12 AM, Ravi Pawar wrote: -- Thanks & Regards Ravi Pawar ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/m

Re: [libvirt-users] Remote access form windows - Java bindings

2010-09-30 Thread Bryan Kearney
On 09/08/2010 11:59 PM, Gandhiraj Natarajan wrote: Hi I am developing tool to collect information on XenServer which is on Opensuse 11. I am using libvirt-0.4.6.jar and and jna-3.2.4 jar files. I tried to connect from Remote system(Windows) to server, but could not get the

Re: [libvirt-users] Using Java bindings to event callback

2010-07-16 Thread Bryan Kearney
On 07/16/2010 05:58 AM, Bruno Costa wrote: I'm having some trouble using java bindings for domain events. Can anyone provide me an example on how to use this, namely conn.domainEventRegisterAny? This is pretty new code, so there may not be many examples. What issues are you seeing, maybe we ca

[libvirt-users] Release 0.4.6 of the libvirt java bindings

2010-07-06 Thread Bryan Kearney
I have just released 0.4.6 of the java libvirt bindings. This release adds support for the 0.8.2 libvirt API as well as some code cleanup patches from Luis Costa (Thank you!). You can access the latest version via the following means: Source Code: http://www.libvirt.org/git/?p=libvirt-java.git

Re: [libvirt-users] Question about the remote Authentication in the libvirt Java bindings

2010-06-22 Thread Bryan Kearney
int callback(Credential[] cred); And then provide the username/password in that fashion. Look at the ConnectAuthDefault in the case statement how it chooses to ask for username and password. -- bk On 06/21/2010 10:35 PM, Dustin Xiong wrote: > Dear Bryan Kearney: > > I hava a quest

Re: [libvirt-users] [libvirt] libvirt: C++ or Java?

2010-04-13 Thread Bryan Kearney
features, Python is usually up to date too as it's included in the main tree and releases. 3. If answer to above question is negative, typically how long does it takes for the addition of Java bindings for the enhancement? Time for Bryan Kearney to realize the gap and implement it. It goes f