]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
16 years agodocumentation for java bindings
Daniel Veillard [Tue, 22 Jul 2008 17:49:53 +0000 (17:49 +0000)]
documentation for java bindings
* docs/java.html docs/java.html.in: added documentation for the
  java bindings
Daniel

16 years agobetter diagnostic when failing to undefine a running domain via ID
Jim Meyering [Tue, 22 Jul 2008 16:12:01 +0000 (16:12 +0000)]
better diagnostic when failing to undefine a running domain via ID

* src/virsh.c (cmdUndefine): Tell user to shutdown and then use name or UUID.
* tests/undefine: New test.  Exercise virsh's undefine command.
* tests/Makefile.am (test_scripts): Add undefine.

16 years agofix a warning when no proxy is configured in, Daniel
Daniel Veillard [Tue, 22 Jul 2008 09:52:31 +0000 (09:52 +0000)]
fix a warning when no proxy is configured in, Daniel

16 years agocleaning up integer string parsing
Daniel Veillard [Mon, 21 Jul 2008 13:34:19 +0000 (13:34 +0000)]
cleaning up integer string parsing
* src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
  cleaning up integer string parsing.
Daniel

16 years agoFix compile , Daniel
Daniel Veillard [Mon, 21 Jul 2008 12:06:16 +0000 (12:06 +0000)]
Fix compile , Daniel

16 years ago* src/xen_unified.c: fix a leak in xenUnifiedOpen
Daniel Veillard [Mon, 21 Jul 2008 09:48:01 +0000 (09:48 +0000)]
* src/xen_unified.c: fix a leak in xenUnifiedOpen
Daniel

16 years agoOpenVZ domain cpu time
Daniel Veillard [Mon, 21 Jul 2008 08:08:25 +0000 (08:08 +0000)]
OpenVZ domain cpu time
* src/openvz_driver.c: patch from Evgeniy Sokolov to get OpenVZ
  domain cpu time consumption.
Daniel

16 years agoxen lib detection patch on 64bits
Daniel Veillard [Mon, 21 Jul 2008 08:03:58 +0000 (08:03 +0000)]
xen lib detection patch on 64bits
* configure.in: patch from David Lively to try to detect the xen
  libs when using --with-xen-distdir= on 64bit arches.
Daniel

16 years ago* src/openvz_driver.c: patch from Evgeniy Sokolov avoiding domain
Daniel Veillard [Mon, 21 Jul 2008 07:31:14 +0000 (07:31 +0000)]
* src/openvz_driver.c: patch from Evgeniy Sokolov avoiding domain
  lookups based on ID as this doesn't work for a stopped domain.
Daniel

16 years agoremove unnecessary "V = NULL;" stmts after VIR_FREE(V)
Jim Meyering [Sat, 19 Jul 2008 07:42:34 +0000 (07:42 +0000)]
remove unnecessary "V = NULL;" stmts after VIR_FREE(V)

* src/domain_conf.c (virDomainChrDefParseXML)
(virDomainNetDefParseXML): Likewise.
* src/iptables.c (iptRuleFree): Likewise.
* src/storage_backend.c (virStorageBackendRunProgRegex): Likewise.
* src/test.c (testOpenFromFile): Likewise.
* src/xmlrpc.c (xmlRpcCallRaw): Likewise.

16 years agoenable format-safety checks for virDomainReportError
Jim Meyering [Fri, 18 Jul 2008 11:02:18 +0000 (11:02 +0000)]
enable format-safety checks for virDomainReportError

* src/domain_conf.c (virDomainReportError): Declare using
ATTRIBUTE_FORMAT(printf, 3, 4).
* Makefile.maint (msg_gen_function): Add virDomainReportError.

16 years agofix pool-create for netfs format 'auto'
Daniel Veillard [Thu, 17 Jul 2008 15:20:28 +0000 (15:20 +0000)]
fix pool-create for netfs format 'auto'
* src/storage_backend_fs.c: patch from Cole Robinson fixing
  pool-create for netfs format 'auto'
Daniel

16 years agoundefine command can't take an ID
Daniel Veillard [Thu, 17 Jul 2008 11:49:15 +0000 (11:49 +0000)]
undefine command can't take an ID
* src/virsh.c: patch from Evgeniy Sokolov for the undefine command
  which can't take an id
Daniel

