Re: [libvirt] Libvirt 0.9.4rc2 + qemu 0.15 VNC/TLS not working

2011-08-24 Thread Radek Hladik
Dne 24.8.2011 13:55, Daniel P. Berrange napsal(a): On Tue, Aug 23, 2011 at 08:50:35PM +0200, Radek Hladik wrote: Dne 23.8.2011 14:36, Radek Hladik napsal(a): I am thinking whether there is not a problem with monitor setting something after the machine starts. Libvirt does the same

[libvirt] Libvirt 0.9.4rc2 + qemu 0.15 : shutdown domain

2011-08-24 Thread Radek Hladik
Hi again, while experimenting with new libvirt and qemu I discovered different behavior than with my previous versions. When I shutdown machine with shutdown (virsh) or virDomainShutdown (via php) the domain is shutdown but it ends up paused instead of destroyed. The OS is shut down, CPU

[libvirt] Libvirt 0.9.4rc2 + qemu 0.15 VNC/TLS not working

2011-08-23 Thread Radek Hladik
Hi all, I am trying new versions of software for my libvirt/qemu farm. I upgraded libvirt to 0.9.3 and I had problems with loading certificates for libvirt itself (probably GNUTLS related). Upgrade to 0.9.4rc2 solved the problem. Now I am trying to upgrade qemu (from 0.12.5) to 0.15. I

Re: [libvirt] Libvirt 0.9.4rc2 + qemu 0.15 VNC/TLS not working

2011-08-23 Thread Radek Hladik
Dne 23.8.2011 14:36, Radek Hladik napsal(a): I am thinking whether there is not a problem with monitor setting something after the machine starts. Libvirt does the same with password, so maybe it does something with TLS I tried to remove the VNC password from guest XML and TLS is working. So

Re: [libvirt] Curl/HTTP block device

2011-08-23 Thread Radek Hladik
Dne 16.8.2011 20:13, Daniel P. Berrange napsal(a): On Tue, Aug 16, 2011 at 11:02:23AM -0600, Eric Blake wrote: On 08/12/2011 04:31 AM, Radek Hladik wrote: Hi, I've noticed newer version of curl in last qemu changelog. It seems that its needed for curl block device. Unfortunatelly, I

[libvirt] Curl/HTTP block device

2011-08-12 Thread Radek Hladik
Hi, I've noticed newer version of curl in last qemu changelog. It seems that its needed for curl block device. Unfortunatelly, I was not able to find out more. I tried to look into qemu source code and to some patches but I am not much wiser. As I understand it, qemu could be able to use a

Re: [libvirt] Question about PHP licencing for libvirt-php (php-libvirt for Fedora)

2011-03-10 Thread Radek Hladik
Hi all, Dne 10.3.2011 12:12, Michal Novotny napsal(a): On 03/10/2011 12:05 PM, Daniel P. Berrange wrote: On Thu, Mar 10, 2011 at 06:58:25PM +0800, Daniel Veillard wrote: On Thu, Mar 10, 2011 at 10:31:07AM +0100, Michal Novotny wrote: On 03/10/2011 07:12 AM, Lyre wrote: The spec was copied

Re: [libvirt] fork of php-libvirt

2011-01-25 Thread Radek Hladik
Dne 4.1.2011 9:45, Justin Clift napsal(a): On 30/12/2010, at 12:03 AM, Radek Hladik wrote: Dne 29.12.2010 8:00, Lyre napsal(a): I've added many APIs to php-libvirt, including network, node device, interface, and snapshot support. Unfortunately, I wasn't able to contact original author Radek

Re: [libvirt] fork of php-libvirt

2011-01-25 Thread Radek Hladik
Dne 4.1.2011 9:45, Justin Clift napsal(a): On 30/12/2010, at 12:03 AM, Radek Hladik wrote: Dne 29.12.2010 8:00, Lyre napsal(a): I've added many APIs to php-libvirt, including network, node device, interface, and snapshot support. Unfortunately, I wasn't able to contact original author Radek

Re: [libvirt] fork of php-libvirt

