]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/log
people/liuw/libxenctrl-split/libvirt.git
16 years agosrc/openvz_driver.c: Fix segfault in OpenVZ driver
Richard W.M. Jones [Wed, 17 Sep 2008 16:07:03 +0000 (16:07 +0000)]
src/openvz_driver.c: Fix segfault in OpenVZ driver
(Evgeniy Sokolov).

16 years agoFix broken test case data files
Daniel P. Berrange [Wed, 17 Sep 2008 15:39:11 +0000 (15:39 +0000)]
Fix broken test case data files

16 years agosrc/storage_backend_disk.c: Missing include file.
Richard W.M. Jones [Wed, 17 Sep 2008 14:29:47 +0000 (14:29 +0000)]
src/storage_backend_disk.c: Missing include file.

16 years agoRemove some deadcode (Nguyen Anh Quynh).
Richard W.M. Jones [Wed, 17 Sep 2008 14:21:27 +0000 (14:21 +0000)]
Remove some deadcode (Nguyen Anh Quynh).

16 years agoChange name of "blocked" state to "idle" (John Levon).
Richard W.M. Jones [Wed, 17 Sep 2008 14:18:15 +0000 (14:18 +0000)]
Change name of "blocked" state to "idle" (John Levon).

16 years agoinclude/libvirt/libvirt.h.in, src/libvirt.c: Fix comments
Richard W.M. Jones [Wed, 17 Sep 2008 14:15:20 +0000 (14:15 +0000)]
include/libvirt/libvirt.h.in, src/libvirt.c: Fix comments
which incorrectly referred to non-existent 'virDomainFlags'
type (Anton Protopopov).

16 years agosrc/conf.c: Improved error messages in XM conf module.
Richard W.M. Jones [Wed, 17 Sep 2008 14:11:21 +0000 (14:11 +0000)]
src/conf.c: Improved error messages in XM conf module.

16 years agolibvirt.spec.in: Specfile enhancements for minimal
Richard W.M. Jones [Wed, 17 Sep 2008 14:09:13 +0000 (14:09 +0000)]
libvirt.spec.in: Specfile enhancements for minimal
"client only" build (Ben Guthro).

16 years agoconfigure.in, src/qemu_driver.h, src/qemu_driver.c: KVM
Richard W.M. Jones [Wed, 17 Sep 2008 14:07:49 +0000 (14:07 +0000)]
configure.in, src/qemu_driver.h, src/qemu_driver.c: KVM
          can determine max VCPUs at runtime (Guido Günther).

16 years agoImplement disk volume deleting.
Cole Robinson [Tue, 16 Sep 2008 16:46:08 +0000 (16:46 +0000)]
Implement disk volume deleting.

16 years agoFix reading vncdisplay from xend, add several test cases for xen vnc corner case
Cole Robinson [Tue, 9 Sep 2008 13:53:58 +0000 (13:53 +0000)]
Fix reading vncdisplay from xend, add several test cases for xen vnc corner case
s.

16 years agoFix a segfault if defining a qemu domain without an emulator.
Cole Robinson [Tue, 9 Sep 2008 13:44:42 +0000 (13:44 +0000)]
Fix a segfault if defining a qemu domain without an emulator.

