[libvirt] Fwd: Abandoning php-virt-control project

2018-05-21 Thread Michal Novotny
>On Mon, May 21, 2018 at 11:05:13AM +0200, Michal Novotny wrote: >> Hi Dan, >> thanks and I completely understand. I was funding the domain name from my >> own resources for several years already. If somebody is interested in >> taking over the domain it would

[libvirt] Abandoning php-virt-control project

2018-05-20 Thread Michal Novotny
Hi, since I'm pretty busy last few months and I didn't do any commit to the php-virt-control project [1] for a pretty long time it's time to hand over this project to somebody that is interested in continuing the project so please if anyone is interested please tell me. It's essentially the PHP

Re: [libvirt] [libvirt-php][PATCH 7/7] libvirt_stream_close: Pass the actual connect object

2015-06-19 Thread Michal Novotny
Nice work catch. Thanks, Michal Dne 19.6.2015 18:49 Eric Blake ebl...@redhat.com napsal(a): On 06/19/2015 03:17 AM, Michal Privoznik wrote: There's a bug in the function. When closing a stream, the stream refcount should be decremented. We have a helper function for that which (among

[libvirt] Fwd: [php PATCH] Fix compiler warnings after int to long conversion

2014-06-20 Thread Michal Novotny
+0200, Michal Novotny wrote: Hi Dawid, thanks for the information. Well, please rebase to the latest commit of my master branch and resend, thanks a lot! Michal Ok, now I'm puzzled. I've rebased the patch from clean master and the diff ended up identical to the original one. To double

Re: [libvirt] [php PATCH] Use long variable type for zend_parse_parameters.

2014-06-18 Thread Michal Novotny
Hi Dawid, I've applied it to the libvirt-php git repository. See: http://libvirt.org/git/?p=libvirt-php.git;a=commit;h=d3b3afa7d37541984d1e80e4ab46cd3e582ea60d Thanks, Michal 2014-06-18 19:11 GMT+02:00 Dawid Zamirski dzamir...@dattobackup.com: 2014-06-18 19:11 GMT+02:00 Dawid Zamirski

Re: [libvirt] [php PATCH] Fix compiler warnings after int to long conversion

2014-06-18 Thread Michal Novotny
and then work from there. Regards, Dawid On Wed, 2014-06-18 at 21:28 +0200, Michal Novotny wrote: Hi Dawid, thanks for the patch, I'll apply it when I have time to do so. However, the patch is not critical as it's in the DPRINTF debug macro (for production environment you should

Re: [libvirt] [php-libvirt] minimal libvirt requirement

2014-01-06 Thread Michal Novotny
-list -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [php-libvirt] minimal libvirt requirement

2014-01-06 Thread Michal Novotny
On 01/06/2014 05:56 PM, Remi Collet wrote: Le 06/01/2014 16:48, Michal Novotny a écrit : Hi Remi, thanks for catching it, feel free to write a patch for this (and also take ownership of of php-libvirt in Fedora if interested - this has been sent to your corporate e-mail: rcol...@redhat.com

Re: [libvirt] libvirt live modify

2014-01-01 Thread Michal Novotny
...@gmail.com To: Michal Novotny minov...@redhat.com Sent: Monday, December 23, 2013 7:03:17 PM Subject: Re: [libvirt] libvirt live modify Hi Michal Thanks, its work, Ok one question http://libvirt.org/php/api-reference.html#libvirt_domain_set_metadata the above link is php api reference link

Re: [libvirt] libvirt live modify

2013-12-18 Thread Michal Novotny
like? Thanks, Michal On 12/18/2013 12:59 PM, Michal Privoznik wrote: On 18.12.2013 12:27, Umar Draz wrote: Hi Peter, Thanks for the response, Would you please help how I can use *virDomainSetMetadata* with PHP or any url for help? Br. Umar [CC'ing Michal Novotny - the libvirt-php maintainer

Re: [libvirt] libvirt live modify

2013-12-18 Thread Michal Novotny
, Michal Novotny minov...@redhat.com mailto:minov...@redhat.com wrote: Hi Michal and Umar, it's correct I can't invoke this APIs via PHP yet. Please note that libvirt-php is not automatically generated when doing libvirt build and it's a separate project. It's rather easy

Re: [libvirt] libvirt live modify

2013-12-18 Thread Michal Novotny
I will definitely ask you. Br. Umar On Wed, Dec 18, 2013 at 5:19 PM, Michal Novotny minov...@redhat.com mailto:minov...@redhat.com wrote: Hi Umar, that's fine. Give one or two days for this please. Maybe I'll implement earlier but I'm a bit overloaded after my PTO so

Re: [libvirt] libvirt live modify

2013-12-18 Thread Michal Novotny
=e3e783413d8f001ee0a266edbac949c78616fde0h in the src directory and reconfigure the php-libvirt? Br. Umar On Wed, Dec 18, 2013 at 7:31 PM, Michal Novotny minov...@redhat.com mailto:minov...@redhat.com wrote: Hi Umar, please see commit http://libvirt.org/git/?p=libvirt-php.git;a=commit;h

Re: [libvirt] libvirt live modify

2013-12-18 Thread Michal Novotny
, Michal Novotny minov...@redhat.com mailto:minov...@redhat.com wrote: Hi Umar, you have to clone it from git repository and compile it and install. You can simply do it by: git clone git://libvirt.org/libvirt-php.git http://libvirt.org/libvirt-php.git ./autogen.sh

Re: [libvirt] GlusterFS with libvirt

2013-11-29 Thread Michal Novotny
/mailman/listinfo/libvir-list -- Umar Draz Network Architect -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir

Re: [libvirt] Migration issue php-libvirt

2013-10-17 Thread Michal Novotny
VIR_MIGRATE_OFFLINE= 1024 VIR_MIGRATE_COMPRESSED = 2048 Claudio -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo

[libvirt] [PATCH] api-docs: Fix description of virConnectGetType() API function

2013-09-11 Thread Michal Novotny
This fixes the description of virConnectGetType() API function in API documentation to match the real functionality that it can be used to get driver name. Signed-off-by: Michal Novotny minov...@redhat.com --- src/libvirt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[libvirt] [PATCH] qemu: Fix connectGetType() API

2013-09-10 Thread Michal Novotny
)); virConnectClose(conn); return 0; } Compiled on F-17 x86_64 host using: gcc -o test test.c -lvirt Signed-off-by: Michal Novotny minov...@redhat.com --- src/qemu/qemu_driver.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index