16 years agoID domain lookup fixup
Daniel Veillard [Wed, 16 Jul 2008 20:42:38 +0000 (20:42 +0000)]
ID domain lookup fixup
* src/libvirt.c src/openvz_driver.c: fix the description of the ID
  domain lookup and fix the OpenVZ routine
Daniel

16 years agolookup by ID function and error report fix for OpenVZ
Daniel Veillard [Wed, 16 Jul 2008 15:27:00 +0000 (15:27 +0000)]
lookup by ID function and error report fix for OpenVZ
* src/openvz_driver.c: fix the lookup by ID function and error
  reporting in OpenVZ, fix by Evgeniy Sokolov
Daniel

16 years agocleaning up the exec calls to OpenVZ binaries
Daniel Veillard [Wed, 16 Jul 2008 14:45:55 +0000 (14:45 +0000)]
cleaning up the exec calls to OpenVZ binaries
* src/openvz_driver.c: another cleanup patch from Evgeniy Sokolov
  cleaning up the exec calls to OpenVZ binaries
Daniel

16 years agoRemove unneccessary include
Daniel P. Berrange [Sat, 12 Jul 2008 13:53:50 +0000 (13:53 +0000)]
Remove unneccessary include

16 years agoFix test file
Daniel P. Berrange [Fri, 11 Jul 2008 20:03:58 +0000 (20:03 +0000)]
Fix test file

16 years agoSwitch QEMU driver over to generic domain APIs
Daniel P. Berrange [Fri, 11 Jul 2008 19:34:11 +0000 (19:34 +0000)]
Switch QEMU driver over to generic domain APIs

16 years agoSet initial domain state to SHUTOFF
Daniel P. Berrange [Fri, 11 Jul 2008 19:31:26 +0000 (19:31 +0000)]
Set initial domain state to SHUTOFF

16 years agoUse full path when loading XML files
Daniel P. Berrange [Fri, 11 Jul 2008 17:59:27 +0000 (17:59 +0000)]
Use full path when loading XML files

16 years agoSwitch QEMU driver over to generic network APIs
Daniel P. Berrange [Fri, 11 Jul 2008 17:33:45 +0000 (17:33 +0000)]
Switch QEMU driver over to generic network APIs

16 years agoConvert test driver to new domain XML apis
Daniel P. Berrange [Fri, 11 Jul 2008 16:41:27 +0000 (16:41 +0000)]
Convert test driver to new domain XML apis

16 years agoConvert test driver to new network XML apis
Daniel P. Berrange [Fri, 11 Jul 2008 16:39:08 +0000 (16:39 +0000)]
Convert test driver to new network XML apis

16 years agoAdded generic domain XML APIs
Daniel P. Berrange [Fri, 11 Jul 2008 16:23:36 +0000 (16:23 +0000)]
Added generic domain XML APIs

16 years agofix OpenVZ probe function
Daniel Veillard [Fri, 11 Jul 2008 11:09:44 +0000 (11:09 +0000)]
fix OpenVZ probe function
* src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function
Daniel

16 years agoGeneric APIs for network XML configuration
Daniel P. Berrange [Fri, 11 Jul 2008 10:48:34 +0000 (10:48 +0000)]
Generic APIs for network XML configuration

16 years agoFix booting QEMU off CDROM devices with -drive arg
Daniel P. Berrange [Fri, 11 Jul 2008 09:56:23 +0000 (09:56 +0000)]
Fix booting QEMU off CDROM devices with -drive arg

16 years agoDefault to admin auth for polkit. Rename policy file
Daniel P. Berrange [Fri, 11 Jul 2008 09:51:25 +0000 (09:51 +0000)]
Default to admin auth for polkit. Rename policy file

16 years agoDon't default to polkit auth when running non-root
Daniel P. Berrange [Fri, 11 Jul 2008 09:50:01 +0000 (09:50 +0000)]
Don't default to polkit auth when running non-root

16 years ago Fix parsing of QEMU stdout looking for serial device PTY with Xenner
Daniel P. Berrange [Fri, 11 Jul 2008 09:48:51 +0000 (09:48 +0000)]
 Fix parsing of QEMU stdout looking for  serial device PTY with Xenner

16 years agocleanup OpenVZ config file accesses
Daniel Veillard [Fri, 11 Jul 2008 08:56:16 +0000 (08:56 +0000)]
cleanup OpenVZ config file accesses
* src/openvz_conf.c: cleanup OpenVZ config file accesses, patch
  from Evgeniy Sokolov