2010-12-29 Thread Radek Hladik
Dne 29.12.2010 8:00, Lyre napsal(a): I've added many APIs to php-libvirt, including network, node device, interface, and snapshot support. Unfortunately, I wasn't able to contact original author Radek, I really hope he can see this. So I forked it, the address is:

[libvirt] Kvm virtualization vs emulation

2010-12-27 Thread Radek Hladik
Wishing Merry Christmas to all. I am preparing new production host for libvirt and I did encounter one issue I am a little confused about. I am using libvirt 0.8.6 with qemu 0.13 (both built for F13 from F14 SRPMS). When I create domain with type arch='x86_64' machine='pc-0.13'hvm/type

Re: [libvirt] virConnectClose question

2010-10-20 Thread Radek Hladik
Dne 19.10.2010 20:07, Matthias Bolte napsal(a): 2010/10/19 Radek Hladikra...@eadresa.cz: Dne 19.10.2010 17:32, Matthias Bolte napsal(a): 2010/10/19 Radek Hladikra...@eadresa.cz: Hello, I did find out that in some cases virConnectClose does not close the connection at all. It only

[libvirt] virConnectClose question

2010-10-19 Thread Radek Hladik
Hello, I did find out that in some cases virConnectClose does not close the connection at all. It only returns -1 which by the documentation means error: Returns: 0 in case of success or -1 in case of error. But there is no other indication of what error it is. I am almost sure that it is

Re: [libvirt] virConnectClose question

2010-10-19 Thread Radek Hladik
Dne 19.10.2010 17:32, Matthias Bolte napsal(a): 2010/10/19 Radek Hladikra...@eadresa.cz: Hello, I did find out that in some cases virConnectClose does not close the connection at all. It only returns -1 which by the documentation means error: Returns: 0 in case of success or -1 in case

[libvirt] Libvirt synchronous hooks

2010-06-29 Thread Radek Hladik
I am trying Libvirt synchronous hooks and I would like to ask a question. I would like to use the machine start (qemu+kvm) hook to set up the storage for the machine. I already mentioned my setup in this mailing list but for now it is only important that VM storage is a md raid constructed

[libvirt] Update on PHP libvirt

2010-06-29 Thread Radek Hladik
I would like to post some update about PHP bindings for libvirt I started last year. As usual I do not have enough time to work on it however the last version 0.3 seems to be quite stable. I did get some reports from people using it and it seems that the code is working without problems. I

Re: [libvirt] Update on PHP libvirt

2010-06-29 Thread Radek Hladik
Dne 29.6.2010 17:38, Eric Blake napsal(a): On 06/29/2010 09:27 AM, David W King wrote: I'm running Ubuntu 10.04 with php 5.3.2. In order to get the extension to compile I had to apply the attached patch. Could you please resend that patch as a context diff? ed script diffs are practically

Re: [libvirt] Update on PHP libvirt

2010-06-29 Thread Radek Hladik
Dne 29.6.2010 17:04, Justin Clift napsal(a): This looks like a very worthwhile effort. Would you be ok with us adding a link from our list? http://libvirt.org/bindings.html It would be great. Radek smime.p7s Description: S/MIME Cryptographic Signature -- libvir-list mailing list

Re: [libvirt] Execute script on migration

2009-10-13 Thread Radek Hladik
Daniel P. Berrange napsal(a): On Mon, Oct 12, 2009 at 12:37:22PM +0200, Radek Hlad?k wrote: Short question: What is the best way to run some script on VM migration? Detailed description: We use own system for volume management. Its based on md and we found it very flexible. Basic idea is that

Re: [libvirt] Re: Libvirt PHP binding

2009-04-15 Thread Radek Hladik
Daniel Veillard napsal(a): On Tue, Apr 14, 2009 at 07:14:32PM +0200, Radek Hladik wrote: Daniel P. Berrange napsal(a): I've updated the documentation - added note that version 0.6.2 is required :-) - and modified the code to refuse to connect when version is lower that 0.6.2. I've put

[libvirt] Libvirt PHP binding

