Hi *,
I wrote a program in Java communicating with libvirt/XEN over SSH, with
libvirt-java-0.2.1.
I poll the CPU and RAM usage quite often (about 5 times a second).
My program runs well about between 5-8 minutes, but then I get
LibvirtException: socket closed unexpectedly.
Although I try to
On Wed, 2009-05-13 at 00:15 +0100, Nigel Goddard wrote:
I get the following error on Ubuntu 8.04 when tryint to install the
libvirt-bin package:
Setting up libvirt-bin (0.4.0-2ubuntu8.1) ...
* Starting libvirt management daemon libvirtd
libvir: QEMU error : cannot create bridge
On Tue, May 12, 2009 at 05:08:21PM +0200, Daniel Veillard wrote:
The associated patch solves
https://bugzilla.redhat.com/show_bug.cgi?id=499791
where ' or character in attribute values may lead to non
well-formed XML. This takes the simplest approach to always escape
then to apos; and
On Fri, May 08, 2009 at 05:42:59PM +0100, Daniel P. Berrange wrote:
The error handling refactor we did in virsh a few months back, accidentally
means we never report the real libvirt error message for the initial
connection attempt. This patch fixes it
Sure, ACK !
Daniel
--
Daniel
On Mon, May 11, 2009 at 03:29:42PM -0400, Laine Stump wrote:
On 05/11/2009 06:35 AM, Daniel P. Berrange wrote:
On Fri, May 08, 2009 at 01:52:24PM -0400, Laine Stump wrote:
From: Laine Stump la...@redhat.com
---
include/libvirt/libvirt.h| 18 ++
include/libvirt/libvirt.h.in | 18
On Fri, May 08, 2009 at 01:52:22PM -0400, Laine Stump wrote:
These 5 patches contain the public virInterface*() API definition, the
local plumbing, and the RPC glue. The test driver and real driver are
still TBI, but having this in will allow other people to work on related
stuff.
Okay,
On Wed, May 13, 2009 at 11:46:58AM +0200, Daniel Veillard wrote:
On Mon, May 11, 2009 at 03:29:42PM -0400, Laine Stump wrote:
Yes, tun interfaces too. Since this is binary data rather than a
null-terminated string,
we need to decide among the following three choices:
1) have a fixed
On Wed, May 13, 2009 at 09:11:35AM +0200, Marcel Michelmann wrote:
Hi *,
I wrote a program in Java communicating with libvirt/XEN over SSH, with
libvirt-java-0.2.1.
I poll the CPU and RAM usage quite often (about 5 times a second).
My program runs well about between 5-8 minutes, but then I
So you mean the libvirtd on the server side (where XEN runs) doesn't like
to get polled so often from the same process in such a short time?
Am Mi, 13.05.2009, 12:03, schrieb Daniel P. Berrange:
On Wed, May 13, 2009 at 09:11:35AM +0200, Marcel Michelmann wrote:
Hi *,
I wrote a program in
On Wed, May 13, 2009 at 10:57:13AM +0100, Daniel P. Berrange wrote:
On Wed, May 13, 2009 at 11:46:58AM +0200, Daniel Veillard wrote:
On Mon, May 11, 2009 at 03:29:42PM -0400, Laine Stump wrote:
Yes, tun interfaces too. Since this is binary data rather than a
null-terminated string,
This is a long overdue update to the idea I described here
http://www.redhat.com/archives/libvir-list/2009-April/msg00266.html
And the initial patch posted here
http://www.redhat.com/archives/libvir-list/2009-April/msg00401.html
Daniel
--
|: Red Hat, Engineering, London -o-
This patch wires up the new APIs to the remote driver and
libvirtd daemon.
qemud/remote.c | 41 ++
qemud/remote_dispatch_args.h |2 +
qemud/remote_dispatch_prototypes.h | 14 +++
qemud/remote_dispatch_ret.h|2 +
This patches provides an implenmentation of the new APIs for Xen which
can convert to/from both XM config format (/etc/xen files), and the
SEXPR format used by XenD. The former is most useful to end users, but
it was easy to add the latter too, so I did. It can be a useful debugging
aid
This patch adds some docs to the website demonstrating use of virsh for
converting native config formats into domain XML and vica-veca for Xen
and QEMU
drvqemu.html| 109 ++--
drvqemu.html.in | 96
On Wed, May 13, 2009 at 01:26:06PM +0200, Marcel Michelmann wrote:
So you mean the libvirtd on the server side (where XEN runs) doesn't like
to get polled so often from the same process in such a short time?
No, just that you triggered a bug on the remote side.
What version of libvirt do
This provides the QEMU driver implementation which is able to convert
from QEMU argv into domain XML. This is alot of hard code, because we
have to parse and interpret arbitrary QEMU args and had no existing
code doing this. This is also actually the single most useful feature
of this patchset,
On Wed, May 13, 2009 at 03:35:26PM +0100, Daniel P. Berrange wrote:
This provides the 2 public APIs needed for conversion of domain XML
to/from native configuration formats. It also hooks up the internal
driver infrastructure, and binds to virsh
[...]
this seems to have changed massively
I want to create a domain for an existing xp machine via virt-install.
The command is taken from this wiki article
http://wiki.libvirt.org/page/QEMUSwitchToLibvirt:
virt-install --accelerate --hvm --connect qemu:///system -n xp -r 512
--cdrom=/dev/null --file=WinXP.img --vnc --noautoconsole
On Wed, May 13, 2009 at 03:36:22PM +0100, Daniel P. Berrange wrote:
This patch wires up the new APIs to the remote driver and
libvirtd daemon.
[...]
--- a/qemud/remote_protocol.h Wed May 13 09:54:09 2009 -0400
+++ b/qemud/remote_protocol.h Wed May 13 09:57:11 2009 -0400
[...]
@@ -1429,6
On 05/13/2009 07:29 AM, Daniel Veillard wrote:
On Wed, May 13, 2009 at 10:57:13AM +0100, Daniel P. Berrange wrote:
On Wed, May 13, 2009 at 11:46:58AM +0200, Daniel Veillard wrote:
On Mon, May 11, 2009 at 03:29:42PM -0400, Laine Stump wrote:
Yes, tun interfaces too. Since this is
On Fri, May 08, 2009 at 07:10:02PM -0300, Eduardo Otubo wrote:
Here is the phyp_driver.c with the memory leaks fixed with your
suggestions. With those things done, do you think this code is enough
and compliant to libvirt patterns to be included in the next libvirt
release?
Yep, the
Hello everyone,
I just got the latest and grooviest libvirt from the git tree at :
git://git.et.redhat.com/libvirt.git
but compiling fails:
/bin/bash ../mylibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include
-I../qemud
On Wed, May 13, 2009 at 03:38:57PM +0100, Daniel P. Berrange wrote:
This patches provides an implenmentation of the new APIs for Xen which
can convert to/from both XM config format (/etc/xen files), and the
SEXPR format used by XenD. The former is most useful to end users, but
it was easy to
On Wed, May 13, 2009 at 05:50:42PM +0200, Florian Vichot wrote:
Hello everyone,
I just got the latest and grooviest libvirt from the git tree at :
git://git.et.redhat.com/libvirt.git
but compiling fails:
lxc_container.c: In function 'lxcContainerDropCapabilities':
lxc_container.c:657:
On Wed, May 13, 2009 at 05:59:38PM +0200, Daniel Veillard wrote:
On Wed, May 13, 2009 at 03:38:57PM +0100, Daniel P. Berrange wrote:
This patches provides an implenmentation of the new APIs for Xen which
can convert to/from both XM config format (/etc/xen files), and the
SEXPR format used
On Wed, May 13, 2009 at 05:29:44PM +0200, Daniel Veillard wrote:
On Wed, May 13, 2009 at 03:36:22PM +0100, Daniel P. Berrange wrote:
This patch wires up the new APIs to the remote driver and
libvirtd daemon.
[...]
--- a/qemud/remote_protocol.h Wed May 13 09:54:09 2009 -0400
+++
On Wed, May 13, 2009 at 10:31:31AM +0100, Daniel P. Berrange wrote:
On Tue, May 12, 2009 at 05:08:21PM +0200, Daniel Veillard wrote:
The associated patch solves
https://bugzilla.redhat.com/show_bug.cgi?id=499791
where ' or character in attribute values may lead to non
well-formed
On Wed, May 13, 2009 at 05:24:33PM +0200, Daniel Veillard wrote:
On Wed, May 13, 2009 at 03:35:26PM +0100, Daniel P. Berrange wrote:
This provides the 2 public APIs needed for conversion of domain XML
to/from native configuration formats. It also hooks up the internal
driver
I run a Ubuntu 8.04, kernel is 2.6.24-24-openvz.
2.6.24 is probably too old I see the patch from Nov 2007
http://lkml.indiana.edu/hypermail/linux/kernel/0711.3/0496.html
Am I missing headers that are not tested for in the ./configure ? If
not, any way that functionality could be
On Wed, May 13, 2009 at 03:40:54PM +0100, Daniel P. Berrange wrote:
This provides the QEMU driver implementation which is able to convert
from QEMU argv into domain XML. This is alot of hard code, because we
have to parse and interpret arbitrary QEMU args and had no existing
code doing this.
On Wed, May 13, 2009 at 05:08:00PM +0100, Daniel P. Berrange wrote:
+cleanup:
+for (tmp = retargv ; tmp *tmp ; tmp++)
weird, we use a static string just for ?
+VIR_FREE(*tmp);
+VIR_FREE(retargv);
+
+for (tmp = retenv ; tmp *tmp ; tmp++)
On Wed, May 13, 2009 at 03:41:49PM +0100, Daniel P. Berrange wrote:
This patch adds some docs to the website demonstrating use of virsh for
converting native config formats into domain XML and vica-veca for Xen
and QEMU
ACK, reading HTML is hard anyway and typo checking is easier once
Daniel P. Berrange wrote:
On Wed, May 13, 2009 at 05:29:44PM +0200, Daniel Veillard wrote:
snip
diff -r 4f46dfd24fdb src/virsh.c
--- a/src/virsh.c Wed May 13 09:54:09 2009 -0400
+++ b/src/virsh.c Wed May 13 09:54:10 2009 -0400
@@ -4189,8 +4189,8 @@ makeCloneXML(char *origxml, char
33 matches
Mail list logo