16 years ago* configure.in libvirt.spec.in docs/*: preparing release of
Daniel Veillard [Mon, 8 Sep 2008 14:32:18 +0000 (14:32 +0000)]
* configure.in libvirt.spec.in docs/*: preparing release of
  libvirt-0.4.5
* po/*: rebuilt and updated de.po
daniel

16 years agoadd domain name in network configurations suport and on OpenVZ config bugfix
Daniel Veillard [Mon, 8 Sep 2008 12:45:29 +0000 (12:45 +0000)]
add domain name in network configurations suport and on OpenVZ config bugfix
* src/network_conf.c src/network_conf.h src/qemu_driver.c: add
  support for a domain name in network configurations, patch by
  JJ Reynolds with bugfix raised by Dan
* src/openvz_conf.c: fix to small bug in openvzReadConfigParam
  by Evgeniy Sokolov
Daniel

16 years agoFix potential NULL deref in openvz driver
Daniel P. Berrange [Mon, 8 Sep 2008 12:15:33 +0000 (12:15 +0000)]
Fix potential NULL deref in openvz driver

16 years agofinish applying initialization patch for logical storage backend
Daniel Veillard [Mon, 8 Sep 2008 08:03:54 +0000 (08:03 +0000)]
finish applying initialization patch for logical storage backend
* src/storage_backend_logical.c: finish applying initialization
  from Jim Fehlig patch for logical storage backend
Daniel

16 years agoFix trailing whitespace mistakes
Daniel P. Berrange [Fri, 5 Sep 2008 15:00:14 +0000 (15:00 +0000)]
Fix trailing whitespace mistakes

16 years agoConvert openvz driver to generic domain XML APIs
Daniel P. Berrange [Fri, 5 Sep 2008 14:10:58 +0000 (14:10 +0000)]
Convert openvz driver to generic domain XML APIs

16 years agoFully support mingw builds
Daniel P. Berrange [Fri, 5 Sep 2008 12:03:45 +0000 (12:03 +0000)]
Fully support mingw builds

16 years agoFix starting of xen domains without a PVFB console by removing default emulator
Daniel P. Berrange [Fri, 5 Sep 2008 11:52:12 +0000 (11:52 +0000)]
Fix starting of xen domains without a PVFB console by removing default emulator

16 years agoFix xen capabilities data creation
Daniel P. Berrange [Fri, 5 Sep 2008 11:35:43 +0000 (11:35 +0000)]
Fix xen capabilities data creation

16 years ago* src/storage_backend_fs.c: fix a signed/unsigned issue breaking
Daniel Veillard [Thu, 4 Sep 2008 13:34:42 +0000 (13:34 +0000)]
* src/storage_backend_fs.c: fix a signed/unsigned issue breaking
  virStorageBackendProbeFile(), patch by Cole Robinson
Daniel

16 years ago* src/qemu_driver.c: fix an error message, patch by Nguyen Anh Quynh
Daniel Veillard [Thu, 4 Sep 2008 13:20:28 +0000 (13:20 +0000)]
* src/qemu_driver.c: fix an error message, patch by Nguyen Anh Quynh
Daniel

16 years agoFix make check when augparse is missing
Daniel P. Berrange [Thu, 4 Sep 2008 13:17:47 +0000 (13:17 +0000)]
Fix make check when augparse is missing

16 years agofix a miscalculation of command line size for vgcreate
Daniel Veillard [Thu, 4 Sep 2008 13:13:32 +0000 (13:13 +0000)]
fix a miscalculation of command line size for vgcreate
* src/storage_backend_logical.c: fix a miscalculation of command line
  size for vgcreate, patch from Jim Fehlig
Daniel

16 years agoAdd Augeas lens' for libvirtd.conf and qemu.conf
Daniel P. Berrange [Thu, 4 Sep 2008 10:44:23 +0000 (10:44 +0000)]
Add Augeas lens' for libvirtd.conf and qemu.conf

16 years agowhen dumping code don't keep Xen domain live
Daniel Veillard [Thu, 4 Sep 2008 09:11:37 +0000 (09:11 +0000)]
when dumping code don't keep Xen domain live
* src/xend_internal.c: patch from John Levon shutting down a live
  domain is just more hazardous
Daniel

16 years ago* src/xend_internal.c src/xs_internal.c: use poweroff instead of halt
Daniel Veillard [Thu, 4 Sep 2008 09:07:42 +0000 (09:07 +0000)]
* src/xend_internal.c src/xs_internal.c: use poweroff instead of halt
  when shutting down a xen domain, patch by John Levon
Daniel

16 years ago* src/qemu_driver.c: switch flags to unsigned by James Morris
Daniel Veillard [Thu, 4 Sep 2008 08:15:05 +0000 (08:15 +0000)]
* src/qemu_driver.c: switch flags to unsigned by James Morris
* AUTHORS: add James Morris
Daniel

16 years agoAdd LXC version implementation
Dan Smith [Wed, 3 Sep 2008 17:21:27 +0000 (17:21 +0000)]
Add LXC version implementation

This patch adds an implementation of the version function to the LXC driver.
The providers use the hypervisor version in a field of one of the instances,
so we need to have something meaningful here.  AFAICT, the only real option
we have (considering the limitations of the libvirt version information) is
to use the kernel version.

16 years agoFix qemu media connect/eject to work with latest syntax. Add support for ejecting...
Cole Robinson [Wed, 3 Sep 2008 16:05:25 +0000 (16:05 +0000)]
Fix qemu media connect/eject to work with latest syntax. Add support for ejecting floppy devices and scsi cdroms.

16 years agoUpdate domain xml after usb device hotplug.
Cole Robinson [Wed, 3 Sep 2008 15:05:31 +0000 (15:05 +0000)]
Update domain xml after usb device hotplug.

16 years agoScrap media eject output to try and determine success/fail.
Cole Robinson [Wed, 3 Sep 2008 14:43:34 +0000 (14:43 +0000)]
Scrap media eject output to try and determine success/fail.

16 years agoFix disk ordering and add target duplication checking when parsing domain xml.
Cole Robinson [Wed, 3 Sep 2008 14:30:24 +0000 (14:30 +0000)]
Fix disk ordering and add target duplication checking when parsing domain xml.

16 years agoavoid a segfault on CD eject in KVM/QEmu
Daniel Veillard [Wed, 3 Sep 2008 12:52:27 +0000 (12:52 +0000)]
avoid a segfault on CD eject in KVM/QEmu
* src/qemu_driver.c: patch from Cole Robinson to avoid a segfault
  on KVM CD eject
Daniel

16 years agoadd output on attach and detach success
Daniel Veillard [Wed, 3 Sep 2008 12:38:28 +0000 (12:38 +0000)]
add output on attach and detach success
* src/virsh.c: patch from Cole Robinson to add output on attach
  and detach success
daniel

16 years ago* AUTHORS: add Cole Robinson as commiter
Daniel Veillard [Wed, 3 Sep 2008 12:24:50 +0000 (12:24 +0000)]
* AUTHORS: add Cole Robinson as commiter
daniel

16 years ago* src/storage_conf.c: add one missing check in virStoragePoolDefParseDoc
Daniel Veillard [Wed, 3 Sep 2008 07:12:37 +0000 (07:12 +0000)]
* src/storage_conf.c: add one missing check in virStoragePoolDefParseDoc
Daniel

16 years ago* src/domain_conf.c: fix a parsing error for input devices
Daniel Veillard [Tue, 2 Sep 2008 15:33:39 +0000 (15:33 +0000)]
* src/domain_conf.c: fix a parsing error for input devices
  patch by Cole Robinson
daniel

16 years agocheck availbility of emulators before reporting them in capabilities
Daniel Veillard [Tue, 2 Sep 2008 15:00:09 +0000 (15:00 +0000)]
check availbility of emulators before reporting them in capabilities
* src/qemu_conf.c: patch from Cole Robinson to report in the
  capabilities only the ones where the emulators is actually found
* po/libvirt.pot: regenerated
* src/libvirt.c: small typo fix
Daniel

16 years agoAdds storage source element for pools
Daniel Veillard [Tue, 2 Sep 2008 14:15:42 +0000 (14:15 +0000)]
Adds storage source element for pools
* src/storage_backend.h src/storage_backend_logical.c
src/storage_conf.c src/storage_conf.h src/virsh.c:
Applied patches from David Lively to add storage source
elements needed for storage pool
* docs/formatstorage.html docs/formatstorage.html.in: associated
documentation
Daniel

16 years agoqemu_conf.c: use new function, virFileReadLimFD
Jim Meyering [Tue, 2 Sep 2008 10:30:40 +0000 (10:30 +0000)]
qemu_conf.c: use new function, virFileReadLimFD

* src/qemu_conf.c (qemudExtractVersionInfo): Use virFileReadLimFD
and VIR_FREE in place of an open-coded loop and a static buffer.

16 years agoutil.c: add a file-descriptor-based wrapper for fread_file_lim
Jim Meyering [Tue, 2 Sep 2008 10:29:51 +0000 (10:29 +0000)]
util.c: add a file-descriptor-based wrapper for fread_file_lim

* src/util.c (virFileReadLimFP): New function.
(__virFileReadLimFD): New function.
* src/util.h (__virFileReadLimFD): Declare.
(virFileReadLimFD): Define.
(virFileReadAll): Rewrite to use virFileReadLimFP.

16 years agoSwitch over fork/exec code to use virExec
Daniel P. Berrange [Fri, 29 Aug 2008 07:11:15 +0000 (07:11 +0000)]
Switch over fork/exec code to use virExec

16 years agoAllow for private root filessytem in containers using pivot_root
Daniel P. Berrange [Thu, 28 Aug 2008 22:40:50 +0000 (22:40 +0000)]
Allow for private root filessytem in containers using pivot_root

16 years agoFix lookup of xen VM after define (Cole Robinson)
Daniel P. Berrange [Thu, 28 Aug 2008 11:59:07 +0000 (11:59 +0000)]
Fix lookup of xen VM after define (Cole Robinson)

16 years agoimprove parallel build support
Jim Meyering [Thu, 28 Aug 2008 09:08:44 +0000 (09:08 +0000)]
improve parallel build support

* autobuild.sh: Append -j$N to MAKEFLAGS, if no -j option is there.
* libvirt.spec.in: Use %{?_smp_mflags} with "make".
Based on a patch from James Morris:
http://thread.gmane.org/gmane.comp.emulators.libvirt/8201

16 years agoAdd storage pool source discovery support (patch from David Lively)
Daniel P. Berrange [Wed, 27 Aug 2008 20:05:58 +0000 (20:05 +0000)]
Add storage pool source discovery support (patch from David Lively)

16 years agoFix QEMU domain creation by allowing virExec to preserve certain FDs
Daniel P. Berrange [Wed, 27 Aug 2008 11:44:58 +0000 (11:44 +0000)]
Fix QEMU domain creation by allowing virExec to preserve certain FDs

16 years agoFix QEMU domain creation by allowing virExec to preserve certain FDs
Daniel P. Berrange [Wed, 27 Aug 2008 11:42:52 +0000 (11:42 +0000)]
Fix QEMU domain creation by allowing virExec to preserve certain FDs

16 years agoFix EOF handling when reading openvz domain list
Daniel P. Berrange [Wed, 27 Aug 2008 11:21:01 +0000 (11:21 +0000)]
Fix EOF handling when reading openvz domain list

16 years agoRemove use of virState apis from openvz driver
Daniel P. Berrange [Wed, 27 Aug 2008 11:19:45 +0000 (11:19 +0000)]
Remove use of virState apis from openvz driver

16 years ago[LXC] Cleanup devices on container shutdown
Dan Smith [Fri, 22 Aug 2008 15:35:37 +0000 (15:35 +0000)]
[LXC] Cleanup devices on container shutdown

16 years agoUse libvirt error message for python exceptions
Daniel P. Berrange [Fri, 22 Aug 2008 10:50:18 +0000 (10:50 +0000)]
Use libvirt error message for python exceptions

16 years agoconfigure.in: link with -lpthread when necessary
Jim Meyering [Fri, 22 Aug 2008 08:32:58 +0000 (08:32 +0000)]
configure.in: link with -lpthread when necessary

* configure.in: Explicitly add -lpthread to $LIBS.
With an empty "ACTION_IF_FOUND", AC_CHECK_LIB would have done
that for us automatically, but when there is an explicit third
argument, those commands are run instead of the default.
Reported by Jun Koi <junkoi2004@gmail.com>.

16 years agoautobuild.sh: Fix minor shell-quoting bugs.
Jim Meyering [Thu, 21 Aug 2008 19:31:55 +0000 (19:31 +0000)]
autobuild.sh: Fix minor shell-quoting bugs.

* autobuild.sh: Remove unnecessary quotes.
Don't choke on a file name argument containing a space.
Don't misbehave for $AUTOBUILD_INSTALL_ROOT containing
a shell meta-character.

16 years agoForgotten ChangeLog entry
Mark McLoughlin [Thu, 21 Aug 2008 11:51:27 +0000 (11:51 +0000)]
Forgotten ChangeLog entry

16 years agoImprove error reporting from remote driver
Daniel P. Berrange [Thu, 21 Aug 2008 10:14:54 +0000 (10:14 +0000)]
Improve error reporting from remote driver

16 years agoPropagate virConnectOpen errors to global error object
Daniel P. Berrange [Thu, 21 Aug 2008 10:12:32 +0000 (10:12 +0000)]
Propagate virConnectOpen errors to global error object

16 years agoRemove unused lx_controller.h file
Daniel P. Berrange [Thu, 21 Aug 2008 10:07:21 +0000 (10:07 +0000)]
Remove unused lx_controller.h file

16 years agoAdd libvirt_lxc to file list
Daniel P. Berrange [Thu, 21 Aug 2008 09:28:54 +0000 (09:28 +0000)]
Add libvirt_lxc to file list

16 years agoIgnore libvirt_lxc binary
Daniel P. Berrange [Thu, 21 Aug 2008 09:14:39 +0000 (09:14 +0000)]
Ignore libvirt_lxc binary

16 years agoCreate lxc_controller standalone binary
Daniel P. Berrange [Wed, 20 Aug 2008 20:55:32 +0000 (20:55 +0000)]
Create lxc_controller standalone binary

16 years agoDo conditional driver config in Makefile.am, not source files
Daniel P. Berrange [Wed, 20 Aug 2008 20:48:35 +0000 (20:48 +0000)]
Do conditional driver config in Makefile.am, not source files

16 years agoRemove configFile/autostartLink vars from virDomainObj struct
Daniel P. Berrange [Wed, 20 Aug 2008 19:42:36 +0000 (19:42 +0000)]
Remove configFile/autostartLink vars from virDomainObj struct

16 years agoadd cpu management functionality to OpenVZ driver
Daniel Veillard [Wed, 20 Aug 2008 13:44:03 +0000 (13:44 +0000)]
add cpu management functionality to OpenVZ driver
* src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
  to limit the number of CPUs used by OpenVZ domains.
Daniel

16 years agoFix creating and cleaning up logical volumes if a target path is specified
Daniel Veillard [Wed, 20 Aug 2008 13:33:01 +0000 (13:33 +0000)]
Fix creating and cleaning up logical volumes if a target path is specified
* src/storage_backend_logical.c: Patch from Cole Robinson, fix
  creating and cleaning up logical volumes if a target path is
  specified.
Daniel

16 years agoFix size reporting for disks without partitions.
Daniel Veillard [Wed, 20 Aug 2008 13:20:01 +0000 (13:20 +0000)]
Fix size reporting for disks without partitions.
* src/parthelper.c: Patch from Cole Robinson, fix size reporting for
  disks without partitions.
Daniel

16 years agoHandle HTML generation in the absence of XHTML1 DTDs
Daniel Veillard [Wed, 20 Aug 2008 13:16:29 +0000 (13:16 +0000)]
Handle HTML generation in the absence of XHTML1 DTDs
* configure.in libvirt.spec.in docs/Makefile.am: fix the problem
  of HTML generation in the absence of XHTML1 DTDs in the system
  catalog.
Daniel

16 years ago* src/network_conf.c src/network_conf.h src/qemu_driver.c: allow to
Daniel Veillard [Wed, 20 Aug 2008 12:50:29 +0000 (12:50 +0000)]
* src/network_conf.c src/network_conf.h src/qemu_driver.c: allow to
  add static host definition for dnsmasq
Daniel

16 years agoAllow non-blocking/daemon mode to be specified via virExec flags
Daniel P. Berrange [Wed, 20 Aug 2008 09:24:14 +0000 (09:24 +0000)]
Allow non-blocking/daemon mode to be specified via virExec flags

16 years agoAllow a pre-opened FD to be be pass to virExec for stdout/err
Daniel P. Berrange [Wed, 20 Aug 2008 09:08:17 +0000 (09:08 +0000)]
Allow a pre-opened FD to be be pass to virExec for stdout/err

16 years agoAvoid signal race in virExec
Daniel P. Berrange [Wed, 20 Aug 2008 08:53:49 +0000 (08:53 +0000)]
Avoid signal race in virExec

16 years agoImprove virExec error reporting
Daniel P. Berrange [Wed, 20 Aug 2008 08:30:04 +0000 (08:30 +0000)]
Improve virExec error reporting

16 years agoRemove duplicated call to virInitialize
Daniel P. Berrange [Mon, 18 Aug 2008 09:24:46 +0000 (09:24 +0000)]
Remove duplicated call to virInitialize

16 years agoFri Aug 15 11:00:38 IST 2008 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Fri, 15 Aug 2008 10:02:33 +0000 (10:02 +0000)]
Fri Aug 15 11:00:38 IST 2008 Mark McLoughlin <markmc@redhat.com>

        * src/qemu_conf.c: fix serial/telnet to use "server" option
        rather than "listen"

        * tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.args:
        fix the test case too

16 years agofix typos src/virsh.c from John Levon,
Atsushi SAKAI [Fri, 15 Aug 2008 01:41:49 +0000 (01:41 +0000)]
fix typos src/virsh.c from John Levon,
  and 3 more files(src/domain_conf.c src/openvz_driver.c src/qemu_driver.c)

16 years agoUpdate LXC driver in POTFILES.in
Daniel P. Berrange [Thu, 14 Aug 2008 09:07:18 +0000 (09:07 +0000)]
Update LXC driver in POTFILES.in

16 years agoSwitch LXC driver over to generic domain XML processing APIs
Daniel P. Berrange [Wed, 13 Aug 2008 12:50:55 +0000 (12:50 +0000)]
Switch LXC driver over to generic domain XML processing APIs

16 years agoMake LXC I/O controller process a parent of the container process
Daniel P. Berrange [Wed, 13 Aug 2008 10:52:15 +0000 (10:52 +0000)]
Make LXC I/O controller process a parent of the container process

16 years agoRe-arrange code between LXC driver files
Daniel P. Berrange [Wed, 13 Aug 2008 10:25:34 +0000 (10:25 +0000)]
Re-arrange code between LXC driver files

16 years agoRefactor LXC driver to pass tty/socket state directly
Daniel P. Berrange [Wed, 13 Aug 2008 10:14:47 +0000 (10:14 +0000)]
Refactor LXC driver to pass tty/socket state directly

16 years ago* docs/storage.html[.in] src/storage_backend_disk.c: revert previous
Daniel Veillard [Wed, 13 Aug 2008 09:45:10 +0000 (09:45 +0000)]
* docs/storage.html[.in] src/storage_backend_disk.c: revert previous
  msdos patch and apply new one from Cole Robinson
daniel

16 years agorewrite virFileLinkPointsTo
Jim Meyering [Tue, 12 Aug 2008 17:38:08 +0000 (17:38 +0000)]
rewrite virFileLinkPointsTo

* src/util.c (SAME_INODE): Define.
(virFileLinkPointsTo): Rewrite to be more portable and more efficient.

16 years agomake sure parted doesn't ask for confirmation
Daniel Veillard [Tue, 12 Aug 2008 11:29:49 +0000 (11:29 +0000)]
make sure parted doesn't ask for confirmation
* src/storage_backend_disk.c: make sure parted doesn't ask
  confirmation,  patch by Cole Robinson
Daniel

16 years agorename the disk type from 'dos' to 'msdos'
Daniel Veillard [Tue, 12 Aug 2008 11:26:00 +0000 (11:26 +0000)]
rename the disk type from 'dos' to 'msdos'
* docs/storage.html[.in] src/storage_backend_disk.c: patch from
  Cole Robinson to rename the disk type from 'dos' to 'msdos'
Daniel

16 years agoadd _fd to stdin, stderr stdout in struct virDomainObj for compilation on MinGW
Atsushi SAKAI [Tue, 12 Aug 2008 08:38:22 +0000 (08:38 +0000)]
add _fd to stdin, stderr stdout in struct virDomainObj for compilation on MinGW

16 years agofix compilation for MinGW
Atsushi SAKAI [Tue, 12 Aug 2008 08:25:48 +0000 (08:25 +0000)]
fix compilation for MinGW

16 years agoFix connection lookup in python storage instances
Daniel Veillard [Tue, 12 Aug 2008 08:11:09 +0000 (08:11 +0000)]
Fix connection lookup in python storage instances
* python/generator.py: patch from Cole Robinson trying to fix
  problem of connection lookup when creating storage instances
Daniel

16 years ago* po/*: regeneration of pot file, updates of .po
Daniel Veillard [Tue, 12 Aug 2008 08:05:36 +0000 (08:05 +0000)]
* po/*: regeneration of pot file, updates of .po
Daniel

16 years agodocumentation for USB passthrough
Daniel Veillard [Tue, 12 Aug 2008 07:28:28 +0000 (07:28 +0000)]
documentation for USB passthrough
* docs/formatdomain.html docs/formatdomain.html.in: documentation
  for the USB format option by Guido Günther
daniel

16 years agotests: append a newline to expected-output files lacking NL-at-EOF
Jim Meyering [Mon, 11 Aug 2008 12:29:58 +0000 (12:29 +0000)]
tests: append a newline to expected-output files lacking NL-at-EOF

* tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Adjust the
code that creates "actual" output, so that it too produces a
newline-terminated buffer.
* tests/qemuxml2argvdata/*.args: Append a newline to each, via:
for i in $(find|grep '\.args$'); do echo >> $i;done

16 years agoFix const-correctness of virRUn and virExec
Daniel P. Berrange [Fri, 8 Aug 2008 15:43:38 +0000 (15:43 +0000)]
Fix const-correctness of virRUn and virExec

16 years agollow to add a disk as an USB device (QEmu/KVM)
Daniel Veillard [Fri, 8 Aug 2008 15:03:00 +0000 (15:03 +0000)]
llow to add a disk as an USB device (QEmu/KVM)
* src/domain_conf.c src/domain_conf.h src/qemu_conf.c
  src/qemu_driver.c: patch from Guido Günther allowing to add
  disk as USB devices
* docs/libvirt.rng: extend the schemas for the new value
* tests/qemuxml2argvdata/qemuxml2argv-disk-usb.args
  tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
  tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c: add a specific
  test to the regression suite
Daniel

16 years agoExtend parser and add support for USB devices in QEmu/KVM
Daniel Veillard [Fri, 8 Aug 2008 14:27:05 +0000 (14:27 +0000)]
Extend parser and add support for USB devices in QEmu/KVM
* src/domain_conf.c src/domain_conf.h src/qemu_conf.c
  src/qemu_driver.c: Patch from Guido Günther allowing to pass
  usb devices to qemu/kvm
* docs/libvirt.rng: add the new functionality to the grammar
* tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.args
  tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
  tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.args
  tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml
  tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c: adding examples
  to the regression tests
* libvirt.spec.in: fix the licence tag
Daniel

16 years agofix typos in docs
Atsushi SAKAI [Fri, 8 Aug 2008 10:24:14 +0000 (10:24 +0000)]
fix typos in docs
docs/formatdomain.html docs/formatdomain.html.in docs/java.html docs/java.html.in

16 years ago* tests/domainschematest: patch from Guido Günther to fix RNG checking
Daniel Veillard [Thu, 7 Aug 2008 17:52:16 +0000 (17:52 +0000)]
* tests/domainschematest: patch from Guido Günther to fix RNG checking
  in out of tree builds.
daniel

16 years agoFix device name clash in src/veth.c
Dan Smith [Thu, 7 Aug 2008 13:34:17 +0000 (13:34 +0000)]
Fix device name clash in src/veth.c

16 years agoadd the mkstemp module from gnulib
Jim Meyering [Thu, 7 Aug 2008 13:02:45 +0000 (13:02 +0000)]
add the mkstemp module from gnulib

* bootstrap (modules): Add mkstemp.
The remainder of these changes are the result of running
./bootstrap, adding new files, and committing the result.
* gnulib/lib/gettimeofday.c: New file.
* gnulib/lib/mkstemp.c: New file.
* gnulib/lib/tempname.c: New file.
* gnulib/lib/tempname.h: New file.
* gnulib/m4/gettimeofday.m4: New file.
* gnulib/m4/mkstemp.m4: New file.
* gnulib/m4/tempname.m4: New file.
* gnulib/tests/test-gettimeofday.c: New file.
* gnulib/lib/Makefile.am: Update.
* gnulib/m4/gnulib-cache.m4: Likewise.
* gnulib/m4/gnulib-comp.m4: Likewise.
* gnulib/m4/inet_pton.m4: Likewise.
* gnulib/tests/Makefile.am: Likewise.

16 years ago* src/bridge.c: fix a build failure on RHEL4
Daniel Veillard [Thu, 7 Aug 2008 10:22:52 +0000 (10:22 +0000)]
* src/bridge.c: fix a build failure on RHEL4
Daniel