2009-04-14 Thread Radek Hladik
Hi, I am trying to develop PHP binding for Libvirt API. As discussed previously on the list the best way is to create a ZEND extension. There is a great tutorial on the net ( http://devzone.zend.com/tag/Extension ) and PHP provides a lot of macros and functions to make extension writing

Re: [libvirt] Re: Libvirt PHP binding

2009-04-14 Thread Radek Hladik
Daniel P. Berrange napsal(a): On Tue, Apr 14, 2009 at 04:00:18PM +0100, Daniel P. Berrange wrote: On Tue, Apr 14, 2009 at 03:56:28PM +0200, Radek Hladik wrote: When running from command line everything seems to work fine. This is of course singlethreaded and potential resource leaks need

Re: [libvirt] libvirt tls vnc

2009-02-27 Thread Radek Hladik
Michael Kress napsal(a): Michael Kress wrote: Then I'll give a try on linux and mail the results later. 2009.02.26 19:09:44 LOG7[14644:3086588128]: Certificate: /home/kress/keys/client-cert.pem 2009.02.26 19:09:44 LOG7[14644:3086588128]: Certificate loaded 2009.02.26 19:09:44

Re: [libvirt] libvirt tls vnc

2009-02-26 Thread Radek Hladik
Michael Kress napsal(a): Daniel P. Berrange wrote: * http://www.karlrunge.com/x11vnc/ssvnc.html (effect as described) To quote that page: SSVNC also supports the VeNCrypt SSL/TLS extension to VNC (Unix and Mac OS X only.) So you're out of luck with Windows Ok, this is no

Re: [libvirt] networking with two hosts

2009-02-26 Thread Radek Hladik
Andreas Rittershofer napsal(a): My problem is: 1.) VM1 running on host A must have network access to VM3 when VM3 is running on host B by default _and_ 2.) when VM3 is running on host A because host B failed. In some of my configurations 1.) worked but 2.) not, in some other configurations

Re: [libvirt] networking with two hosts

2009-02-26 Thread Radek Hladik
Andreas Rittershofer napsal(a): Am 26.02.2009 um 20:26 schrieb Radek Hladik: Andreas Rittershofer napsal(a): My problem is: 1.) VM1 running on host A must have network access to VM3 when VM3 is running on host B by default _and_ 2.) when VM3 is running on host A because host B failed

Re: [libvirt] libvirt tls vnc

2009-02-26 Thread Radek Hladik
Michael Kress napsal(a): Radek Hladik wrote: Michael Kress napsal(a): 2009.02.26 19:09:44 LOG7[14644:3086588128]: Certificate: /home/kress/keys/client-cert.pem 2009.02.26 19:09:44 LOG7[14644:3086588128]: Certificate loaded 2009.02.26 19:09:44 LOG7[14644:3086588128]: Key file: /home/kress/keys

Re: [libvirt] libvirt tls vnc

2009-02-26 Thread Radek Hladik
Michael Kress napsal(a): IT WORKS! Radek Hladik wrote: Michael Kress napsal(a): 2009.02.26 19:09:44 LOG3[14644:3086588128 http://www.snapanumber.com/]: error stack: 140B3009 : error:140B3009:SSL routines:SSL_CTX_use_RSAPrivateKey_file:PEM lib 2009.02.26 19:09:44 LOG3[14644:3086588128 http

Re: [libvirt] PATCH: Support VNC password for QEMU guests

2009-01-26 Thread Radek Hladik
Daniel P. Berrange napsal(a): On Mon, Jan 26, 2009 at 11:15:01AM +, Daniel P. Berrange wrote: On Sun, Jan 25, 2009 at 09:22:53PM +0100, Radek Hladik wrote: Daniel P. Berrange napsal(a): This patch adds support for using the monitor interface to set the VNC password (qemu

Re: [libvirt] PATCH: Support VNC password for QEMU guests

2009-01-25 Thread Radek Hladik
Daniel P. Berrange napsal(a): This patch adds support for using the monitor interface to set the VNC password (qemu) change vnc password Password: A minor tricky thing is that we can't just send the command and password all in one go, we must wait for the 'Password' prompt before