Cole, I'm afraid you broke the dist when making this commit
On Mon, Oct 12, 2009 at 10:46:54AM -0400, Cole Robinson wrote:
Signed-off-by: Cole Robinson crobi...@redhat.com
---
[...]
create mode 100644 tests/networkxml2xmlin/forward-delay-network.xml
create mode 100644
https://bugzilla.redhat.com/show_bug.cgi?id=528575
virsh -c lxc:/// autostart vm1
crash the daemon because the driver autostartDir is never initialized
and we do a NULL dereference. The enclosed patch is trivial and avoid
the crash, but ...
[r...@paphio ~]# virsh -c lxc:/// dominfo vm1
Id:
On Wed, Oct 21, 2009 at 11:52:42AM +0200, Daniel Veillard wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=528575
virsh -c lxc:/// autostart vm1
crash the daemon because the driver autostartDir is never initialized
and we do a NULL dereference. The enclosed patch is trivial and avoid
On Mon, Oct 19, 2009 at 11:48:09AM -0600, Jim Fehlig wrote:
Laurent Léonard wrote:
You should pass --with-selinux=no to configure, since those are all
libselinux functions. Do you have libselinux installed? If not, there's
probably an error in configure.in selinux autodetection.
On Mon, Oct 19, 2009 at 04:41:52PM -0400, Laine Stump wrote:
There are places where an interface will not have a mac address, and netcf
returns this as a NULL pointer rather than a pointer to an empty string.
Rather than checking for this all over the place in libvirt, just save it
in the
On Wed, Oct 21, 2009 at 6:55 PM, Daniel P. Berrange berra...@redhat.com wrote:
On Wed, Oct 21, 2009 at 11:52:42AM +0200, Daniel Veillard wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=528575
virsh -c lxc:/// autostart vm1
crash the daemon because the driver autostartDir is never
Introduce a number of new APIs to expose some boolean properties
of objects, which cannot otherwise reliably determined, nor are
aspects of the XML configuration.
* virDomainIsActive: Checking virDomainGetID is not reliable
since it is not possible to distinguish between error condition
On Mon, Oct 19, 2009 at 02:03:21PM -0600, Jim Fehlig wrote:
A call to vshError() containing 'doexit' parameter sneaked in after I
removed said parameter.
Regards,
Jim
commit edea3dfdd861d5eee4712da43781908f0fa2a6d5
Author: Jim Fehlig jfeh...@novell.com
Date: Mon Oct 19 13:53:40 2009
On Wed, Oct 21, 2009 at 07:31:11PM +0900, Ryota Ozaki wrote:
On Wed, Oct 21, 2009 at 6:55 PM, Daniel P. Berrange berra...@redhat.com
wrote:
On Wed, Oct 21, 2009 at 11:52:42AM +0200, Daniel Veillard wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=528575
virsh -c lxc:/// autostart
without this, after few weeks without use, each defined domain grows a
tail of empty gzipped logs, instead of keeping just the last log of
interest.
---
daemon/libvirtd.logrotate.in |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/daemon/libvirtd.logrotate.in
On Wed, Oct 21, 2009 at 01:44:36PM +0200, Dan Kenigsberg wrote:
without this, after few weeks without use, each defined domain grows a
tail of empty gzipped logs, instead of keeping just the last log of
interest.
---
daemon/libvirtd.logrotate.in |1 +
1 files changed, 1 insertions(+), 0
On Wed, Oct 21, 2009 at 11:54:14AM +0100, Daniel P. Berrange wrote:
Introduce a number of new APIs to expose some boolean properties
of objects, which cannot otherwise reliably determined, nor are
aspects of the XML configuration.
* virDomainIsActive: Checking virDomainGetID is not
On Mon, Oct 19, 2009 at 9:39 PM, Daniel Veillard veill...@redhat.com wrote:
On Sat, Oct 17, 2009 at 09:30:12AM +0900, Ryota Ozaki wrote:
OK, I've looked into a bit deep and found the following sequence happens.
In cmdDominfo (virsh.c), if virDomainGetInfo fails, 'ret' is set with FALSE.
Even
On Wed, Oct 21, 2009 at 12:45:21PM +0100, Daniel P. Berrange wrote:
On Wed, Oct 21, 2009 at 01:44:36PM +0200, Dan Kenigsberg wrote:
without this, after few weeks without use, each defined domain grows a
tail of empty gzipped logs, instead of keeping just the last log of
interest.
---
Time to brush off this old patch. This adds simple support for the
QEMU/KVM emulated hardware watchdog device (qemu commit
9dd986ccf68f142aaafe543d80cf877716d91d4e).
Event notification isn't supported. This just lets you configure a
domain with a watchdog.../ device, select the model and
On 10/21/2009 05:18 AM, Daniel Veillard wrote:
Cole, I'm afraid you broke the dist when making this commit
On Mon, Oct 12, 2009 at 10:46:54AM -0400, Cole Robinson wrote:
Signed-off-by: Cole Robinson crobi...@redhat.com
---
[...]
create mode 100644
On Mon, Oct 19, 2009 at 02:55:40PM +0200, Daniel Veillard wrote:
On Mon, Oct 19, 2009 at 11:56:01AM +0200, Dan Kenigsberg wrote:
---
src/libvirt.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index 92a1eaa..d2a0d7a 100644
On Wed, Oct 21, 2009 at 01:32:49PM +0100, Richard W.M. Jones wrote:
Time to brush off this old patch. This adds simple support for the
QEMU/KVM emulated hardware watchdog device (qemu commit
9dd986ccf68f142aaafe543d80cf877716d91d4e).
Event notification isn't supported. This just lets you
On Wed, Oct 21, 2009 at 04:42:06PM +0200, Daniel Veillard wrote:
On Wed, Oct 21, 2009 at 01:32:49PM +0100, Richard W.M. Jones wrote:
+if ((n = virXPathNodeSet(conn, ./devices/watchdog, ctxt, nodes))
0) {
+virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR,
+
I am trying to duplicate an existing vm.
While the VM was down, I copied the image file, copied the xml file and
manually fixed the xml file to have a different VM name, and point to the
copy.
The copy now works, but the original disappraeed from virt-manager. When I
try to restore it I get:
On Wed, Oct 21, 2009 at 04:58:00PM +0200, Dan Bar Dov wrote:
I am trying to duplicate an existing vm.
While the VM was down, I copied the image file, copied the xml file and
manually fixed the xml file to have a different VM name, and point to the
copy.
The copy now works, but the original
While reviewing Rich last patch I was afraid that virXPathNodeSet()
could return -1 when doing an evaluation failure. It is based on
xmlXPathEval() from libxml2 whose behaviour is to possibly return NULL
on XPath evaluation failure independantly of the kind of failure:
On Wed, Oct 21, 2009 at 03:52:18PM +0100, Richard W.M. Jones wrote:
On Wed, Oct 21, 2009 at 04:42:06PM +0200, Daniel Veillard wrote:
On Wed, Oct 21, 2009 at 01:32:49PM +0100, Richard W.M. Jones wrote:
+if ((n = virXPathNodeSet(conn, ./devices/watchdog, ctxt, nodes))
0) {
+
On Wed, Oct 21, 2009 at 05:28:49PM +0200, Daniel Veillard wrote:
okay but indentation seems funky, can you double check ?
Tabs/spaces thing. I'll fix it up before pushing.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of
Hi all,
I had installed RHEL 5 x86_64 with virtualization right off the bat.
Everything ran beautifully with two Xen guests (also RHEL 5.) All 3
IPs (host and 2 guests) were in the same subnet.
Then I had to change all the IP addresses to a different subnet (but
again all 3 within the same
Can someone tell me if RHEL-6 is planned to have support for Xenner?
Will this be built into qemu? Otherwise what are options for using
Xenner with RHEL-5? We want to run both KVM and Xen guests managed by
KVM hypervisor.
--
Libvir-list mailing list
Libvir-list@redhat.com
On 10/21/2009 06:19 AM, Daniel Veillard wrote:
On Mon, Oct 19, 2009 at 04:41:52PM -0400, Laine Stump wrote:
There are places where an interface will not have a mac address, and netcf
returns this as a NULL pointer rather than a pointer to an empty string.
Rather than checking for this all
This is a second posting of the proposal from earlier today
http://www.redhat.com/archives/libvir-list/2009-October/msg00556.html
The changes since last time
- Renamed some existing internal APIs which had bad names which
clashed with our new public APis.
- Fix the comment bugs Daniel
---
src/conf/domain_conf.c |4 +-
src/conf/domain_conf.h |2 +-
src/conf/interface_conf.h |2 +-
src/conf/network_conf.c |2 +-
src/conf/network_conf.h |2 +-
src/lxc/lxc_driver.c| 24 +++---
src/network/bridge_driver.c | 20 ++--
Introduce a number of new APIs to expose some boolean properties
of objects, which cannot otherwise reliably determined, nor are
aspects of the XML configuration.
* virDomainIsActive: Checking virDomainGetID is not reliable
since it is not possible to distinguish between error condition
2009/10/21 Daniel P. Berrange berra...@redhat.com:
---
src/conf/domain_conf.c | 4 +-
src/conf/domain_conf.h | 2 +-
src/conf/interface_conf.h | 2 +-
src/conf/network_conf.c | 2 +-
src/conf/network_conf.h | 2 +-
src/lxc/lxc_driver.c | 24
On Wed, Oct 21, 2009 at 07:15:22PM +0100, Daniel P. Berrange wrote:
This is a second posting of the proposal from earlier today
http://www.redhat.com/archives/libvir-list/2009-October/msg00556.html
The changes since last time
- Renamed some existing internal APIs which had bad names
On Wed, Oct 21, 2009 at 05:24:03PM +0200, Daniel Veillard wrote:
While reviewing Rich last patch I was afraid that virXPathNodeSet()
could return -1 when doing an evaluation failure. It is based on
xmlXPathEval() from libxml2 whose behaviour is to possibly return NULL
on XPath evaluation
On Wed, Oct 21, 2009 at 11:36:50AM -0400, Denny Snyder wrote:
Hi all,
I had installed RHEL 5 x86_64 with virtualization right off the bat.
Everything ran beautifully with two Xen guests (also RHEL 5.) All 3 IPs
(host and 2 guests) were in the same subnet.
Then I had to
2009/10/21 Daniel P. Berrange berra...@redhat.com:
Introduce a number of new APIs to expose some boolean properties
of objects, which cannot otherwise reliably determined, nor are
aspects of the XML configuration.
* virDomainIsActive: Checking virDomainGetID is not reliable
since it is
On Wed, Oct 21, 2009 at 12:45:22PM -0400, Gerry Reno wrote:
Can someone tell me if RHEL-6 is planned to have support for Xenner?
Will this be built into qemu? Otherwise what are options for using
Xenner with RHEL-5? We want to run both KVM and Xen guests managed by
KVM hypervisor.
On Wed, Oct 21, 2009 at 08:56:25PM +0200, Matthias Bolte wrote:
2009/10/21 Daniel P. Berrange berra...@redhat.com:
[...]
diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms
index 8921c1a..62fa6cf 100644
--- a/src/libvirt_public.syms
+++ b/src/libvirt_public.syms
@@ -329,4
On Wed, Oct 21, 2009 at 01:54:00PM +0200, Daniel Veillard wrote:
+int virInterfaceIsActive(virInterfacePtr iface);
+
+int virConnectIsEncrypted(virConnectPtr conn);
+int virConnectIsSecure(virConnectPtr conn);
The only small remark I would have is that it's not consistent with
int
Thanks for the info... I attempted a service libvirtd stop (which fails
since it isn't running)
a service libvirtd start says OK but the status remains the same:
libvirtd dead but subsys locked
so I did a service libvirtd stop and then ran it manually and got the
following:
15:03:59.798:
UPDATE:
Found the following in the /var/log/messages:
Oct 21 15:02:50 jhsympa2-base libvirtd: 15:02:50.227: error : Cannot
access CA certificate '/etc/pki/CA/cacert.pem': No such file or
directory
Oct 21 15:09:29 jhsympa2-base libvirtd: 15:09:29.910: warning :
Shutting down on signal 2
Oct 21
Daniel P. Berrange wrote:
On Wed, Oct 21, 2009 at 12:45:22PM -0400, Gerry Reno wrote:
Can someone tell me if RHEL-6 is planned to have support for Xenner?
Will this be built into qemu? Otherwise what are options for using
Xenner with RHEL-5? We want to run both KVM and Xen guests managed
FOUND IT!
someone decided to edit /etc/libvirt/libvirtd.conf and uncommented out
the listen_tls = 0 line
That person has been thoroughly beaten around the head and shoulder
area.
Thanks for the great info libvirtd is now running as expected.
Since I won't be doing any NAT the virbr0
2009/10/21 Daniel P. Berrange berra...@redhat.com:
This implements the virConnectIsSecure, virConnectIsEncrypted,
virDomainIsPersistent, virDomainIsActive, virNetworkIsActive,
virNetworkIsPersistent, virStoragePoolIsActive,
virStoragePoolIsPersistent, virInterfaceIsActive APIs in
(nearly) all
Denny Snyder wrote:
Thanks for the info... I attempted a service libvirtd stop (which fails
since it isn't running)
a service libvirtd start says OK but the status remains the same:
libvirtd dead but subsys locked
so I did a service libvirtd stop and then ran it manually and got the
2009/10/21 Daniel P. Berrange berra...@redhat.com:
On Wed, Oct 21, 2009 at 08:56:25PM +0200, Matthias Bolte wrote:
2009/10/21 Daniel P. Berrange berra...@redhat.com:
[...]
diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms
index 8921c1a..62fa6cf 100644
---
Playing with the GetVcpus API call (and virsh vcpuinfo), there is a
slight inconsistency that may be a bug.
In qemudDomainGetVcpus, we have:
if (nodeGetInfo(dom-conn, nodeinfo) 0)
goto cleanup;
maxcpu = maplen * 8;
if (maxcpu nodeinfo.cpus)
maxcpu = nodeinfo.cpus;
If no matching device was found (cap == NULL) then no strdup() call
was made and *wwnn and *wwpn are untouched. Checking them for NULL
in this situation may result in reporting an false-positive OOM error
because *wwnn and *wwpn may be initialized to NULL by the caller.
Only check *wwnn and *wwpn
47 matches
Mail list logo