Daniel

16 years agobug in do_open()
Daniel Veillard [Thu, 10 Jul 2008 15:29:39 +0000 (15:29 +0000)]
bug in do_open()
* src/libvirt.c: Evgeniy Sokolov found a driver open bug
  in do_open()
Daniel

16 years agofixed John address
Daniel Veillard [Thu, 10 Jul 2008 13:24:35 +0000 (13:24 +0000)]
fixed John address
Daniel

16 years agocleanup OpenVZ error function
Daniel Veillard [Thu, 10 Jul 2008 12:21:09 +0000 (12:21 +0000)]
cleanup OpenVZ error function
* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c
  Makefile.maint: patch from Evgeniy Sokolov cleaning up the
  error function used and format check based on Jim's fedback.
Daniel

16 years agodomain name validation fix
Daniel Veillard [Thu, 10 Jul 2008 08:05:39 +0000 (08:05 +0000)]
domain name validation fix
* docs/libvirt.rng: domain name validation fix by John Levon
* AUTHORS: add John Levon
Daniel

16 years ago* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: new
Daniel Veillard [Thu, 10 Jul 2008 07:52:14 +0000 (07:52 +0000)]
* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: new
  patch from Evgeniy Sokolov adding OpenVZ autostart get and set support
Daniel

16 years agoremove trailing blanks
Jim Meyering [Wed, 9 Jul 2008 16:59:28 +0000 (16:59 +0000)]
remove trailing blanks

16 years agoAdds Evgeniy to AUTHORS list
Daniel Veillard [Wed, 9 Jul 2008 11:57:40 +0000 (11:57 +0000)]
Adds Evgeniy to AUTHORS list
Daniel

16 years agodiagnostic fixes on OpenVZ failures
Daniel Veillard [Wed, 9 Jul 2008 11:55:27 +0000 (11:55 +0000)]
diagnostic fixes on OpenVZ failures
* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: applied
patch from Evgeniy Sokolov fixing error diagnostic when exec'ing
OpenVZ commands.
Daniel

16 years agoFix use of VIR_TEST_DEBUG var when OOM testing is not enabled & surpress more valgrin...
Daniel P. Berrange [Wed, 9 Jul 2008 10:27:17 +0000 (10:27 +0000)]
Fix use of VIR_TEST_DEBUG var when OOM testing is not enabled & surpress more valgrind warnings

16 years agoRemove legacy debug output
Daniel P. Berrange [Wed, 9 Jul 2008 10:18:03 +0000 (10:18 +0000)]
Remove legacy debug output

16 years agoFix QEMU test for xen bootloader
Daniel P. Berrange [Wed, 9 Jul 2008 08:46:09 +0000 (08:46 +0000)]
Fix QEMU test for xen bootloader

16 years agoPreserve context node when doing XPath queries to allow relative XPath expressions
Daniel P. Berrange [Wed, 9 Jul 2008 08:35:09 +0000 (08:35 +0000)]
Preserve context node when doing XPath queries to allow relative XPath expressions

16 years agoIgnore JIT'd python files
Daniel P. Berrange [Wed, 9 Jul 2008 08:17:51 +0000 (08:17 +0000)]
Ignore JIT'd python files

16 years agogive a more useful diagnostic for tap-add failure w/ENOTSUP
Jim Meyering [Wed, 9 Jul 2008 05:24:08 +0000 (05:24 +0000)]
give a more useful diagnostic for tap-add failure w/ENOTSUP

* src/qemu_conf.c (qemudNetworkIfaceConnect):
Suggestion from Daniel P. Berrange.

16 years agoFix typo in domain state constant
Daniel P. Berrange [Tue, 8 Jul 2008 17:49:26 +0000 (17:49 +0000)]
Fix typo in domain state constant

16 years agoFix three typos pointed out by Anton Protopopov
Daniel P. Berrange [Tue, 8 Jul 2008 17:44:56 +0000 (17:44 +0000)]
Fix three typos pointed out by Anton Protopopov

16 years agoUpdate RNG schema for domains
Daniel P. Berrange [Tue, 8 Jul 2008 12:05:13 +0000 (12:05 +0000)]
Update RNG schema for domains

16 years agoFix openvz build on x86_64
Daniel P. Berrange [Mon, 7 Jul 2008 11:48:40 +0000 (11:48 +0000)]
Fix openvz build on x86_64

