Daniel P. Berrange
1eeceaa649
Support domain lifecycle events for Xen (Ben Guthro & Daniel Berrange)
2008-11-25 10:44:52 +00:00
Daniel P. Berrange
b2dbfefcf3
Avoid symbol clash with win32 headers and node device APIs
2008-11-25 10:37:02 +00:00
Jim Meyering
9a7c05d995
* src/virterror.c (virReportErrorHelper): Sync doc to code.
2008-11-25 10:32:27 +00:00
Jim Meyering
335de2ba1f
libvirt.c: document the virState* functions
...
* src/libvirt.c (virStateActive, virStateCleanup, virStateReload):
(virStateActive): Add per-function comments.
2008-11-25 10:31:52 +00:00
Daniel P. Berrange
1ad44362e3
Set default vCPUs to match pCPUs for OpenVZ containers (Evgeniy Sokolov )
2008-11-24 19:34:21 +00:00
Daniel P. Berrange
c673689430
Fix python bindings events code (David Lively)
2008-11-24 19:28:12 +00:00
Daniel P. Berrange
cfb0dca6ec
Fix test suite build when Xen driver is disabled
2008-11-24 19:23:39 +00:00
Daniel P. Berrange
6f5600c803
Disable UML build on mingw32
2008-11-24 16:50:18 +00:00
Guido Günther
4b4a6d9d56
* src/Makefile.am: look for libvirt_sym.version in builddir
2008-11-24 15:07:45 +00:00
Jim Meyering
62bcd5d32b
tests: new test: virsh-synopsis
...
* tests/virsh-synopsis: new file
* tests/Makefile.am (test_scripts): Add virsh-synopsis.
* src/virsh.c: Correct help SYNOPSIS for each of seven commands.
When I first ran this script, "make check" failed like this:
...
invalid help SYNOPSIS for net-create:
create a network from an XML <file>
invalid help SYNOPSIS for net-define:
define a network from an XML <file>
invalid help SYNOPSIS for net-start:
start <network>
invalid help SYNOPSIS for pool-create:
create a pool from an XML <file>
invalid help SYNOPSIS for pool-define:
define a pool from an XML <file>
invalid help SYNOPSIS for pool-start:
start <pool>
invalid help SYNOPSIS for vol-create:
create <file>
FAIL: virsh-synopsis
2008-11-24 07:13:29 +00:00
Jim Meyering
8275cc5eb0
tests: virsh-all: new script
...
* tests/virsh-all: New script.
* tests/Makefile.am (test_scripts): Add virsh-all.
2008-11-24 07:12:41 +00:00
Jim Meyering
5b5393f27a
Move the expected output data from virshdata/*.txt into virshtest.c.
...
* tests/virshtest.c: Embed literal, expected output here, rather than
using virshdata/*.txt file names.
Factor out some common constructs.
(testCompareOutputLit): New function.
(testCompareOutput): #ifdef-out, not that it's unused.
* tests/Makefile.am (SUBDIRS): Remove virshdata/ and all files in it.
* docs/testnode.xml: Fix typo in a comment.
* configure.in (AC_OUTPUT): Remove tests/virshdata/Makefile.
2008-11-24 07:11:26 +00:00
Jim Meyering
4733f0a781
* gnulib/tests/test-EOVERFLOW: Remove.
...
* gnulib/tests/.cvsignore: Add test-EOVERFLOW, then...
Run "make sync-vcs-ignore-files" to Update .gitignore files.
2008-11-24 07:09:36 +00:00
Daniel P. Berrange
45b3259bf6
Re-generate website docs
2008-11-21 12:54:51 +00:00
Daniel P. Berrange
61c7ab56fd
Regenerate API docs
2008-11-21 12:51:41 +00:00
Daniel P. Berrange
145bb1e821
Misc tweaks to node device impl
2008-11-21 12:46:39 +00:00
Daniel P. Berrange
83928c2074
Python binding for node device APIs (David Lively)
2008-11-21 12:41:15 +00:00
Daniel P. Berrange
1ee5367c19
Node device support in virsh (David Lively)
2008-11-21 12:39:48 +00:00
Daniel P. Berrange
8325fcf13d
Remote protocol support for node devices (David Lively)
2008-11-21 12:31:04 +00:00
Daniel P. Berrange
620d4be7ae
Node device driver for HAL and DeviceKit (David Lively)
2008-11-21 12:27:11 +00:00
Daniel P. Berrange
149322c530
Internal APIs for handling node device XML configuration (David Lively)
2008-11-21 12:20:45 +00:00
Daniel P. Berrange
0793e73c02
Public API for node device enumeration (David Lively)
2008-11-21 12:19:22 +00:00
Daniel P. Berrange
2c855c1c66
Optional dlopen support for drivers
2008-11-21 12:16:08 +00:00
Daniel P. Berrange
410fb96cbc
Add export of virDomainEventCallbackListRemoveConn method
2008-11-21 11:44:03 +00:00
Daniel P. Berrange
c67700be8a
Fix two memory leaks in domain conf and LXC code
2008-11-21 11:42:51 +00:00
Daniel P. Berrange
660418cff4
Misc fixes to event registration failure cases
2008-11-21 10:22:58 +00:00
Daniel P. Berrange
41f14d6ea5
Fix crash due to failure to unregister event callbacks in QEMU driver (David Lively)
2008-11-21 10:17:22 +00:00
Daniel P. Berrange
f6dacb21d2
Add Xen compiler flags for stats_linux.c build
2008-11-21 10:12:03 +00:00
Daniel P. Berrange
d7605585cd
Allow UML build to be disabled in RPM
2008-11-21 10:09:08 +00:00
Daniel Veillard
4815221333
* po/POTFILES.in src/uml_conf.h src/uml_driver.c: fixes syntax
...
check errors, reported by Ben Guthro
daniel
2008-11-21 10:06:28 +00:00
Daniel P. Berrange
d378791480
Fix crash on NULL uri scheme
2008-11-20 14:33:59 +00:00
Daniel P. Berrange
714bef5b6a
Add an initial User Mode Linux Driver
2008-11-19 16:58:23 +00:00
Daniel P. Berrange
6d04effac7
Add a virFreeCallback to event loop APIs
2008-11-19 16:24:01 +00:00
Daniel P. Berrange
6d41cb87d3
Change public API for virEventAddHandle to allow multiple registrations per FD
2008-11-19 16:19:36 +00:00
Daniel P. Berrange
3d41e86534
Add a virFreeCallback to virDomainEventRegister (from David Lively)
2008-11-19 15:25:24 +00:00
Daniel P. Berrange
8a1553e43a
Fix windows build & build without QEMU driver
2008-11-18 12:46:13 +00:00
Daniel P. Berrange
a5e72f9177
Add QEMU driver events for defined/undefined config files
2008-11-17 16:52:32 +00:00
Daniel P. Berrange
d3d54d2fc9
Add domain events detail information
2008-11-17 16:43:00 +00:00
Daniel P. Berrange
89156f1985
Link QEMU, LXC, network and storage drivers directly into libvirtd
2008-11-17 12:18:18 +00:00
Daniel P. Berrange
618276de19
Push URI probing logic down into individual drivers
2008-11-17 11:44:51 +00:00
Daniel P. Berrange
c08a47b853
Refactor storage backends to avoid dependancy from config parser to implementation
2008-11-17 11:19:33 +00:00
Daniel P. Berrange
25047e7cf8
Use a versioned linker script
2008-11-17 11:03:25 +00:00
Daniel P. Berrange
41ebac421e
Build drivers as libtool convenience libs
2008-11-17 10:43:30 +00:00
Daniel P. Berrange
48e9d7b726
Fix domain events python thread safety & incorrect enum generation
2008-11-17 10:26:09 +00:00
Daniel P. Berrange
4f956c040c
Fix updating of openvz config file params
2008-11-17 09:55:59 +00:00
Cole Robinson
00e8a7a491
Use different separator for lvs command to unbreak parsing for encrypted devs.
2008-11-14 16:10:47 +00:00
Jim Meyering
94359e16d3
avoid format string warnings
...
* src/openvz_driver.c (ADD_ARG_LIT): Add "%s" arg before _(...).
* src/qemu_driver.c (PCI_ATTACH_OK_MSG): Likewise.
* src/util.c (virExec, virRun): Likewise.
2008-11-14 14:19:37 +00:00
Daniel Veillard
df285bdd8d
KVM/QEmu migration support
...
* qemud/remote.c qemud/remote_dispatch_localvars.h
qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
qemud/remote_protocol.c qemud/remote_protocol.h
qemud/remote_protocol.x src/driver.h src/libvirt.c
src/libvirt_internal.h src/libvirt_sym.version src/lxc_driver.c
src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
src/remote_internal.c src/test.c src/virsh.c: large patch to
add migration support for KVM/QEmu, based on the work of Rich Jones
and Chris Lalancette. This introduce a new version of the prepare
and finish steps of the migration, so changes the driver API and
a lot of code.
Daniel
2008-11-14 08:42:47 +00:00
Daniel P. Berrange
bfdac58c36
Add bridged network to openvz driver & add some openvz docs
2008-11-12 16:35:47 +00:00
Daniel P. Berrange
48f32d8033
Revert previous storage patch which broke test driver
2008-11-12 16:28:27 +00:00