Re: [libvirt] [libvirt-php] bug in libvirt_domain_change_vcpus()

2013-09-10 Thread Michal Novotny
On 09/10/2013 10:09 AM, Daniel P. Berrange wrote: On Mon, Sep 09, 2013 at 06:51:54PM +0200, Michal Novotny wrote: Hi Olivier, this is not really a bug as it's intended. The libvirt_domain_change_vcpus() is not the same as (yet unimplemented) virDomainSetVcpus() API so it's not bug. I realize

Re: [libvirt] [PATCH] qemu: Fix connectGetType() API

2013-09-10 Thread Michal Novotny
On 09/10/2013 03:19 PM, Daniel P. Berrange wrote: On Tue, Sep 10, 2013 at 03:06:29PM +0200, Michal Novotny wrote: This patch fixes qemuConnectGetType() API function to return KVM if appropriate, i.e. when /dev/kvm exists as the KVM module is loaded. No further check is being done so it's

Re: [libvirt] [libvirt-php] bug in libvirt_domain_change_vcpus()

2013-09-10 Thread Michal Novotny
On 09/10/2013 10:09 AM, Daniel P. Berrange wrote: On Mon, Sep 09, 2013 at 06:51:54PM +0200, Michal Novotny wrote: Hi Olivier, this is not really a bug as it's intended. The libvirt_domain_change_vcpus() is not the same as (yet unimplemented) virDomainSetVcpus() API so it's not bug. I realize

Re: [libvirt] [libvirt-php] bug in libvirt_domain_change_vcpus()

2013-09-09 Thread Michal Novotny
use instead C function virDomainSetVcpus http://libvirt.org/html/libvirt-libvirt.html#virDomainSetVcpus What do you think ? Olivier -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- Michal Novotny minov...@redhat.com, RHCE, Red Hat

Re: [libvirt] [libvirt-php] bug in libvirt_domain_change_vcpus()

2013-09-09 Thread Michal Novotny
On 09/09/2013 06:51 PM, Michal Novotny wrote: Hi Olivier, this is not really a bug as it's intended. The libvirt_domain_change_vcpus() is not the same as (yet unimplemented) virDomainSetVcpus() API so it's not bug. I realize that naming could be a little confusing so if you like, feel free

Re: [libvirt] How to get the host network stats

2013-07-02 Thread Michal Novotny
list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH v5] qemu: Implement CPUs check against machine type's cpu-max

