Re: [libvirt-users] libvirt and VMWare Workstation Shared Server mode (of GSX history)

2015-05-31 Thread Matthias Bolte
ndard] MacOSX_107/Mac_OS_X_Lion.vmx > [...] > > Would that be something easy to hack/add for the libvirt versions I'm using? > (RHEL6/7) even if this means recompiling some src.rpms.. > > Any suggestions? > > Thanks, Here's a quick hack you can te

Re: [libvirt-users] [Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server

2015-04-07 Thread Matthias Bolte
issue, not related at all to the actual Hyper-V server you try to connect to. Unfortunately, I'm not sure how to debug this problem. What openwsman and libcurl version are installed? -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] ESX VM from scratch

2015-04-01 Thread Matthias Bolte
h command pool-list. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Hyper-V 2008 R2 support ?

2015-03-08 Thread Matthias Bolte
support has not been dropped and probably will not be dropped. The error you are seen has nothing to do with the actual supported Hyper-V version, it's a connection error. Libvirt is not able to connect to your Hyper-V 2008 R2 server, check the connectivity to this server. -- Matthias Bolte

Re: [libvirt-users] Using certtool to generate certificates for ESXi

2013-10-31 Thread Matthias Bolte
correct place. I think you already have done this correctly The last thing that's missing (the same as in the mailing list thread I linked above) is that you need to configure your client properly. The SSL infrastructure on your client needs to know about your custom CA. libcurl has to b

Re: [libvirt-users] Error while adding volume through virsh

2013-08-15 Thread Matthias Bolte
ut -c option might connecto to the wrong hypervisor. Try specifing the connection uri. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Error while starting the node on ESXi hypervisor

2013-08-13 Thread Matthias Bolte
le for you if it doesn't exist already, because there is not enough information in the domain XML. You need to do this yourself using "virsh vol-create". I suggest you delete the cluster.vmdk directory from the datastore and start over with the domain

Re: [libvirt-users] Libvirt not getting connected to ESX server

2013-08-04 Thread Matthias Bolte
mpared.html There is a configure option for every single one of this SSL libraries. I've been using GnuTLS, the configure option for this one is --with-gnutls. > On Thu, Aug 1, 2013 at 9:09 PM, Matthias Bolte > wrote: >> >> 2013/8/1 varun bhatnagar : >> > Hi, &

Re: [libvirt-users] Libvirt not getting connected to ESX server

2013-08-01 Thread Matthias Bolte
ell libvirt to not verify the certificates (virsh connect esx://172.16.73.14/?no_verify=1) or replace the SSL certificates with offically signed ones. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Cluster discovery using Libvert

2013-07-15 Thread Matthias Bolte
ESX server). Cluster discovery is not part of libvirt's features. You cannot connect to a cluster and query for its servers because libvirt has no API to report such information. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] connect to esx: Could not find HostSystem with name '(null)'

2013-05-16 Thread Matthias Bolte
2013/5/16 Dimitri Nilsen : > Its a On 05/15/2013 11:18 PM, Matthias Bolte wrote: >> >> 2013/5/15 Dimitri Nilsen : >>> >>> Hi all, >>> >>> I am trying to connect to esx vi libvirt 0.10.2. >> >> According to line number for esxVI_Lookup

Re: [libvirt-users] connect to esx: Could not find HostSystem with name '(null)'

2013-05-15 Thread Matthias Bolte
't find the HostSystem object for that ESX server. This is quite unexpected. What ESX server version are you using? Is this a standalone server? Or is it managed by a vCenter server? Is it part of a cluster? -- Matthias Bolte http://photron.blogspot.com _

Re: [libvirt-users] Java client error on Windows 7 64 bit for Libvirt on KVM

2013-05-07 Thread Matthias Bolte
n. George, why are you still trying to compile libvirt on your own? I'd suggest using the virt-viewer installer to get libvirt binaries. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] hyperv connection failing with libvirt 1.0.4 virsh.

2013-05-06 Thread Matthias Bolte
am missing. > Java code - I am using - > > String hypervURI = "hyperv://administrator@SBRWINPR/?transport=http"; > ConnectAuth ca1 = new ConnectAuthDefault(); > hypervconn = new Connect(hypervURI,ca1,0); > System.out.println("HYPERV:&q

Re: [libvirt-users] Location of 64 bit libvirt dlls (Windows)?

2013-05-03 Thread Matthias Bolte
://spice-space.org/download.html This includes the libvirt binaries and their dependencies. So just install virt-viewer, this is probably the most easy way to get recent libvirt binaries for 64bit Windows. -- Matthias Bolte http://photron.blogspot.com ___

Re: [libvirt-users] Java client error on Windows 7 64 bit for Libvirt on KVM

2013-05-01 Thread Matthias Bolte
/python/DLLs/libxml2mod.pyd > cp: cannot stat `/python/Lib/site-packages/libxml2mod.dll': No such file or > dire > ctory >>>>>>>>>>>>>>>>>>> I just fixed this problem, but this won't help you with your 64bit problem. My

Re: [libvirt-users] hyperv connection failing with libvirt 1.0.4 virsh.

2013-05-01 Thread Matthias Bolte
m source code. > What is going wrong in this hyperv connection ? A bit of a guess, but did you configure your Hyper-V server as described? http://libvirt.org/drvhyperv.html#auth -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list

Re: [libvirt-users] start and stop a VMware VM using libvirt API

2012-10-23 Thread Matthias Bolte
ting VI API major/minor version '2.5' or '4.x' >>> but found '5.0' >>> >>> On Tue, Oct 23, 2012 at 6:42 AM, Matthias Bolte < >>> matthias.bo...@googlemail.com> wrote: >>> >>>> The documentation

Re: [libvirt-users] start and stop a VMware VM using libvirt API

2012-10-23 Thread Matthias Bolte
ample about it? >>> >>> Thank you, >>> Ali >>> >>> >>> >>> >>> ___ >>> libvirt-users mailing >>> listlibvirt-users@redhat.comhttps://www.redhat.

Re: [libvirt-users] can not connect hypervisor using libvirt-0.9.8 on windows

2012-10-09 Thread Matthias Bolte
/msg00378.html 2012/10/9 xuanmao_001 : > Hi: > the hypervisor is kvm. the URI: qemu+tcp://root@hostname/system > 0.9.11 was also like this error. > > > xuanmao_001 > > From: Matthias Bolte > Date: 2012-10-07 01:02 > To: xuanmao_001 &

Re: [libvirt-users] can not connect hypervisor using libvirt-0.9.8 on windows

2012-10-06 Thread Matthias Bolte
ys_setup (assuming that you used msys_setup), which is 0.9.11? -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] libvirt windows error

2012-08-02 Thread Matthias Bolte
ber > from '%VER%' > > > what's problem.thanks advance!!! The problem is that VirtualBox doesn't behave as expected here. What version of VirtualBox do you have installed? -- Matthias Bolte http://photron.blogspot.com __

Re: [libvirt-users] libvirt shortcomings of virsh domxml-to-native and domxml-from-native

2012-07-26 Thread Matthias Bolte
quot;windows7srv-64 > ",If I use 64-bit Windows virtual machine, other-64 this type is not correct. > NIC e1000 system can not be used . > So > I suggest to The libvirt improve the vmware support, especially the mutual > transformation of the xml and vmx format guestOS only one par

Re: [libvirt-users] Virsh Failing to Snapshot VMWare VM with Multiple Disks

2012-07-18 Thread Matthias Bolte
2012/7/18 Matthias Bolte : > 2012/7/18 Eric Blake : >> On 07/18/2012 09:47 AM, Elizabeth Griffith wrote: >>> I am trying to use virsh's snapshot-create command on a VMWare vm that has >>> multiple disks in its device list, but the command is failing with the

Re: [libvirt-users] Virsh Failing to Snapshot VMWare VM with Multiple Disks

2012-07-18 Thread Matthias Bolte
e error about the VMX files is strange. I'll have a look on this issue. Actually, snapshots of multi-volume VMs should just work. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] About IBM PowerVM hypervisor support

2012-07-04 Thread Matthias Bolte
s support for the 'IBM Power Hypervisor' for a while now, called 'phyp' internally in the codebase, see http://libvirt.org/git/?p=libvirt.git;a=tree;f=src/phyp It's just lacking documentation and for some unknown reason is not mentioned on the homepage. We should fix this.

Re: [libvirt-users] Using virsh to connect to ESX

2012-05-17 Thread Matthias Bolte
cess my server using ssh. I am running it from Ubuntu 10.04 and the > libvirt version 0.7.5. Can someone help me? Do you used the Ubuntu provided libvirt package? That won't work, because Ubuntu/Debian ship libvirt packages without ESX support. In that case you'll need to build libvi

Re: [libvirt-users] Making the Thread-safety issues with vbox driver ?

2012-04-19 Thread Matthias Bolte
Am 19. April 2012 12:51 schrieb Jean-Baptiste Rouault : > On Wednesday 04 April 2012 17:56:12 Jean-Baptiste Rouault wrote: >> On Monday 16 January 2012 11:34:53 Matthias Bolte wrote: >> > Okay, without looking deeper into this here are some ideas: >> > >> > The

Re: [libvirt-users] libvirt -user'question

2012-02-21 Thread Matthias Bolte
OS like centos 6.0 or redhat ,will disable the use of esx driver of > libvirt. As Eric explained this is basically a policy decision and is not related to any problems with the ESX driver on older Fedora or RHEL version. I think your specific problem is in your specific network and/or ESXi serv

Re: [libvirt-users] the probelm in using libvirt to connect esx server

2012-02-20 Thread Matthias Bolte
of sending no Expect at all. If you're building libvirt from source you can try this patch that I just send to the mailing list for review https://www.redhat.com/archives/libvir-list/2012-February/msg00860.html It fixes the Expect header problem and migh

Re: [libvirt-users] how to change existing domain xml?

2012-01-24 Thread Matthias Bolte
d, You might be able to workaround this bug by undefining the domain first and then redefining it. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] [Problem] C# virDomainShutdown

2012-01-24 Thread Matthias Bolte
s // domains and connections manually break; } // NOTE: move the Domain.Free call here and it should work } Also why are you using the complicated loop to lookup a domain by name? You could just have use DomainLookupByName instead. -- Matthias Bolte http://photron.blogsp

Re: [libvirt-users] Thread-safety issues with vbox driver ?

2012-01-16 Thread Matthias Bolte
COM was already initialized for this thread and add a check to every driver function to initialize it when needed. Did you try to open a connection for each thread instead of trying to share one? If that works reliable it might indicate that there is an VirtualBox API initialization problem. Did you try to add the actual VirtualBox error code for the OpenRemoteSession/LaunchVMProcess error in hex to the error message and look it up in the src/vbox/vbox_CAPI_v4_1.h? -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Communication with Hyper-V

2012-01-10 Thread Matthias Bolte
Hyper-V server. > 2.  Why do I get an error about certificate, when I specified the > transport to be http? That error message gives you the wrong impression. Your problem is probably that your libvirt version on the Linux machine is too old and doesn't have support for Hyper-V yet. Basic

Re: [libvirt-users] [LIBVIRT] Xen issue.

2012-01-04 Thread Matthias Bolte
connection URI you gave to the connect command. So either use the -c option instead of the connect command, or update your libvirt version to 0.9.2 or newer to make the connect command working as expected in your case. -- Matthias Bolte http://photron.blogspot.com __

Re: [libvirt-users] How to connect to a remote VM ESXi server with Python language?

2011-12-28 Thread Matthias Bolte
need to use libvirt.openAuth() instead of libvirt.open(). openAuth() allows to pass credentials via a callback mechanism. There is a Python example in the libvirt codebase that does this, see http://libvirt.org/git/?p=libvirt.git;a=blob;f=examples/python/esxlist.py -- M

Re: [libvirt-users] listDomains() not working on Xen

2011-11-15 Thread Matthias Bolte
if someone could help > me. Your problem is probably not related to your code or the Java bindings at all. Did you check whether 'virsh list' shows active domains for Xen? I guess your problem is that libvirt doesn't recognize your active Xen domains form some reason. Therefore, &#

Re: [libvirt-users] libvirt, OSX and VirtualBox - how?

2011-11-06 Thread Matthias Bolte
CLD   libvirt_iohelper >  CCLD   libvirt_driver_remote.la > Undefined symbols for architecture x86_64: >  "_ptsname_r", referenced from: >      _virFileOpenTty in libvirt_util.a(libvirt_util_la-util.o) This is a known problem and there is already a patch proposed for this. http

Re: [libvirt-users] Finding out if Xen or KVM is used

2011-11-06 Thread Matthias Bolte
s() can return an empty array when there are no active domains known to libvirt. So you need to check id.length before accessing any element in the array. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] libvirt, OSX and VirtualBox - how?

2011-11-06 Thread Matthias Bolte
RT.dylib\0", 0x0, 0x0)   >           = 4 0 > 48916/0x3cc08:   > stat64("/Applications/VirtualBox.app/Contents/MacOS/VBoxXPCOM.dylib\0", > 0x7FFF685D0750, 0x7FFF685D15D0)          = 0 0 > 48916/0x3cc08:   > open("/Applications/VirtualBox.app/Contents/MacOS/VBoxXP

Re: [libvirt-users] VirtualBox 4.1 support

2011-10-23 Thread Matthias Bolte
2011/10/23 Stefano Facchini : > Is version 4.1 (and later) of VirtualBox supported by libvirt? Currently libvirt supports up to VirtualBox 4.0. Here's a patch for 4.1 support https://www.redhat.com/archives/libvir-list/2011-October/msg01080.html -- Matthias Bolte http://photron.blog

Re: [libvirt-users] no connection driver available for openvz:///system

2011-10-11 Thread Matthias Bolte
om/archives/libvirt-users/2011-July/msg00031.html I looked this up in the OpenVZ source history at that time and vpsid was changed to ctid at some time. So the OpenVZ driver needs to deal with this difference as it seems that Virtuozzo is based on newer OpenVZ that uses ctid. -- Matthias Bolte h

Re: [libvirt-users] libvirt ruby binding with vmware

2011-08-23 Thread Matthias Bolte
r TLS certificates. This is not related to the no_verify option. So you're probably using libvirt < 0.9.2 and are using virConnectOpen instead of virConnectOpenAuth. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Detecting the last user of a connection has closed.

2011-08-18 Thread Matthias Bolte
irConnectClose. Then virConnectClose will be the one that removes the last reference from the connection and closes it. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] VNC ports

2011-08-13 Thread Matthias Bolte
the VNC display number, not the VNC port number. The common VNC port range starts at port 5900 and this maps to VNC display 0. virsh vncdisplay gives you :7 for VNC port 5907 because of this. This this is the expected behavior for virsh vncdisplay. -- Matthias Bolte http://photron.blogspot.com _

Re: [libvirt-users] Custom storage pools/volumes

2011-08-04 Thread Matthias Bolte
seems that those would only work > if the storage volume is within a pool. > > Is there a way we could possibly define a storage volume without a pool or > will we have to create a storage pool for each individual volume? The storage API assumes that volumes are in

Re: [libvirt-users] management tools for kvm

2011-07-28 Thread Matthias Bolte
aller for libvirt and virsh can be found here http://libvirt.org/windows.html Unfortunately it's a bit outdated. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] with current libvirt git virsh expects vbox, refuses kvm define

2011-07-27 Thread Matthias Bolte
2011/7/27 Cole Robinson : > On 07/27/2011 03:21 AM, Matthias Bolte wrote: >> 2011/7/27 Whit Blauvelt : >>>> What's the output of "# virsh -V" on your second ubuntu box? I guess >>>> your libvirt on that box might not be compiled with qemu driver. &

Re: [libvirt-users] with current libvirt git virsh expects vbox, refuses kvm define

2011-07-27 Thread Matthias Bolte
autodetection process is suboptimal and should be improved. But the selection is not random, the problem is that VirtualBox comes before QEMU in the probing order. This is due to how the remote driver interferes with the detection process. -- Matthias Bolte http://photron.blogspot.com __

Re: [libvirt-users] with current libvirt git virsh expects vbox, refuses kvm define

2011-07-27 Thread Matthias Bolte
2011/7/27 Whit Blauvelt : > On Wed, Jul 27, 2011 at 09:21:08AM +0200, Matthias Bolte wrote: > >> The point is that libvirt autodetects the available hypervisors at >> runtime when you don't specify a connection URI. For example, just >> running virsh results in autodet

Re: [libvirt-users] with current libvirt git virsh expects vbox, refuses kvm define

2011-07-27 Thread Matthias Bolte
expecting vbox" you saw was added recently to prevent incompatible driver/config combinations. In you're case it highlighted that autodetection didn't work for you as expected. -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] python-libvirt for 0.9.3 leaking file descriptors

2011-07-26 Thread Matthias Bolte
s something > inside libvirt or a problem with the build... I can reproduce this with libvirt 0.9.3, but not with current git. Therefore, this problem seems to be fixed in git. I've you want to backport the fix to libvirt 0.9.3 you should be able to find it using git bisect. That one of th

Re: [libvirt-users] Is libvirt supported on Citrix Xenserver?

2011-07-21 Thread Matthias Bolte
es would be of great help. > > Thanks in Advance! > > Regards, > Sharmila > > From: "G Naresh Kumar"naresh.gadepa...@gmail.com > Sent: Sat, 16 Jul 2011 16:55:16 +0530 > To: Matthias Bolte matthias.bo...@googlemail.com > Cc: libvirt-users@redhat.com > Subject

Re: [libvirt-users] Is libvirt supported on Citrix Xenserver?

2011-07-21 Thread Matthias Bolte
o the normal ./configure, make and make install dance as libvirt is autotools based. > Thanks for all the help. > > Regards > > Naresh > > On Thu, Jul 14, 2011 at 7:07 PM, Matthias Bolte > wrote: >> >> 2011/7/14 G Naresh Kumar : >> > Hi Maththias, >>

Re: [libvirt-users] Is libvirt supported on Citrix Xenserver?

2011-07-14 Thread Matthias Bolte
virt package. As a >> short term solution you could build libvirt from source yourself and >> make sure to get the XenAPI driver enabled. >> >> > I am using Xenserver 5.5 with libvirt 0.8.2 and it does not seem to be >> > working. >> >> According

Re: [libvirt-users] Unable to start libvirtd 0.9.3 on Ubuntu 10.10

2011-07-13 Thread Matthias Bolte
e problem or apply this patches on top of 0.9.3 to fix it http://libvirt.org/git/?p=libvirt.git;a=commit;h=8e2e47803c0028b42b72c45b81e91de7b0cbb7fe http://libvirt.org/git/?p=libvirt.git;a=commit;h=a07c81c4d0befc1e92b9cf3ce25260488a6bdcdb -- Matthias Bolte http://photron.blogspot.com ___

Re: [libvirt-users] Compatibility with Parallels Virtouzo

2011-07-12 Thread Matthias Bolte
zlist.8 > Can we fix this in /root/libvirt-0.9.3/srcopenvz/openvz_conf.c and > reinstall? > > 2011/7/12 Matthias Bolte >> >> Well, as Virtuozzo is a variant of OpenVZ it'll probably be possible >> to teach the OpenVZ driver to detect and deal with this similar to

Re: [libvirt-users] Compatibility with Parallels Virtouzo

2011-07-12 Thread Matthias Bolte
leaseConnect:94 : release connection >> 0xc9aada0 >> error: internal error Child process (/usr/sbin/vzlist -a -ovpsid,status >> -H) status unexpected: exit status 1 >> error: failed to connect to the hypervisor > > 2011/7/12 Matthias Bolte >> >> 2011/7

Re: [libvirt-users] Compatibility with Parallels Virtouzo

2011-07-12 Thread Matthias Bolte
openvz:///system error: internal error OpenVZ control file /proc/vz does not exist error: failed to connect to the hypervisor This might need to be changed/extended in your case, I don't know. > 2011/5/23 Matthias Bolte >> >> 2011/5/23 Andreas Mauf : >> > Hi, >>

Re: [libvirt-users] Is libvirt supported on Citrix Xenserver?

2011-06-15 Thread Matthias Bolte
could build libvirt from source yourself and make sure to get the XenAPI driver enabled. > I am using Xenserver 5.5 with libvirt 0.8.2 and it does not seem to be > working. According to http://libvirt.org/hvsupport.html and the error message 0.8.2 is new enough. Matthias > Thanks,

Re: [libvirt-users] Is libvirt supported on Citrix Xenserver?

2011-06-15 Thread Matthias Bolte
nity.citrix.com/display/xs/Download+SDKs -- Matthias Bolte http://photron.blogspot.com ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Shared Folders

2011-06-07 Thread Matthias Bolte
bvirt, so I'd like to know: which hypervisors have this shared folder > funcionality supported by Libvirt? The element is supported for Qemu and also for LXC and OpenVZ judging by the codebase. Matthias > We are very thankful for your answers and willing to see new feature in the >

Re: [libvirt-users] Shared Folders

2011-06-07 Thread Matthias Bolte
2011/6/6 Guilherme Santos : > Well, I am still with that problem, attempting to create shared folders, so > I will try to be more specific and then maybe somebody can help me. Your problem is simple, libvirt currently doesn't support shared folder for VirtualBox. I'll have a look at it and if it's

Re: [libvirt-users] kvm.h not found

2011-05-27 Thread Matthias Bolte
2011/5/24 --[ UxBoD ]-- : > Hello all, > > Am attempting to compile the latest version of libvirt against a custom > kernel 2.6.32.40 under CentOS 5.6 and see this in the configure output: > > checking linux/kvm.h usability... no > checking linux/kvm.h presence... no > checking for linux/kvm.h...

Re: [libvirt-users] Java Bindings for libvirt

2011-05-24 Thread Matthias Bolte
2011/5/20 Atul Gosain : > Hi > >   I looked at the java bindings for libvirt at > http://libvirt.org/sources/java/ . Latest version here is 0.4.7 whereas the > latest version of libvirtd is 0.9.1 . Does the java binding use latest > libvirtd ? >   If not, can it be created easily ? The version num

Re: [libvirt-users] Compatibility with Parallels Virtouzo

2011-05-23 Thread Matthias Bolte
2011/5/23 Andreas Mauf : > Hi, > > will libvirt work with the commercial parallels virtuozzo, too? Cause > the linux version of virtuozzo is based on openvz, which ist supported > by libvirt. This depends on whether or not virtuozzo can be controlled via the vzctl tool, because that's bow libvirt

Re: [libvirt-users] (no subject)

2011-05-16 Thread Matthias Bolte
The out of memory error is probably a bug in libvirt. What libvirt version are you using? Matthias 2011/5/16 Abhishek Gupta : > Hello, > > Sorry, I figured out the error. Instead of none I need to send the xml file > for the same. But still I am unable to understand the relevance of the error > r

Re: [libvirt-users] (no subject)

2011-05-15 Thread Matthias Bolte
2011/5/15 Abhishek Gupta : > Hello, > > I am using python bindings of libvirt. When I use the function > listDomainsID( ) it successfully returns me the list of the ids of my > current virtual machines, but when I call function listDefinedDomains( ) it > returns me an empty list. That's correct. I

Re: [libvirt-users] libvirt connection timeout

2011-05-12 Thread Matthias Bolte
2011/5/12 Antoine COETSIER : > Hi all, > I would like to set a short connection timeout (only some seconds) when > using libvirt in my Python program instead of the long default one. What do you mean by connection timeout? The time libvirt waits before reporting an connection attempt (as in callin

Re: [libvirt-users] Problems connecting to Virtualbox hypervisor using libvirt java binding

2011-05-11 Thread Matthias Bolte
2011/5/11 Tarciso Oliveira : > I am trying to connect to the virtualbox hypervisor through libvirt java > binding. > > I am on Ubuntu 10.04 and I have installed libvirt-0.85, libvirt-java-0.4.6 > and virtualbox-ose-dkms. I have configured libvirt project and its java > binding at Eclipse and the de

Re: [libvirt-users] [libvirt] [Libvir] libvirt & vde_switch

2011-05-01 Thread Matthias Bolte
2011/5/1 Robert Šmol : > I am now trying to compile the stuff, but I get: > ... >  CCLD   libvirt_driver_nwfilter.la > libtool: link: require no space between `-L' and `/usr/lib' > make[3]: *** [libvirt_driver_nwfilter.la] Error 1 > make[3]: Leaving directory `/home/rsmol/Code/libvirt/src' > make[2

Re: [libvirt-users] problem installing libvirt from source

2011-04-26 Thread Matthias Bolte
2011/4/26 Lars Nordin : > I’m trying to compile and install libvirt-0.9.0 on Ubuntu v10.04. The make > and install went fine and I don’t see any errors but there isn’t a libvirt > directory created in /usr/local/lib/python2.6/dist-packages. > > > > I specified configure --with-vmware –with-esx  (an

Re: [libvirt-users] Where actually is the callback triggered?

2011-04-15 Thread Matthias Bolte
2011/4/15 kadir yüceer : > > > 2011/4/14 Matthias Bolte >> >> 2011/4/14 kadir yüceer : >> > Hi all, >> > >> > Quick question: >> > When the hypervisor triggers a callback which is registered for generic >> > events, (assuming

Re: [libvirt-users] Where actually is the callback triggered?

2011-04-14 Thread Matthias Bolte
2011/4/14 kadir yüceer : > Hi all, > > Quick question: > When the hypervisor triggers a callback which is registered for generic > events, (assuming I'm connected through qemu+tcp) where exactly is the > callback triggered? On the hypervisor host or on my host? > > Regards > Kadir > The event syst

Re: [libvirt-users] Python API - setting client certificate path

2011-04-08 Thread Matthias Bolte
2011/4/9 Wojciech Gumularz : > Hi there, > I'm trying to establish a TLS connection to libvirtd with certificates > verification from a python script. My question is quite simple: > > is it possible to set the client certificate/keyfile path from within a > python script? or it has to be in /etc/pk

Re: [libvirt-users] ESX networking functions

2011-03-31 Thread Matthias Bolte
2011/3/31 James Barkley : > Greeetings, > Using the latest git snapshot I noticed that none of the networking > functions are implemented in the ESX driver. No listing networks, no adding > networks, etc. This functionality seems to be fully implemented for most of > the other drivers and I don't s

Re: [libvirt-users] Beware! Newbie is in town

2011-03-15 Thread Matthias Bolte
2011/3/15 kadir yüceer : > > > 2011/3/15 Berend Dekens >> >> It looks to me like you don't have libvirt set up properly as the ".so" >> file is a library which should be available in a system default location. > > Well I downloaded libvirt-0.8.8.tar.gz and run ./configure; make; install > successf

Re: [libvirt-users] [libvirt] libvirt configuration problem

2011-03-12 Thread Matthias Bolte
2011/3/12 Onkar Mahajan : > Hi , > > I am getting errors while configuring libvirt to compile it from source. > > There is a error in libnl > > checking for UDEV... no > checking whether to compile with macvtap support... yes > checking whether to compile with virtual port support... no > checking

Re: [libvirt-users] client certificate path hard coded?

2011-03-11 Thread Matthias Bolte
2011/3/11 Anthony Goddard : > Hi all, > I'm trying to figure out how to get my desktop talking to two libvirt hosts > using qemu+tls and I've read that virsh relies on hard coded paths to the > certificates.. which seems to be true. > Is there a way to tell virsh to use a different path to a certif

Re: [libvirt-users] diskspace and diskinodes tag for openvz

2011-03-07 Thread Matthias Bolte
2011/3/7 : > Hi! > > as far as I understood from "xml format for openvz driver" thread available > at [1] it should be possible to specify via libvirt disk size and disk > inodes for openvz VM.But the following device section in VM xml description > doesn't set disksize and diskinodes properly (it

Re: [libvirt-users] libvirt + ESX (HTTP response code 400 for call to 'Login')

2011-03-04 Thread Matthias Bolte
2011/3/4 Hereward Cooper : > [...] >> 400 means bad request. You probably have a character in you password >> that needs to be escaped in XML: <, >, &, ', " >> >> libvirt currently doesn't escape the password properly when building >> the SOAP request. You can manually workaround this by entering t

Re: [libvirt-users] libvirt + ESX (HTTP response code 400 for call to 'Login')

2011-03-03 Thread Matthias Bolte
2011/3/3 Hereward Cooper : > Hi folks, > > I'm trying to connect to a vSphere cluster using the information from > the libvirt documentation. > > > --- > $ virsh -c > "vpx://root@10.51.4.11/dc1/dc1-cluster-e01/dc1-vsphere-e04/?no_verify=1" > > Enter root's password for 10.51.4.11: >

Re: [libvirt-users] Libvirt in Windows not working

2011-02-08 Thread Matthias Bolte
2011/2/8 arpita k : > Hi, > > This is Arpita. > > I am using Libvirt API in the Windows Vista system.VMware is installed over > there.I have installed Libvirt and Python 2.6 in the Windows Vista system > andhave written a small test file in Python. You mean you're trying to connect to an VMware ES

Re: [libvirt-users] virsh : Need help to manage a vm on a remote vmWare

2011-02-02 Thread Matthias Bolte
2011/2/2 Etienne GOSSET : > Hello, > > > > I’m trying to use the tool virsh of libvirt. > > I want to manage via CLI a vm on a vmware hypervisor which is hosted on a > remote host (Is that what you call the node??). > You say hosted, so what VMware hypervisor are you using? VMware ESX(i), Server (

Re: [libvirt-users] Guest interface info under ESX driver

2011-01-31 Thread Matthias Bolte
2011/1/31 Sengor : > Hi Justin, > > Thanks. I did come across that post, but was hoping there'd be a more > contained method of finding the domain's IP address without needing to > do ARP/MAC lookups or query the DHCP server itself. Currently libvirt doesn't provide a function to get the IP addres

Re: [libvirt-users] compilation error

2011-01-28 Thread Matthias Bolte
2011/1/28 Justin Clift : > On 28/01/2011, at 7:21 PM, antoni artigues wrote: >> Hello >> >> Thanks again for all the help. >> >> Now with the patch and 0.8.7, and only ESX enabled returns this error: >> >> -- >> virsh-virsh.o(.text+0x128a8): In function `cmdCPUBaseli

Re: [libvirt-users] compilation error

2011-01-27 Thread Matthias Bolte
2011/1/27 antoni artigues : > Hello > > Thank you for the answer > > Now, with this patch, and only ESX enabled returns a different error: > > -- > Making all in daemon > make[2]: Entering directory > `/root/InstalledPackages/libvirt-0.8.3/daemon' > make  all-am

Re: [libvirt-users] compilation error

2011-01-27 Thread Matthias Bolte
If you only need the ESX part you can disable most of the parts that may have problems due to the old kernel version. Running configure like Justin suggested: ./configure --with-esx --without-libvirtd --without-network This will disable libvirtd, the network driver and probably other things. conf

Re: [libvirt-users] Python Bindings for Python 2.7

2011-01-19 Thread Matthias Bolte
2011/1/19 vipul borikar : > Hello, >   I want to source compile the libvirt 0.8.4 with its Python > bindings. > > I have python 2.4 rpm installed but i dont use it. I use Python 2.7 source > compiled version. > > So when i compile libvirt it produces bindings for Python 2.4 which is > obvio

Re: [libvirt-users] autostarting storage pool

2011-01-04 Thread Matthias Bolte
2011/1/4 Marcin Krol : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello everyone, > > How do I make storage pool auto start? > > I have: > > virsh # pool-list > Name                 State      Autostart > - - > default              active     yes >

Re: [libvirt-users] VMware ESX 4.0 won't reboot guests.

2010-12-28 Thread Matthias Bolte
2010/12/28 Patric Falinder : > Hi, > > I just compiled libvirt with ESX support. I can login just fine, list all > the guests/domains but when I try to reboot or shutdown one of my > guests/domains I get this error: > > virsh # reboot dbcluster1 > error: Failed to reboot domain dbcluster1 > error:

Re: [libvirt-users] Deploying libvirt with live migration

2010-12-13 Thread Matthias Bolte
2010/12/13 David Ehle : > > > On Mon, 13 Dec 2010, Matthias Bolte wrote: > >> 2010/12/13 David Ehle : >>> >>> Even if your not sharing /etc/libvirt, if you have migrated at least >>> once, >>> both systems see the VM's as available for sta

Re: [libvirt-users] Deploying libvirt with live migration

2010-12-13 Thread Matthias Bolte
me disk image at the same time. That's not exactly what you're looking for but it's related. Matthias > David. > > On Mon, 13 Dec 2010, Scott Baker wrote: > >> On 12/13/2010 02:28 PM, Matthias Bolte wrote: >>> >>> Well don't share /et

Re: [libvirt-users] Deploying libvirt with live migration

2010-12-13 Thread Matthias Bolte
2010/12/13 Scott Baker : > I have two physical servers: Virt1 and Virt2. I'm setting up live migration > with CentOS 5.5 between the two. I've done this by NFS mounting /etc/libvirt > and /var/lib/libvirt/images on both servers. This is working well for me > except for one thing. > > I see the same

Re: [libvirt-users] libvirt printing to stderr

2010-12-12 Thread Matthias Bolte
2010/12/13 Osier Yang : > 于 2010年12月13日 13:43, Albert Hopkins 写道: >> >> I'm writing an app and using the Python bindings for libvirt. >> >> Everything is fine but, in some cases I need to call lookupByName(). >> There are a lot of times when the name will not exist, I trap the >> exception, however

Re: [libvirt-users] Create VMWare ESXi domain via virsh error(error: this function is not supported by the connection driver: virDomainCreateXML)

2010-12-06 Thread Matthias Bolte
See, my response on the libvirt-list to your equivalent email send there: https://www.redhat.com/archives/libvir-list/2010-December/msg00314.html Matthias 2010/11/30 mop amg : > Hi, Dear Mr/Mrs. > I have two questions ask for help: > my virt-manager and libvirt version is : > linux-vaan:~ # rpm

Re: [libvirt-users] ESX(i) implemented functions

2010-11-14 Thread Matthias Bolte
2010/11/3 Sherif Nagy : > Dear All, > > I would like to know what functions and classes are implemented in the > ESX(i) driver ? i am trying to use virsh to retrieve some simple information > such as vcpuinfo domain, but it is not working, so I would like to know what > functions are implemented in

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

2010-11-14 Thread Matthias Bolte
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("vbox:///session", false); > but I got this exception: > > libvir: warning : Failed to find the inte

Re: [libvirt-users] Virt-v2v

2010-10-21 Thread Matthias Bolte
2010/10/21 Mike Hall : > Usual prologue: we're testing on CentOS 5.5, RHEL subscriptions purchased. > > Now trying to use virt-v2v to transfer Win2008 Server guest from ESXi host to > KVM host. > > Have enabled SSH on ESXi host, and can connect using esx+ssh://esxhost, but > procedure fails becau

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

2010-10-21 Thread Matthias Bolte
21 Ravi Pawar : > Thanks Matthias, > > can you please have a look at the program attached? this should work as i > have used free() call. but its not working for me. > > Thanks, > Ravi > > On Mon, Oct 18, 2010 at 6:20 PM, Bryan Kearney wrote: >> >> On 10/15/

  1   2   >