16 years agoRemove bogus return statement in test code
Daniel P. Berrange [Mon, 7 Jul 2008 10:36:30 +0000 (10:36 +0000)]
Remove bogus return statement in test code

16 years agoALlow OOM tests to be parallelized
Daniel P. Berrange [Mon, 7 Jul 2008 10:10:29 +0000 (10:10 +0000)]
ALlow OOM tests to be parallelized

16 years ago* proxy/libvirt_proxy.c: fix a compilation problem without Xen
Daniel Veillard [Mon, 7 Jul 2008 10:00:30 +0000 (10:00 +0000)]
* proxy/libvirt_proxy.c: fix a compilation problem without Xen
* libvirt.spec.in: add %{release] to BuildRoot
Daniel

16 years agoFix memory leak in OOM cleanup
Daniel P. Berrange [Mon, 7 Jul 2008 09:52:26 +0000 (09:52 +0000)]
Fix memory leak in OOM cleanup

16 years agoUpdated ChangeLog for recent LXC patches
Dan Smith [Wed, 2 Jul 2008 14:20:10 +0000 (14:20 +0000)]
Updated ChangeLog for recent LXC patches

16 years agoCompilation fix for MinGW(w/ LXC)
Atsushi SAKAI [Mon, 30 Jun 2008 05:11:13 +0000 (05:11 +0000)]
Compilation fix for MinGW(w/ LXC)

16 years ago[LXC] Remove unused variable and fix uninitialized variable
Dan Smith [Fri, 27 Jun 2008 15:05:31 +0000 (15:05 +0000)]
[LXC] Remove unused variable and fix uninitialized variable

Also remove a stale comment in the area.  This makes libvirt compile when
passed --with-lxc and --enable-compiler-warnings=error

16 years ago[LXC] Add setup/cleanup of container network interfaces
Dan Smith [Thu, 26 Jun 2008 16:09:48 +0000 (16:09 +0000)]
[LXC] Add setup/cleanup of container network interfaces

16 years ago[LXC] Add XML parsing of container network interfaces.
Dan Smith [Thu, 26 Jun 2008 16:08:59 +0000 (16:08 +0000)]
[LXC] Add XML parsing of container network interfaces.

16 years ago[LXC] Add functions to manage veth device pairs
Dan Smith [Thu, 26 Jun 2008 16:07:48 +0000 (16:07 +0000)]
[LXC] Add functions to manage veth device pairs

This gives us the ability to create a veth pair so that we can move one
into the network namespace of an LXC container.

16 years ago[LXC] Detect support for NETNS in lxc driver initialization
Dan Smith [Thu, 26 Jun 2008 16:05:02 +0000 (16:05 +0000)]
[LXC] Detect support for NETNS in lxc driver initialization

Allow check for containers support to be done without CLONE_NEWNET, and then
determine support on the fly by checking for iproute2 support and a
successful clone(CLONE_NEWNET).  This lets us set a flag for later, as well
as not completely disable LXC support on a system without NETNS support.

16 years agoFix make syntax-check
Atsushi SAKAI [Thu, 26 Jun 2008 10:56:19 +0000 (10:56 +0000)]
Fix make syntax-check

16 years agoCompilation fixes for MinGW
Atsushi SAKAI [Thu, 26 Jun 2008 09:37:51 +0000 (09:37 +0000)]
Compilation fixes for MinGW

16 years agoquiet "make syntax-check"
Jim Meyering [Wed, 25 Jun 2008 14:21:44 +0000 (14:21 +0000)]
quiet "make syntax-check"

* Makefile.maint (strftime-check): Add "@" prefix.
(po-check): Likewise.

16 years ago* python/types.c: patch from Ryan Scott to remove misplaced verbosity
Daniel Veillard [Wed, 25 Jun 2008 11:42:27 +0000 (11:42 +0000)]
* python/types.c: patch from Ryan Scott to remove misplaced verbosity
  when compiling in debug mode.
Daniel

16 years ago* configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.4
Daniel Veillard [Wed, 25 Jun 2008 08:59:37 +0000 (08:59 +0000)]
* configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.4
  release
* src/xm_internal.c: fix xm driver serialization escapes
* tests/xmconfigtest.c tests/xmconfigdata/test-escape-paths.cfg
  tests/xmconfigdata/test-escape-paths.xml: add test for previous
  problem