2013-07-01 Thread Michal Novotny
On 07/01/2013 02:38 PM, Martin Kletzander wrote: On 06/26/2013 05:46 PM, Michal Novotny wrote: Implement check whether (maximum) vCPUs doesn't exceed machine type's cpu-max settings. Differences between v4 and v5 (this one): - Changed type to unsigned int - Renamed variable to maxCpus

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Michal Novotny
it using approach like: hasPasswordMethod = false; for (i = 0; i t.numTokens; i++) if (strcmp(t.tokens[i], password) == 0) hasPasswordMethod = true; I think libvirt already have some similar functions to do it, doesn't it? Thanks, Michal -- Michal Novotny minov...@redhat.com, RHCE, Red

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Michal Novotny
On 06/28/2013 01:41 PM, David Maciejak wrote: On Fri, Jun 28, 2013 at 1:03 PM, Michal Novotny minov...@redhat.com mailto:minov...@redhat.com wrote: On 06/28/2013 12:28 PM, Peter Krempa wrote: On 06/27/13 14:31, David Maciejak wrote: Hi, I was discussing

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Michal Novotny
On 06/28/2013 01:48 PM, Daniel P. Berrange wrote: On Fri, Jun 28, 2013 at 01:43:44PM +0200, Michal Novotny wrote: if libvirt doesn't have the tokenizer support yet, it may be a good RFE as I believe it could be really useful ;-) Peter, do you know about anything libvirt supports to tokenize

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Michal Novotny
On 06/28/2013 01:54 PM, Peter Krempa wrote: On 06/28/13 13:50, Michal Novotny wrote: On 06/28/2013 01:48 PM, Daniel P. Berrange wrote: On Fri, Jun 28, 2013 at 01:43:44PM +0200, Michal Novotny wrote: if libvirt doesn't have the tokenizer support yet, it may be a good RFE as I believe it could

Re: [libvirt] [PATCH v4] qemu: Implement CPUs check against machine type's cpu-max

2013-06-26 Thread Michal Novotny
On 06/26/2013 04:17 PM, Martin Kletzander wrote: On 06/25/2013 05:44 PM, Michal Novotny wrote: Implement check whether (maximum) vCPUs doesn't exceed machine type's cpu-max settings. Differences between v3 and v4 (this one): - Rebased to latest libvirt version - Capability XML output

Re: [libvirt] [PATCH v4] qemu: Implement CPUs check against machine type's cpu-max

2013-06-26 Thread Michal Novotny
On 06/26/2013 04:29 PM, Martin Kletzander wrote: On 06/26/2013 04:20 PM, Michal Novotny wrote: On 06/26/2013 04:17 PM, Martin Kletzander wrote: On 06/25/2013 05:44 PM, Michal Novotny wrote: Implement check whether (maximum) vCPUs doesn't exceed machine type's cpu-max settings. Differences

[libvirt] [PATCH v5] qemu: Implement CPUs check against machine type's cpu-max

2013-06-26 Thread Michal Novotny
show Differences between v3 and v4: - Rebased to latest libvirt version - Capability XML output extended by maxCpus field - Extended caps-qemu-kvm.xml test by maxCpus for one of test emulators On older versions of QEMU the check is disabled. Signed-off-by: Michal Novotny minov...@redhat.com

[libvirt] [PATCH v4] qemu: Implement CPUs check against machine type's cpu-max

2013-06-25 Thread Michal Novotny
On older versions of QEMU the check is disabled. Signed-off-by: Michal Novotny minov...@redhat.com --- docs/schemas/capability.rng | 5 src/conf/capabilities.c | 4 +++ src/conf/capabilities.h | 1 + src/qemu/qemu_capabilities.c

Re: [libvirt] [PATCH v4] qemu: Implement CPUs check against machine type's cpu-max

2013-06-25 Thread Michal Novotny
It has been accidentally sent twice. Please ignore and review just one version as both v4 are the same ;-) Also, it has been `make check` and `make syntax-check` tested and passed :-) Thanks, Michal On 06/25/2013 05:44 PM, Michal Novotny wrote: Implement check whether (maximum) vCPUs doesn't

Re: [libvirt] [PATCH v3] qemu: Implement CPUs check against machine type's cpu-max

2013-04-22 Thread Michal Novotny
ping? On 04/17/2013 04:15 PM, Michal Novotny wrote: Implement check whether (maximum) vCPUs doesn't exceed machine type's cpu-max settings. On older versions of QEMU the check is disabled. Signed-off-by: Michal Novotny minov...@redhat.com --- src/qemu/qemu_capabilities.c | 38

Re: [libvirt] [PATCH 1/2] cpu-max: Implement cpu-max attribute into capabilities XML output

