[Libvir] bug in xen_unified.c

2008-01-29 Thread Marcus Meissner
Hi, spotted by gcc 4.3, in libvirt 0.4.0, xen_unified.c:xenUnifiedDomainSuspend() if (priv-opened[i] which should probably be: if (priv-opened[XEN_UNIFIED_HYPERVISOR_OFFSET] because it is outside of the loop, and the other indices in that if (). --- src/xen_unified.c 2008/01/28

Re: [Libvir] PATCH: Fix block device numbers for virDomainBlockStats

2008-01-29 Thread Daniel Veillard
On Sun, Jan 27, 2008 at 08:32:10PM +, Daniel P. Berrange wrote: As mentioned in this thread: http://www.redhat.com/archives/libvir-list/2008-January/msg00475.html The code for calculating block devices numbers has a number of flaws. This patch fixes the flaws and adds a comprehensive

[Libvir] Pthreads error in windows compilation

2008-01-29 Thread Gabriel Kaufmann
Hi, I received the error In file included from libvirt.c:32: internal.h: At top level: internal.h:177: error: expected specifier-qualifier-list before 'pthread_mutex_t' In order to fix this problem, I installed the 'pthreads' package on my MinGW. Then added include pthread.h in src/internal.h

Re: [Libvir] PATCH: Fix block device numbers for virDomainBlockStats

2008-01-29 Thread Jim Meyering
Jim Meyering [EMAIL PROTECTED] wrote: Nice patch! ... Here's a patch that removes that and fixes the two typos: [and if you want to tighten up the xstr*-based parsing, this means there's one fewer use to change] Whoops. That patch was buggy. This one actually passes the tests: ---

Re: [Libvir] Pthreads error in windows compilation

2008-01-29 Thread Richard W.M. Jones
Gabriel Kaufmann wrote: In order to fix this problem, I installed the ‘pthreads’ package on my MinGW. Then added include pthread.h in src/internal.h Is this the right action? Yes, I think so. This sounds like a regression. Rich. -- Emerging Technologies, Red Hat -

Re: [Libvir] bug in xen_unified.c

2008-01-29 Thread Daniel Veillard
On Mon, Jan 28, 2008 at 11:25:12PM +0100, Marcus Meissner wrote: Hi, spotted by gcc 4.3, in libvirt 0.4.0, xen_unified.c:xenUnifiedDomainSuspend() if (priv-opened[i] which should probably be: if (priv-opened[XEN_UNIFIED_HYPERVISOR_OFFSET] because it is outside of the loop, and

[Libvir] [PATCH] Plug test-related leaks

2008-01-29 Thread Jim Meyering
Once I had a static virsh binary, I ran this: cd src valgrind --leak-check=full ./virsh --connect \ test://$PWD/../docs/testnode.xml list which exposed some leaks. I fixed them like this: Plug test-related leaks. * src/test.c (testLoadNetwork): Free forwardDev.

Re: [Libvir] [PATCH] typo

2008-01-29 Thread Richard W.M. Jones
Atsushi SAKAI wrote: Hi, I succeed test (2) but failed (1). I think this is reasonable for virsh on Windows. Interesting ... what was the error message when you did: virsh.exe -c test:///default list Anyway currently(from 1/21) pthread is used on hash.c It requires pthread-win32 for

Re: [Libvir] virsh vncdisplay fix

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 01:09:40PM +, John Levon wrote: On Tue, Jan 15, 2008 at 03:47:58AM +, John Levon wrote: I have an old HVM guest defined in 3.0.4, and now I'm running 3.1.2 and libvirt 0.4.0. The config looks like this: Dan (Berrange) has looked at this somewhat. He feels

Re: [Libvir] [PATCH] Fix the function that remove the element of the hash table.

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 11:32:04AM +0900, Hiroyuki Kaguchi wrote: There are two logic error and a unnecessary else-statement in virHashRemoveSet function. This patch fix the following. (1/3) The logic error that use released memory area. (2/3) The logic error that doesn't remove elements.

Re: [Libvir] 2/8 Add framework for code style- and syntax-checking rules.

2008-01-29 Thread Daniel P. Berrange
On Fri, Jan 25, 2008 at 11:17:44PM +0100, Jim Meyering wrote: Add framework for code style- and syntax-checking rules. Almost all tests are initially disabled via the list in Makefile.cfg. * Makefile.am (EXTRA_DIST): Add .x-sc_avoid_if_before_free. Omit names of files that automake includes

Re: [Libvir] 0/8 add syntax checks

2008-01-29 Thread Daniel P. Berrange
On Fri, Jan 25, 2008 at 11:16:15PM +0100, Jim Meyering wrote: The first patch simply removes the useless if tests. Following it, I introduce a make syntax-check framework similar to what I use in coreutils. In it, most tests are disabled, except the new one that tests for the unnecessary

Re: [Libvir] [PATCH] Plug test-related leaks

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 11:44:50AM +0100, Jim Meyering wrote: Once I had a static virsh binary, I ran this: cd src valgrind --leak-check=full ./virsh --connect \ test://$PWD/../docs/testnode.xml list which exposed some leaks. I fixed them like this: Plug test-related

Re: [Libvir] compilation of libvirt 0.4.0 and cvs snapshot fails on SLES10sp1

2008-01-29 Thread Richard W.M. Jones
Sebastian Reitenbach wrote: Hi, I am running sles10sp1 x86_64. I try to get xen 3.1.0 running on it, as I need a feature not in 3.0.4. Configure works well, but when it comes to compilation, then it fails with the following reason: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib

Re: [Libvir] [PATCH] virtinst: don't expect non-root users to have block device access

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 04:58:26PM +0100, Guido Guenther wrote: Hi, attached patch drops the assumption that a non-root user has read access to the guest OSes partition - he doesn't need to since all interaction is handled via libvirt and giving the user read access for a simple MBR block

Re: [Libvir] [PATCH] Avoid link errors with configure --disable-shared.

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 05:01:17PM +0100, Jim Meyering wrote: Richard W.M. Jones [EMAIL PROTECTED] wrote: Jim Meyering wrote: I tried to build static binaries in the usual libtool way, via configure --disable-shared and got some link errors due to the tests linking only with

[Libvir] [PATCH] virtinst: don't expect non-root users to have block device access

2008-01-29 Thread Guido Guenther
Hi, attached patch drops the assumption that a non-root user has read access to the guest OSes partition - he doesn't need to since all interaction is handled via libvirt and giving the user read access for a simple MBR block read test seems like overkill. Please apply if appropriate, patch is

Re: [Libvir] [PATCH] Avoid link errors with configure --disable-shared.

2008-01-29 Thread Jim Meyering
Richard W.M. Jones [EMAIL PROTECTED] wrote: Jim Meyering wrote: I tried to build static binaries in the usual libtool way, via configure --disable-shared and got some link errors due to the tests linking only with shared-lib-related files. Here's the fix: Avoid link errors with

Re: [Libvir] 2/8 Add framework for code style- and syntax-checking rules.

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: ... build-aux/find-unnecessary-if-before-free | 41 +++ build-aux/vc-list-files | 50 +++ The build-aux directory currently only contains auto-generated files. If its not too much pain, can we put these 2

Re: [Libvir] 2/8 Add framework for code style- and syntax-checking rules.

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 04:41:30PM +0100, Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: ... build-aux/find-unnecessary-if-before-free | 41 +++ build-aux/vc-list-files | 50 +++ The build-aux directory currently only contains auto-generated files.

Re: [Libvir] 2/8 Add framework for code style- and syntax-checking rules.

2008-01-29 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: ... build-aux/find-unnecessary-if-before-free | 41 +++ build-aux/vc-list-files | 50 +++ The build-aux directory currently only contains auto-generated files. If its not too much pain, can we put these 2 helpers into scripts/

Re: [Libvir] 3/8 Enable the duplicate-the test; fix violations

2008-01-29 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Jan 25, 2008 at 11:18:22PM +0100, Jim Meyering wrote: Enable the duplicate-the test; fix violations * Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable. * docs/virsh.pod: Remove a duplicate the. * libvirt.spec.in: Likewise. *

Re: [Libvir] [PATCH] Avoid link errors with configure --disable-shared.

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: I tried to build static binaries in the usual libtool way, via configure --disable-shared and got some link errors due to the tests linking only with shared-lib-related files. Here's the fix: Avoid link errors with configure --disable-shared. *

Re: [Libvir] 3/8 Enable the duplicate-the test; fix violations

2008-01-29 Thread Daniel P. Berrange
On Fri, Jan 25, 2008 at 11:18:22PM +0100, Jim Meyering wrote: Enable the duplicate-the test; fix violations * Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable. * docs/virsh.pod: Remove a duplicate the. * libvirt.spec.in: Likewise. * virsh.1: Likewise. Signed-off-by: Jim Meyering

Re: [Libvir] [PATCH] make find-* also detect uses of xmlXPathFreeContext, too

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Jan 25, 2008 at 11:17:09PM +0100, Jim Meyering wrote: Given code like if (foo) free (foo); remove the useless if (foo) part. Likewise, given if (foo != NULL) free (foo); remove the useless if test. ACK - already

Re: [Libvir] 5/8 update from gnulib

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: Checking for violations in libvirt exposed a few new ones in gnulib. This fixes those and also pulls in a few unrelated changes. ACK. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111

[Libvir] [PATCH] make find-* also detect uses of xmlXPathFreeContext, too

2008-01-29 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Jan 25, 2008 at 11:17:09PM +0100, Jim Meyering wrote: Given code like if (foo) free (foo); remove the useless if (foo) part. Likewise, given if (foo != NULL) free (foo); remove the useless if test. ACK - already reviewed the previous

Re: [Libvir] 4/8 Enable the config.h-requiring test; fix violations

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: Enable the config.h-requiring test; fix violations Use config.h, not config.h, per autoconf documentation. * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable. * .x-sc_require_config_h: New file, to list exempted files. * Makefile.am (EXTRA_DIST): Add

Re: [Libvir] 3/8 Enable the duplicate-the test; fix violations

2008-01-29 Thread Richard W.M. Jones
Daniel P. Berrange wrote: On Fri, Jan 25, 2008 at 11:18:22PM +0100, Jim Meyering wrote: Enable the duplicate-the test; fix violations * Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable. * docs/virsh.pod: Remove a duplicate the. * libvirt.spec.in: Likewise. * virsh.1: Likewise.

Re: [Libvir] 3/8 Enable the duplicate-the test; fix violations

2008-01-29 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: ... -suspended domain to now be eligible for scheduling by the the underlying +suspended domain to now be eligible for scheduling by the underlying hypervisor. .IP \fBttyconsole\fR \fIdomain-id\fR 4 .IX Item ttyconsole domain-id This probably

Re: [Libvir] 8/8 Enable two more tests.

2008-01-29 Thread Daniel P. Berrange
On Fri, Jan 25, 2008 at 11:23:55PM +0100, Jim Meyering wrote: Enabling these is easy, since they test for things for which there are no violations. ACK, Both sensible checks Dan -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules:

Re: [Libvir] Libvirt on windows

2008-01-29 Thread Richard W.M. Jones
Gabriel Kaufmann wrote: I tool libvirt-0.dll and I am using it in VC. In order to do this, I had to dynamically load the DLL and map all its functions. This is somewhat outside my experience. My best suggestion (guess) is to try adding __declspec(dllexport) around some libvirt functions to

Re: [Libvir] 7/8 Remove unnecessary #include assert.hs

2008-01-29 Thread Daniel P. Berrange
On Fri, Jan 25, 2008 at 11:22:51PM +0100, Jim Meyering wrote: Enable the assert.h-checking test; fix violations. * Makefile.cfg (local-checks-to-skip) [sc_prohibit_assert_without_use]: Enable. * qemud/mdns.c: Don't include assert.h; no uses of assert here. * qemud/qemud.c: Likewise. *

[Libvir] compilation of libvirt 0.4.0 and cvs snapshot fails on SLES10sp1

2008-01-29 Thread Sebastian Reitenbach
Hi, I am running sles10sp1 x86_64. I try to get xen 3.1.0 running on it, as I need a feature not in 3.0.4. Configure works well, but when it comes to compilation, then it fails with the following reason: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include

Re: [Libvir] 6/8 Enable the po-check test; fix violations.

2008-01-29 Thread Daniel P. Berrange
On Fri, Jan 25, 2008 at 11:22:04PM +0100, Jim Meyering wrote: This ensures that files with translatable strings are listed in po/POTFILES.in. Currently it checks only the error function. Obviously we'll have to add a few more here, but I'll do that separately. Enable the

Re: [Libvir] 5/8 update from gnulib

2008-01-29 Thread Daniel P. Berrange
On Fri, Jan 25, 2008 at 11:20:18PM +0100, Jim Meyering wrote: Checking for violations in libvirt exposed a few new ones in gnulib. This fixes those and also pulls in a few unrelated changes. ACK. Dan -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=-

Re: [Libvir] virsh vncdisplay fix

2008-01-29 Thread John Levon
On Tue, Jan 15, 2008 at 03:47:58AM +, John Levon wrote: I have an old HVM guest defined in 3.0.4, and now I'm running 3.1.2 and libvirt 0.4.0. The config looks like this: Dan (Berrange) has looked at this somewhat. He feels (probably rightly) that it's xend's bug. However these versions

Fwd: Re: [Libvir] update after changing XML

2008-01-29 Thread Richard W.M. Jones
-- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903 ---BeginMessage--- That's it!

Re: Fwd: Re: [Libvir] update after changing XML

2008-01-29 Thread Richard W.M. Jones
Richard W.M. Jones wrote: My bridge section looks like this: interface type='bridge' source dev='br0'/ target dev='vnet7'/ mac address=11:22:33:44:EE:FC/ /interface Do I need to create the vnet7 device before hand? I thought this might be something libvirt created

Re: Fwd: Re: [Libvir] update after changing XML

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 05:57:51PM +, Richard W.M. Jones wrote: Richard W.M. Jones wrote: My bridge section looks like this: interface type='bridge' source dev='br0'/ target dev='vnet7'/ mac address=11:22:33:44:EE:FC/ /interface Do I need to create the

Re: [Libvir] 8/8 Enable two more tests.

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: Enabling these is easy, since they test for things for which there are no violations. ACK. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE,

Re: [Libvir] 7/8 Remove unnecessary #include assert.hs

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: Enable the assert.h-checking test; fix violations. * Makefile.cfg (local-checks-to-skip) [sc_prohibit_assert_without_use]: Enable. * qemud/mdns.c: Don't include assert.h; no uses of assert here. * qemud/qemud.c: Likewise. * qemud/remote.c: Likewise. ACK - nice one. I'd be

Re: [Libvir] 6/8 Enable the po-check test; fix violations.

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: This ensures that files with translatable strings are listed in po/POTFILES.in. Currently it checks only the error function. Obviously we'll have to add a few more here, but I'll do that separately. Good catch ... ACK. Rich. -- Emerging Technologies, Red Hat -

[Libvir] [PATCH] Avoid link errors with configure --disable-shared.

2008-01-29 Thread Jim Meyering
I tried to build static binaries in the usual libtool way, via configure --disable-shared and got some link errors due to the tests linking only with shared-lib-related files. Here's the fix: Avoid link errors with configure --disable-shared. * tests/Makefile.am (LDADDS): Add

Re: [Libvir] Libvirt on windows

2008-01-29 Thread Richard W.M. Jones
Gabriel Kaufmann wrote: Hi, I'm still unable to build (see output files attached). This is from the sources I downloaded from ftp://libvirt.org/libvirt/libvirt-cvs-snapshot.tar.gz When running configure I get a popup error message that libconf-2.dll is missing. Looking at MinGW site, I

Re: [Libvir] VIR_DOMAIN_NOSTATE

2008-01-29 Thread Russ Blaine
Daniel P. Berrange wrote: Can you edit the src/xen_internal.c file and in the xenHypervisorGetDomInfo() method, add a printf() for the 'domain_flags' flags variable. IMHO the way we deal with this isn't quite correct. We merely mask out the high bits and then switch on the resulting value.

Re: [Libvir] Libvirt on windows

2008-01-29 Thread Richard W.M. Jones
Gabriel Kaufmann wrote: I want to be able to connect to the Xen server using libvirt [...] And yes, connecting to a remote Xen server from Windows should work. At least, it does for me. The server must be running libvirtd, and you will need to specify a remote connection URI such as

Re: [Libvir] VIR_DOMAIN_NOSTATE

2008-01-29 Thread Richard W.M. Jones
Russ Blaine wrote: Daniel P. Berrange wrote: Can you edit the src/xen_internal.c file and in the xenHypervisorGetDomInfo() method, add a printf() for the 'domain_flags' flags variable. IMHO the way we deal with this isn't quite correct. We merely mask out the high bits and then switch on the

Re: [Libvir] VIR_DOMAIN_NOSTATE

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 10:01:35AM -0800, Russ Blaine wrote: Daniel P. Berrange wrote: Can you edit the src/xen_internal.c file and in the xenHypervisorGetDomInfo() method, add a printf() for the 'domain_flags' flags variable. IMHO the way we deal with this isn't quite correct. We merely

Re: [Libvir] 1/8 remove useless if (foo) tests

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: Given code like if (foo) free (foo); remove the useless if (foo) part. Likewise, given if (foo != NULL) free (foo); remove the useless if test. ACK. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley

Re: [Libvir] compilation of libvirt 0.4.0 and cvs snapshot failson SLES10sp1

2008-01-29 Thread Sebastian Reitenbach
Hi, Richard W.M. Jones [EMAIL PROTECTED] wrote: Sebastian Reitenbach wrote: Hi, I am running sles10sp1 x86_64. I try to get xen 3.1.0 running on it, as I need a feature not in 3.0.4. Configure works well, but when it comes to compilation, then it fails with the following

Re: [Libvir] [PATCH] Avoid link errors with configure --disable-shared.

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 11:44:30AM +0100, Jim Meyering wrote: I tried to build static binaries in the usual libtool way, via configure --disable-shared and got some link errors due to the tests linking only with shared-lib-related files. Here's the fix: Avoid link errors with

Re: [Libvir] 1/8 remove useless if (foo) tests

2008-01-29 Thread Daniel P. Berrange
On Fri, Jan 25, 2008 at 11:17:09PM +0100, Jim Meyering wrote: Given code like if (foo) free (foo); remove the useless if (foo) part. Likewise, given if (foo != NULL) free (foo); remove the useless if test. ACK - already reviewed the previous version of it. Dan -- |=- Red Hat, Engineering,

Re: [Libvir] [PATCH] Plug test-related leaks

2008-01-29 Thread Richard W.M. Jones
Jim Meyering wrote: Once I had a static virsh binary, I ran this: cd src valgrind --leak-check=full ./virsh --connect \ test://$PWD/../docs/testnode.xml list which exposed some leaks. I fixed them like this: Plug test-related leaks. * src/test.c (testLoadNetwork):

[Libvir] update after changing XML

2008-01-29 Thread Maxwell Bottiger
Hi, I changed some of the XML for a qemu virtual machine. The original file was generated by virt-manager, but I wanted to use bridged networking as described in the documentation on the libvirt website. Is there something I need to for my xml changes to show up in the virtual machine?

Re: [Libvir] update after changing XML

2008-01-29 Thread Daniel P. Berrange
On Tue, Jan 29, 2008 at 11:20:06AM -0500, Maxwell Bottiger wrote: Hi, I changed some of the XML for a qemu virtual machine. The original file was generated by virt-manager, but I wanted to use bridged networking as described in the documentation on the libvirt website. Is there

Re: [Libvir] PATCH: Fix block device numbers for virDomainBlockStats

2008-01-29 Thread Daniel P. Berrange
On Mon, Jan 28, 2008 at 12:07:22PM +0100, Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: As mentioned in this thread: http://www.redhat.com/archives/libvir-list/2008-January/msg00475.html The code for calculating block devices numbers has a number of flaws. This patch

Re: [Libvir] PATCH: Fix block device numbers for virDomainBlockStats

2008-01-29 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: ... Should be hda hdp actually :-) Oh, right :-) It looks fine, now. -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [Libvir] [PATCH] Fix the function that remove the element of the hash table.

2008-01-29 Thread Daniel Veillard
On Tue, Jan 29, 2008 at 11:32:04AM +0900, Hiroyuki Kaguchi wrote: There are two logic error and a unnecessary else-statement in virHashRemoveSet function. Hum, I will have to double check, I cleaned up something in libxml2 recently which may have been similar. This patch fix the following.

Re: [Libvir] VIR_DOMAIN_NOSTATE

2008-01-29 Thread Russ Blaine
Host is Solaris, guest is WinXP. Richard W.M. Jones wrote: Russ Blaine wrote: Daniel P. Berrange wrote: Can you edit the src/xen_internal.c file and in the xenHypervisorGetDomInfo() method, add a printf() for the 'domain_flags' flags variable. IMHO the way we deal with this isn't quite

Re: [Libvir] VIR_DOMAIN_NOSTATE

2008-01-29 Thread Russ Blaine
Daniel P. Berrange wrote: What hypervisor version are you running. I'm struggling to see the codepath in the hypervisor 'getdomaininfo' call which could lead to domain_flags being zero. AFAICT, as well as the HVM flags, there must always be at least one other bit set. This is opensolaris 81

Re: [Libvir] update after changing XML

2008-01-29 Thread Maxwell Bottiger
Thank you very much for your help. I have submitted a bugzilla report asking to update the documentation to fix the bridging XML problem, as well as perhaps look at the associated error message. At this point I have my ethernet bridge br0 configured with the IP 192.168.1.23 and my host network

Re: [Libvir] [PATCH] Fix USB device name mis-conversion from S-Expr to XML

2008-01-29 Thread Hiroyuki Kaguchi
Would you give me a comment on this patch? If not, please apply it. tablet and mouse are set as a value of the /local/domain/domid/image/hvm/usbdevice, but libvirt expects usbdevice and usbmouse as a value. This causes the following. If a USB device is attached by virt-manager, the USB

[Libvir] tiny patch, FYI: Let make syntax-check pass.

2008-01-29 Thread Jim Meyering
FYI I've just checked this in: Let make syntax-check pass. * .x-sc_avoid_if_before_free: Exempt ChangeLog. * tests/statstest.c: Include config.h, not config.h. diff --git a/.x-sc_avoid_if_before_free b/.x-sc_avoid_if_before_free index 627dcdf..f83ae7b 100644 ---