Daniel

16 years ago* po/*: updated a couple of localizations and regenerated the
Daniel Veillard [Wed, 25 Jun 2008 08:49:54 +0000 (08:49 +0000)]
* po/*: updated a couple of localizations and regenerated the
  files
Daniel

16 years agoAdded helpers for dealing with enumerations
Daniel P. Berrange [Tue, 24 Jun 2008 15:00:15 +0000 (15:00 +0000)]
Added helpers for dealing with enumerations

16 years agoFix const-ness of virStorageBackendRunProgRegex()
Daniel P. Berrange [Tue, 24 Jun 2008 14:30:25 +0000 (14:30 +0000)]
Fix const-ness of virStorageBackendRunProgRegex()

16 years agofix a couple of List functions for max = 0 issues
Daniel Veillard [Thu, 19 Jun 2008 14:39:49 +0000 (14:39 +0000)]
fix a couple of List functions for max = 0 issues
* src/xen_internal.c src/xend_internal.c: fix a couple of issues
  for List functions where max given is 0
Daniel

16 years agovirsh fails to read files larger than BUFSIZ bytes
Jim Meyering [Thu, 19 Jun 2008 14:30:52 +0000 (14:30 +0000)]
virsh fails to read files larger than BUFSIZ bytes

* src/util.c (fread_file_lim): Use VIR_REALLOC_N, not VIR_ALLOC_N.
Bug introduced in 895d0fdf5bef358fafb91c672609190b3088097b.
* tests/Makefile.am (test_scripts): Add read-bufsiz.
* tests/read-bufsiz: New test for the above.

16 years agoUpdate the changelog to go along with my commits for the last week.
Chris Lalancette [Thu, 19 Jun 2008 14:22:54 +0000 (14:22 +0000)]
Update the changelog to go along with my commits for the last week.

16 years agoFor 0.4.3, danpb's new memory management scheme went into libvirt. This is
Chris Lalancette [Thu, 19 Jun 2008 11:58:49 +0000 (11:58 +0000)]
For 0.4.3, danpb's new memory management scheme went into libvirt.  This is
fine, except that is subtly alters the semantics of malloc(), calloc(), and
realloc().  In particular, if you say:

foo = malloc(0);

glibc will happily return a non-NULL pointer to you.  However, with the new
memory management stuff, if you say:

foo = VIR_ALLOC(0);

you will actually get a NULL pointer back.  Personally, I think this is a
dangerous deviation from malloc() semantics that everyone is used to, and is
indeed causing problems with the remote driver.  The short of it is that the
remote driver allocates memory on behalf of the remote side using VIR_ALLOC_N,
and this call is returning NULL so that the NULL checks elsewhere in the code
fire and return failure.

The attached patch fixes this situation by removing the 0 checks from the memory
allocation paths, and just lets them fall through to the normal malloc(),
calloc(), or realloc() routines, restoring old semantics.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
16 years agoWhen doing the conversion to danpb's new memory API, a small bug was
Chris Lalancette [Thu, 19 Jun 2008 10:38:36 +0000 (10:38 +0000)]
When doing the conversion to danpb's new memory API, a small bug was
introduced into the qemudNetworkIfaceConnect() function.  In particular, there
is a call:

    if (VIR_ALLOC_N(vm->tapfds, vm->ntapfds+2) < 0)
        goto no_memory;

However, the tapfds structure is used to track *all* of the tap fds, and is
called once for each network that is being attached to the domain.  VIR_ALLOC_N
maps to calloc().  So the first network would work just fine, but if you had
more than one network, subsequent calls to this function would blow away the
stored fd's that were already there and fill them all in with zeros.  This
causes multiple problems, from the qemu domains not starting properly to
improper cleanup on shutdown.  The attached patch just changes the VIR_ALLOC_N()
to a VIR_REALLOC_N(), and everything is happy again.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
16 years agoremove trailing white space
Jim Meyering [Tue, 17 Jun 2008 15:55:03 +0000 (15:55 +0000)]
remove trailing white space

16 years agoThis rather large patch rewrites the virStorageBackendISCSIFindLUNs() function
Chris Lalancette [Tue, 17 Jun 2008 12:49:37 +0000 (12:49 +0000)]
This rather large patch rewrites the virStorageBackendISCSIFindLUNs() function
to only rely on sysfs for finding LUNs, given a session number.  Along the way,
it also fixes the bug where we wouldn't find LUNs for older kernels (with the
block:sda format), and also fixes a race condition where we could try
to find the LUN before udev has finished connecting it.

This patch fixes a few different bugs:
1) We weren't finding LUNs on pre 2.6.24 kernels
2) libvirtd sysfs scanning was racing with udev, so we didn't always see LUNs
3) We weren't showing the 0'th LUN, although that can be a valid LUN

Signed-off-by: Chris Lalancette <clalance@redhat.com>
16 years agoA small bugfix; we only need to call the iscsiadm sendtarget command when we are
Chris Lalancette [Tue, 17 Jun 2008 12:47:10 +0000 (12:47 +0000)]
A small bugfix; we only need to call the iscsiadm sendtarget command when we are
first logging in; we don't need to do it for logout.  Move the sendtarget
command into the Login() function.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
16 years agoOlder versions of iscsiadm didn't support the "-P 0" flag to the "iscsiadm
Chris Lalancette [Tue, 17 Jun 2008 12:46:38 +0000 (12:46 +0000)]
Older versions of iscsiadm didn't support the "-P 0" flag to the "iscsiadm
--mode session" command.  However, just running "iscsiadm --mode session" seems
to work on all version of iscsiadm commands back to FC-6, so just use that.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
16 years agoIn src/util.c, virLog is just a wrapper around fprintf(stderr). Make sure to
Chris Lalancette [Tue, 17 Jun 2008 12:45:59 +0000 (12:45 +0000)]
In src/util.c, virLog is just a wrapper around fprintf(stderr).  Make sure to
put line breaks at the end of lines that use virLog() (noticed during testing).

Signed-off-by: Chris Lalancette <clalance@redhat.com>
16 years agoThis patch changes things around so that virStorageBackendRunProgRegex() does
Chris Lalancette [Tue, 17 Jun 2008 12:45:24 +0000 (12:45 +0000)]
This patch changes things around so that virStorageBackendRunProgRegex() does
*not* virStorageReportError() if the fork()/exec() process it spawned returned a
!= 0 exit code.  Rather, it returns the exitcode in this case, and it is up to
the higher level to determine whether this is a fatal error or not.  The use
case for this change is in the iSCSI stuff; older versions of iscsiadm tools
would return a failure when getting the session number, despite the command
succeeding.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
16 years agoadding autogen.sh to EXTRA_DIST
Daniel Veillard [Fri, 13 Jun 2008 09:08:44 +0000 (09:08 +0000)]
adding autogen.sh to EXTRA_DIST
* Makefile.am: adding autogen.sh to EXTRA_DIST
Daniel

16 years ago* src/qemu_conf.c: patch from Kaitlin Rupert, dynamic devices
Daniel Veillard [Fri, 13 Jun 2008 07:56:59 +0000 (07:56 +0000)]
* src/qemu_conf.c: patch from Kaitlin Rupert, dynamic devices
  for network should be defined in an 'interface' node not 'net'
Daniel

16 years ago* configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.3
Daniel Veillard [Thu, 12 Jun 2008 16:10:50 +0000 (16:10 +0000)]
* configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.3
  release
Daniel

16 years agoFix misc compile warnings
Daniel P. Berrange [Thu, 12 Jun 2008 13:48:29 +0000 (13:48 +0000)]
Fix misc compile warnings

16 years agoFix saving of iptables rules
Daniel P. Berrange [Thu, 12 Jun 2008 13:47:38 +0000 (13:47 +0000)]
Fix saving of iptables rules

16 years agoDeal with inactive virtual network in domain creation
Daniel P. Berrange [Thu, 12 Jun 2008 10:19:24 +0000 (10:19 +0000)]
Deal with inactive virtual network in domain creation

16 years agoAdding Kaitlin Rupert in the AUTHORS list
Daniel Veillard [Thu, 12 Jun 2008 08:56:59 +0000 (08:56 +0000)]
Adding Kaitlin Rupert in the AUTHORS list
Daniel

16 years ago* src/qemu_driver.c: patch from Kaitlin Rupert, changing vcpu or
Daniel Veillard [Thu, 12 Jun 2008 08:55:13 +0000 (08:55 +0000)]
* src/qemu_driver.c: patch from Kaitlin Rupert, changing vcpu or
  memory of an active domain is a NO_SUPPORT not INTERNAL_ERROR
Daniel

16 years agopo regeneration
Daniel Veillard [Wed, 11 Jun 2008 15:22:24 +0000 (15:22 +0000)]
po regeneration
* po/*: update and regenerated
Daniel

16 years agoFix RPM build
Daniel P. Berrange [Wed, 11 Jun 2008 11:26:36 +0000 (11:26 +0000)]
Fix RPM build

16 years ago* python/libvir.py python/libvirt-python-api.xml: more python
Daniel Veillard [Wed, 11 Jun 2008 07:49:01 +0000 (07:49 +0000)]
* python/libvir.py python/libvirt-python-api.xml: more python
  cleanups by Cole Robinson
Daniel

16 years ago* configure.in: patch from Cole Robinson to reactivate storage
Daniel Veillard [Tue, 10 Jun 2008 15:35:15 +0000 (15:35 +0000)]
* configure.in: patch  from Cole Robinson to reactivate storage
  support
Daniel

16 years ago* python/generator.py python/libvir.c python/libvirt-python-api.xml:
Daniel Veillard [Tue, 10 Jun 2008 15:20:25 +0000 (15:20 +0000)]
* python/generator.py python/libvir.c python/libvirt-python-api.xml:
  Apply patch from Cole Robinson fixing UUIDString for python
Daniel

16 years agoPass syntax check for XM block devices over to XenD
Richard W.M. Jones [Tue, 10 Jun 2008 14:39:58 +0000 (14:39 +0000)]
Pass syntax check for XM block devices over to XenD
* src/xm_internal.c: Pass responsibility for checking syntax
  of XM block devices over the XenD (see also Xen cset 17617).
  (Hiroyuki Kaguchi).

16 years agovirDomainMemoryPeek API
Richard W.M. Jones [Tue, 10 Jun 2008 10:43:28 +0000 (10:43 +0000)]
virDomainMemoryPeek API
        * include/libvirt/libvirt.h.in, src/libvirt.c, src/driver.h,
          src/libvirt_sym.version: New virDomainMemoryPeek API.
        * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
          Support for remote.
        * src/qemu_driver.c: QEMU driver implementation of API.
        * src/test.c: Test driver (null) implementation of API.
        * docs/hvsupport.html.in: Document API.
        * libvirt.spec.in: New path /var/cache/libvirt for temporary
          storage of memory images.
        * qemud/libvirtd.init.in: Remove any old temp files in
          /var/cache/libvirt on restarts.
        * src/Makefile.am: make install creates /var/cache/libvirt.
        * configure.in: Detect mkdir -p.

16 years agoMon Jun 9 15:42:34 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>
David L. Leskovec [Mon, 9 Jun 2008 22:51:32 +0000 (22:51 +0000)]
Mon Jun  9 15:42:34 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>

* src/lxc_driver.c: Make console element is output only.  Always open new
PTY when starting a container.
Fix string overrun when storing console name in VM def struct

16 years agoBetter error messages in xend driver.
Richard W.M. Jones [Mon, 9 Jun 2008 12:16:03 +0000 (12:16 +0000)]
Better error messages in xend driver.
* src/xend_internal.c: Change virXendError function to take
varargs.  Better error messages throughout.

16 years agoSwitch over remaining driver code to use memory alloc apis
Daniel P. Berrange [Fri, 6 Jun 2008 11:09:57 +0000 (11:09 +0000)]
Switch over remaining driver code to use memory alloc apis

16 years agoSwitch daemon over to use internal memory allocation APIs
Daniel P. Berrange [Fri, 6 Jun 2008 10:52:01 +0000 (10:52 +0000)]
Switch daemon over to use internal memory allocation APIs

16 years agovirDomainBlockPeek QEMU and remote support
Richard W.M. Jones [Thu, 5 Jun 2008 21:12:26 +0000 (21:12 +0000)]
virDomainBlockPeek QEMU and remote support
* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
  Remote support.
* qemud/remote_dispatch_localvars.h,
  qemud/remote_dispatch_proc_switch.h,
  qemud/remote_dispatch_prototypes.h,
  qemud/remote_protocol.c,
  qemud/remote_protocol.h:
  Generated files for remote support.
* src/xen_unified.c, src/driver.h, src/libvirt.c: Small fix -
  pass flags around internally.
* src/qemu_driver.c: Support for QEMU.
* src/xend_internal.c: Remove redundant fstat call from Xen.