On 10/04/2009 09:28 PM, Amy Griffis wrote:
Add a utility to ensure an absolute path for a potentially realtive path.
Would it make sense for your usage to resolve symbolic links at the same
time? If so, you can use the canonicalize-lgpl gnulib module, which
portably provides the following
Hi,
I have installed libvirt 0.7.0. in fedora 11. When I start libvirt by using
#libvirtd start , it is not showing any status message like libvirtd has
started. The command line stuck up there itself. What is the problem? What
should I do to run the libvirtd successfully?
Thank you.
--
Maximilian Wilhelm wrote:
Anno domini 2009 Chris Lalancette scripsit:
Hi!
[...]
Currently, the migration code assumes that you want to leave the migrated
guest
defined but not running on the source of the migration, and that you want
to
leave it running but not defined (transient) on
On Tue, Sep 29, 2009 at 04:02:30PM -0400, Laine Stump wrote:
From: root r...@vlap.laine.org
This patch adds the flag VIR_INTERFACE_XML_INACTIVE to
virInterfaceGetXMLDesc's flags. When it is *not* set (the default),
the live interface info will be returned in the XML. in particular,
the IP
On Thu, Oct 01, 2009 at 06:29:25PM +0200, Dan Kenigsberg wrote:
I am trying to understand how to use the virEvent* API.
I've built latest libvirt (with Fix emission of domain events messages
commit) and run the domain-events example.
events-c gives me mostly silence. nothing is printed when
This series is an update of
http://www.redhat.com/archives/libvir-list/2009-September/msg00540.html
There isn't as much functional change here as you might presume
from the number of patches. Since Chris' tunnelled migration code
is added, I thought it better to do alot of small refactoring
Move the VIR_DRV_FEATURE* constants into libvirt_internal.h
since these flags are indicating whether APIs in the
libvirt_internal.h file are supported by a driver
* src/driver.h: Remove VIR_DRV_FEATURE* constants
* src/libvirt_internal.h: Add VIR_DRV_FEATURE* constants, using
an enum instead
Since virMigratePrepareTunnel() is used for migration over the
native libvirt connection, there is never any need to pass the
target URI to this method.
* daemon/remote.c, src/driver.h, src/libvirt.c, src/libvirt_internal.h,
src/qemu/qemu_driver.c, src/remote/remote_driver.c,
The code for tunnelled migration wierdly required the app to pass
a NULL 'dconn' parameter, only to have to use virConnectOpen
itself shortly thereafter to get a 'dconn' object. Remove this
bogus check require the app to always pas 'dconn' as before
* src/libvirt.c: Require 'dconn' for
virStreamAbort is needed when the caller wishes to terminate
the stream early, not when virStreamSend fails.
* qemu/qemu_driver.c: Fix calling of virStreamAbort during
tunnelled migration
---
src/qemu/qemu_driver.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
Simplify the doTunnelMigrate() method by pulling out the code
which opens/closes the virConnectPtr object into a parent
method
* qemu/qemu_driver.c: Add doPeer2PeerMigrate which then calls
doTunnelMigrate with dconn dom_xml
---
docs/libvirt-api.xml |8 -
docs/libvirt-refs.xml |
Simplify the doTunnelMigrate code by pulling out the code for
sending all tunnelled data into separate helper
* qemu/qemu_driver.c: introduce doTunnelSendAll() method
---
src/qemu/qemu_driver.c | 63 ++-
1 files changed, 35 insertions(+), 28
The code for tunnelled migration was added in a dedicated method,
but the native migration code is still inline in the top level
qemudDomainMigratePerform() API. Move the native code out into
a dedicated method too to make things more maintainable.
* src/qemu/qemu_driver.c: Pull code for
Re-arrange the doTunnelMigrate method putting all non-QEMU local
state setup steps first. This maximises chances of success before
then starting destination QEMU for receiving incoming migration.
Altogether this can reduce the number of goto cleanup labels to
something more managable.
*
Introduces several new public API options for migration
- VIR_MIGRATE_PEER2PEER: With this flag the client only
invokes the virDomainMigratePerform method, expecting
the source host driver to do whatever is required to
complete the entire migration process.
- VIR_MIGRATE_TUNNELLED:
On Mon, Oct 05, 2009 at 06:00:47AM +0900, Satoru SATOH wrote:
The following small patch makes dnsmasq run from libvirtd reading
/etc/ethers and enables static ip address assignment with it.
Libvirtd already supports static ip address assignment by
//ip/dhcp/host element in network xml
On Fri, Oct 02, 2009 at 03:48:21PM +0200, Gerhard Stenzel wrote:
This patch adds the ebtables wrapper to the network driver.
Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com
---
src/conf/network_conf.h | 10 ++
src/libvirt_private.syms| 26 ++
On Fri, Oct 02, 2009 at 03:48:16PM +0200, Gerhard Stenzel wrote:
This patch adds build support for the ebtables wrapper.
Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com
---
configure.in|3 +++
src/Makefile.am |1 +
2 files changed, 4 insertions(+), 0 deletions(-)
On Fri, Oct 02, 2009 at 03:48:11PM +0200, Gerhard Stenzel wrote:
+
+
+#ifdef ENABLE_ebtabLES_LOKKIT
Something went a little wrong with upper/lower case there I think
+static void
+notifyRulesUpdated(const char *table,
+ const char *path)
+{
+char arg[PATH_MAX];
+
On Fri, Oct 02, 2009 at 12:05:01PM -0400, Cole Robinson wrote:
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/node_device/node_device_driver.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/node_device/node_device_driver.c
On Fri, Oct 02, 2009 at 12:05:02PM -0400, Cole Robinson wrote:
Will be used by test driver node device implementation.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/conf/node_device_conf.c | 10 ++
src/conf/node_device_conf.h |2 ++
On Fri, Oct 02, 2009 at 12:05:03PM -0400, Cole Robinson wrote:
Add a simple 'computer' device for the default driver. Only implement
the basic calls, no creation or destroy happening.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/test/test_driver.c | 253
On Fri, 2009-10-02 at 18:08 +0200, Daniel Veillard wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=526769
Current setup is daily with 7 backups so one week worth of logs
per domain in /var/log/libvirt/qemu/*.log
First a week worth of backup is a bit short, second for most domains
On Fri, Oct 02, 2009 at 12:05:04PM -0400, Cole Robinson wrote:
Add virNodeDeviceParseFile, and make virNodeDeviceParseNode non-static. These
will be used by the test driver.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/conf/node_device_conf.c | 47
On Fri, Oct 02, 2009 at 12:05:05PM -0400, Cole Robinson wrote:
Also add some XML examples.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
examples/xml/test/testdev.xml| 16 +
examples/xml/test/testnode.xml |1 +
examples/xml/test/testnodeinline.xml |
On Fri, Oct 02, 2009 at 06:08:41PM +0200, Daniel Veillard wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=526769
Current setup is daily with 7 backups so one week worth of logs
per domain in /var/log/libvirt/qemu/*.log
First a week worth of backup is a bit short, second for most
On Fri, Oct 02, 2009 at 01:46:48PM -0400, Cole Robinson wrote:
xmllib has been deprecated since python 2.0, and running the generator throws
a warning. Move to using xml.sax
Signed-off-by: Cole Robinson crobi...@redhat.com
---
python/generator.py | 23 +--
1 files
On Fri, Oct 02, 2009 at 01:46:47PM -0400, Cole Robinson wrote:
FastParser uses sgmlop, a non-standard python module meant as a replacement
for xmllib (which is deprecated since python 2.0). Fedora doesn't even carry
this module, and the generator doesn't have high performance requirements, so
On Fri, Oct 02, 2009 at 01:46:49PM -0400, Cole Robinson wrote:
A special case in the generator wasn't doing its job, and duplicate
conn.createXML functions were being generated. The bindings diff is:
@@ -1079,14 +1079,6 @@ class virConnect:
return __tmp
def createXML(self,
On Fri, Oct 02, 2009 at 01:46:50PM -0400, Cole Robinson wrote:
They are only for use in implementing the bindings, so shouldn't be
exposed to regular API users.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
python/generator.py | 10 ++
1 files changed, 10 insertions(+), 0
On Fri, Oct 02, 2009 at 01:46:52PM -0400, Cole Robinson wrote:
A mistake in the generator was causing virInterface methods to be generated
with unpredicatable names ('ceUndefine', instead of just 'undefine'). This
fixes the method names to match existing convention.
Signed-off-by: Cole
On Fri, Oct 02, 2009 at 01:46:53PM -0400, Cole Robinson wrote:
In the generated bindings, custom classes are squashed against the following
class, which hurts readability.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
python/generator.py |1 +
1 files changed, 1 insertions(+),
On Fri, Oct 02, 2009 at 02:19:11PM -0400, Cole Robinson wrote:
Throw error in GetBridgeName if net has no bridge.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/test/test_driver.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git
On Fri, Oct 02, 2009 at 01:46:46PM -0400, Cole Robinson wrote:
--with-python currently already works for enabling/disabling the python
bindings, but doesn't show up in the help output.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
configure.in |6 +-
1 files changed, 5
On Fri, Oct 02, 2009 at 09:59:27PM +0200, Thomas Treutner wrote:
Hi list,
I was wondering about the status of this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=512367
Patch proposed but the original reporter never indicated whether it
actually fixed the problem or not. If someone
On Sun, Oct 04, 2009 at 03:28:08PM -0400, Amy Griffis wrote:
The following patches fix logging for the lxc controller. The lxc
controller makes use of the libvirt logging module, but because it
doesn't re-initialize the logging configuration the messages are
currently going nowhere.
There
On Sun, Oct 04, 2009 at 03:28:46PM -0400, Amy Griffis wrote:
When configuring logging settings, keep more information about the
output destination. Add accessors to retrieve the filter and output
settings in the original string form; this to be used to set up
environment for a child process
On Sun, Oct 04, 2009 at 03:28:54PM -0400, Amy Griffis wrote:
Some callers may have set envp[].
---
src/util/util.c | 13 -
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/util/util.c b/src/util/util.c
index 81b743c..e5135fc 100644
--- a/src/util/util.c
Hi,
I am trying to create Guest OS (VM) in virtualBox throught libvirt. I
installed libvirt 0.7.0 and created the template as
domain type='vbox'
nameubuntu/name
os
typehvm/type
boot dev='hd'/
/os
memory542720/memory
On Sun, Oct 04, 2009 at 03:29:01PM -0400, Amy Griffis wrote:
Before launching the lxc controller, have the lxc driver query the log
settings and setup envp[]. This provides the advantage of honoring the
actual log configuration instead of only what had been set in the
environment. The lxc
On Sun, Oct 04, 2009 at 03:29:10PM -0400, Amy Griffis wrote:
Do we really want to overwrite the container log file every time we
restart?
---
src/lxc/lxc_driver.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index
On Sun, Oct 04, 2009 at 03:29:18PM -0400, Amy Griffis wrote:
Add a config file for the lxc driver, based on existing qemu.conf.
There is currently one tunable log_with_libvirtd that controls
whether an lxc controller will log only to the container log file, or
whether it will honor libvirtd's
On Sun, Oct 04, 2009 at 03:29:26PM -0400, Amy Griffis wrote:
I've attempted to add augeas support for lxc.conf based on qemu.conf.
diff --git a/src/Makefile.am b/src/Makefile.am
index 73bbb70..7e3abab 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -35,6 +35,12 @@ mod_LTLIBRARIES =
On Sun, Oct 04, 2009 at 10:58:55PM -0400, Laine Stump wrote:
This patch updates the xml parsing and formatting, and the associated
virInterfaceDef data structure to support IPv6, along the way adding
support for multiple protocols per interface, and multiple IP
addresses per protocol.
Note
Hi Santosh,
apply this patch
http://www.mail-archive.com/libvir-list@redhat.com/msg16797.html
and hopefully it should work
Regards,
Pritesh
On Monday 05 October 2009 14:51:33 santosh gandham wrote:
Hi,
I am trying to create Guest OS (VM) in virtualBox throught libvirt. I
installed libvirt
On Mon, Oct 05, 2009 at 03:29:47PM +0200, Paolo Bonzini wrote:
On 10/05/2009 01:44 PM, Daniel P. Berrange wrote:
+char buffer[65536];
+int nbytes = sizeof(buffer);
I just noticed this, it's safer to malloc such a big array (it is
actually from Chris patch, but you may take the
os
typehvm/type
boot dev='hd'/
/os
memory542720/memory
vcpu1/vcpu
devices
disk type='file' device='disk'
source file='/home/santhosh/Desktop/ubuntu9.vdi'/
target dev='hdd'/
Hello,
I'm new of Opennebula. I have installed KVM im my remote node. But when I
want to check the KVM in the node, I can't connect to the hypervisor.
r...@forest:/var/run/libvirt# virsh -c qemu:///localhost/system list
Hi all,
Here is a first cut at the node device backend. The only devices
implemented are part of storage and PCI devices, but it's conceptually
finished. The remaining work is implementing the other device
properties and types. Before I go do that, I'd like to get feedback on
my approach.
On Fri, Oct 02, 2009 at 01:46:48PM -0400, Cole Robinson wrote:
xmllib has been deprecated since python 2.0, and running the generator throws
a warning. Move to using xml.sax
Thanks ! I need to apply this to other projects using generator !
Daniel
--
Daniel Veillard | libxml Gnome
On Mon, Oct 05, 2009 at 01:40:44PM +0100, Daniel P. Berrange wrote:
On Fri, Oct 02, 2009 at 01:46:52PM -0400, Cole Robinson wrote:
A mistake in the generator was causing virInterface methods to be generated
with unpredicatable names ('ceUndefine', instead of just 'undefine'). This
fixes the
On Fri, Oct 02, 2009 at 01:46:45PM -0400, Cole Robinson wrote:
The following series fixes various issues related to the python bindings.
Cole Robinson (8):
configure: Add explict --with-python option.
python: Remove FastParser from generator.
python: Remove use of xmllib in
On Fri, Oct 02, 2009 at 02:19:11PM -0400, Cole Robinson wrote:
Throw error in GetBridgeName if net has no bridge.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/test/test_driver.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git
Liu, Zhentao a écrit :
Hello,
I'm new of Opennebula. I have installed KVM im my remote node. But when I
want to check the KVM in the node, I can't connect to the hypervisor.
r...@forest:/var/run/libvirt# virsh -c
On Mon, Oct 05, 2009 at 12:18:33PM -0400, Laine Stump wrote:
On 10/05/2009 07:02 AM, Daniel P. Berrange wrote:
On Tue, Sep 29, 2009 at 04:02:30PM -0400, Laine Stump wrote:
From: rootr...@vlap.laine.org
This patch adds the flag VIR_INTERFACE_XML_INACTIVE to
virInterfaceGetXMLDesc's
On Mon, Oct 05, 2009 at 11:21:05AM -0400, Dave Allan wrote:
Hi all,
Here is a first cut at the node device backend. The only devices
implemented are part of storage and PCI devices, but it's conceptually
finished. The remaining work is implementing the other device
properties and
On 10/05/2009 11:30 AM, Daniel Veillard wrote:
On Fri, Oct 02, 2009 at 01:46:45PM -0400, Cole Robinson wrote:
The following series fixes various issues related to the python bindings.
Cole Robinson (8):
configure: Add explict --with-python option.
python: Remove FastParser from
On 10/05/2009 11:31 AM, Daniel Veillard wrote:
On Fri, Oct 02, 2009 at 02:19:11PM -0400, Cole Robinson wrote:
Throw error in GetBridgeName if net has no bridge.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/test/test_driver.c | 10 --
1 files changed, 8 insertions(+),
On 10/05/2009 08:36 AM, Daniel P. Berrange wrote:
On Fri, Oct 02, 2009 at 12:05:05PM -0400, Cole Robinson wrote:
Also add some XML examples.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
examples/xml/test/testdev.xml| 16 +
examples/xml/test/testnode.xml
The command should be libvirtd -d -l. I think d for daemonize and l for
creating a server (e.g. local connections to the daemon need this
option). In the Debian package, there's a init.d script which does the
job for you (options can be defined in /etc/default/libvirt...) - maybe
there's
On Monday 05 October 2009 14:43:05 Daniel P. Berrange wrote:
On Fri, Oct 02, 2009 at 09:59:27PM +0200, Thomas Treutner wrote:
Hi list,
I was wondering about the status of this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=512367
Patch proposed but the original reporter never
Paolo Bonzini wrote: [Mon Oct 05 2009, 04:54:27AM EDT]
On 10/04/2009 09:28 PM, Amy Griffis wrote:
Add a utility to ensure an absolute path for a potentially realtive path.
Would it make sense for your usage to resolve symbolic links at the
same time? If so, you can use the
Hi there.
I have a problem with USB host device enumeration with libvirt.
I'm running libvirt 0.7.0 on a fully updated CentOS 5.3 (libvirt was
rebuilt unmodified from
http://libvirt.org/sources/libvirt-0.7.0-1.fc11.src.rpm)
I want to pas an USB key to one of my guest. lsusb see it just fine:
(I
On Mon, 2009-10-05 at 12:02 +0100, Daniel P. Berrange wrote:
On Tue, Sep 29, 2009 at 04:02:30PM -0400, Laine Stump wrote:
From: root r...@vlap.laine.org
This patch adds the flag VIR_INTERFACE_XML_INACTIVE to
virInterfaceGetXMLDesc's flags. When it is *not* set (the default),
the live
Daniel P. Berrange wrote: [Mon Oct 05 2009, 08:51:00AM EDT]
On Sun, Oct 04, 2009 at 03:28:46PM -0400, Amy Griffis wrote:
When configuring logging settings, keep more information about the
output destination. Add accessors to retrieve the filter and output
settings in the original string
On Mon, 2009-10-05 at 17:34 +0100, Daniel P. Berrange wrote:
With the domain XML format, we did have a few abortive attempts at
indicating in the live XML, whether an attribute was from the
persistent config, vs dynamically added to live config, but it all
ended up as rather a mess.
Here's a
On Sun, 2009-10-04 at 22:58 -0400, Laine Stump wrote:
Note that netcf appears to not accept defining both ipv4 and ipv6 on
the same interface, and still can't report live config of IPv6 (or
multiple IPv4 addresses), so the usefulness of this patch is limited
until those items are fixed in
On 10/05/2009 06:06 PM, David Lutterkort wrote:
On Sun, 2009-10-04 at 22:58 -0400, Laine Stump wrote:
Note that netcf appears to not accept defining both ipv4 and ipv6 on
the same interface, and still can't report live config of IPv6 (or
multiple IPv4 addresses), so the usefulness of this
On Mon, Oct 5, 2009 at 9:55 PM, Daniel P. Berrange berra...@redhat.com wrote:
On Sun, Oct 04, 2009 at 03:29:26PM -0400, Amy Griffis wrote:
I've attempted to add augeas support for lxc.conf based on qemu.conf.
diff --git a/src/Makefile.am b/src/Makefile.am
index 73bbb70..7e3abab 100644
---
69 matches
Mail list logo