2013-04-17 Thread Michal Novotny
On 04/17/2013 11:25 AM, Daniel P. Berrange wrote: On Wed, Apr 17, 2013 at 03:21:04AM +0200, Michal Novotny wrote: Implement the cpu-max attribute into virConnectGetCapabilities() API output to allow caller to check maximum number of CPUs to be set for specified machine type. Signed-off

[libvirt] [PATCH v2] qemu: Implement CPUs check against machine type's cpu-max

2013-04-17 Thread Michal Novotny
Implement check whether (maximum) vCPUs doesn't exceed machine type's cpu-max settings. Signed-off-by: Michal Novotny minov...@redhat.com --- src/conf/capabilities.h | 1 + src/qemu/qemu_capabilities.c | 40 +++- src/qemu/qemu_capabilities.h | 3

[libvirt] [PATCH v3] qemu: Implement CPUs check against machine type's cpu-max

2013-04-17 Thread Michal Novotny
Implement check whether (maximum) vCPUs doesn't exceed machine type's cpu-max settings. On older versions of QEMU the check is disabled. Signed-off-by: Michal Novotny minov...@redhat.com --- src/qemu/qemu_capabilities.c | 38 +- src/qemu/qemu_capabilities.h

[libvirt] [PATCH 2/2] qemu: Implement validation for max-cpu in XML

2013-04-16 Thread Michal Novotny
Check whether vcpu setting or maxvcpu settings exceeds number of maximum cpus for selected machine type on virDomainDefineXML() and virDomainCreateXML() API calls or not. Signed-off-by: Michal Novotny minov...@redhat.com --- src/qemu/qemu_driver.c | 30 ++ 1 file

[libvirt] [PATCH 0/2] Add cpu-max to capabilities and implement checks

2013-04-16 Thread Michal Novotny
-off-by: Michal Novotny minov...@redhat.com Michal Novotny (2): cpu-max: Implement cpu-max attribute into capabilities XML output qemu: Implement validation for max-cpu in XML docs/schemas/capability.rng | 5 + src/conf/capabilities.c | 4 src/conf/capabilities.h | 1

[libvirt] [PATCH 1/2] cpu-max: Implement cpu-max attribute into capabilities XML output

2013-04-16 Thread Michal Novotny
Implement the cpu-max attribute into virConnectGetCapabilities() API output to allow caller to check maximum number of CPUs to be set for specified machine type. Signed-off-by: Michal Novotny minov...@redhat.com --- docs/schemas/capability.rng | 5 + src/conf/capabilities.c | 4

Re: [libvirt] [libvirt-php PATCH 1/1] src/Makefile.am: use LDFLAGS for libvirt-php.so

2013-04-08 Thread Michal Novotny
) $(LDFLAGS) -Wall $(SHLIB_FLAGS) $(LIBS) -o $(PACKAGE).so vncfunc.o sockets.o libvirt-php.o -ldl -lvirt $(LIBXML_LIBS) $(LIBVIRT_LIBS) $(ECHO) Extension compiled as $(PACKAGE).so install-exec-local: Thanks, pushed! Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat

Re: [libvirt] [libvirt-php PATCH 1/1] Fix: mutlithreading compilation: set_error needs 2 params

2013-04-08 Thread Michal Novotny
connection object is not valid); + set_error(Destination connection object is not valid TSRMLS_CC); RETURN_FALSE; } Thanks, pushed! Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org

Re: [libvirt] [libvirt-php PATCH 1/1] $(LIBS) must be at the end in the linker line

2013-04-08 Thread Michal Novotny
) $(CFLAGS) $(LDFLAGS) -Wall $(SHLIB_FLAGS) -o $(PACKAGE).so vncfunc.o sockets.o libvirt-php.o -ldl -lvirt $(LIBXML_LIBS) $(LIBVIRT_LIBS) $(LIBS) $(ECHO) Extension compiled as $(PACKAGE).so install-exec-local: Thanks, pushed! Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat

Re: [libvirt] [libvirt-php] Build failure with v0.4.7 due to malformatted html

2013-01-31 Thread Michal Novotny
/th thInstaller command/th thLink/th ### Thanks - Regards Stefan Kuhn On Tue, 2013-01-29 at 15:24 +0100, Michal Novotny wrote: Thanks for the patches! They's working fine and they're looking good so I've applied it, also, I've added your name e-mail to the AUTHORS

Re: [libvirt] [libvirt-php PATCH 0/1] docs/distros.html.in: fix html validity

2013-01-31 Thread Michal Novotny
] Error 1 ### Stefan Kuhn (1): docs/distros.html.in: fix html validity error docs/distros.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Thanks for the patch. Applied pushed :-) Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php

