John Levon
c7095a4b4c
Improve xend_get error message
2009-01-15 15:17:53 +00:00
John Levon
443698d2b2
implement capabilities parsing for Solaris
2009-01-15 01:35:17 +00:00
John Levon
406c05f2e7
Fix xs_unwatch() to correctly pass the token
2009-01-15 01:23:32 +00:00
John Levon
c8070bf632
Fix activeDomainList handling
2009-01-15 01:21:36 +00:00
John Levon
65316d7940
Fix ref-counting for Xen driver event registration
2009-01-15 01:18:37 +00:00
John Levon
d6511cf6de
Fix devhelp build dependencies
2009-01-14 17:36:05 +00:00
John Levon
9e58678a98
Let devhelp build in a separate objdir.
2009-01-14 17:30:39 +00:00
John Levon
231dde6dc4
remove references to non-existent files in docs/
2009-01-14 17:24:18 +00:00
John Levon
5b6c39f51f
Mark Xen PV CD-ROM devices as such
2009-01-14 16:21:12 +00:00
John Levon
d052118dae
Improve compiler flag checking
2009-01-14 15:23:26 +00:00
Jim Meyering
37abbb387e
qemud.c: fix error in yesterday's change: s/X_OK/R_OK/
...
* qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by
Daniel Berrange.
2009-01-13 12:22:24 +00:00
Jim Meyering
17bfd657b7
* HACKING: Clarify "bool" vs. XDR/wire-format.
2009-01-13 10:45:41 +00:00
Daniel Veillard
890915054f
fix the QEmu links
...
* docs/index.html docs/index.html.in docs/relatedlinks.html
docs/relatedlinks.html.in: fix the QEmu links
daniel
2009-01-12 21:09:09 +00:00
Richard W.M. Jones
e0a2770f67
Fix invocation of rpcgen.
...
* qemud/Makefile.am: Fix invocation of rpcgen, and make sure
we run the right one.
2009-01-12 19:19:22 +00:00
Jim Meyering
fe54138020
tests: quiet virsh-all
...
* tests/virsh-all: For now, ignore diagnostics and exit status,
when running all virsh commands.
2009-01-12 18:23:10 +00:00
Jim Meyering
6954d44e53
diagnose "libvirtd --config=no-such-file"
...
* qemud/qemud.c (remoteReadConfigFile): Don't return 0 (success)
when the config file is unreadable or nonexistent
Return -1, not 0, upon virConfReadFile failure.
(main): If remote_config_file is not specified via --config(-f),
use the default config file only if it exists. Otherwise,
use /dev/null.
* src/conf.c (virConfReadFile): Don't diagnose virFileReadAll
failure, since it already does that.
2009-01-12 18:22:32 +00:00
Jim Meyering
1c947488f6
fix non-srcdir build failure
...
* qemud/Makefile.am (check-local): Prefix use of test_libvirtd.aug
with $(srcdir)/. Add quotes around $(AUGPARSE), in case it expands
to something unusual.
2009-01-12 18:21:49 +00:00
Daniel Veillard
c8ef64bdd7
Add tests and docs for the new PCI passthrough format
...
* docs/formatdomain.html.in docs/libvirt.rng docs/formatdomain.html:
document the new PCI passthrough format
* tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.args
tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml:
and add a regression test for it.
Daniel
2009-01-12 15:09:19 +00:00
Guido Günther
8af87ea251
don't emulate snprintf
2009-01-11 11:21:29 +00:00
Guido Günther
4275be68fb
split out opening of the qemu logfile
2009-01-11 11:18:31 +00:00
John Levon
261c3a8fd0
src/logging.h: fix non-debug compile
2009-01-09 19:22:02 +00:00
John Levon
12b6851d54
Fixups after gnulib refresh
2009-01-08 20:42:01 +00:00
Guido Günther
d6bd288da2
add missing flags argument
2009-01-08 19:52:15 +00:00
Guido Günther
46971d5ed7
pass flags argument to all virDomain*DefParse* functions
2009-01-08 13:54:20 +00:00
Jim Meyering
88053456f8
poll: don't return uninitialized
...
* gnulib/lib/poll.c (poll) [WIN32_NATIVE]: Initialize "rc".
[sync from gnulib also adjusts cpp indentation to reflect nesting.]
2009-01-08 08:55:20 +00:00
Jim Meyering
7386d78e6d
add more files pulled in via yesterday's gnulib upgrade
...
* gnulib/m4/multiarch.m4: New file.
* gnulib/m4/hostent.m4: New file.
* gnulib/m4/servent.m4: New file.
* .x-sc_prohibit_gethostby: Exempt all gnulib/m4/* files, so
hostent.m4's uses of gethostbyname and gethostbyaddr do not
trigger a "make syntax-check" failure.
2009-01-07 17:11:02 +00:00
Jim Meyering
55d0a68596
bootstrap: pull in gnulib's ioctl module
...
* bootstrap: Invoke gnulib-tool with its --no-vc-files
option, since we version-control the files it imports.
This tells it not to mark imported files as cvs-ignored.
(modules): Add ioctl.
* gnulib/lib/ioctl.c: New file.
* gnulib/lib/sys_ioctl.in.h: New file.
* gnulib/tests/sys_ioctl.in.h: Removed.
* gnulib/tests/ioctl.c: Removed.
* gnulib/lib/Makefile.am: Update.
* gnulib/m4/gnulib-cache.m4: Likewise.
* gnulib/m4/gnulib-comp.m4: Likewise.
* gnulib/tests/Makefile.am: Likewise.
* gnulib/lib/.cvsignore: Ignore sys_ioctl.h.
* gnulib/lib/.gitignore: Regenerate.
2009-01-07 17:10:00 +00:00
Jim Meyering
bd4edfeedd
ignore generated libvirtd.logrotate.
...
* qemud/.cvsignore: Add libvirtd.logrotate.
* qemud/.gitignore: Regenerate.
2009-01-07 17:09:06 +00:00
Daniel Veillard
c7cbbfa43b
* src/domain_conf.c src/qemu_conf.c: implement PCI passthrough
...
for recent KVM versions in a similar way to USB, patch by
Jason Krieg. Some cleanups and reformating too.
daniel
2009-01-07 12:56:13 +00:00
Daniel Veillard
d6eceb568f
* src/openvz_driver.c: fix the mac addresses generation for OpenVZ veth
...
devices, patch by Evgeniy Sokolov
* docs/apps.html: regenerated fixing a typo
Daniel
2009-01-07 10:55:54 +00:00
Daniel Veillard
fbba4423e9
* src/libvirt_private.syms src/qemu_driver.c src/test.c
...
src/uml_driver.c src/util.c src/util.h src/xen_unified.c:
unify hostname lookup using virGetHostname convenience function,
patch by David Lutterkort
daniel
2009-01-07 10:43:16 +00:00
Jim Meyering
6c996bfc8f
update from gnulib; use its time_r module for localtime_r on mingw
...
* bootstrap (modules): Add time_r.
* gnulib/m4/time_h.m4: New file.
* gnulib/m4/time_r.m4: New file.
* gnulib/lib/time_r.c: New file.
* gnulib/tests/test-time.c: New file.
* gnulib/lib/time.in.h: New file.
* gnulib/lib/Makefile.am: Update.
* gnulib/lib/fseeko.c: Likewise.
* gnulib/lib/lstat.c: Likewise.
* gnulib/lib/netdb.in.h: Likewise.
* gnulib/lib/stdint.in.h: Likewise.
* gnulib/lib/stdlib.in.h: Likewise.
* gnulib/lib/sys_select.in.h: Likewise.
* gnulib/lib/sys_stat.in.h: Likewise.
* gnulib/lib/sys_time.in.h: Likewise.
* gnulib/lib/unistd.in.h: Likewise.
* gnulib/lib/wchar.in.h: Likewise.
* gnulib/m4/codeset.m4: Likewise.
* gnulib/m4/errno_h.m4: Likewise.
* gnulib/m4/extensions.m4: Likewise.
* gnulib/m4/getaddrinfo.m4: Likewise.
* gnulib/m4/gettext.m4: Likewise.
* gnulib/m4/glibc2.m4: Likewise.
* gnulib/m4/glibc21.m4: Likewise.
* gnulib/m4/gnulib-cache.m4: Likewise.
* gnulib/m4/gnulib-comp.m4: Likewise.
* gnulib/m4/iconv.m4: Likewise.
* gnulib/m4/include_next.m4: Likewise.
* gnulib/m4/intdiv0.m4: Likewise.
* gnulib/m4/intlmacosx.m4: Likewise.
* gnulib/m4/intmax.m4: Likewise.
* gnulib/m4/inttypes-pri.m4: Likewise.
* gnulib/m4/inttypes_h.m4: Likewise.
* gnulib/m4/lcmessage.m4: Likewise.
* gnulib/m4/lib-link.m4: Likewise.
* gnulib/m4/lstat.m4: Likewise.
* gnulib/m4/netdb_h.m4: Likewise.
* gnulib/m4/nls.m4: Likewise.
* gnulib/m4/po.m4: Likewise.
* gnulib/m4/printf-posix.m4: Likewise.
* gnulib/m4/printf.m4: Likewise.
* gnulib/m4/progtest.m4: Likewise.
* gnulib/m4/size_max.m4: Likewise.
* gnulib/m4/sockets.m4: Likewise.
* gnulib/m4/stdint.m4: Likewise.
* gnulib/m4/stdint_h.m4: Likewise.
* gnulib/m4/sys_ioctl_h.m4: Likewise.
* gnulib/m4/threadlib.m4: Likewise.
* gnulib/m4/uintmax_t.m4: Likewise.
* gnulib/m4/visibility.m4: Likewise.
* gnulib/m4/wchar.m4: Likewise.
* gnulib/m4/wchar_t.m4: Likewise.
* gnulib/m4/wint_t.m4: Likewise.
* gnulib/m4/xsize.m4: Likewise.
* gnulib/tests/Makefile.am: Likewise.
* gnulib/tests/sockets.h: Likewise.
* gnulib/tests/.cvsignore: Likewise.
* gnulib/tests/.gitignore: Likewise.
* tests/.gitignore: Likewise.
* docs/examples/.gitignore: Likewise.
* gnulib/lib/.cvsignore: Likewise.
* gnulib/lib/.gitignore: Likewise.
remove files associated with obsolete strpbrk module
* gnulib/lib/strpbrk.c: Remove file.
* gnulib/m4/strpbrk.m4: Remove file.
2009-01-06 20:12:50 +00:00
Daniel P. Berrange
37e72aa542
Fix misc mingw portability problems
2009-01-06 18:32:03 +00:00
Guido Günther
83467de3ed
add virKillProcess
2009-01-06 17:46:46 +00:00
Guido Günther
ffafc252dd
trivial cleanups
2009-01-06 17:20:27 +00:00
Guido Günther
4015331b73
ignore generated TAGS files
2009-01-06 17:14:18 +00:00
Daniel Veillard
bc79ee38bb
* AUTHORS: John Levon is now a commiter
...
Daniel
2009-01-06 16:18:59 +00:00
Jim Meyering
2ad1ca3f6c
fix "make dist" (from scratch) failure
...
* src/Makefile.am (EXTRA_DIST): Don't distribute libvirt_sym.version,
now that it's been removed. Spotted by Daniel Veillard.
2009-01-06 15:22:57 +00:00
Jim Meyering
950c8b3916
dist: distribute all libvirt_*.syms files, ...
...
* src/Makefile.am (EXTRA_DIST): Distribute all libvirt_*.syms files,
not just those that happen to be selected at configure time.
2009-01-06 15:16:43 +00:00
Jim Meyering
06522492f9
avoid syntax-check (po-check) failure due to FP match on gettext.m4
...
* Makefile.maint (po-check): Exclude .m4 files.
2009-01-06 09:48:30 +00:00
Daniel Veillard
2a37fb80eb
* qemud/remote.c: fix compilation without SASL, patch by John Levon
...
daniel
2009-01-06 09:44:34 +00:00
Daniel Veillard
c193699d34
* po/*: updated polish and brazilian translations, regenerated
...
Daniel
2009-01-06 08:48:48 +00:00
Daniel Veillard
0dbcac6598
* src/storage_backend_fs.c: Make mntent.h specific to the FS storage
...
backend, patch by John Levon
daniel
2009-01-06 08:43:44 +00:00
Jim Meyering
34ac4c1fe7
Remove storage backend symbols from version script
...
* src/libvirt_private.syms: Remove virStorageBackend* symbol names.
They're linked into qemud, not libvirt.
Author: John Levon
2009-01-05 14:10:40 +00:00
Jim Meyering
b0119de82f
migrate linux-specific symbol names into their own sym file
...
* configure.in (WITH_LINUX): New automake conditional.
* src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
* src/libvirt_private.syms: Move two symbol names into...
* src/libvirt_linux.syms: ...this new file.
Author: John Levon
2009-01-05 14:08:26 +00:00
Jim Meyering
83dfc25c02
Move bridge symbols into a separate syms file
...
* configure.in: Provide a new --with-bridge option.
* src/Makefile.am (PRIVSYMFILES) [WITH_BRIDGE]: Append libvirt_bridge.syms.
* src/bridge.c: Test WITH_BRIDGE rather than particular drivers.
* src/libvirt_private.syms: Move bridge-related symbols into...
* src/libvirt_bridge.syms: ...this new file.
Author: John Levon
2009-01-05 14:07:31 +00:00
Jim Meyering
ea5775bf8e
Move --with-driver-modules symbols into a separate sym file
...
* src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms.
* src/libvirt_private.syms: Move virDriverLoadModule into...
* src/libvirt_driver_modules.syms: ... this new file.
Author: John Levon
2009-01-05 14:06:41 +00:00
Jim Meyering
ad17ffa034
split version script into multiple files
...
* src/Makefile.am (PRIVSYMFILES): Define.
(EXTRA_DIST): Append $(PRIVSYMFILES).
(libvirt.syms): New rule.
Reflect renaming: s/libvirt_sym.version/libvirt.syms/.
(BUILT_SOURCES): Depend on libvirt.syms.
* configure.in: Define ENABLE_DEBUG as an automake conditional.
(AC_OUTPUT): Remove src/libvirt_sym.version.
* src/.cvsignore: s/libvirt_sym.version/libvirt.syms/.
* src/.gitignore: Regenerate.
* src/libvirt_public.syms: Renamed from src/libvirt_sym.version.in.
* src/libvirt_debug.syms: New file.
* src/libvirt_private.syms: New file.
Author: John Levon
2009-01-05 14:05:29 +00:00
Jim Meyering
7924fec593
avoid xgettext warning aboug bug-reporting address
...
* po/Makevars (MSGID_BUGS_ADDRESS): Set, to avoid xgettext warning.
* po/libvirt.pot: Set bug-reporting address.
2009-01-05 13:28:33 +00:00
Jim Meyering
8f06d6b103
avoid bogus descriptions due to use of gettext with the empty string
...
* src/virsh.c: Use `""', not `gettext_noop("")', in numerous
vshCmdInfo definitions. The latter provokes a warning from gettext.
2009-01-05 13:27:43 +00:00