Daniel Veillard
4779e0bcb2
build OpenVZ and LXC support by default, fix OpenVZ build
...
* src/openvz_conf.c: fix compilation with new XPath interface
signatures
* configure.in: build OpenVZ and LXC support by default
Daniel
2008-07-29 08:42:56 +00:00
Daniel Veillard
996933bbcd
OpenVZ xml refactoring
...
* src/domain_conf.[ch] src/openvz_conf.[ch] src/openvz_driver.c:
patch from Evgeniy Sokolov doing the OpenVZ xml refactoring,
still needs to be ported to the new XML parsing code but
implements the new format.
Daniel
2008-07-28 14:06:54 +00:00
Daniel Veillard
387e06421f
* src/qemu_driver.c: patch from Guido Günther to make sure create
...
doesn't override an existing domain definition or UUID
Daniel
2008-07-28 12:52:37 +00:00
Daniel P. Berrange
c5ecc66658
Fix misc typos in domain XML handling
2008-07-25 16:25:11 +00:00
Daniel P. Berrange
e8a84817d4
Remove unused c-ctype.h include
2008-07-25 16:19:00 +00:00
Daniel P. Berrange
9351cb0ab0
Fix reporting of errors against virConnect object in XML apis
2008-07-25 14:27:25 +00:00
Daniel P. Berrange
cb29913fb1
Switch XM config file driver to use new domain APIs for XML to config conversion
2008-07-25 14:10:49 +00:00
Daniel P. Berrange
547bd71a4a
Switch XM config file driver to use new domain APIs for XML generation
2008-07-25 13:50:08 +00:00
Daniel P. Berrange
225fb3e93c
Prepare xm_internal driver for new domain XML apis
2008-07-25 13:39:02 +00:00
Daniel P. Berrange
73d021c5c1
Fix test driver inactive domains and domain ID allocation
2008-07-25 13:27:12 +00:00
Daniel P. Berrange
8c6f5a546b
Convert XenD XML->SEXPR conversion to new domain XML APIs
2008-07-25 13:17:27 +00:00
Daniel P. Berrange
31ac8125b8
Convert XenD SEXPR->XML convesion to new domain XML APIs
2008-07-25 10:49:33 +00:00
Daniel P. Berrange
d9383fe158
Remove unused/no-op Xen driver code
2008-07-25 09:51:23 +00:00
Daniel P. Berrange
3de646a51d
Misc bug fixes
2008-07-25 09:31:24 +00:00
Daniel Veillard
c1e6cc1969
* src/qemu_driver.c: some uuid to string conversion were missing
...
patch from Guido Günther
Daniel
2008-07-25 09:01:25 +00:00
Daniel Veillard
6fae611381
wrong open() failure detection
...
* src/qemu_driver.c: Guido Trotter pointed out a wrong open() failure
detection
Daniel
2008-07-25 08:42:05 +00:00
Daniel Veillard
27efc8bd0d
Check for already running QEmu domain on create
...
* src/qemu_driver.c: another patch from Guido Günther checking
for an already running domain on create
Daniel
2008-07-24 07:29:50 +00:00
Daniel Veillard
d3bb1e4367
* src/qemu_driver.c: patch from Guido Günther checking for
...
unsupported migrate command
Daniel
2008-07-24 07:09:45 +00:00
Jim Meyering
2eb8ab2057
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.
2008-07-22 16:12:01 +00:00
Daniel Veillard
fa6177aafe
fix a warning when no proxy is configured in, Daniel
2008-07-22 09:52:31 +00:00
Daniel Veillard
7e73b8b61a
cleaning up integer string parsing
...
* src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
cleaning up integer string parsing.
Daniel
2008-07-21 13:34:19 +00:00
Daniel Veillard
f92e0898d3
Fix compile , Daniel
2008-07-21 12:06:16 +00:00
Daniel Veillard
403a5163c9
* src/xen_unified.c: fix a leak in xenUnifiedOpen
...
Daniel
2008-07-21 09:48:01 +00:00
Daniel Veillard
7b4f67acea
OpenVZ domain cpu time
...
* src/openvz_driver.c: patch from Evgeniy Sokolov to get OpenVZ
domain cpu time consumption.
Daniel
2008-07-21 08:08:25 +00:00
Daniel Veillard
cb3e65e922
* src/openvz_driver.c: patch from Evgeniy Sokolov avoiding domain
...
lookups based on ID as this doesn't work for a stopped domain.
Daniel
2008-07-21 07:31:14 +00:00
Jim Meyering
3ff5480d7b
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.
2008-07-19 07:42:34 +00:00
Jim Meyering
cff27e9f40
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.
2008-07-18 11:02:18 +00:00
Daniel Veillard
dfccabe1e7
fix pool-create for netfs format 'auto'
...
* src/storage_backend_fs.c: patch from Cole Robinson fixing
pool-create for netfs format 'auto'
Daniel
2008-07-17 15:20:28 +00:00
Daniel Veillard
16b8942966
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
2008-07-17 11:49:15 +00:00
Daniel Veillard
edbbb3aa12
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
2008-07-16 20:42:38 +00:00
Daniel Veillard
07601749e8
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
2008-07-16 15:27:00 +00:00
Daniel Veillard
5553b0cd16
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
2008-07-16 14:45:55 +00:00
Daniel P. Berrange
276bffd907
Remove unneccessary include
2008-07-12 13:53:50 +00:00
Daniel P. Berrange
6385fe3ede
Switch QEMU driver over to generic domain APIs
2008-07-11 19:34:11 +00:00
Daniel P. Berrange
774354e3ef
Set initial domain state to SHUTOFF
2008-07-11 19:31:26 +00:00
Daniel P. Berrange
a1b49bcdea
Use full path when loading XML files
2008-07-11 17:59:27 +00:00
Daniel P. Berrange
381fa1fc46
Switch QEMU driver over to generic network APIs
2008-07-11 17:33:45 +00:00
Daniel P. Berrange
d78c0a6800
Convert test driver to new domain XML apis
2008-07-11 16:41:27 +00:00
Daniel P. Berrange
c422fd1240
Convert test driver to new network XML apis
2008-07-11 16:39:08 +00:00
Daniel P. Berrange
d1304583d6
Added generic domain XML APIs
2008-07-11 16:23:36 +00:00
Daniel Veillard
d678a6e88c
fix OpenVZ probe function
...
* src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function
Daniel
2008-07-11 11:09:44 +00:00
Daniel P. Berrange
747fad6654
Generic APIs for network XML configuration
2008-07-11 10:48:34 +00:00
Daniel P. Berrange
69582431a0
Fix booting QEMU off CDROM devices with -drive arg
2008-07-11 09:56:23 +00:00
Daniel P. Berrange
1d86fca433
Fix parsing of QEMU stdout looking for serial device PTY with Xenner
2008-07-11 09:48:51 +00:00
Daniel Veillard
915b86d29b
cleanup OpenVZ config file accesses
...
* src/openvz_conf.c: cleanup OpenVZ config file accesses, patch
from Evgeniy Sokolov
Daniel
2008-07-11 08:56:16 +00:00
Daniel Veillard
fc2076033b
bug in do_open()
...
* src/libvirt.c: Evgeniy Sokolov found a driver open bug
in do_open()
Daniel
2008-07-10 15:29:39 +00:00
Daniel Veillard
5215d88be2
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
2008-07-10 12:21:09 +00:00
Daniel Veillard
47010f352c
* 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
2008-07-10 07:52:14 +00:00
Jim Meyering
a626719f0c
remove trailing blanks
2008-07-09 16:59:28 +00:00
Daniel Veillard
db9bcc9bd4
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
2008-07-09 11:55:27 +00:00