Re: [libvirt] [libvirt-php PATCH 0/2] *** Add libvirt_domain_migrate_to_uri2() for virDomainMigrateToURI2() ***

2013-01-29 Thread Michal Novotny
| 1 + 7 files changed, 195 insertions(+), 3 deletions(-) create mode 100644 doc/source/libvirt/functions/libvirt-domain-migrate-to-uri2.xml -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org

Re: [libvirt] [libvirt-php][PATCH 00/20] compilation under OS X and various

2013-01-03 Thread Michal Novotny
/generate-api-docs.c| 1 + 22 files changed, 260 insertions(+), 263 deletions(-) create mode 100644 tests/data/test-libvirt-php.img create mode 100644 tests/php.ini -- 1.8.0.1 -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings

Re: [libvirt] [libvirt-php PATCH] Add ability to managed save libvirt domains

2012-07-02 Thread Michal Novotny
file before :-) Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] Improve docs about compiling libvirt from GIT

2012-05-24 Thread Michal Novotny
run: + templates using the codeautogen.sh/code command. By default when + the codeconfiure/code script is run from within a GIT checkout, it Didn't you mean codeconfigure/codethere ? ;-) Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings

Re: [libvirt] [libvirt-php PATCH] Fix installation of libvirt-php.ini

2012-05-14 Thread Michal Novotny
uninstall-local: $(RM) -f $(DESTDIR)$(PHPCDIR)/$(PACKAGE).ini Thanks Ivo! I've applied it now. Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com

Re: [libvirt] Create domain using libvirt-php

2012-04-04 Thread Michal Novotny
. Thanks.. -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https

Re: [libvirt] [test-API PATCH 1/6] Slight cross-distribution support

2012-03-27 Thread Michal Novotny
On 03/27/2012 10:32 AM, Christophe Fergeau wrote: On Mon, Mar 26, 2012 at 02:42:17PM +0200, Michal Novotny wrote: Fedora is using /etc/redhat-release file so you use the same handling for Fedora and RHEL then it's fine. I also have a /etc/fedora-release on my f17. systemd people are pushing

Re: [libvirt] [test-API PATCH 1/6] Slight cross-distribution support

2012-03-26 Thread Michal Novotny
at hand so I can't test this ) Peter Fedora is using /etc/redhat-release file so you use the same handling for Fedora and RHEL then it's fine. Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list

Re: [libvirt] [PATCH] Fixed URI parsing

2012-02-25 Thread Michal Novotny
and others somewhere in the HACKING file and document the scenario when it's appropriate to put functions in here, i.e. when the syntax-check should prohibit usage of some function (like xml* functions should be substituted by virURI* functions in this case and so on). Michal -- Michal Novotny minov

[libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Michal Novotny
that occurred. Also, a new test called errorreport has been written to test the functionality of error logging for multiple error occurrences. Signed-off-by: Michal Novotny minov...@redhat.com --- include/libvirt/virterror.h | 14 ++ python/generator.py |1 + src/util/virterror.c

Re: [libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Michal Novotny
the gnulib tests everytime you invoke `make check`. Michal On 01/19/2012 02:13 PM, Michal Novotny wrote: This patch introduces a new structure called virErrorsPtr which can get all the errors that occurred since the connection open. The error callback function is being used as many times as necessary

Re: [libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Michal Novotny
On 01/19/2012 02:20 PM, Daniel P. Berrange wrote: On Thu, Jan 19, 2012 at 02:13:59PM +0100, Michal Novotny wrote: This patch introduces a new structure called virErrorsPtr which can get all the errors that occurred since the connection open. The error callback function is being used as many

Re: [libvirt] [PATCH] errors: Improve error reporting to log multiple errors instead of just the last one

2012-01-19 Thread Michal Novotny
On 01/19/2012 02:28 PM, Daniel P. Berrange wrote: On Thu, Jan 19, 2012 at 02:25:55PM +0100, Michal Novotny wrote: On 01/19/2012 02:20 PM, Daniel P. Berrange wrote: On Thu, Jan 19, 2012 at 02:13:59PM +0100, Michal Novotny wrote: This patch introduces a new structure called virErrorsPtr which

Re: [libvirt] can not get screen shot using libvirt-php

2012-01-19 Thread Michal Novotny
shots it gives error Cannot find gvnccapture binary -- Punit Gupta M-Tect (jiit noida) -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php

Re: [libvirt] pibvirt php help

2012-01-19 Thread Michal Novotny
==false) { echo (Libvirt last error: .libvirt_get_last_error()); } ? -- Punit Gupta M-Tect (jiit noida) -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- Michal Novotny minov...@redhat.com, RHCE, Red Hat

Re: [libvirt] kvm-qemu emulator problem

2012-01-05 Thread Michal Novotny
://www.redhat.com/mailman/listinfo/libvir-list -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] kvm-qemu emulator problem

2012-01-05 Thread Michal Novotny
to be the same as the one in //domain/name node of xPath query applied to the XML file. Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo

Re: [libvirt] kvm-qemu emulator problem

2012-01-05 Thread Michal Novotny
The binary qemu-system-x86-64 isalso maked as a result of make install What to do now ??? -Original Message- From: Michal Novotny [mailto:minov...@redhat.com] Sent: Thursday, January 05, 2012 4:14 PM To: Pankaj Rawat Cc: libvir-list@redhat.com Subject: Re: [libvirt] kvm-qemu

Re: [libvirt] kvm-qemu emulator problem

2012-01-05 Thread Michal Novotny
On 01/05/2012 12:34 PM, Daniel P. Berrange wrote: On Thu, Jan 05, 2012 at 12:07:40PM +0100, Michal Novotny wrote: I don't have any experience with fvd however this is not libvirt-related issue rather than qemu-related. Please try to ask qemu guys how to fix this. Actually it is a libvirt error

Re: [libvirt] [PATCH v5] Implement DNS SRV record into the bridge driver

2012-01-02 Thread Michal Novotny
On 01/02/2012 12:39 PM, Peter Krempa wrote: On 12/07/2011 11:58 AM, Michal Novotny wrote: Hi, this is the fifth version of my SRV record for DNSMasq patch rebased for the current codebase to the bridge driver and libvirt XML file to include support for the SRV records in the DNS. The syntax

[libvirt] [PATCH v5] Implement DNS SRV record into the bridge driver

2012-01-02 Thread Michal Novotny
to pass both checks, i.e. both unit tests and also syntax check. Please review, Michal Signed-off-by: Michal Novotny minov...@redhat.com --- docs/formatnetwork.html.in | 12 ++ docs/schemas/network.rng | 20 ++- docs/schemas/networkcommon.rng

Re: [libvirt] [PATCH v5] Implement DNS SRV record into the bridge driver

2012-01-02 Thread Michal Novotny
On 01/02/2012 04:21 PM, Daniel Veillard wrote: On Mon, Jan 02, 2012 at 03:23:54PM +0100, Michal Novotny wrote: Hi, this is the fifth version of my SRV record for DNSMasq patch rebased for the current codebase to the bridge driver and libvirt XML file to include support for the SRV records

[libvirt] [PATCH v5] Implement DNS SRV record into the bridge driver

2011-12-07 Thread Michal Novotny
to pass both checks, i.e. both unit tests and also syntax check. Please review, Michal Signed-off-by: Michal Novotny minov...@redhat.com --- docs/formatnetwork.html.in | 12 ++ docs/schemas/network.rng | 20 ++- docs/schemas/networkcommon.rng

Re: [libvirt] In freeze for libvirt-0.9.8 and availability of rc2

2011-12-07 Thread Michal Novotny
this? Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH v4] Implement DNS SRV record into the bridge driver

2011-12-05 Thread Michal Novotny
, i.e. both unit tests and also syntax check. Please review, Michal Signed-off-by: Michal Novotny minov...@redhat.com --- docs/formatnetwork.html.in | 12 ++ docs/schemas/network.rng | 26 src/conf/network_conf.c

Re: [libvirt] libvirt-php 0.4.5 and php 5.4

2011-12-01 Thread Michal Novotny
it on PHP-5.3.8 and it's working fine even on PHP-5.3.8 so this is fine. Thanks a lot for your patch! Michal [1] http://libvirt.org/git/?p=libvirt-php.git;a=commit;h=089040dce425ce1af5d2ba63de4840abbe1640f9 -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php

Re: [libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-12 Thread Michal Novotny
On 08/11/2011 08:56 PM, Eric Blake wrote: On 08/11/2011 07:38 AM, Michal Novotny wrote: Please ignore previous mails (done by my sendmail was not working fine and please review this one instead). It may have also been an issue of sendmail sending from a different address, and your patches

Re: [libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-12 Thread Michal Novotny
On 08/11/2011 08:56 PM, Eric Blake wrote: On 08/11/2011 07:38 AM, Michal Novotny wrote: Please ignore previous mails (done by my sendmail was not working fine and please review this one instead). It may have also been an issue of sendmail sending from a different address, and your patches

[libvirt] [PATCH v3] Implement DNS SRV record into the bridge driver

2011-08-12 Thread Michal Novotny
to test with both minimal and full set of attributes - Check for service name length implemented Signed-off-by: Michal Novotny minov...@redhat.com --- docs/formatnetwork.html.in | 12 ++ docs/schemas/network.rng | 26 src/conf/network_conf.c

Re: [libvirt] [PATCH] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
Thanks for your review, Daniel. I already sent v2 of the patch now ;-) Michal On 08/11/2011 04:42 AM, Daniel Veillard wrote: On Thu, Aug 11, 2011 at 10:13:34AM +0800, Daniel Veillard wrote: On Tue, Aug 09, 2011 at 05:50:55PM +0200, Michal Novotny wrote: Hi, this is the patch to the bridge

[libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
From: Michal Novotny mig...@gmail.com Hi, this is the second version of my patch to the bridge driver and libvirt XML file to include support for the SRV records in the DNS. The syntax is based on DNSMasq man page and tests for both xml2xml and xml2argv were added as well. Differences between v1

[libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
parsing functionality - Extend tests to test with both minimal and full set of attributes - Check for service name length implemented Signed-off-by: Michal Novotny minov...@redhat.com Signed-off-by: Michal Novotny mig...@gmail.com --- docs/formatnetwork.html.in | 12

[libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
parsing functionality - Extend tests to test with both minimal and full set of attributes - Check for service name length implemented Signed-off-by: Michal Novotny minov...@redhat.com --- docs/formatnetwork.html.in | 12 ++ docs/schemas/network.rng

[libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
parsing functionality - Extend tests to test with both minimal and full set of attributes - Check for service name length implemented Signed-off-by: Michal Novotny minov...@redhat.com --- docs/formatnetwork.html.in | 12 ++ docs/schemas/network.rng

Re: [libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
Novotny wrote: From: Michal Novotny mig...@gmail.com Hi, this is the second version of my patch to the bridge driver and libvirt XML file to include support for the SRV records in the DNS. The syntax is based on DNSMasq man page and tests for both xml2xml and xml2argv were added as well

Re: [libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
Please ignore previous mails (done by my sendmail was not working fine and please review this one instead). Thanks, Michal On 08/11/2011 03:22 PM, Michal Novotny wrote: Hi, this is the second version of my patch to the bridge driver and libvirt XML file to include support for the SRV records

[libvirt] [PATCH v2] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
parsing functionality - Extend tests to test with both minimal and full set of attributes - Check for service name length implemented Signed-off-by: Michal Novotny minov...@redhat.com Signed-off-by: Michal Novotny mig...@gmail.com --- docs/formatnetwork.html.in | 12

[libvirt] [PATCH] Implement DNS SRV record into the bridge driver

2011-08-09 Thread Michal Novotny
Hi, this is the patch to the bridge driver and libvirt XML file to include support for the SRV records in the DNS. The syntax is based on DNSMasq man page and tests for both xml2xml and xml2argv were added as well. Signed-off-by: Michal Novotny minov...@redhat.com --- docs/formatnetwork.html.in

Re: [libvirt] RFC: Implement virDomainGetIPAddress()

2011-07-22 Thread Michal Novotny
:| -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] RFC: Implement virDomainGetIPAddress()

2011-07-15 Thread Michal Novotny
On 07/14/2011 05:42 PM, Matthias Bolte wrote: 2011/7/14 Michal Novotny minov...@redhat.com: Hi guys, some time ago I've been investigating the options to get the guest's IP address information without having to connect to guest's VNC window or console. It was for one project I've been working

Re: [libvirt] RFC: Implement virDomainGetIPAddress()

2011-07-15 Thread Michal Novotny
On 07/15/2011 10:04 AM, Michal Novotny wrote: On 07/14/2011 05:42 PM, Matthias Bolte wrote: 2011/7/14 Michal Novotny minov...@redhat.com: Hi guys, some time ago I've been investigating the options to get the guest's IP address information without having to connect to guest's VNC window

Re: [libvirt] RFC: Implement virDomainGetIPAddress()

2011-07-15 Thread Michal Novotny
On 07/15/2011 10:28 AM, Matthias Bolte wrote: 2011/7/15 Michal Novotny minov...@redhat.com: On 07/14/2011 05:42 PM, Matthias Bolte wrote: 2011/7/14 Michal Novotny minov...@redhat.com: Hi guys, some time ago I've been investigating the options to get the guest's IP address information without

Re: [libvirt] RFC: Implement virDomainGetIPAddress()

2011-07-15 Thread Michal Novotny
, VIR_DOMAIN_ADDRESS_IPV4 | VIR_DOMAIN_ADDRESS_IPV6); For this the virSocketAddr representation would be better, right. However my scenario didn't count with the option of definiting VIR_DOMAIN_ADDRESS_IPV4 | VIR_DOMAIN_ADDRESS_IPV6 together. Michal -- Michal Novotny minov...@redhat.com, RHCE, Red

Re: [libvirt] RFC: Implement virDomainGetIPAddress()

2011-07-15 Thread Michal Novotny
-tcpdump.html -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] RFC: Implement virDomainGetIPAddress()

2011-07-15 Thread Michal Novotny
On 07/15/2011 12:09 PM, Daniel P. Berrange wrote: On Thu, Jul 14, 2011 at 05:14:57PM +0200, Michal Novotny wrote: Hi guys, some time ago I've been investigating the options to get the guest's IP address information without having to connect to guest's VNC window or console. It was for one

[libvirt] RFC: Implement virDomainGetIPAddress()

2011-07-14 Thread Michal Novotny
since it would give libvirt users option to get the information of the guest's IP address without having to connect to guest's VNC window or console. For virsh this could be implemented directly into the dominfo subcommand. What do you think about implementing this ? Thanks, Michal -- Michal

Re: [libvirt] php-virt-control

2011-07-07 Thread Michal Novotny
for the connection to 'xen:///' (which should be the local Xen connection URI). For more information about authentication please see the libvirt authentication page at http://libvirt.org/auth.html . Thanks, Michal -- Michal Novotny minov...@redhat.com, RHCE, Red Hat Virtualization | libvirt-php bindings

Re: [libvirt] libvirt-php login issue to ESXi

2011-06-29 Thread Michal Novotny
http://10.9.0.2?transport=http Best regards, Koen Calliauw On Wed, Jun 29, 2011 at 3:10 PM, Michal Novotny minov...@redhat.com mailto:minov...@redhat.com wrote: Hi Koen, thanks for you e-mail. I don't know what exactly is going on here but could you please try to enable debug

Re: [libvirt] libvirt-php login issue to ESXi

2011-06-29 Thread Michal Novotny
. in /var/www/virt.php on line 9, referer: http://10.9.0.3/ [2011-06-29 15:44:00 libvirt-php/core]: libvirt_connect: Cannot establish connection to esx://10.9.0.2?transport=http http://10.9.0.2?transport=http Best regards, Koen Calliauw On Wed, Jun 29, 2011 at 3:35 PM, Michal Novotny minov

Re: [libvirt] libvirt-php login issue to ESXi

2011-06-29 Thread Michal Novotny
, Michal Novotny minov...@redhat.com mailto:minov...@redhat.com wrote: Hi Koen, please try this patch. I can't test it myself since it's logging automatically in my setup but I *think* I may have found the problem. Could you please apply attached patch (revert the patch I sent

Re: [libvirt] libvirt-php login issue to ESXi

2011-06-29 Thread Michal Novotny
(libvirt_connect_get_hypervisor($conn)); Array ( [hypervisor] = ESX [major] = 4 [minor] = 1 [release] = 0 [hypervisor_string] = ESX 4.1.0 ) Thanks again, Best regards, Koen On Wed, Jun 29, 2011 at 4:06 PM, Michal Novotny minov...@redhat.com mailto:minov...@redhat.com wrote: Hi

Re: [libvirt] [PATCH] network: Fix dnsmasq hostsfile creation logic and related tests

2011-06-28 Thread Michal Novotny
; if (!(actual = virCommandToString(cmd))) @@ -59,6 +64,7 @@ static int testCompareXMLToArgvFiles(const char *inxml, const char *outargv) { VIR_FREE(pidfile); virCommandFree(cmd); virNetworkObjFree(obj); +dnsmasqContextFree(dctx); return ret; } ACK Michal -- Michal

[libvirt] [PATCH v6 2/5] Network: Add regression tests for the command-line arguments

2011-06-24 Thread Michal Novotny
to the dnsmasq. Signed-off-by: Michal Novotny minov...@redhat.com --- src/Makefile.am|7 +- src/libvirt_network.syms |6 + src/network/bridge_driver.c| 43 ++-- src/network/bridge_driver.h

[libvirt] [PATCH v6 0/5] Add TXT record and hosts support for DNS service and dnsmasq command-line regression testing

2011-06-24 Thread Michal Novotny
. This is the new version for latest libvirt codebase so please review the patchset. Some fixes and code optimizations were done by Laine Stump, so I'm adding him into the SOB clause as well ;-) Please review. Thanks, Michal Signed-off-by: Michal Novotny minov...@redhat.com Signed-off-by: Laine

  1   2   3   >