1 Mon Jul 6 14:26:02 CEST 2009 Daniel Veillard <veillard@redhat.com>
3 * docs/downloads.html docs/downloads.html.in: update download
4 informations after switch to git
6 Fri Jul 3 16:21:48 CEST 2009 Daniel Veillard <veillard@redhat.com>
8 * configure.in libvirt.spec.in NEWS docs/* po/*: release of
10 * .gitignore: adding cscope files
12 Fri Jul 3 15:08:24 CEST 2009 Daniel Veillard <veillard@redhat.com>
14 * src/qemu_conf.c: patch from C.J. Adams-Collier adding support
15 for arm emulation if qemu-system-arm is present
17 Thu Jul 3 11:27:14 GMT 2009 Mark McLoughlin <markmc@redhat.com>
19 Patch from Cole Robinson in https://bugzilla.redhat.com/499569
21 * src/security_selinux.c: Skip labelling if no src path
24 Thu Jul 3 11:26:04 GMT 2009 Mark McLoughlin <markmc@redhat.com>
26 Patch from Tim Waugh in https://bugzilla.redhat.com/507555
28 * src/security_selinux.c: Don't unnecessarily try to change a
31 Thu Jul 3 11:24:44 GMT 2009 Mark McLoughlin <markmc@redhat.com>
33 Patch from Dan Berrange in https://bugzilla.redhat.com/493692
35 * src/security_selinux.c: Re-label shared and readonly images
37 Thu Jul 2 15:58:09 CEST 2009 Daniel Veillard <veillard@redhat.com>
39 * docs/schemas/network.rng: fix the network schemas to match
40 new accepted elements, patch by Satoru SATOH
41 * src/network_conf.c: fix network driver to save the domain name
42 in XML if present, patch by Satoru SATOH
43 * AUTHORS: adding Satoru SATOH
45 Wed Jul 1 23:29:33 CEST 2009 Daniel Veillard <veillard@redhat.com>
47 * src/node_device.c: fix an endless loop in node device XML dump,
48 patch by Cole Robinson
50 Wed Jul 1 23:23:19 CEST 2009 Daniel Veillard <veillard@redhat.com>
52 * docs/drvone.html docs/drvone.html.in: small OpenNebula driver
53 doc update by Abel Miguez Rodriguez
55 Wed Jul 1 16:22:38 CEST 2009 Daniel Veillard <veillard@redhat.com>
57 * docs/drvone.html.in docs/drvone.html docs/drivers.html.in
58 docs/hvsupport.html.in docs/sitemap.html.in docs/*: added
59 documentation for OpenNebula driver by Abel Miguez Rodriguez
60 and regenerated the docs
62 Wed Jul 1 15:05:25 CEST 2009 Daniel Veillard <veillard@redhat.com>
64 * src/libvirt.c src/virterror.c: fix some missing comments in public
66 * docs/libvirt-api.xml docs/libvirt-refs.xml
67 docs/devhelp/libvirt-libvirt.html docs/html/libvirt-libvirt.html:
68 regenerated documentation
69 * po/*: updated the polish localization and regenerated
71 Wed Jul 1 13:18:37 CEST 2009 Daniel Veillard <veillard@redhat.com>
73 * docs/logging.html[.in] qemud/libvirtd.conf qemud/qemud.c
74 src/logging.[ch]: cleanup the logging code and docs to remove
75 all references to log level 0, cleanup hardcoded values and add
76 a default VIR_LOG_DEFAULT value, patch by Amy Griffis
78 Wed Jul 1 12:38:28 CEST 2009 Daniel Veillard <veillard@redhat.com>
80 * src/opennebula/one_conf.c src/opennebula/one_driver.c: cleanup
81 and small update for OpenNebula driver by Abel Miguez Rodriguez
83 Wed Jul 1 11:38:15 BST 2009 Daniel P. Berrange <berrange@redhat.com>
85 * src/opennebula/one_client.c, src/opennebula/one_client.h:
86 Remove unused code. Ensure null termination after strncpy
88 Wed Jul 1 10:21:15 CEST 2009 Daniel Veillard <veillard@redhat.com>
90 * src/storage_driver.c: don't destroy a pool when calling create
91 by mistake, patch by Dave Allan.
93 Mon Jun 29 18:01:20 BST 2009 Daniel P. Berrange <berrange@redhat.com>
95 Reduce LXC capabilities
96 * src/lxc_container.c: Use libcap-ng to clear capabilities,
97 and also drop SYS_MODULE, SYS_TIME, AUDIT_CONTROL, and
98 MAC_ADMIN, in addition to SYS_BOOT.
99 * src/lxc_controller.c: Drop all capabilities once container
102 Mon Jun 29 12:48:20 BST 2009 Daniel P. Berrange <berrange@redhat.com>
104 Use libcap-ng to clear capabilities for many child processes
105 * src/Makefile.am: Link to libcap-ng in util code
106 * src/qemu_conf.c: Clear capabilities when running qemu -help
107 * src/qemu_driver.c: Clear capabilities when running VMs
108 * src/remote_internal.c: Clear capabilities for auto-spawned
109 libvirtd session daemon, and SSH tunnel client
110 * src/uml_driver.c: Clear capabilities for UML VMs
111 * src/util.h, src/util.c: Add virExec() flag to allow
112 clearing of capabilities when spawning processes
114 Mon Jun 29 12:28:20 BST 2009 Daniel P. Berrange <berrange@redhat.com>
116 Prepare for using libcap-ng
117 * configure.in: Add check for libcap-ng
118 * libvirt.spec.in: Build with libcap-ng on Fedora >= 12
120 Mon Jun 29 12:01:20 BST 2009 Daniel P. Berrange <berrange@redhat.com>
122 Add HACKING doc to the website
123 * docs/hacking.html.in, docs/sitemaps.html.in: HTML-ized
125 * docs/internals.html, docs/sitemap.html, docs/api_extension.html,
126 docs/news.html: Re-generate for sitemap changes
128 Mon Jun 29 10:51:20 BST 2009 Daniel P. Berrange <berrange@redhat.com>
130 Fix crash in QEMU driver with bad capabilities data
131 * src/capabilities.c, src/capabilities.h: Export a method
132 virCapabilitiesFreeNUMAInfo()
133 * src/qemu_conf.c: Don't kill the whole QEMU driver if
134 populating capabilities with NUMA info fails.
135 * src/qemu_driver.c: Fix missing security model data
136 after capabilities refresh. Avoid leaving driver with
137 NULL capabilities if refresh fails.
139 Fri Jun 26 22:13:16 CEST 2009 Daniel Veillard <veillard@redhat.com>
141 * src/parthelper.c: fix a superfluous % on printf format problem
142 raised by Matthias Bolte
144 Fri Jun 26 22:02:22 CEST 2009 Daniel Veillard <veillard@redhat.com>
146 * src/nodeinfo.c: sometimes libnuma can't handle some topologies,
147 but those failures should not completely break libvirt, patch
148 by Dan Berrange, fixes #506590
150 Fri Jun 26 20:11:38 CEST 2009 Daniel Veillard <veillard@redhat.com>
152 * src/xend_internal.c: avoid a segfault when dumping XML with recent
153 xen versions, patch by Sascha, fixes #503254
155 Fri Jun 26 18:15:08 CEST 2009 Daniel Veillard <veillard@redhat.com>
157 * src/libvirt_private.syms src/parthelper.c src/storage_backend_disk.c
158 src/storage_conf.c src/storage_conf.h: allow to create storage
159 volumes on disk backend, patches by Henrik Persson
160 * AUTHORS: add Henrik Persson
162 Fri Jun 26 17:06:18 CEST 2009 Daniel Veillard <veillard@redhat.com>
164 * src/Makefile.am src/libvirt.c src/libvirt_private.syms src/logging.c
165 src/logging.h src/util.c src/libvirt_debug.syms: big cleanup of
166 the debug configuration option and code by Amy Griffis
168 Fri Jun 26 16:07:54 CEST 2009 Daniel Veillard <veillard@redhat.com>
170 * src/node_device.c src/node_device_hal.h src/node_device_hal_linux.c:
171 fix bogus WWN in NPIV support, patch by David Allan
173 Thu Jun 25 17:12:09 CEST 2009 Daniel Veillard <veillard@redhat.com>
175 * src/storage_conf.c: fix reading of storage pool definitions at startup
176 patch by Cole Robinson
178 Thu Jun 25 16:57:40 CEST 2009 Daniel Veillard <veillard@redhat.com>
180 * src/uml_driver.c: fix UML driver logging macros, patch by Amy
182 * AUTHORS: adding Amy Griffis
184 Thu Jun 25 16:50:54 CEST 2009 Daniel Veillard <veillard@redhat.com>
186 * src/node_device_conf.c: fix a leak, patch by Dave Allan
188 Thu Jun 25 15:46:11 CEST 2009 Daniel Veillard <veillard@redhat.com>
190 * src/qemu_driver.c: fix a domain state problem after
191 migration, patch by Federico Simoncelli, fixes #507537
192 * src/domain_conf.c: fix a transcient domain state problem after
193 destroy, patch by Federico Simoncelli, fixes #507304
194 * AUTHORS: add Federico Simoncelli and Javier Fontan
196 Thu Jun 25 10:32:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
198 Fix broken dominfo command when no security driver is implemented
199 * src/libvirt.c: Clarify semantics of return value for
200 virDomainGetSecurityLabel and virNodeGetSecurityModel
201 * src/remote_internal.c src/qemu_driver.c: memset seclabel
203 * src/virsh.c: Check VIR_ERR_NO_SUPPORT when querying security
204 labels in dominfo command.
206 Wed Jun 24 19:40:43 CEST 2009 Daniel Veillard <veillard@redhat.com>
208 * po/*: update a lot of translations, and regenerate the po* files
210 Wed Jun 24 19:28:16 CEST 2009 Daniel Veillard <veillard@redhat.com>
212 * configure.in libvirt.spec.in src/Makefile.am
213 src/opennebula/one_client.[ch] src/opennebula/one_conf.h
214 src/opennebula/one_driver.[ch] : Finish the integration of OpenNebula,
215 avoid dependancy on OpenNebula libraries, require xmlrpc-c-devel
216 and build it by default, based on patch by Javier Fontan and DanB
219 Wed Jun 24 18:15:56 CEST 2009 Daniel Veillard <veillard@redhat.com>
221 * src/opennebula/one_conf.c src/opennebula/one_driver.c: fix One
222 driver compilation issues, patch by Javier Fontan and remove
223 some tabs in format strings
225 Mon Jun 22 12:40:11 EDT 2009 Cole Robinson <crobinso@redhat.com>
227 * src/libvirt_private.syms src/storage_conf.c src/storage_conf.h
228 src/storage_driver.c src/test.c:
229 Refactor storage XML parsing to be consistent with domain/network conf.
231 Mon Jun 22 12:38:19 EDT 2009 Cole Robinson <crobinso@redhat.com>
233 * src/test.c: Activate virtual networks initialized in custom test driver.
235 Mon Jun 22 12:35:34 EDT 2009 Cole Robinson <crobinso@redhat.com>
237 * src/util.c: Fix segfault if storage pool has no type attribute
240 Mon Jun 22 12:33:37 EDT 2009 Cole Robinson <crobinso@redhat.com>
242 * src/qemu_driver.c: Fix memory reporting for inactive domains
245 Mon Jun 22 12:31:38 EDT 2009 Cole Robinson <crobinso@redhat.com>
247 * src/storage_backend_fs.c src/storage_driver.c:
248 Fix raw storage volume creation for allocation < capacity.
250 Mon Jun 22 11:09:18 EDT 2009 Cole Robinson <crobinso@redhat.com>
252 * src/test.c: Fix domain ID after redefining a running VM
254 Mon Jun 22 12:27:39 CEST 2009 Daniel Veillard <veillard@redhat.com>
256 * src/conf.[ch]: restrict VMX syntax parsing types, patch by Matthias
259 Mon Jun 22 12:14:48 CEST 2009 Daniel Veillard <veillard@redhat.com>
261 * src/storage_driver.c: cleanup when creating a storage pool fails,
262 patch by Henrik Persson
264 Fri Jun 19 14:32:41 CEST 2009 Daniel Veillard <veillard@redhat.com>
266 * qemud/qemud.c src/conf.c src/conf.h src/qemu_conf.c src/xen_unified.c
267 src/xm_internal.c tests/conftest.c tests/xmconfigtest.c: extend
268 the configuration parser for VMX syntax, patch by Matthias Bolte
270 Thu Jun 18 14:56:24 BST 2009 Daniel P. Berrange <berrange@redhat.com>
272 * src/remote_internal.c: Fix socket path for remote SSH
273 tunnels to honour read-only flag
275 Wed Jun 17 10:31:35 CEST 2009 Daniel Veillard <veillard@redhat.com>
277 * src/node_device.[ch] src/storage_backend.[ch]: fixes a
278 module dependency problem, patch by Dave Allan
280 Tue Jun 16 14:30:05 EDT 2009 Cole Robinson <crobinso@redhat.com>
283 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.args
284 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml:
285 Allow USB hostdev product to be 0x0000
287 Tue Jun 16 11:43:17 EDT 2009 Cole Robinson <crobinso@redhat.com>
289 * src/storage_backend_fs.c: Fix FS volume creation with backing stores.
291 Tue Jun 16 11:33:54 EDT 2009 Cole Robinson <crobinso@redhat.com>
293 * src/domain_conf.c src/domain_conf.h src/libvirt_private.syms
294 src/lxc_driver.c src/qemu_conf.c src/qemu_driver.c:
295 Set default emulator in domain_conf.*, rather than the driver.
297 Tue Jun 16 11:18:00 EDT 2009 Cole Robinson <crobinso@redhat.com>
299 * src/capabilities.c src/capabilities.h src/libvirt_private.syms
300 src/lxc_conf.c src/qemu_conf.c: Add virCapabilities*EmulatorRequired.
302 Tue Jun 16 11:16:17 EDT 2009 Cole Robinson <crobinso@redhat.com>
304 * src/qemu_conf.c src/qemu_conf.h tests/qemuhelptest.c
305 tests/qemuxml2argvtest.c: Check that '-drive format=' is supported
307 Tue Jun 16 10:04:32 EDT 2009 Cole Robinson <crobinso@redhat.com>
309 * tests/.cvsignore tests/.hgignore tests/.gitignore:
310 Add qemuhelptest to .*ignore files
312 Tue Jun 16 10:00:50 EDT 2009 Cole Robinson <crobinso@redhat.com>
314 * src/qemu_conf.c: Fix qemu command flags fetching
316 Tue Jun 16 10:30:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
318 * src/xen_internal.c: Add new variant of availheap sysctl
319 for ABI changes in Xen
321 Mon Jun 15 18:15:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
323 Fix build on non-Linux targets
324 * src/nodeinfo.c: s/nodeError/nodeReportError/
326 Mon Jun 15 15:58:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
328 Fix build from tar.gz
329 * src/Makefile.am: Add missing node_device_hal.h to list of
332 Mon Jun 15 12:05:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
334 * src/util.c: Fix bogus initialization in virFindFileInPath
336 Fri Jun 12 14:16:42 BST 2009 Daniel P. Berrange <berrange@redhat.com>
338 Remove use of getuid()==0 for privilege checks
339 * qemud/qemud.c, qemud/qemud.h, src/driver.h, src/libvirt.c,
340 src/libvirt_internal.h, src/lxc_driver.c, src/network_driver.c,
341 src/node_device_devkit.c, src/node_device_hal.c,
342 src/qemu_conf.h, src/qemu_driver.c, src/remote_internal.c,
343 src/storage_driver.c, src/uml_conf.h, src/uml_driver.c,
344 src/xen_internal.c, src/xen_unified.c: Remove all use of
345 getuid()/geteuid() to determine if privileged. Replace with
346 'privileged' flag provided by libvirtd, or direct access
349 Fri Jun 12 13:36:42 BST 2009 Daniel P. Berrange <berrange@redhat.com>
351 Include OS driver name (if any) in device XML
352 * src/node_device.c: Refresh OS driver when generating XML,
353 and include impl for Linux sysfs
354 * src/noe_device_conf.c, src/node_device_conf.h: Add field
355 for OS driver name to config
356 * src/node_device_hal.c: Record sysfs path to be used for
357 driver name fetching later.
359 Fri Jun 12 13:06:42 BST 2009 Daniel P. Berrange <berrange@redhat.com>
361 Improve error reporting for virConnectOpen URIs
362 * src/lxc_driver.c, src/openvz_driver.c, src/qemu_driver.c,
363 src/uml_driver.c, src/xen_unified.c: Always return ACCEPT
364 or ERROR for URIs without hostname set, but with the driver's
365 matching URI scheme. ie never decline a correct URI
366 * src/xend_internal.c: Default port to 8000 if not given
368 * src/remote_internal.c: Accept all URIs not handled by an
370 * src/virterror.c: Improve error message text for
371 VIR_ERR_NO_CONNECT code
373 Fri Jun 12 12:26:42 BST 2009 Daniel P. Berrange <berrange@redhat.com>
375 Fix re-detection of transient VMs after libvirtd restart
376 * src/domain_conf.c, src/domain_conf.h, src/libvirt_private.syms:
377 Extend virDomainLoadAllConfigs to allow for loading of live
378 state info from XML files. Add APIs to format/parse state info
379 from virDomainObjPtr to XML.
380 * src/lxc_driver.c, src/uml_driver.c: Adapt for API change in
381 virDomainLoadAllConfigs.
382 * src/qemu_driver.c, src/qemu_conf.c, src/qemu_conf.h: Remove
383 all code for loading live state files, and use standard APIs
385 * src/security.h, src/security_selinux.c: Add API for reserving
386 an existing in-use MCS context from a running VM detected at
389 Thu Jun 11 17:33:43 CEST 2009 Daniel Veillard <veillard@redhat.com>
391 * qemud/remote.c: fixing a typo pointed out by Runa Bhattacharjee
393 Thu Jun 11 16:22:22 CEST 2009 Daniel Veillard <veillard@redhat.com>
395 * src/node_device_hal.c src/node_device_conf.[ch]: add support
396 for serial number in HAL storage backend, patch by Dave Allan
397 * docs/schemas/nodedev.rng,
398 tests/nodedevschemadata/storage_serial_3600c0ff000d7a2a5d463ff4902000000.xml:
399 update the schemas and add a test case, also by Dave Allan
401 Thu Jun 11 15:18:44 GMT 2009 Mark McLoughlin <markmc@redhat.com>
403 * src/qemu_conf.[ch]: make qemuParseHelpStr() available
406 * tests/qemuhelptest.c, tests/qemuhelpdata/*: add tests
407 for 'qemu -help' parsing.
409 Thu Jun 11 15:17:12 GMT 2009 Mark McLoughlin <markmc@redhat.com>
411 * src/qemu_conf.c: detect newer qemu-kvm versions
413 Thu Jun 11 15:15:02 GMT 2009 Mark McLoughlin <markmc@redhat.com>
415 * src/qemu_conf.c: re-factor qemu version parsing.
417 Thu Jun 11 15:14:37 CEST 2009 Daniel Veillard <veillard@redhat.com>
419 * configure.in src/libvirt_private.syms src/storage_backend_fs.c
420 src/util.c src/util.h: find and use kvm-img, qemu-img or qcow-create
421 dynamically at runtime, patch by Doug Goldstein
422 * AUTHORS: add Doug Goldstein
424 Tue Jun 9 15:21:17 CEST 2009 Daniel Veillard <veillard@redhat.com>
426 * docs/formatdomain.html docs/formatdomain.html.in: typo fix
429 Tue Jun 9 12:39:24 BST 2009 Daniel P. Berrange <berrange@redhat.com>
431 API extension docs (Dave Allen)
432 * docs/internals.html.in, docs/api_extension.html.in,
433 docs/sitemap.html.in: Start new section on libvirt internal
434 development & add doc about public API extensions
435 * docs/api_extension/*patch: Example patch files
436 * docs/*.html: Re-generate for updated sitemap
438 Thu Jun 4 15:54:24 CEST 2009 Daniel Veillard <veillard@redhat.com>
440 * src/xm_internals.c: the memory shrinking on device removal
441 didn't copy the right amount of memory, patch by Daniel Berrange
444 Wed Jun 3 15:32:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
446 * src/vbox/vbox_tmpl.c: Add NUMA memory APIs
448 Wed Jun 3 15:44:55 CEST 2009 Daniel Veillard <veillard@redhat.com>
450 * src/network_driver.c: forbid set Autostart on transcient networks
452 Wed Jun 3 14:30:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
454 * src/vbox/vbox_tmpl.c: Switch to positional struct initializers
455 instead of named initializes, to match preferred style
457 Wed Jun 3 14:29:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
459 * src/lxc_driver.c: Implement capabilities and nodeinfo APIs
461 Wed Jun 3 14:28:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
463 Generic shared impls of all NUMA apis
464 * src/libvirt_private.syms: Add all nodeinfo.c APIs
465 * src/lxc_conf.c, src/openvz_conf, src/qemu_conf.c,
466 src/vbox/vbox_tmpl.c, src/uml_conf.c: Update for
467 changed API names in nodeinfo.h
468 * src/nodeinfo.c, src/nodeinfo.h: Add generic impls of
469 the virNodeGetCellsFreeMemory & virNodeGetFreeMemory APis
470 * src/openvz_driver.c: Use nodeGetInfo() directly in driver
471 * src/qemu_driver.c, src/uml_driver.c: Remove NUMA APis impls
472 in favour of generic impl in nodeinfo.c
474 Wed Jun 3 14:12:47 CEST 2009 Daniel Veillard <veillard@redhat.com>
476 * src/openvz_conf.c src/virsh.c: various typo or english fixups
477 raised by Runa Bhattacharjee
479 Wed Jun 3 12:19:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
481 Fix HAL driver restart thread safety
482 * src/node_device_hal.c: Only clear & recreate device objects,
483 not entire driver struct.
484 * src/node_device.c: Remove overly verbose logging of mutex
487 Wed Jun 3 12:03:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
489 Support networking in UML driver
490 * src/bridge.c: Add new brDeleteTap function. Allow brAddTap
491 to create a persistent tap devices.
492 * src/bridge.h, src/libvirt_bridge.syms: Add brDeleteTap
493 * src/domain_conf.c: Fix missing 'break' in network XML formatter
494 * src/uml_conf.c, src/uml_conf.h, src/uml_driver.c: Add support
495 for bridge, network, mcast and user mode network interfaces
497 Wed Jun 3 11:53:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
499 Misc User Mode Linux startup/shutdown bugs
500 * src/util.c: Make virKillProcess refuse to kill PID==1 too
501 * src/uml_driver.c: Increment retries counter when starting
502 guest. Check for monitor command failure. Use unique source
503 socket per domain for talking to monitor. Use virKillProcess
504 for killing guests. Fix guest cleanup when getting inotify
506 Wed Jun 3 11:32:52 BST 2009 Daniel P. Berrange <berrange@redhat.com>
508 * qemud/qemud.c: Honour LIBVIRT_LOG_FILTERS/OUTPUTS env variables
509 when initializing logging.
511 Tue Jun 2 17:05:52 CEST 2009 Daniel Veillard <veillard@redhat.com>
513 * src/Makefile.am src/node_device.[ch] src/node_device_conf.[ch]
514 src/node_device_hal.[ch] src/node_device_hal_linux.c
515 src/qemu_driver.c src/remote_internal.c src/storage_backend.c
516 src/virsh.c src/xen_unified.c tests/nodedevxml2xmltest.c
517 po/POTFILES.in: implementation for node device create and destroy
518 in NPIV support, patch by David Allan
520 Fri May 29 18:37:17 CEST 2009 Daniel Veillard <veillard@redhat.com>
522 * configure.in libvirt.spec.in NEWS docs/* po/*: release of
524 * src/libvirt.c src/virterror.c: some comments cleanups
526 Fri May 29 15:34:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
528 * qemud/qemud.c: Set free'd variables to NULL to avoid potential
529 double-free() scenario when client unexpectedly closes connection
531 Fri May 29 15:26:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
533 Win32 portability fixes
534 * docs/libvirt-api.xml, docs/libvirt-refs.xml,
535 docs/devhelp/libvirt-libvirt.html, docs/devhelp/libvirt-virterror.html,
536 docs/html/libvirt-libvirt.html, docs/html/libvirt-virterror.html:
537 Regenerate docs from new API docs
538 * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
539 qemud/remote.c, qemud/remote_protocol.c, qemud/remote_protocol.h,
540 qemud/remote_protocol.x, src/datatypes.c, src/datatypes.h,
541 src/driver.h, src/libvirt.c, src/remote_internal.c: Change
542 all variable and field names from 'interface' to 'iface' to
543 avoid clash with Win32 COM object name
544 * tests/testutils.c: Disable regex code if not avaialble
545 * qemud/Makefile.am: Fix BUILT_SOURCES on non-libvirtd builds
547 Fri May 29 16:25:32 CEST 2009 Daniel Veillard <veillard@redhat.com>
549 * src/lxc_container.c: fix a portability issue if PR_CAPBSET_DROP
552 Fri May 29 10:16:13 EDT 2009 Cole Robinson <crobinso@redhat.com>
554 * src/network_driver.c src/network_conf.c src/network_conf.h:
555 Fix regression defining colliding networks at daemon startup.
557 Fri May 29 10:13:55 EDT 2009 Cole Robinson <crobinso@redhat.com>
559 * src/network_driver.c: networkDestroy: Report error if network
562 Fri May 29 10:10:00 EDT 2009 Cole Robinson <crobinso@redhat.com>
564 * src/qemu_driver.c: qemu_driver: Fix another domain startup error
567 Fri May 29 10:01:19 EDT 2009 Cole Robinson <crobinso@redhat.com>
569 * src/qemu_driver.c : qemuDomainLookupByUUID: print correct UUID
570 string on failed lookup.
572 Fri May 29 10:00:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
574 * src/virsh.c : virsh: Use consistent spacing for net-list
576 Fri May 29 15:29:32 CEST 2009 Daniel Veillard <veillard@redhat.com>
578 * src/qemu_conf.c docs/schemas/domain.rng
579 tests/capabilityschemadata/caps-qemu-kvm.xml: PPC Qemu Machine Type
580 changed from g3bw to g3beige some time ago, patch by Thomas Baker
582 Fri May 29 14:26:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
584 Fix regression with network interface parsing
585 * src/domain_conf.c: Add missing 'break' statement in network
588 Fri May 29 14:26:10 CEST 2009 Daniel Veillard <veillard@redhat.com>
590 * docs/schemas/storagevol.rng docs/formatstorage.html[.in]
591 tests/storagevolschemadata/vol-qcow2.xml: fix storage volume
592 inconsistencies in schema and document, patch by Ryota Ozaki
594 Fri May 29 14:07:13 CEST 2009 Daniel Veillard <veillard@redhat.com>
596 * po/*: update of many localizations, regenerate the po
598 Thu May 28 14:20:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
600 Fix misc bugs in ARGV -> XML convertor
601 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Fill
602 in autogenerated MAC adress and UUID when converting ARGV
603 into XML. Avoid crash if net device vlan isn't specified.
604 Cope with quoting of argument values
605 * tests/qemuargv2xmltest.c: Initialize random number generator
606 and pass in capabilities when parsing ARGV
608 Thu May 28 14:13:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
610 Avoid broken networking with new QEMU/KVM >= 86
611 * src/qemu_conf.c: Remove ifname= and script= args to QEMU
612 when passing a TAP device file handle.
614 Thu May 28 14:11:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
616 Fix misc syntax check failures with OpenNebula driver
617 * src/opennebula/one_conf.c, src/opennebula/one_conf.h,
618 src/opennebula/one_driver.c, src/opennebula/one_driver.h: Kill
619 trailing whitespace, automatic re-indent of all code, added
620 missing translation marking
621 * Makefile.maint: Add oneError() as a function with translatable
623 * po/POTFILES.in: Add one_conf.c, one_driver.c
625 Thu May 28 13:27:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
627 * src/logging.c: Include function name & line number in all
630 Thu May 28 12:00:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
632 Fix python domain events example & binding.
633 * examples/domain-events/events-python/event-test.py: Fix
634 broken handling of timers
635 * python/libvir.c: Take reference on virDomainPtr object
636 before wrapping it to avoid double-free.
638 Tue May 26 13:09:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
640 Fix error location logging
641 * src/virterror.c, src/virterror_internal.h: Re-factor error
642 reporting APIs to ensure correct source location info is
643 passed through to eventual virLogMessage call.
645 Tue May 26 11:25:30 BST 2009 Daniel P. Berrange <berrange@redhat.com>
647 * tests/Makefile.am: Add ocaml intermediate files to CLEANFILES
649 Mon May 25 13:52:30 CEST 2009 Daniel Veillard <veillard@redhat.com>
651 * src/opennebula/one_conf.[ch] src/opennebula/one_driver.[ch]:
652 the OpenNebula driver
653 * configure.in include/libvirt/virterror.h qemud/Makefile.am
654 qemud/qemud.c src/Makefile.am src/domain_conf.[ch] src/driver.h
655 src/libvirt.c src/virterror.c: integration of the OpenNebula
656 driver in the libvirt infrastructure
657 * AUTHORS: add Abel Miguez Rodriguez
659 Mon May 25 11:42:15 CEST 2009 Daniel Veillard <veillard@redhat.com>
661 * examples/domain-events/events-c/event-test.c: fixed the example
662 code for event handling, patch by Pritesh Kothari
664 Thu May 21 15:22:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
666 Test case for QEMU driver ARGV -> XML conversion
667 * tests/qemuargv2xmltest.c: Add test case for ARGV -> XML
668 conversion in QEMU driver
669 * tests/qemuxml2argvdata/qemuxml2argv-bootloader.args,
670 tests/qemuxml2argvdata/qemuxml2argv-bootloader.xml: Fix QEMU
671 binary to be xenner, not qemu-kvm
672 * tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.xml: Remove
674 * tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml:
675 Switch to unmanaged PCI device for tests
676 * tests/testutils.c, tests/testutils.h: Add API for stripping
677 lines matching a pattern.
678 * .hgignore, tests/.cvsignore, tests/.gitignore: Ignore new
681 Thu May 21 15:20:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
683 * docs/drvqemu.html[.in], docs/drvxen.html[.in]: Add docs on
684 use of new domain XML conversions
686 Thu May 21 15:16:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
688 * src/qemu_driver.c, src/qemu_conf.c, src/qemu_conf.h: Add new
689 APIs for converting from QEMU argv into domain XML, and use for
690 domain XML conversion APIs.
692 Thu May 21 15:15:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
694 * src/domain_conf.h, src/vbox/vbox_tmp.c: Fix typo s/ES97/AC97/
696 Thu May 21 14:59:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
698 Basic domain XML conversions
699 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Wire up
700 API for conversion from XML to native argv
701 * src/xen_unified.c, src/xen_unified.h: Wire up API for domain
702 XML conversions to & from native
704 Thu May 21 14:48:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
706 Remote protocol support for domain XML conversion APIs
707 * qemud/remote.c: Handlers for new RPC messages
708 * qemud/remote_dispatch_*.h, qemud/remote_protocol.c,
709 qemud/remote_protocol.h: Re-generate for new RPC calls
710 * qemud/remote_protocol.x: Add domain XML conversion APIs
711 * src/remote_internal.c: Client for domain XML conversion
715 Thu May 21 14:32:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
717 Public APIs for domain XML conversions.
718 * docs/devhelp/libvirt-libvirt.html, docs/devhelp/libvirt-virterror.html,
719 docs/html/libvirt-libvirt.html, docs/html/libvirt-virterror.html,
720 docs/libvirt-api.xml, docs/libvirt-refs.xml: Regenerate with new public
722 * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
723 src/driver.h, src/libvirt.c, src/libvirt_public.syms: Add
724 virConnectDomainXMLFromNative and virConnectDomainXMLToNative
725 * src/lxc_driver.c, src/openvz_driver.c, src/qemu_driver.c,
726 src/remote_internal.c, src/test.c, src/uml_driver.c,
727 src/xen_unified.c: Stub out new API entry points
728 * src/virsh.c: Add domxml-to-native and domxml-from-native commands
730 Thu May 21 11:52:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
732 * python/generator.py, python/libvirt_wrap.h, python/types.c: Add
733 rules for generating virInterface APIs in python
735 Thu May 21 10:01:43 CEST 2009 Daniel Veillard <veillard@redhat.com>
737 * docs/formatstorage.html[.in]: fix a error in format type example
738 pointed out by Ryota Ozaki
740 Wed May 20 16:23:10 CEST 2009 Daniel Veillard <veillard@redhat.com>
742 * configure.in include/libvirt/libvirt.h[.in]
743 include/libvirt/virterror.h qemud/remote.c
744 qemud/remote_dispatch_args.h qemud/remote_dispatch_prototypes.h
745 qemud/remote_dispatch_ret.h qemud/remote_dispatch_table.h
746 qemud/remote_protocol.[chx] src/Makefile.am src/datatypes.c
747 src/datatypes.h src/driver.h src/libvirt.c src/remote_internal.c
748 src/virterror.c src/libvirt_private.syms src/libvirt_public.syms:
749 Add the Interface config APIs and remote stubs for those, patch
753 Wed May 20 15:35:35 CEST 2009 Daniel Veillard <veillard@redhat.com>
755 * qemud/qemud.c src/console.c src/network_driver.c
756 src/node_device_conf.c src/node_device_hal.c src/storage_conf.c
757 src/util.c: cleanup of some direct stderr logging
759 Wed May 20 15:33:27 CEST 2009 Daniel Veillard <veillard@redhat.com>
761 * src/pci.c: small portability patch
763 Wed May 20 09:10:28 CEST 2009 Daniel Veillard <veillard@redhat.com>
765 * src/lxc_driver.c: fix a couple of error code, patch by
768 Tue May 19 09:39:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
770 * src/storage_backend_fs.c: VolumeCreateXMLFrom FS storage
771 backend implementation.
773 Tue May 19 09:36:48 EDT 2009 Cole Robinson <crobinso@redhat.com>
775 * src/storage_backend.h src/storage_driver.c: Storage driver
776 implementation for CreateXMLFrom
778 Tue May 19 09:26:53 EDT 2009 Cole Robinson <crobinso@redhat.com>
780 * src/node_device_hal.c: Fix node device media insert/eject
783 Tue May 19 09:24:54 EDT 2009 Cole Robinson <crobinso@redhat.com>
785 * src/node_device_hal.c: Fix a possible deadlock in HAL nodedev
788 Tue May 19 09:22:43 EDT 2009 Cole Robinson <crobinso@redhat.com>
790 * Makefile.am: Fix rpm build: add 'mylibtool' to EXTRADIST.
792 Tue May 19 09:20:54 EDT 2009 Cole Robinson <crobinso@redhat.com>
794 * qemud/Makefile.am: Generate some config files at build time.
796 Tue May 19 09:16:37 EDT 2009 Cole Robinson <crobinso@redhat.com>
798 Add documentation for <sound> device XML format.
799 * docs/formatdomain.html docs/formatdomain.html.in
801 Tue May 19 09:14:12 EDT 2009 Cole Robinson <crobinso@redhat.com>
803 Use virAsprintf, rather than VIR_ALLOC + strcpy + strcat
804 * qemud/remote.c src/remote_internal.c src/storage_backend.c
805 src/storage_backend_fs.c src/storage_backend_logical.c
808 Tue May 19 09:04:05 EDT 2009 Cole Robinson <crobinso@redhat.com>
810 * src/virsh.c: Don't validate disk type in virsh attach-disk
812 Tue May 19 09:00:43 EDT 2009 Cole Robinson <crobinso@redhat.com>
814 * python/libvir.py: Don't overwrite legitimate python import error.
816 Tue May 19 12:04:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
818 Fix misc locking bugs identified by lock checker
819 * src/test.c: Add missing driver lock calls in testOpen()
820 * src/uml_driver.c: Remove bogus driver unlock call in
821 umlDomainStart. Ensure driver lock is held for the duration
822 of umlDomainSetAutostart.
823 * src/network_driver.c: Ensure driver lock is held for the
824 duration of networkStart, networkDestroy and networkSetAutostart
825 * src/storage_driver.c: Ensure driver lock is held for the
826 duration of storagePoolRefresh, and storagePoolSetAutostart.
827 Ensure driver is locked before re-obtaining pool lock in
828 storageVolumeCreateXML.
829 * src/qemu_driver.c: Ensure lock is held when removing domain
830 event callbacks in qemudClose(). Drop driver lock before calling
831 qemudAutostartConfigs, since that will obtain a lock when calling
832 virConnectClose. Hold lock across duration of suspend, resume,
833 start, get security label, device attach and device detach
836 Tue May 19 11:10:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
838 Add an optional OCaml+CIL mutex lock checker
839 * .hgignore, src/.cvsignore, src/.gitignore, tests/.gitignore,
840 tests/.cvsignore: Ignore binary files from ocaml build. Ignore
841 .i and .s files from gcc -save-temps
842 * configure.in: Add --enable-test-locking arg to turn on build
843 of OCaml/CIL mutex locking test
844 * src/Makefile.am: Add $(LOCK_CHECKING_CFLAGS) used when lock
845 checking tests are enabled.
846 * tests/Makefile.am, tests/object-locking.ml: Add OCaml/CIL
847 program for validating mutex locking correctness
849 Mon May 18 16:10:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
851 * src/qemu_conf.c: Declare support for migration in capabilities
853 Fri May 15 15:59:08 CEST 2009 Daniel Veillard <veillard@redhat.com>
855 * src/vbox/vbox_driver.c src/vbox/vbox_tmpl.c: last patch for
856 hostonly networks support in vbox driver, patch by Pritesh Kothari
858 Fri May 15 15:44:01 CEST 2009 Daniel Veillard <veillard@redhat.com>
860 * src/vbox/vbox_tmpl.c: implement vbox vrdp/sdl/gui support,
861 patches by Pritesh Kothari
863 Fri May 15 11:41:46 CEST 2009 Daniel Veillard <veillard@redhat.com>
865 * docs/schemas/domain.rng src/domain_conf.[ch] src/qemu_driver.c:
866 extend the generic code for the RDP and desktop extensions of
867 the graphic tag needed for vbox, patch by Pritesh Kothari
869 Thu May 14 12:29:41 CEST 2009 Daniel Veillard <veillard@redhat.com>
871 * src/xend_internal.c: remove [] around cpumaps for recent xend
872 patch by Tatsuro Enokura
874 Wed May 13 13:37:02 EDT 2009 Cole Robinson <crobinso@redhat.com>
876 * src/virsh.c: Fix a few 'used uninitialized' warnings.
878 Wed May 13 18:06:17 CEST 2009 Daniel Veillard <veillard@redhat.com>
880 * src/buf.c: avoid an XML attribute escaping bug #499791
882 Wed May 13 12:34:06 BST 2009 Daniel P. Berrange <berrange@redhat.com>
884 * src/lxc_container.c: Replace sys/capability.h with
885 linux/capability.h, to avoid unneccessary dependancy
886 on the libcap package.
888 Tue May 12 16:39:06 EDT 2009 Cole Robinson <crobinso@redhat.com>
890 * tests/eventtest.c: Use safewrite instead of write
891 * po/POTFILES.in: Add src/vbox/vbox_driver.c
893 Tue May 12 16:25:59 EDT 2009 Cole Robinson <crobinso@redhat.com>
895 * src/storage_backend_fs.c: Break out FS volume build routines to
898 Tue May 12 16:16:09 EDT 2009 Cole Robinson <crobinso@redhat.com>
900 * src/virsh.c: Virsh commands vol-clone and vol-create-from
902 Tue May 12 16:14:43 EDT 2009 Cole Robinson <crobinso@redhat.com>
904 * src/test.c: Test driver implementation of
905 virStorageVolCreateXMLFrom
907 Tue May 12 16:11:14 EDT 2009 Cole Robinson <crobinso@redhat.com>
909 * qemud/remote.c qemud/remote_dispatch_args.h
910 qemud/remote_dispatch_prototypes.h qemud/remote_distpatch_ret.h
911 qemud/remote_dispatch_table.h qemud/remote_protocol.c
912 qemud/remote_protocol.h qemud/remote_protocol.x
913 src/remote_internal.c:
914 Remote support for virStorageVolCreateXMLFrom
916 Tue May 12 16:00:49 EDT 2009 Cole Robinson <crobinso@redhat.com>
918 * include/libvirt/libvirt.h include/libvirt/libvirt.c
919 src/driver.h src/libvirt.c src/libvirt_public.syms:
920 Public API definition for virStorageVolCreateXMLFrom
921 * docs/devhelp/libvirt-libvirt.html
922 docs/devhelp/libvirt-virterror.html
923 docs/html/libvirt-libvirt.html docs/html/libvirt-virterror.html
924 docs/libvirt-api.xml docs/libvirt-refs.xml:
925 Regenerate API documentation.
927 Tue May 12 15:58:28 EDT 2009 Cole Robinson <crobinso@redhat.com>
929 * src/storage_backend.c: Document a function
930 * src/storage_backend_fs.c: Don't squash file probe errors.
932 Tue May 12 17:45:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
934 * .hgignore, tests/.cvsignore, tests/.gitignore: Ignore
935 new eventtest binary.
936 * tests/Makefile.am, tests/eventtest.c, tests/testutils.h: Add
937 test case for exercising the event loop
939 Tue May 12 17:43:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
941 Fix watch/timer event deletion
942 * qemud/event.c: Change handling of deleted watches/timers
943 to ensure correct dispatch of callbacks when deleted flag
946 Tue May 12 17:42:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
948 * qemud/event.c: Start watch/timer IDs from 1 to avoid problem
949 with accidental uninitialized variables at 0. Fix interrupting
950 of main thread when updating/deleting watches/timers.
952 Tue May 12 16:38:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
954 * qemud/qemud.c, qemud/qemud.h, qemud/event.c: Remove use
955 of qemudSetNonBock/SetCloseExec in favour of virSetNonBlock
958 Tue May 12 16:38:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
960 Allow for quieter build with 'make -s'
961 * configure.in: Use 'mylibtool' wrapper around 'libtool'
962 * mylibtool: Quiet version of libtool just printing build
963 target name without flags.
965 Tue May 12 16:35:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
967 Improve driver open URI handling
968 * src/vbox/vbox_driver.c: Register dummy no-op driver if
969 the virtualbox libraries are not avialable
970 * src/vbox/vbox_tmpl.c: Return fatal error if open fails
971 for a URI we expect to handle
973 Tue May 12 17:25:52 CEST 2009 Daniel Veillard <veillard@redhat.com>
975 * src/network_driver.c: enable bridges which are not up, i.e.
976 without an IP address, patch by Ludwig Nussel
978 Mon May 11 16:25:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
980 * src/datatypes.c: Change hash destructors to call the internal
981 virUnrefXXX methods instead of public virXXXFree methods (Laine
984 Mon May 11 16:25:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
986 * src/lxc_container.c: Fix unused variable warning
988 Mon May 11 16:15:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
990 Fix QEMU ARGV detection with kvm >= 85
991 * src/qemu_conf.c: Increase limit on QEMU -help output size.
992 Improve error reporting when handling help output
993 * src/qemu_driver.c: Don't overwrite errors when extracting
996 Mon May 11 15:55:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
998 * src/virsh.c: Report detailed error if initial connection open
1001 Mon May 11 16:03:37 CEST 2009 Daniel Veillard <veillard@redhat.com>
1003 * src/lxc_container.c: drop LXC CAP_SYS_BOOT capability to avoid
1004 reboot from inside containers, patch by Ryota Ozaki
1006 Mon May 11 09:51:00 EDT 2009 Cole Robinson <crobinso@redhat.com>
1008 * src/qemu_driver.c : Check that QEMU is still alive while
1009 reading startup output.
1011 Mon May 11 09:44:40 EDT 2009 Cole Robinson <crobinso@redhat.com>
1013 * src/util.[ch] : Add pidfile argument to __virExec
1014 * src/proxy_internal.c src/qemu_driver.c src/uml_driver.c
1015 src/remote_driver.c: Adjust virExecDaemonize calls accordingly.
1016 * src/qemu_conf.c : No longer pass -pidfile argument to qemu
1017 * tests/qemuxml2argvdata/*.args : Remove qemu -pidfile argument.
1019 Mon May 11 09:35:26 EDT 2009 Cole Robinson <crobinso@redhat.com>
1021 * src/qemu_driver.c: Report qemu log data if we fail to daemonize.
1023 Mon May 11 09:29:52 EDT 2009 Cole Robinson <crobinso@redhat.com>
1025 * src/libvirt_private.syms src/util.[ch]: Add a helper function
1027 * src/proxy_internal.c src/qemu_driver.c src/uml_driver.c
1028 src/remote_driver.c: Use the new helper.
1030 Mon May 11 11:54:53 CEST 2009 Daniel Veillard <veillard@redhat.com>
1032 * src/vbox/vbox_tmpl.c: "Host only" and "Internal" network support
1033 for vbox, patch by Pritesh Kothari
1035 Mon May 11 11:47:51 CEST 2009 Daniel Veillard <veillard@redhat.com>
1037 * src/domain_conf.[ch] docs/schemas/domain.rng: add support
1038 for internal network in the generic part of the code, and
1039 update the Relax-NG grammar accordingly, patch by Pritesh Kothari
1041 Fri May 8 11:24:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1043 * src/cgroup.c: Create cgroups mode 755, not 655 (Ryota Ozaki)
1045 Fri May 8 11:22:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1047 Fix /dev/ population to use char devices (Ryota Ozaki)
1048 * src/lxc_controller.c: Add /dev/ptmx to allow cgroup resources
1049 * src/lxc_container.c: Create dev nodes as char devices, not
1052 Fri May 8 12:15:05 CEST 2009 Guido Günther <agx@sigxcpu.org>
1054 * src/vbox/vbox_tmpl.c (virDrvOpen): return VIR_DRV_OPEN_DECLINED
1055 instead of VIR_DRV_OPEN_ERROR when vbox can't be found so other
1056 hypervisors can be probed. Patch by Pritesh Kothari.
1058 Fri May 8 12:09:12 CEST 2009 Guido Günther <agx@sigxcpu.org>
1060 * src/vbox/vbox_tmpl.c (vboxUninitialize): fix crash when init fails
1061 early (i.e. due to vbox not being installed)
1063 Fri May 8 11:10:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1065 * src/qemu_driver.c: Make name & UUID uniqueness checking in
1066 define, create & restore functions more robust. Throw error
1067 in destory operation, if guest isn't running
1069 Fri May 8 11:07:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1071 * src/qemu_conf.c: Enable migrate/save/restore for QEMU
1072 0.10.0 or later releases
1074 Fri May 8 11:05:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1076 * src/driver.c: Log dlopen related errors at higher log level
1077 so important messages are visible by default
1079 Fri May 8 10:56:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1081 * include/libvirt/virterror.h, src/virterror.c: Add new error
1082 code VIR_ERR_OPERATION_INVALID for operations that are not
1083 applicable at this time (eg, pause on an inactive guest)
1084 * src/qemu_driver.c, src/xen_internal.c, src/xend_internal.c:
1085 Use new error code where relevant.
1087 Thu May 7 09:31:22 CEST 2009 Daniel Veillard <veillard@redhat.com>
1089 * qemud/libvirtd.init.in: improve the LSB init header for the
1090 init.d file, patch by Frederik Himpe
1092 Thu May 7 09:26:50 CEST 2009 Guido Günther <agx@sigxcpu.org>
1094 * src/util.c (virFileWritePid): check for NULL pointers
1095 to avoid bogus pid files
1096 (virFileReadPid): likewise
1097 (virFileDeletePid): likewise
1099 Thu May 7 09:24:47 CEST 2009 Daniel Veillard <veillard@redhat.com>
1101 * src/domain_conf.c src/domain_conf.h: parse and save multiple
1102 graphics elements instead of one, patch by Pritesh Kothari
1103 * src/qemu_conf.c src/qemu_driver.c: adapt the qemu/kvm driver for
1104 the new structures, patch by Pritesh Kothari
1105 * src/xend_internal.c src/xm_internal.c: same thing for Xen drivers
1107 Thu May 7 09:16:05 CEST 2009 Guido Günther <agx@sigxcpu.org>
1109 * src/lxc_controller.c (main): don't crash when called without
1112 Wed May 6 16:55:02 GMT 2009 Mark McLoughlin <markmc@redhat.com>
1114 * src/qemu_driver.c: fix handling of <hostdev managed='yes'>
1116 Wed May 6 10:19:36 EDT 2009 Cole Robinson <crobinso@redhat.com>
1118 * src/qemu_driver.c : Refresh QEMU driver capabilities for each
1119 getCapabilities call.
1121 Wed May 6 15:42:08 CEST 2009 Daniel Veillard <veillard@redhat.com>
1123 * src/vbox/vbox_driver.c src/vbox/vbox_tmpl.c: changes in
1124 VirtualBox driver version detection and move informations
1125 from a global variable into a driver structure, patch by Pritesh
1128 Wed May 6 15:27:04 CEST 2009 Daniel Veillard <veillard@redhat.com>
1130 * libvirt.spec.in: add a couple of missing directories
1132 Wed May 6 15:22:08 CEST 2009 Daniel Veillard <veillard@redhat.com>
1134 * src/vbox/vbox_XPCOMCGlue.[ch]: improve VirtualBox path detection
1135 patch by Pritesh Kothari
1137 Tue May 5 10:20:27 EDT 2009 Cole Robinson <crobinso@redhat.com>
1139 * src/qemu_driver.c: Don't throw away StartVM errors when
1140 migrating/restoring in qemu driver.
1142 Tue May 5 10:19:14 EDT 2009 Cole Robinson <crobinso@redhat.com>
1144 * src/test.c: Small cleanups in test driver VolCreateXML
1146 Tue May 5 10:18:15 EDT 2009 Cole Robinson <crobinso@redhat.com>
1148 * src/storage_driver.c: Remove some debug code from storage_driver.c
1150 Tue May 5 10:16:56 EDT 2009 Cole Robinson <crobinso@redhat.com>
1152 * src/libvirt.c: Use proper error code in virStorageVolCreateXML
1154 Mon May 4 11:44:09 EDT 2009 Cole Robinson <crobinso@redhat.com>
1156 * src/storage_backend_fs.c: Fix a comment typo in storage_backend_fs.c
1158 Mon May 4 11:42:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
1160 * src/util.c: virExec: Delay daemonizing as long as possible.
1162 Mon May 4 11:40:27 EDT 2009 Cole Robinson <crobinso@redhat.com>
1164 * src/util.c: Add some documentation to __virExec and virExec
1166 Tue Apr 28 11:54:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1168 Fix check for -Wformat-security which depends on -Wformat
1169 * m4/compiler-flags.m4: Set previously verified compiler flags
1170 when checking new flags
1171 * srv/virsh.c: Fix three non-critical format string bugs
1173 Fri Apr 24 15:55:56 CEST 2009 Daniel Veillard <veillard@redhat.com>
1175 * NEWS configure.in libvirt.spec.in docs/*: release of 0.6.3
1177 * src/libvirt.c src/virterror.c: fixed some function comments
1179 Fri Apr 24 14:07:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1181 Add virNodeDeviceCreateXML / virNodeDeviceDestroy boilerplate
1182 public API and remote protocol impl
1183 * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
1184 src/libvirt_public.syms: Public API definition of new
1185 virNodeDeviceCreateXML and virNodeDeviceDestroy methods
1186 * qemud/remote.c: Dispatch code for new APIs
1187 * qemud/remote_dispatch_args.h, qemud/remote_dispatch_prototypes.h,
1188 qemud/remote_dispatch_ret.h, qemud/remote_dispatch_table.h:
1189 Re-generate stubs for dispatcher
1190 * qemud/remote_protocol.x: Define wire protocol for node
1191 device create / destroy APIs
1192 * qemud/remote_protocol.c, qemud/remote_protocol.h:
1193 Re-generate based off protocol additions
1194 * src/driver.h: Define internal driver API contract for
1196 * src/libvirt.c: Wire up public API to driver API for
1197 virNodeDeviceCreateXML/virNodeDeviceDestroy
1198 * src/remote_internal.c: Client for new node device methods
1200 Fri Apr 24 13:19:47 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1202 * src/libvirt_private.syms: Add virDomainHostdevDefFree needed
1203 by Xen driver when built as a module.
1205 Fri Apr 24 13:17:47 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1207 Fix network config in XM driver
1208 * src/xm_internal.c: Fix setting of bridge & script parameters
1210 * src/xend_internal.h, src/xend_internal.c: Export the
1211 default bridge script name to XM driver
1212 * tests/xmconfigdata/*: Update to take account of script=
1213 setting in VIF config
1215 Fri Apr 24 12:06:47 CEST 2009 Daniel Veillard <veillard@redhat.com>
1217 * po/*: updated a could of locale, regenerated
1218 * docs/libvirt-api.xml docs/libvirt-refs.xml: regenerated too
1220 Wed Apr 22 15:28:03 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1222 * src/network_driver.c: Explicit check for NULL, to avoid
1223 compiler complaining about "assignment treated as truth value
1226 Wed Apr 22 15:27:03 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1228 Use private /dev/pts instance for containers (needs 'newinstance'
1229 mount flag for devpts since 2.6.29 kernels), fallback to shared
1230 instance if not supported
1231 * src/domain_conf.h, src/domain_conf.c: Add a convenient
1232 routine virDomainGetRootFilesystem()
1233 * src/libvirt_private.sym: export virDomainGetRootFilesystem
1235 * src/util.c, src/util.h: Add virFileOpenTtyAt() to allow
1236 alternate path to /dev/ptmx to be given
1237 * src/lxc_controller.c: Attempt to setup a private /dev/pts
1238 instance for the container's stdio I/O
1239 * src/lxc_container.h, src/lxc_container.c: Pull in the
1240 private /dev/pts instance setup by controller, and create
1241 a symlink for /dev/ptmx.
1243 Tue Apr 21 20:14:03 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1245 * src/qemu_driver.c: Remove pidfile when domain shuts down and
1246 cleanup stale pidfile before domain startup.
1248 Tue Apr 21 14:39:03 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1250 * po/POTFILES.in: Add vbox_tmpl.c file
1251 * src/vbox/vbox_tmpl.c: Adjust domain IDs to start from 1
1252 instead of 0, refuse domain ID 0.
1254 Tue Apr 21 20:58:50 CEST 2009 Daniel Veillard <veillard@redhat.com>
1256 * src/network_conf.c src/network_conf.h: add dynamic bridge names
1257 support, patch by Soren Hansen
1258 * AUTHORS: add Soren
1260 Tue Apr 21 17:08:57 CEST 2009 Daniel Veillard <veillard@redhat.com>
1262 * src/xend_internal.c: let xend try vcpu pinning operation even
1263 if the domain is not running, patch by Takahashi Tomohiro
1265 Tue Apr 21 15:38:29 CEST 2009 Daniel Veillard <veillard@redhat.com>
1267 * docs/drvvbox.html.in docs/drvvbox.html: tiny fixes to VirtualBox
1270 Tue Apr 21 14:22:03 CEST 2009 Daniel Veillard <veillard@redhat.com>
1272 * docs/drvvbox.html.in docs/hvsupport.html.in docs/drivers.html.in
1273 docs/sitemap.html.in docs/*.html: VirtualBox Documentation by
1276 Mon Apr 20 14:25:41 CEST 2009 Daniel Veillard <veillard@redhat.com>
1278 * src/lxc_container.c src/lxc_container.h: cope with kernels
1279 where CLONE_NEWUSER is not supported, patch by Serge Hallyn
1281 Mon Apr 20 12:54:02 GMT 2009 Mark McLoughlin <markmc@redhat.com>
1283 * docs/virsh.pod, virsh.1: fix typo reported by Robert P. J. Day
1285 Mon Apr 20 11:24:23 CEST 2009 Daniel Veillard <veillard@redhat.com>
1287 * po/*: merge in a lot of localization updates and regenerate
1289 Mon Apr 20 11:06:20 CEST 2009 Daniel Veillard <veillard@redhat.com>
1291 * src/bridge.c: fix a compilation breakage raised by Anton Protopopov
1293 Sun Apr 19 17:46:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1295 * mingw32-libvirt.spec.in: Added new virt-xml-validate tool
1296 missed from previous commit
1298 Sun Apr 19 17:36:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1300 * autobuild.sh, mingw32-libvirt.spec.in: Disable vbox driver
1303 Sun Apr 19 17:36:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1305 * src/Makefile.am: Add another vbox file to EXTRA_DIST
1307 Sun Apr 19 16:49:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1309 * src/virterror.c: Add missing 'break' in error code string
1312 Sun Apr 19 16:29:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1314 Improve error reporting for lookup failures on inactive domains
1315 * src/qemu_driver.c: Do all domain lookups based on UUID and
1316 use correct error code for missing domains.
1318 Sun Apr 19 16:19:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1320 Fix 2 domain ID handling bugs in remote driver
1321 * src/remote_internal.c: Add virDomainCreate(), do a lookup
1322 to find the ID of newly created domain. Reset ID to -1 after
1323 doing a destroy operation on a domain
1325 Sun Apr 19 16:14:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1327 * src/domain_conf.c: Switch over todo domain lookup based
1328 on UUID in virDomainAssignDef
1330 Sun Apr 19 16:14:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1332 * docs/libvirt-api.xml, docs/libvirt-refs.xml,
1333 docs/devhelp/libvirt-libvirt.html, docs/devhelp/libvirt-virterror.html,
1334 docs/html/libvirt-libvirt.html, docs/html/libvirt-virterror.html:
1335 Regenerate API docs to pull in latest VBox error code definitions
1337 Sun Apr 19 16:12:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1339 * src/Makefile.am: Add 2 missing vbox files to EXTRA_DIST
1341 Sun Apr 19 16:00:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1343 Add command line tool for validating XML and improve POD docs
1345 * Makefile.am, configure.in: Add tools/ sub-directory
1346 * docs/virsh.pod, docs/Makefile.am, virsh.1: Fix misc errors
1347 in POD formating, and improve licensing/copyright/bugs section
1348 * libvirt.spec.in: Add virt-xml-validate tool & man page
1349 * tools/virt-xml-validate.in, tools/Makefile.am: Add tool for
1350 validating XML files against schemas
1351 * .hgignore, tools/.gitignore, tools/.cvsignore, m4/.gitignore:
1352 Update to ignore more generated files
1354 Sun Apr 19 15:44:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1356 * src/qemu_conf.c, src/qemu_conf.h: Pass in virDomainDefPtr to
1357 qemudBuildCommandLine, instead of virDomainObjPtr
1358 * src/qemu_driver.c, tests/qemuxml2argvtest.c: Update for above
1361 Fri Apr 17 21:10:28 CEST 2009 Daniel Veillard <veillard@redhat.com>
1363 * src/libvirt_private.syms src/storage_backend.h
1364 src/storage_backend_fs.c src/storage_conf.h src/storage_driver.c:
1365 drop the pool lock when allocating fs volumes, patch by Cole Robinson
1367 Fri Apr 17 18:05:52 CEST 2009 Daniel Veillard <veillard@redhat.com>
1369 * configure.in include/libvirt/virterror.h src/Makefile.am
1370 src/domain_conf.[ch] src/driver.h src/virterror.c src/vbox/README
1371 src/vbox/vbox_CAPI_v2_2.h src/vbox/vbox_V2_2.c
1372 src/vbox/vbox_XPCOMCGlue.[ch] src/vbox/vbox_driver.[ch]
1373 src/vbox/vbox_tmpl.c: integration of the VirtualBox support
1374 patches by Pritesh Kothari
1376 Fri Apr 17 17:32:16 CEST 2009 Daniel Veillard <veillard@redhat.com>
1378 * src/libvirt.c: fix the doc of virNodeGetFreeMemory to say bytes
1379 * docs/drvlxc.html.in docs/drvlxc.html: fix command used in examples
1381 Thu Apr 16 17:48:30 CEST 2009 Guido Günther <agx@sigxcpu.org>
1383 * src/qemu_driver.c (qemudMonitorCommandExtra): don't log monitor
1384 output to domain log file. It's logged via the logging system
1386 (qemudDomainGetMemoryBalloon, qemudDomainSave,
1387 qemudDomainChangeEjectableMedia, qemudDomainAttachPciDiskDevice,
1388 qemudDomainAttachUsbMassstorageDevice, qemudDomainAttachHostDevice,
1389 qemudDomainDetachPciDiskDevice, qemudDomainBlockStats,
1390 qemudDomainMemoryPeek, qemudDomainMigratePerform): prefix monitor
1391 debug output with vm name.
1393 Thu Apr 16 16:48:51 CEST 2009 Guido Günther <agx@sigxcpu.org>
1395 * src/qemud.c (remoteReadConfigFile): don't hardcode buffer for
1396 getgrnam_r to 1024 bytes and increase it on ERANGE.
1398 Thu Apr 16 15:20:02 GMT 2009 Mark McLoughlin <markmc@redhat.com>
1400 * src/qemu_conf.c: pass "format=" to qemu -drive rather
1403 * tests/qemuxml2argvdata/*: fix test cases.
1405 Thu Apr 16 14:05:28 GMT 2009 Mark McLoughlin <markmc@redhat.com>
1407 * src/lxc_container.c: syntax-check fixes
1409 Wed Apr 15 22:40:50 CEST 2009 Daniel Veillard <veillard@redhat.com>
1411 * docs/Makefile.am docs/api.html docs/api.html.in docs/archdomain.html
1412 docs/archnetwork.html docs/archnode.html docs/archstorage.html
1413 docs/goals.html docs/intro.html
1414 docs/libvirt-daemon-arch.fig docs/libvirt-daemon-arch.png
1415 docs/libvirt-driver-arch.fig docs/libvirt-driver-arch.png
1416 docs/libvirt-object-model.fig docs/libvirt-object-model.png
1417 docs/page.xsl docs/sitemap.html docs/sitemap.html.in:
1418 adding a new api page, extending the stylesheet to allow references
1419 and including images from Dan Berrange
1421 Wed Apr 15 22:08:12 CEST 2009 Daniel Veillard <veillard@redhat.com>
1423 * src/virsh.c: fix for virsh ttyconsole return value bug #495954
1425 Wed Apr 15 21:59:09 CEST 2009 Daniel Veillard <veillard@redhat.com>
1427 * drvlxc.html.in drvlxc.html: some examples from Serge Hallyn
1429 Wed Apr 15 11:52:15 CEST 2009 Daniel Veillard <veillard@redhat.com>
1431 * src/xm_internal.c: fix a crash on vcpupin to inactive Xen domains,
1432 as raised by Takahashi Tomohiro
1434 Wed Apr 15 11:33:33 CEST 2009 Daniel Veillard <veillard@redhat.com>
1436 * src/lxc_driver.c: adds the getHostname method to the lxc driver
1439 Tue Apr 14 10:46:44 PDT 2009 Dan Smith <danms@us.ibm.com>
1441 * src/veth.c: Fix veth off-by-one error
1442 patch by Serge Hallyn
1443 * src/lxc_container.c: Stop rootless containers from messing with
1444 system mounts. Also, make pivot_root code more robust.
1445 patch by Serge Hallyn
1447 Tue Apr 14 14:46:29 CEST 2009 Daniel Veillard <veillard@redhat.com>
1449 * libvirt.spec.in: fix build on RHEL and Centos 5.x, patch
1450 by Joseph Shraibman, fixes #495610
1452 Tue Apr 7 14:48:35 CEST 2009 Daniel Veillard <veillard@redhat.com>
1454 * src/storage_backend_scsi.[ch]: add SCSI storage rescan support,
1455 patch by David Allan
1457 Fri Apr 3 16:47:22 CEST 2009 Daniel Veillard <veillard@redhat.com>
1459 * configure.in libvirt.spec.in NEWS docs/*: release of 0.6.2
1460 * po/*: Gujarati and Polish updates, rebuild
1461 * AUTHORS: add one missing
1463 Fri Apr 3 10:16:55 EDT 2009 Cole Robinson <crobinso@redhat.com>
1465 * src/storage_backend.c src/storage_backend_scsi.c:
1466 Don't lose file format info on volume refresh.
1468 Fri Apr 3 10:15:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
1470 * src/storage_driver.c: Refresh volume alloc/capacity when dumping XML.
1472 Fri Apr 3 10:13:38 EDT 2009 Cole Robinson <crobinso@redhat.com>
1474 * src/test.c: Fix test driver domain restore return value.
1476 Fri Apr 3 10:02:57 EDT 2009 Cole Robinson <crobinso@redhat.com>
1478 * src/storage_backend.c: Fix sparse volume allocation reporting.
1480 Fri Apr 3 15:07:00 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1482 Fix crash in svirt verification, and incorrect cleanup in
1484 * src/domain_conf.c: Don't extract 'model' from seclabel unless
1485 requesting 'live' config, or if its a static label. Add missing
1487 * src/qemu_driver.c: Fix cleanup in auto-reconnect to running VMs.
1488 Fix cleanup of resources if starting a new VM fails
1489 * src/security.c: Fix crash if no seclabel model is defined in
1490 the virSecuriyDriverVerify method
1491 * src/security_selinux.c: Fix error message typo & fix whitespace
1493 Fri Apr 3 15:03:00 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1495 * src/virsh.c: Add --console arg for create & start commands
1496 to auto-attach to console. Print info about escape key for
1497 console. Refuse to connect to remote consoles.
1499 Fri Apr 3 13:41:00 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1501 Misc NUMA memory fixes
1502 * qemud/remote.c: Fix check of error status in the helper
1503 remoteDispatchNodeGetCellsFreeMemory
1504 * src/qemu_driver.c: Report error if requested start cell
1505 is out of range. Fix return value if NUMA is not available
1506 * src/virsh.c: Convert memory to KB for freecell command.
1507 Check return value of virNodeGetFreeMemory
1509 Fri Apr 3 11:55:00 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1511 Support PCI passthrough in Xen driver
1512 * src/pci.c: Refactor to support Xen's pci-back.ko too
1513 * src/xen_unified.c: Implement node device reattach/detach
1515 * src/xend_internal.c: Handle creation of VMs with PCI
1517 * src/xm_internal.c: serialization of PCI device config
1518 * tests/sexpr2xmltest.c, tests/xmconfigtest.c,
1519 tests/xml2sexprtest.c: Add tests for PCI devices
1520 * tests/sexpr2xmldata/sexpr2xml-pci-devs.sexpr,
1521 tests/sexpr2xmldata/sexpr2xml-pci-devs.xml,
1522 tests/xmconfigdata/test-pci-devs.cfg,
1523 tests/xmconfigdata/test-pci-devs.xml,
1524 tests/xml2sexprdata/xml2sexpr-pci-devs.sexpr,
1525 tests/xml2sexprdata/xml2sexpr-pci-devs.xml: Add data
1526 files for PCI testing
1529 Fri Apr 3 11:55:00 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1531 Improve error reporting/ verification of security labels
1533 * src/domain_conf.c: Improve error reporting for parsing of
1535 * src/libvirt_private.syms: Export virSecurityDriverVerify
1536 * src/qemu_driver.c: Verify seclabel when creating or
1537 defining a new domain
1538 * src/security.c, src/security.h, src/security_linux.c: Add
1539 functions for verifying security labels
1540 * tests/.gitignore: Ignore seclabeltest
1541 * tests/Makefile.am, tests/seclabeltest.c: Add test for
1544 Thu Apr 2 19:41:00 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1546 Mingw portability fixes
1547 * src/util.c: Fix virFileResolveLink for Win32 platform.
1548 Fix offset usage in safezero for mmap() and write() impls
1549 * configure.in: Add check for readlink()
1551 Thu Apr 2 15:18:00 CEST 2009 Daniel Veillard <veillard@redhat.com>
1553 * docs/schemas/domain.rng: some missing disk bus values and cleanups
1555 Thu Apr 2 14:00:14 CEST 2009 Daniel Veillard <veillard@redhat.com>
1557 * docs/*: start cleanup/revamp of architecture docs
1559 Thu Apr 2 11:52:59 CEST 2009 Daniel Veillard <veillard@redhat.com>
1561 * po/*: updated brazilian, spanish, polish and simplified chinese
1562 translations, and regenerated
1564 Wed Apr 1 16:50:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1566 SCSI HBA storage pool implementation (Dave Allan)
1567 * configure.in: Add flag for SCSI storage pool support
1568 * po/POTFILES.in: Add storage_backend_scsi.c
1569 * src/Makefile.am: Add new SCSI storage backend
1570 * src/storage_backend.c: Support for SCSI pool type
1571 * src/storage_backend_iscsi.c: Refactor to re-use logic from
1573 * src/storage_backend_scsi.c, src/storage_backend_scsi.h:
1574 Generic pool for Linux SCSI HBAs (or things which look
1576 * src/storage_conf.c, src/storage_conf.h: Add logic for
1577 SCSI storage pool XML parsing options
1579 Wed Apr 1 11:40:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1581 * configure.in: Check for libsasl.so as well as libsasl2.so
1582 since former is used on some OS platforms that aren't Linux
1584 Wed Apr 1 11:38:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1586 * python/generator.py: Clear internal reference to underlying
1587 virConnectPtr object after calling virConnectClose()
1589 Wed Apr 1 11:37:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1591 * python/generator.py: Fix generation of networkCreateXML
1592 and storagePoolCreateXML to avoid clash with createXML()
1595 Wed Apr 1 11:36:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1597 Fix localtime handling for new XenD
1598 * src/xend_internal.c: Update SEXPR for new location of
1599 (localtime 1) field.
1600 * src/xm_internal.c: Read localtime=1 param for PV guests
1602 * tests/xml2sexprtest.c, tests/sexpr2xmltest.c: Add testing
1603 of new (localtime 1) handling
1604 * tests/sexpr2xmldata/sexpr2xml-pv-localtime.sexpr,
1605 tests/sexpr2xmldata/sexpr2xml-pv-localtime.xml,
1606 tests/xml2sexprdata/xml2sexpr-fv-localtime.sexpr,
1607 tests/xml2sexprdata/xml2sexpr-pv-localtime.sexpr,
1608 tests/xml2sexprdata/xml2sexpr-pv-localtime.xml: Data files
1611 Wed Apr 1 11:27:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1613 Misc fixes uncovered from OOM testing
1614 * src/datatypes.c: Switch to virReportErrorHelper for error
1615 reporting, so source line/file/function info is correct
1616 * src/domain_conf.c: Check for failure in virXPathNodeSet()
1617 * src/noeinfo.c: Translate error strings
1618 * src/xend_internal.c: Check for OOM failure after generating
1620 * tests/sexpr2xmltest.c: Don't unref a NULL connection object.
1621 Reset error object between tests. Free capabilities on exit
1622 * tests/testutils.c: Fix crash in OOM testing for non-SMP
1624 * tests/xml2sexprtest.c: Reset error object between tests
1626 Wed Apr 1 11:22:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1628 Sanitise symlink resolving
1629 * src/libvirt_private.syms: Add virFileResolveLink
1630 * src/util.c, src/util.h: Add convenient virFileResolveLink
1631 for reading symlink destination safely
1632 * src/storage_backend_disk.c, src/security_selinux.c: Switch
1633 over to calling virFileResolveLink
1635 Wed Apr 1 11:18:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1637 Misc memory handling fixes
1638 * src/node_device.c: Don't strdup() a NULL parent device name
1639 * src/qemu_conf.c: Don't try to access() a NULL alternative
1641 * src/storage_conf.c: Don't free mode string while its still
1644 Wed Apr 1 11:16:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1646 * src/xm_internal.c: Add support for vifname= parameter in
1648 * tests/xmconfigtest.c: Add test for vifname= handling
1649 * tests/xmconfigdata/test-paravirt-net-vifname.cfg,
1650 tests/xmconfigdata/test-paravirt-net-vifname.xml: Data file
1653 Wed Apr 1 10:58:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1655 Improve error reporting in SEXPR generation
1656 * src/xm_internal.c, src/xend_internal.c: Avoid overwriting
1657 previously set error message. Clarify message when network
1660 Wed Apr 1 10:55:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1662 * src/node_device.c: Fix error message for missing node device
1663 during lookup by name
1665 Wed Apr 1 10:54:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1667 * src/qemu_driver.c: Fix URI check in migration
1669 Wed Apr 1 10:50:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
1671 Add a tree view of node devices
1672 * src/remote_internal.c: Fix memory leak in virNodeDeviceGetParent() impl
1673 * src/virsh.c: Add --tree flag to nodedev-list command
1675 Tue Mar 31 17:40:00 CEST 2009 Chris Lalancette <clalance@redhat.com>
1676 * src/lxc_driver.c, src/openvz_driver.c, src/qemu_driver.c,
1677 src/remote_internal.c, src/test.c, src/uml_driver.c, src/xen_unified.c,
1678 src/driver.h, src/libvirt.c, src/proxy_internal.c, src/xen_inotify.c,
1679 src/xen_internal.c, src/xen_unified.h, src/xend_internal.c,
1680 src/xm_internal.c, src/xs_internal.c: Convert all drivers to use
1681 old-style struct initializers; this makes a handy built-in TODO list
1682 for each driver. Also rip out the internal getURI method; it was never
1683 used by any of the drivers, and was buggy to boot.
1685 Tue Mar 31 14:44:16 CEST 2009 Daniel Veillard <veillard@redhat.com>
1687 * libvirt.spec.in: better modularization of the spec file,
1688 patch by Ryota Ozaki
1690 Tue Mar 31 14:25:18 CEST 2009 Daniel Veillard <veillard@redhat.com>
1692 * src/util.c: fix virRun() to prevent zombies on pipe errors,
1693 patch by Ryota Ozaki
1695 Fri Mar 27 11:44:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1697 * src/qemu_driver.c: Don't try to query balloon if guest
1700 Fri Mar 27 11:44:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1702 Support memory ballooning in QEMU
1703 * src/qemu_conf.c: Fix initial QEMU startup memory allocation
1704 to be based on 'max memory'
1705 * src/qemu_driver.c: Balloon down allocation to 'memory'
1706 setting at startup. Implement virDomainSetMemory() for running
1707 guests via memory balloon. Report mem current usage by querying
1710 Tue Mar 24 11:14:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1712 * src/capabilities.c, file src/capabilities.h,
1713 src/domain_conf.c, src/xm_internal.c: Prefer native arch
1714 when auto-filling guest architecture. Match on domain type
1715 when auto-filling architecture (Soren Hansen)
1717 Tue Mar 24 10:51:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1719 * src/Makefile.maint: Include 'CHECK: ' prefix when printing
1720 name of each syntax-check rule that is run
1722 Tue Mar 24 10:51:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1724 * src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c: Add
1725 support for a non-template filesystem root. (Florian Vichot)
1727 Mon Mar 23 17:33:17 CET 2009 Daniel Veillard <veillard@redhat.com>
1729 * src/virsh.c: fix missing authentication when command are issued
1730 from the shell, patch by Matthias Bolte
1732 Fri Mar 20 21:43:57 CET 2009 Daniel Veillard <veillard@redhat.com>
1734 * src/util.c: flag unused parameters, by Maximilian Wilhelm
1736 Fri Mar 20 13:16:01 CET 2009 Daniel Veillard <veillard@redhat.com>
1738 * src/libvirt_private.syms src/storage_backend_fs.c src/util.c
1739 src/util.h: use posix_fallocate() on supported systems to
1740 allocate diskspace faster, patches by Amit Shah
1742 Fri Mar 20 11:41:40 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1744 Fix test breakage on x86_64 from previous change
1745 * tests/qemuxml2argvdata/qemuxml2argv-migrate.args,
1746 tests/qemuxml2argvdata/qemuxml2argv-migrate.xml,
1747 tests/qemuxml2argvdata/qemuxml2argv-restore-v1.args,
1748 tests/qemuxml2argvdata/qemuxml2argv-restore-v1.xml,
1749 tests/qemuxml2argvdata/qemuxml2argv-restore-v2.args,
1750 tests/qemuxml2argvdata/qemuxml2argv-restore-v2.xml: Switch
1751 to base 'qemu' emulator to avoid arch-dependant options
1752 needed by 'qemu-kvm' emulator.
1754 Fri Mar 20 11:21:40 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1756 Make use of emulator binaries more flexible
1757 * src/qemu_conf.h: Add flag for -no-kvm option
1758 * src/qemu_conf.c: Allow i686 on x86_64 for KVM guests using
1759 -cpu flag. Allow qemu-system-x86_64 to be used for 32-bit
1760 guests. Allow KVM binary to be used for non-KVM guests using
1763 Thu Mar 19 15:25:40 CET 2009 Daniel Veillard <veillard@redhat.com>
1765 * docs/schemas/domain.rng: extend definition for security attributes
1767 Tue Mar 17 11:35:58 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1769 Fix labelling of shared/readonly devices (Dan Walsh)
1770 * src/qemu_driver.c, src/security.h: Disk label commands
1771 take virDomainDiskDefPtr instead of virDomainDefPtr
1772 * src/security_selinux.c: Do not relabel shared or readonly
1773 disk images with MCS label.
1775 Tue Mar 17 11:58:58 CET 2009 Daniel Veillard <veillard@redhat.com>
1777 * src/remote_internal.c: remove file descriptors leak
1779 Mon Mar 16 13:17:05 EDT 2009 Cole Robinson <crobinso@redhat.com>
1781 * src/libvirt.c: Don't allow readonly connections to dump secure xml.
1783 Mon Mar 16 13:15:11 EDT 2009 Cole Robinson <crobinso@redhat.com>
1785 * src/qemu_driver.c: Initialize security driver after config parsing
1787 Mon Mar 16 13:12:59 EDT 2009 Cole Robinson <crobinso@redhat.com>
1789 * src/test.c: Fix test driver 'save' deadlock
1791 Mon Mar 16 13:52:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1793 Support SASL auth for VNC server.
1794 * qemud/libvirtd_qemu.aug, qemud/test_libvirtd_qemu.aug: Add
1795 support for VNC sasl config options
1796 * src/qemu.conf: Example VNC sasl config options
1797 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Add
1798 ability to set SASL authentication on VNC servers
1799 * tests/qemuxml2argvtest.c: Test for VNC SASL and TLS security
1801 * tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.args,
1802 tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml,
1803 tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.args,
1804 tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml: Data
1807 Mon Mar 16 11:44:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1809 * src/qemu_driver.c: Avoid deadlock in virDomainSetVcpus
1812 Mon Mar 16 10:55:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1814 Fix subsystem lookup for older HAL releases
1815 * src/node_device_hal.c: Check for linux.subsystem property
1817 Mon Mar 16 10:45:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1819 Add ac97 to test case & RNG schema (Pritesh Kothari)
1820 * docs/schemas/domain.rng: Add ac97 as valid soundcard
1821 * tests/qemuxml2argvdata/qemuxml2argv-sound.args,
1822 tests/qemuxml2argvdata/qemuxml2argv-sound.xml: Extend test to
1823 cover ac97 soundcard.
1825 Mon Mar 16 11:40:00 CET 2009 Daniel Veillard <veillard@redhat.com>
1827 * qemud/qemud.c src/cgroup.c src/uml_driver.c src/util.c: close
1828 some potential FILE * leaks
1830 Mon Mar 16 10:35:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1832 * qemud/event.c: Fix dispatch of FD events when one or more
1833 handles has been marked as deleted
1835 Mon Mar 16 10:30:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1837 * qemud/remote.c: Don't allocate cpumaps arg if maplength is
1838 0, and fix size of cpumaps allocation
1840 Mon Mar 16 10:30:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1842 * src/storage_driver.c: Don't free storage volume in error
1843 path, since it may still be referenced elsewhere
1845 Mon Mar 16 10:29:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1847 Avoid harmless warning message
1848 * src/qemu_driver.c, src/uml_driver.c: Don't try to close a
1849 NULL virConnectPtr object.
1851 Thu Mar 12 21:13:40 CET 2009 Daniel Veillard <veilard@redhat.com>
1853 * src/storage_conf.c: fix storage pool mode parsing, and refactoring
1854 patch by Ryota Ozaki
1856 Wed Mar 11 14:42:24 CET 2009 Daniel Veillard <veilard@redhat.com>
1858 * src/xs_internal.c: fix xen events handling problem (Dan Berrange)
1860 Tue Mar 10 12:03:37 CET 2009 Daniel Veillard <veilard@redhat.com>
1862 * src/xend_internal.c: fix an allocation problem in
1863 xenDaemonDomainLookupByName_ids
1865 Tue Mar 10 10:29:46 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1867 * src/xend_internal.c: Fix tap vs vbd type for block detach
1868 (Cole Robinson / Takahashi Tomohiro)
1870 Fri Mar 6 15:42:46 CET 2009 Daniel Veillard <veilard@redhat.com>
1872 * src/cgroup.c src/cgroup.h src/lxc_driver.c: allows to get
1873 CPU usage of a lxc using cpuacct subsystem of cgroups, patch
1876 Wed Mar 4 14:11:15 CET 2009 Daniel Veillard <veilard@redhat.com>
1878 * NEWS configure.in libvirt.spec.in doc/* include/libvirt/libvirt.h:
1881 * AUTHORS: updated to list new contributors
1883 Wed Mar 4 12:37:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1885 Fix misc failures in test suite & make test cases more robust
1887 * src/virsh.c: Add a new --print-xml option to pool-define-as
1888 and pool-create-as, to allow printing of generated XML doc.
1889 * tests/Makefile.am: Fix setting of CONFIG_HEADER variable
1890 * tests/daemon-conf: Don't diff entire of libvirtd stdout,
1891 just grep for the diagnostic we care about, to avoid breaking
1892 everytime libvirtd prints new unrelated diagnostics
1893 * tests/libvirtd-fail: Check status of libvirtd when run with
1894 bogus config file to detect failure, rather than relying on
1895 diff of unpredictable stdout logs
1896 * tests/libvirtd-net-persist: Remove test which breaks if
1897 QEMU driver can't be started, and conflicts with running
1899 * tests/libvirtd-pool: Use new --print-xml option to virsh
1900 to directly test XML generation, rather than indirectly
1901 checking via the QEMU driver
1903 Tue Mar 3 19:31:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1905 * src/libvirt.c: Fix return status s/-2/-1/ for virNodeGetSecurityModel
1906 and virDomainGetSecurityLabel()
1907 * src/remote_driver.c:Add missing mutex lock/unlock calls for
1908 virNodeGetSecurityModel and virDomainGetSecurityLabel drivers
1910 Tue Mar 3 16:55:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1912 Mingw32 portability fixes
1913 * src/pci.c: Use lseek+read/write instead of pread/pwrite
1914 to avoid mingw compile break
1915 * test/nodedevxml2xmltest.c: Don't link to QEMU driver, since
1916 its not required and breaks build when QEMU is turned off
1918 Tue Mar 3 16:43:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1920 Explicitly track static declared vs dynamically generated
1921 security labels for VMs
1922 * src/domain_conf.c, src/domain_conf.h: Add type='static|dynamic'
1923 for <seclabel> to determine whether to auto-generate labels
1924 * src/qemu_driver.c: Only generate security labels for type=dynamic
1926 Tue Mar 3 14:58:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1928 Misc sVirt bug fixes
1929 * src/qemu_driver.c: Don't raise error - let callee do it
1930 * src/security.h: Pass virCOnnectPtr when generating label
1931 * src/security_selinux.c: Fix STREQ logic bugs, and use
1932 VIR_ALLOC, and report detailed errors.
1934 Tue Mar 3 15:58:55 +0100 2009 Jim Meyering <meyering@redhat.com>
1937 * src/qemu_conf.c (CHECK_TYPE): Fix typo:
1938 s/security_river/security_driver/
1940 Tue Mar 3 15:35:02 CET 2009 Daniel Veillard <veillard@redhat.com>
1942 * po/*: update italian, polish and brazilian translations, regenerate
1944 Tue Mar 3 12:01:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1946 QEMU security driver usage for sVirt support (James Morris, Dan Walsh
1948 * src/qemu.conf: Add security_driver config option
1949 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c,
1950 src/util.c: Use a security driver (if available) when
1951 running virtual machines
1953 Tue Mar 3 11:31:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1955 * src/iptables.c, src/qemu_conf.c, src/qemu_driver.c,
1956 src/uuid.c: Replace qemudLogging with calls to logging.h
1959 Tue Mar 3 12:22:51 +0100 2009 Jim Meyering <meyering@redhat.com>
1961 avoid file descriptor leak when fd == 0
1962 * src/pci.c (pciGetDevice): Initialize dev->fd to -1, not 0.
1963 (pciFreeDevice): Close fd also when it is 0.
1965 Tue Mar 3 12:22:51 +0100 2009 Jim Meyering <meyering@redhat.com>
1967 don't leak a file descriptor on failed pciGetDevice call
1968 * src/pci.c (pciIterDevices): Always close dir handle.
1970 Tue Mar 3 12:22:51 +0100 2009 Jim Meyering <meyering@redhat.com>
1972 update .gitignore and .hgignore files
1974 Tue Mar 3 10:01:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1976 SELinux security driver for sVirt support (James Morris, Dan Walsh & Daniel
1978 * configure.in: Check for selinux_virtual_domain_context_path() and
1979 selinux_virtual_image_context_path() methods in libselinux.so
1980 * po/POTFILES.in: add src/security_selinux.c
1981 * src/Makefile.am, src/security.c, src/security_selinux.c,
1982 src/security_selinux.h: Add SELinux impl of security driver API
1984 Tue Mar 3 09:55:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1986 virsh additions for sVirt support (James Morris & Dan Walsh)
1987 * src/virsh.c: Include security model / label information
1988 in the 'dominfo' output
1990 Tue Mar 3 09:40:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
1992 Core internal driver stub for sVirt support (James Morris & Dan Walsh)
1993 * Makefile.maint: Add virSecurityReportError as a msggen
1995 * docs/schemas/capability.rng: Add <secmodel> element
1996 * docs/schemas/domain.rng: Add <seclabel> element
1997 * include/libvirt/virterror.h, src/virterror.c: Add
1998 VIR_FROM_SECURITY and VIR_ERR_NO_SECURITY_MODEL
1999 * po/POTFILES.in: Add src/security.c
2000 * src/Makefile.am: Build security driver into libvirt.so
2001 * src/capabilities.c, src/capabilities.h: Handling of
2002 <secmodel> element / data
2003 * src/domain_conf.c, src/domain_conf.h: Handling of
2004 <seclabel> element / data
2005 * src/libvirt_private.syms: Add virXPathStringLimit and
2006 virSecurity* methods
2007 * src/security.c, src/security.h: Add internal driver
2009 * src/storage_backend.c: TODO item about seclabel
2010 * src/xml.c, src/xml.h: Add virXPathStringLimit
2012 Tue Mar 3 09:25:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2014 Remote protocol / RPC API for sVirt support (James Morris & Dan Walsh)
2015 * qemud/remote.c: Handle new RPC calls
2016 * qemud/remote_protocol.x: Add definitions for new RPC calls
2017 * src/remote_internal.c: Implement virDomainGetSecurityLabel()
2018 and virNodeGetSecurityModel() driver methods
2019 * qemud/remote_dispatch_args.h, qemud/remote_dispatch_prototypes.h,
2020 qemud/remote_dispatch_ret.h, qemud/remote_dispatch_table.h,
2021 qemud/remote_protocol.c, qemud/remote_protocol.h: Regenerate
2023 Tue Mar 3 09:12:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2025 Internal driver API for sVirt support (James Morris & Dan Walsh)
2026 * src/driver.h: Internal typedefs for virNodeGetSecurityModel()
2027 and virDomainGetSecurityLabel() driver entry points
2028 * src/libvirt.c: Implement entry point for new public APIs
2029 virNodeGetSecurityModel() and virDomainGetSecurityLabel()
2030 * src/lxc_driver.c, src/openvz_driver.c, src/qemu_driver.c,
2031 src/test.c, src/uml_driver.c: Update for new driver entry
2033 * python/generator.py: temporarily blacklist non-generated
2034 virNodeGetSecurityModel() and virDomainGetSecurityLabel()
2036 Tue Mar 3 09:10:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2038 Public API for sVirt support (James Morris & Dan Walsh)
2039 * include/libvirt/libvirt.h.in, src/libvirt_public.syms: added
2040 virNodeGetSecurityModel() and virDomainGetSecurityLabel() APIs
2041 * include/libvirt/libvirt.h: Regenerated
2043 Tue Mar 3 08:55:13 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2045 Don't try to detach & reset PCI devices while running test
2046 suite for XML-> ARGV conversion.
2047 * src/qemu_driver.c: Add qemuPrepareHostDevices() helper to
2048 detach and reset PCI devices.
2049 * src/qemu_conf.c: Don't detach & reset PCI devices while
2050 building the command line argv
2052 Tue Mar 3 09:24:13 CET 2009 Daniel Veillard <veillard@redhat.com>
2054 * qemud/qemud.c: fix qemu+tls handshake negotiation, patch by
2057 Mon Mar 2 20:24:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2059 * python/.cvsignore: Ignore generated.stamp
2060 * examples/hellolibvirt/.cvsignore: Ignore autotools generated
2063 Mon Mar 2 20:21:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2065 * src/qemu_conf.c: Always reset PCI devices before starting guests.
2066 Add todo item for non-managed PCI devs
2068 Mon Mar 2 20:18:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2070 * src/libvirt_private.syms: Export virUnrefConnect and
2071 virCapabilitiesGenerateMac to drivers
2073 Mon Mar 2 21:00:00 +0100 2009 Jim Meyering <meyering@redhat.com>
2075 tests: further isolate a test that runs libvirtd
2076 * tests/daemon-conf: Specify a non-default socket directory.
2077 Specify test-specific log directory and pid file, too.
2079 Mon Mar 2 21:00:00 +0100 2009 Jim Meyering <meyering@redhat.com>
2082 * tests/libvirtd-pool: New file.
2083 Exercise the new unix_sock_dir option
2084 * tests/libvirtd-fail: New file.
2085 * tests/Makefile.am (test_scripts): Add libvirtd-fail and libvirtd-pool.
2087 Mon Mar 2 20:01:55 +0100 2009 Jim Meyering <meyering@redhat.com>
2089 tests: fix an error that made us skip the daemon-conf test
2090 * tests/Makefile.am (CONFIG_HEADER): Correct definition.
2092 Mon Mar 2 19:32:18 +0100 2009 Jim Meyering <meyering@redhat.com>
2094 tests: test for a recent fix
2095 * tests/libvirtd-net-persist: New file. Test for today's
2096 "Mark 'defined' networks as persistent" fix.
2097 * tests/Makefile.am (test_scripts): Add it.
2099 Mon Mar 2 19:32:18 +0100 2009 Jim Meyering <meyering@redhat.com>
2101 virsh: tweak a format string to avoid emitting trailing space
2102 * src/virsh.c (cmdNetworkList): Change format not to right-pad
2103 with spaces, as that would have required a trailing blank in
2104 an expected output file.
2106 Mon Mar 2 12:52:16 EST 2009 Cole Robinson <crobinso@redhat.com>
2108 * src/network_conf.c: Fix bridge generation loop counter.
2110 Mon Mar 2 12:38:08 EST 2009 Cole Robinson <crobinso@redhat.com>
2112 * src/node_device_hal.c: Recognize ejectable media in hostdev hal driver.
2114 Mon Mar 2 12:37:04 EST 2009 Cole Robinson <crobinso@redhat.com>
2116 * src/domain_conf.c src/domain_conf.h src/libvirt_private.syms
2118 Better error reporting from qemu AttachDevice
2120 Mon Mar 2 12:34:25 EST 2009 Cole Robinson <crobinso@redhat.com>
2122 * src/bridge.c src/bridge.h src/libvirt_private.syms src/network_conf.c
2123 src/network_conf.h src/network_driver.c:
2124 Generate network bridge names if none passed at define/create time.
2126 Mon Mar 2 12:30:08 EST 2009 Cole Robinson <crobinso@redhat.com>
2128 * src/domain_conf.c src/domain_conf.h src/qemu_driver.c:
2129 Remove redundant monitor watch variable (s/monitor_watch/monitorWatch/)
2131 Mon Mar 2 12:25:58 EST 2009 Cole Robinson <crobinso@redhat.com>
2133 * src/network_driver.c src/network_conf.c: Mark 'defined' networks
2136 Mon Mar 2 17:35:09 CET 2009 Daniel Veillard <veillard@redhat.com>
2138 * docs/schemas/domain.rng src/domain_conf.c src/domain_conf.h
2140 tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml
2141 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
2142 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml:
2143 adds a new <hostdev managed='(yes|no)'> property
2144 to host devices indicating whether or not we should
2145 automatically dettach/reset, patch by Mark McLoughlin
2147 Mon Mar 2 17:31:48 CET 2009 Daniel Veillard <veillard@redhat.com>
2149 * src/qemu_driver.c: add qemu dettach/reattach/reset implementation
2150 patch by Mark McLoughlin.
2152 Mon Mar 2 17:28:42 CET 2009 Daniel Veillard <veillard@redhat.com>
2154 * qemud/remote.c qemud/remote_dispatch_args.h
2155 qemud/remote_dispatch_prototypes.h qemud/remote_dispatch_table.h
2156 qemud/remote_protocol.c qemud/remote_protocol.h
2157 qemud/remote_protocol.x src/remote_internal.c: Implement
2158 attach/reattach/reset in the remote driver, patch by Mark
2161 Mon Mar 2 17:26:48 CET 2009 Daniel Veillard <veillard@redhat.com>
2163 * src/virsh.c: add 3 new commands for node device detach,
2164 reattach and reset, patch by Mark McLoughlin.
2166 Mon Mar 2 17:19:23 CET 2009 Daniel Veillard <veillard@redhat.com>
2168 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
2169 src/driver.h src/libvirt.c src/libvirt_public.syms
2170 src/lxc_driver.c src/openvz_driver.c src/qemu_driver.c
2171 src/test.c src/uml_driver.c: add the public APIs for
2172 virNodeDeviceDettach virNodeDeviceReAttach and virNodeDeviceReset
2173 and extends the driver structure accordingly, patch by Mark
2176 Mon Mar 2 17:07:44 CET 2009 Daniel Veillard <veillard@redhat.com>
2178 * configure.in po/POTFILES.in src/Makefile.am src/libvirt_private.syms
2179 src/pci.c src/pci.h: Add implementations of dettach, reattach and
2180 reset for PCI devices, patch by Mark McLoughlin
2182 Mon Mar 2 12:12:11 CET 2009 Daniel Veillard <veillard@redhat.com>
2184 * qemud/qemud.c src/node_device_hal.c: activate DBus multithreading
2185 to avoid random crashes in the daemon, patch by Daniel Berrange
2187 Mon Mar 2 10:16:04 +0100 2009 Jim Meyering <meyering@redhat.com>
2189 correct a typo in a diagnostic
2190 * src/storage_conf.c (virStorageVolDefParsePerms): Correct a typo:
2191 s/owner/group/. Patch by Ryota Ozaki.
2193 plug two config-parsing leaks
2194 * src/storage_conf.c (virStoragePoolDefParsePerms): Free mode string.
2195 (virStorageVolDefParsePerms): Likewise.
2196 Patch by Ryota Ozaki.
2199 don't dereference uninitialized pointer
2200 * src/storage_conf.c (virStoragePoolDefParsePerms): Initialize
2203 Fri Feb 27 17:15:00 CET 2009 Chris Lalancette <clalance@redhat.com>
2205 * src/qemu_driver.c: If there is a failure during offline migrate,
2206 make sure to resume the guest.
2208 Fri Feb 27 15:27:31 CET 2009 Daniel Veillard <veillard@redhat.com>
2210 * docs/libvirt-api.xml docs/libvirt-refs.xml
2211 docs/devhelp/libvirt-virterror.html docs/html/libvirt-virterror.html:
2212 regenerated the APIs and documentation.
2213 * po/*: updated the polish translation, regenerated.
2215 Thu Feb 26 16:01:04 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2217 * src/libvirt_private.syms, src/util.c, src/util.h: Add new
2218 virExecWithHook function to allow passing of a callback to run
2219 between fork() & exec()
2221 Thu Feb 26 17:13:09 CET 2009 Daniel Veillard <veillard@redhat.com>
2223 * Makefile.am configure.in examples/hellolibvirt/Makefile.am
2224 examples/hellolibvirt/hellolibvirt.c: new trivial example program
2227 Thu Feb 26 16:05:04 CET 2009 Daniel Veillard <veillard@redhat.com>
2229 * src/remote_internal.c: fix autostart of session daemon, patch
2232 Thu Feb 26 15:35:40 CET 2009 Daniel Veillard <veillard@redhat.com>
2234 * src/storage_backend_fs.c: fix compile-error when configured without
2237 Thu Feb 26 14:43:48 CET 2009 Daniel Veillard <veillard@redhat.com>
2239 * python/Makefile.am: avoid a parallel make issue #472702
2240 provided by Michael Marineau
2242 Wed Feb 25 21:00:46 CET 2009 Daniel Veillard <veillard@redhat.com>
2244 * docs/formatnetwork.html docs/formatnetwork.html.in: patch from
2245 Charles Duffy documenting static host IP assignments.
2247 Tue Feb 24 14:55:28 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2249 * tests/nodedevxml2xmltest.c: Add a test to check node
2250 device XML parsing by first parsing the XML, then
2251 re-formatting as XML and finally comparing the resulting
2252 XML to the original XML.
2254 * tests/nodedevschemadata/*.xml: strip trailing newlines.
2256 * tests/Makefile.am, tests/.*ignore: adminstrivia
2258 Tue Feb 24 14:54:05 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2260 * src/libvirt_private.syms, src/node_device_conf.[ch]:
2261 Add virNodeDeviceDefParseString(), a function for
2262 parsing node device XML descriptions.
2264 Tue Feb 24 14:52:58 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2266 * src/xml.[ch]: Add virXPathULongLong()
2268 Tue Feb 24 14:52:44 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2270 * src/xml.[ch]: Add virXPathLongHex() and virXPathULongHex()
2272 Tue Feb 24 14:51:32 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2274 * docs/formatdomain.html: fix a typo in hostdev docs
2276 Sun Feb 22 11:18:20 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2278 * src/network_driver.c: networkEnableIpForwarding() now
2279 returns zero for success
2281 Sun Feb 22 11:06:39 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2283 * docs/formatdomain.html: commit auto-generated change as
2284 a result of earlier s/clock sync/clock offset/
2286 Thu Feb 19 09:14:56 CET 2009 Guido Günther <agx@sigxcpu.org>
2288 * src/qemu_driver.c (qemudReadMonitorOutput, qemudReadLogOutput):
2289 (s)size_t type cleanup
2291 Tue Feb 17 20:40:51 EST 2009 Cole Robinson <crobinso@redhat.com>
2293 * src/qemu_driver.c: Remove the _actually_ incorrect
2294 ATTRIBUTE_UNUSED (Patch by Maximilian Wilhelm)
2296 Tue Feb 17 15:44:38 +0100 2009 Jim Meyering <meyering@redhat.com>
2298 fix build failure due to invalid generated Makefile
2299 * qemud/Makefile.am (libvirtd_LDADD): Unindent "if HAVE_*" directives.
2300 Reported by Daniel Schwager.
2302 Tue Feb 17 09:49:49 EST 2009 Cole Robinson <crobinso@redhat.com>
2304 * qemud/qemud.c : Fix daemon TCP listen cleanup
2306 Tue Feb 17 09:47:05 EST 2009 Cole Robinson <crobinso@redhat.com>
2308 * src/qemu_driver.c : Remove incorrect ATTRIBUTE_UNUSED usage.
2310 Tue Feb 17 11:41:10 +0100 2009 Maximilian Wilhelm <max@rfc2324.org>
2312 Build fix for 'driver.c' when building with loadable modules
2313 The 'asprintf' -> 'virAsprintf' transition made in
2314 [9e5d9950] "use virAsprintf instead of asprintf" introducted
2315 a build error for 'driver.c' as 'util.h' has to be included.
2317 Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2319 Tue Feb 17 11:32:01 +0100 2009 Jim Meyering <meyering@redhat.com>
2321 Avoid link failure when configured --with-driver-modules
2322 * qemud/Makefile.am (WITH_DRIVER_MODULES): Link with libvirt_driver.la
2323 and libvirt_util.la. Indent for readability.
2325 Tue Feb 17 11:30:23 +0100 2009 Maximilian Wilhelm <max@rfc2324.org>
2327 Work around 'virGetVersion' build problem
2328 The 'getVer' fix introducted in 02a72b42 [Allow remote://hostname/
2329 style URIs for automatic driver probe...] breaks compiling libvirt
2330 with loadable module support. Work around this to get it building again.
2332 Tue Feb 17 11:25:22 +0100 2009 Jim Meyering <meyering@redhat.com>
2334 avoid compiler warning about unused parameter
2335 * src/bridge.c (brProbeVnetHdr)
2336 [IFF_VNET_HDR && TUNGETFEATURES && TUNGETIFF]: Use a "(void)" case
2337 to mark the parameter as unused. Reported by Maximilian Wilhelm in
2338 http://thread.gmane.org/gmane.comp.emulators.libvirt/11918/focus=11917
2340 Tue Feb 17 11:21:00 +0100 2009 Jim Meyering <meyering@redhat.com>
2342 don't fail daemon-conf test when configured --without-qemu
2343 * tests/Makefile.am (TESTS_ENVIRONMENT): Define CONFIG_HEADER.
2344 * tests/daemon-conf: Use test-lib.sh.
2345 Skip this test when configured --without-qemu.
2347 Tue Feb 17 11:21:00 +0100 2009 Jim Meyering <meyering@redhat.com>
2349 accommodate configuring --without-lxc --without-qemu
2350 * configure.in: Enable internal WITH_BRIDGE support not just for LXC or
2351 QEMU, but also for --with-network. Russell Haering reported that
2352 compilation failed when configured with --without-lxc --without-qemu.
2353 Details: http://thread.gmane.org/gmane.comp.emulators.libvirt/11928
2354 * src/bridge.h: Use #if WITH_BRIDGE, rather than currently-equivalent
2355 "#if defined(WITH_QEMU) || defined(WITH_LXC)"
2357 Tue Feb 17 11:18:39 +0100 2009 Jim Meyering <meyering@redhat.com>
2359 doc: fix typo in formatdomain's clock offset specification
2360 * docs/formatdomain.html.in: s/clock sync/clock offset/
2361 Patch by Jesse Lauren Farinacci <jieryn@gmail.com>.
2363 Tue Feb 10 11:14:07 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2365 Fix I/O errors in libvirtd daemon, and hang/crash in remote
2366 client upon I/O error.
2367 * qemud/event.c: Treat POLLNVAL as VIR_EVENT_HANDLE_ERROR
2368 * src/domain_conf.c: Initialize monitor FD to -1
2369 * src/remote_internal.c: Remove call object from waitDispatch
2370 queue upon I/O failure, since call is about to free it.
2372 Mon Feb 16 17:59:04 EST 2009 Cole Robinson <crobinso@redhat.com>
2374 * src/virsh.c, src/Makefile.am: Don't pass flags to DumpXML
2375 in *-edit virsh commands
2377 Mon Feb 16 17:55:50 EST 2009 Cole Robinson <crobinso@redhat.com>
2379 * src/storage_backend_logical.c: Remove erroneous lvm volume
2380 format check for backing store.
2382 Mon Feb 16 17:53:24 EST 2009 Cole Robinson <crobinso@redhat.com>
2384 * python/generator.py: Skip bindings for virSaveLastError and
2387 Fri Feb 13 19:04:57 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2389 * src/libvirt_private.syms, src/util.[ch]: add
2392 * src/network_driver.c: use it here
2394 Fri Feb 13 19:04:45 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2396 * src/xml.c: fix some error strings
2398 Fri Feb 13 19:04:22 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2400 * src/xml.h: kill some non-existent functions
2402 Fri Feb 13 19:03:58 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2404 * docs/virsh.pod: update bugzilla link
2406 Fri Feb 13 19:03:30 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2408 * qemud/qemud.c: fix gcc-4.4 warnings
2410 Fri Feb 13 19:03:25 GMT 2009 Mark McLoughlin <markmc@redhat.com>
2412 * src/bridge.c: fix gcc-4.4 warnings
2414 Fri Feb 13 16:50:35 GMT 2009 John Levon <john.levon@sun.com>
2416 * src/xend_internal.c: xend in 3.3 grew a couple of new options
2417 for the migration method. As they're ignored on older xend
2418 versions, always pass them.
2420 Fri Feb 13 19:09:54 +0100 2009 Jim Meyering <meyering@redhat.com>
2422 test:///default driver: don't dereference NULL "def"
2423 * src/test.c (testNetworkCreate, testNetworkDefine): Since "def" is
2424 set to NULL immediately after any vir*AssignDef call (to indicate we
2425 no longer own it and to ensure no clean-up path mistakenly frees it),
2426 dereference via net->def->, not def->.
2428 Fri Feb 13 12:31:03 CET 2009 Guido Günther <agx@sigxcpu.org>
2430 usleep to wait for domain logfile to fill up
2431 * src/qemu_driver.c (qemudReadLogOutput): New function to read from
2433 (qemudWaitForMonitor): Use it.
2434 (qemudOpenMonitor): Pass timout in seconds.
2435 (qemudReadMonitorOutput): Convert timout to milliseconds.
2437 Wed Feb 11 21:30:47 CET 2009 Guido Günther <agx@sigxcpu.org>
2439 * src/qemu_driver.c (qemudStartVMDaemon): fix return status when
2440 domain didn't show up
2442 Mon Feb 9 17:26:07 +0100 2009 Jim Meyering <meyering@redhat.com>
2444 libvirtd: new config-file option: unix_sock_dir
2445 Before this change, the unix socket directory was hard-coded
2446 to be e.g., /var/run/libvirt for euid==0 and ~/.libvirt otherwise.
2447 With this change, you may now specify that directory in libvirtd's
2448 config file via a line like this: unix_sock_dir = "/var/run/libvirt".
2449 This is essential for running tests that do not impinge on any
2450 existing libvirtd process, and in running tests in parallel.
2451 * qemud/libvirtd.conf (unix_sock_dir): Add comment and example.
2452 * qemud/qemud.h (struct qemud_server) [logDir]: Change type
2453 from char[PATH_MAX] to char*.
2454 * qemud/qemud.c (unix_sock_dir): New global
2455 (remoteReadConfigFile): Set the global.
2456 (qemudInitPaths): Use the global, unix_sock_dir, if non-NULL.
2457 One minor improvement: unlink both sockets or none, never
2459 (qemudCleanup): Free logDir.
2460 (main): Use the new global rather than hard-coding "/run/libvirt".
2461 * qemud/libvirtd.aug (sock_acl_entry): Add "unix_sock_dir".
2463 Mon Feb 9 10:13:28 +0100 2009 Jim Meyering <meyering@redhat.com>
2465 don't print uninitialized in debug diagnostic
2466 * qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t,
2469 Mon Feb 9 16:25:52 +0100 2009 Jim Meyering <meyering@redhat.com>
2471 avoid two test failures induced by today's error-reporting changes
2472 * tests/cpuset: Adjust expected diagnostic to match new behavior.
2473 * tests/undefine: Likewise.
2475 Mon Feb 9 14:19:02 GMT 2009 John Levon <john.levon@sun.com>
2477 * src/virsh.c: rather than verbosely printing every error, save
2478 the last error and report that only if the entire command fails.
2480 Mon Feb 9 14:07:51 GMT 2009 John Levon <john.levon@sun.com>
2482 * include/libvirt/virterror.h:
2483 * src/libvirt_public.syms:
2484 * src/virterror.c: introduce virSaveLastError(), virFreeError()
2486 Mon Feb 9 10:21:33 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2488 * src/virsh.c: Limit readonly history to 500 to avoid unbounded
2489 growth in memory usage (Jim Paris)
2491 Sat Feb 7 21:46:06 CET 2009 Guido Günther <agx@sigxcpu.org>
2493 * src/qemu_driver.c (qemudStartVMDaemon, qemudDomainSuspend,
2494 qemudDomainResume, qemudDomainAttachDevice, qemudDomainDetachDevice):
2495 Don't ignore errors to save domain status.
2496 (qemudShutdownVMDaemon): Warn if we fail to remove the status file.
2498 Fri Feb 6 14:43:10 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2500 Fix 100% CPU bound loop when libvirtd --timeout is used
2501 * qemud/event.c: Don't assume pthread_t is equivalent to an
2502 int, explicitly track whether event loop is active with a
2503 flag independantly of the threadLeader variable
2504 * qemud/qemud.c: Don't register/unregister shutdown timer
2505 on each loop. Register once, and activate/deactivate when
2508 Thu Feb 5 19:28:10 GMT 2009 John Levon <john.levon@sun.com>
2510 * src/domain_conf.c: Check the last error, not the last
2511 connection error, which may not have been set.
2513 Thu Feb 5 18:08:39 GMT 2009 John Levon <john.levon@sun.com>
2515 * src/xs_internal.c: Use virMacAddrCompare() for
2516 case-insensitive comparison
2518 Thu Feb 5 17:19:24 GMT 2009 John Levon <john.levon@sun.com>
2520 * src/xend_internal.c: report error for some xend operations on
2523 Thu Feb 5 16:53:37 GMT 2009 John Levon <john.levon@sun.com>
2525 * src/xend_internal.c: robustify sexpr parser for NICs
2527 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2529 syntax-check: enable prohibit_nonreentrant
2530 * .x-sc_prohibit_nonreentrant: Add src/console.c and virterror.c.
2531 * Makefile.cfg (local-checks-to-skip): Don't exempt
2532 sc_prohibit_nonreentrant.
2533 * Makefile.nonreentrant: Don't exempt strerror.
2535 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2537 remove remainder of offending strerror uses
2538 * qemud/qemud.c (GET_CONF_STR): Use virStrerror, not strerror.
2539 * qemud/remote.c (remoteDispatchDomainBlockPeek): Likewise.
2540 (remoteDispatchDomainMemoryPeek, remoteDispatchAuthSaslInit): Likewise.
2541 (remoteDispatchAuthPolkit): Likewise.
2542 * src/lxc_container.c (lxcContainerAvailable): Likewise.
2543 * src/network_driver.c (networkStartNetworkDaemon): Likewise.
2544 (networkShutdownNetworkDaemon): Likewise.
2545 * src/qemu_conf.c (qemudExtractVersion, qemudNetworkIfaceConnect):
2546 * src/storage_conf.c (virStoragePoolLoadAllConfigs): Likewise.
2547 * src/storage_driver.c (storagePoolUndefine): Likewise.
2548 * src/uml_driver.c (umlStartup, umlStartVMDaemon): Likewise.
2549 * src/util.c (virFileReadAll): Likewise.
2550 * src/uuid.c (virUUIDGenerate): Likewise.
2551 * src/xen_internal.c (get_cpu_flags): Likewise.
2553 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2555 don't include raw errno in diagnostics
2556 * src/uml_driver.c (umlStartVMDaemon): Don't print raw errno value.
2557 * qemud/remote.c (remoteDispatchAuthSaslInit): Likewise.
2559 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2561 qemud.c: use virStrerror, not strerror
2563 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2565 iptables.c: Use virStrerror, not strerror.
2566 * src/iptables.c: Include "virterror_internal.h".
2567 Use virStrerror, not strerror.
2568 * src/iptables.c (notifyRulesUpdated): Use %s rather than
2569 string-concatenation that made sc_unmarked_diagnostics report
2572 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2574 use virReportOOMError rather than more verbose equivalent
2575 * src/qemu_driver.c (qemudDomainSave, qemudDomainRestore)
2576 (qemudDomainAttachPciDiskDevice)
2577 (qemudDomainAttachUsbMassstorageDevice):
2579 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2581 qemu_driver.c: s/strerror/virStrerror.../
2582 Perform most changs automatically, with this:
2583 perl -pi -e 's/\bstrerror *\((.+?)\)/virStrerror($1, ebuf, sizeof ebuf)/'
2584 Then, declare ebuf, as needed
2586 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2588 remove duplicate *SetCloseExec and *SetNonBlock functions
2589 * src/qemu_driver.c: Use virSetCloseExec and virSetNonBlock,
2590 rather than qemuSet* functions. Suggested by Daniel P. Berrange.
2591 * src/util.c (virSetCloseExec): Publicize.
2592 * src/util.h (virSetCloseExec): Declare
2593 * src/libvirt_private.syms: Add virSetCloseExec.
2595 Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
2597 qemu_driver.c: use virReportSystemError in place of some qemudLog uses
2598 ...thus eliminating many uses of strerror.
2599 (kvmGetMaxVCPUs): Rather than merely warning, diagnose an error
2600 and return -1 upon failure to open KVM_DEVICE. Suggested by
2603 Thu Feb 5 17:03:34 +0100 2009 Jim Meyering <meyering@redhat.com>
2605 publicize virStrerror
2606 * src/virterror.c (virStrerror): Remove "static".
2607 * src/virterror_internal.h (virStrerror): Declare it.
2608 * src/libvirt_private.syms: Add virStrerror;
2610 Thu Feb 5 17:00:17 +0100 2009 Jim Meyering <meyering@redhat.com>
2613 * src/bridge.c (brAddTap): Remove redundant errno=ENOMEM assignment
2614 after failed strdup.
2615 * src/cgroup.c (virCgroupFree): Remove redundant *group=NULL assignment
2616 after VIR_FREE(*group).
2617 * src/lxc_driver.c (lxcShutdown): Likewise.
2618 * src/xen_unified.c (xenUnifiedClose): Likewise.
2619 * src/xm_internal.c (xenXMDomainConfigFormat): Rewrite disk-
2620 and net-config-setting code to be clearer.
2622 Wed Feb 4 22:22:34 +0100 2009 Jim Meyering <meyering@redhat.com>
2624 lxc_container: Don't dereference NULL upon failure
2625 * src/lxc_container.c (lxcContainerPivotRoot): Free and zero
2626 oldroot *after* printing the diagnostic, both for virFileMakePath
2627 and pivot_root failure.
2629 Tue Feb 3 14:06:06 +0100 2009 Jim Meyering <meyering@redhat.com>
2631 avoid a format-related warning
2632 * src/qemu_driver.c (qemudStartVMDaemon): Use "%s".
2634 Tue Feb 3 14:06:06 +0100 2009 Jim Meyering <meyering@redhat.com>
2636 build: enable redundant-const check
2637 * Makefile.cfg (local-checks-to-skip): Remove sc_redundant_const.
2638 * src/lxc_controller.c: Remove redundant "const"(s).
2639 * src/storage_backend_fs.c: Likewise.
2640 * src/util.h: Likewise.
2641 * src/xen_internal.c: Likewise.
2642 * tests/qparamtest.c: Likewise.
2644 Tue Feb 3 14:06:06 +0100 2009 Jim Meyering <meyering@redhat.com>
2646 syntax-check: enable more checks
2647 * Makefile.cfg (local-checks-to-skip): Don't skip sc_m4_quote_check.
2648 Don't skip sc_prohibit_nonreentrant.
2649 * Makefile.nonreentrant (NON_REENTRANT): Comment out until we've
2650 remove all remaining uses of strerror.
2652 Tue Feb 3 14:06:05 +0100 2009 Jim Meyering <meyering@redhat.com>
2654 cleanup: remove useless if-before-VIR_FREE
2655 * Makefile.cfg (useless_free_options): Also check for VIR_FREE.
2656 * src/iptables.c (iptRulesFree): Remove useless if-before-VIR_FREE.
2657 * src/remote_internal.c (remoteAuthSASL): Likewise.
2658 * src/test.c (testOpenFromFile): Likewise.
2660 Mon Feb 2 21:33:57 +0100 2009 Jim Meyering <meyering@redhat.com>
2662 tests: diagnose more open failures
2663 * tests/qemuxml2argvtest.c: Revert the change,
2664 "tests: diagnose open failure" of 2009-01-30.
2665 * tests/testutils.c (virtTestLoadFile): Diagnose failure here.
2667 Mon Feb 2 18:33:19 GMT 2009 John Levon <john.levon@sun.com>
2669 * src/libvirt.c: fix more printf("%s", NULL) cases
2671 Sat Jan 31 14:45:58 CET 2009 Guido Günther<agx@sigxcpu.org>
2673 * src/remote_internal.c (doRemoteOpen): Don't hardcode ssh port 22,
2674 use VIR_FREE, initialize pointers to NULL not 0.
2676 Sat Jan 31 11:43:21 CET 2009 Daniel Veillard <veillard@redhat.com>
2678 * configure.in docs/* NEWS: release of 0.6.0
2679 * po/*: regenerated and updated brazilian and polish localizations
2681 Sat Jan 31 10:09:08 CET 2009 Daniel Veillard <veillard@redhat.com>
2683 * docs/news.html*: update with infos for 0.6.0
2684 * docs/*: regenerated some data too
2686 Fri Jan 30 22:57:34 +0100 2009 Jim Meyering <meyering@redhat.com>
2688 tests: diagnose open failure
2689 * tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Diagnose
2690 failure to open an input file.
2692 Fri Jan 30 21:50:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2694 * src/domain_conf.c: Fix empty decl in enum declaration
2696 Fri Jan 30 21:44:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2698 * tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.args,
2699 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.xml: Added
2700 two missing test data files from previous commit
2702 Fri Jan 30 20:55:57 +0100 2009 Jim Meyering <meyering@redhat.com>
2704 fix qemud version reporting when qemu is not installed
2705 * src/qemu_conf.c (uname_normalize): New function, factored out of...
2706 (qemudBuildCommandLine): ...here. Use the new function.
2707 (qemudExtractVersion): Use it here, rather than hard-coding "i686".
2709 Fri Jan 30 17:16:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2711 * src/qemu_conf.c: Fix ifname= handling for type=ethernet
2712 networking config to avoid literal (null)
2713 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c,
2714 tests/qemuxml2argvdata/: Add test case for ethernet
2717 Fri Jan 30 17:12:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2719 Support <driver cache='none|writeback|writethrough'/> cache
2721 * src/domain_conf.c, src/domain_conf.h: Add supported for
2722 disk caching mode options
2723 * src/qemu_conf.c, src/qemu_conf.h: Detect supported cache
2724 mode options for -drive and use them when launching QEMU
2725 * docs/schemas/domain.rng: Document cache mode options
2726 * tests/qemuxml2argvtest.c: Validate cache mode processing
2727 * tests/qemuxml2argvdata/: Data files for cache mode options
2729 Fri Jan 30 17:12:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2731 Fix crash when using bogus arch type
2732 * src/capabilities.c, src/capabilities.h: Add method to query
2733 for supported arch+ostype combo
2734 * src/domain_conf.c: Validate requested arch+ostype against
2735 supported capabilities
2736 * src/qemu_conf.c: Sanity check to avoid deferencing NULL
2739 Fri Jan 30 16:58:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2741 Misc QEMU driver startup fixes
2742 * src/domain_conf.c: Add initialization of monitor_watch
2743 * src/qemud_driver.c: Fix infinite loop when QEMU quits on
2744 startup. Fix watch removal if watch isn't added. Fix use
2745 of VNC password from global driver config. Avoid zombies
2746 from daemonizing QEMU. Fix memory leak in monitorpath
2748 Fri Jan 30 16:51:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2750 * src/lxc_driver.c: Avoid probing for LXC until we know we're
2751 going to try opening the connection. Disable when using valgrind
2753 Fri Jan 30 16:48:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2755 * src/storage_conf.c: Fix leak of volume objects when free'ing
2758 Fri Jan 30 16:46:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2760 * qemud/remote.c: Fix memory leak after sending a libvirt
2761 error message back to client
2763 Fri Jan 30 15:34:42 GMT 2009 John Levon <john.levon@sun.com>
2765 * src/libvirt.c: Fix yet another printf("%s", NULL) case
2767 * src/util.c: Fix getpwuid_r() usage
2769 * src/virsh.c: Fix virsh migrateuri handling
2771 Thu Jan 29 23:01:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2773 Misc Xen driver crash/bug fixes
2774 * src/remote_internal.c: Re-factor startup of secondary driver
2775 activation to fix missing initialization & crash. Fix memory
2776 leak in error reporting
2777 * src/xen_unified.c: Don't activate inotify driver if non-root
2778 * src/xend_internal.c: Don't report errors when probing for
2779 XenD TCP port if unprivileged, allow caller to do it. Fix bad
2780 return values in open method
2781 * src/xs_internal.c: Fix double free
2783 Thu Jan 29 17:22:53 GMT 2009 John Levon <john.levon@sun.com>
2785 * src/xend_internal.c: Fix xend XML generation when CPU pinning
2788 Thu Jan 29 19:05:00 +0100 2009 Jim Meyering <meyering@redhat.com>
2790 maint: sync from coreutils
2791 * .x-sc_prohibit_have_config_h: Renamed from...
2792 * .x-sc_no_have_config_h: ... this.
2793 * .x-sc_prohibit_HAVE_MBRTOWC: New file.
2795 Thu Jan 29 17:40:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2797 Support VNC password setting for QEMU driver
2798 * qemud/Makefile.am: Add missing test of libvirt_qemud.aug file
2799 * qemud/libvirtd_qemu.aug: Add suport for VNC password config
2800 * qemud/test_libvirtd.aug: Add logging params test
2801 * qemud/test_libvirtd_qemu.aug: Remove bogus logging params,
2802 and add VNC password test
2803 * src/qemu.conf: Include example VNC password config
2804 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Support
2805 setting a VNC password on a per-VM basis, or from QEMU driver
2807 * src/uml_driver.c: Fix initialization of inotifyWatch param
2808 to avoid bogus watch unregister later
2809 * src/virsh.c: Add --security-info and --inative flags to
2810 dumpxml command. Ensure edit command uses SECURE & INACTIVE
2811 flags when changing config
2814 Thu Jan 29 17:24:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2816 Fix save/restore for new KVM releases
2817 * src/domain_conf.h, src/lxc_driver.c, src/uml_driver.c:
2818 Remove unused stdin_fd field from virDomainObjPtr
2819 * src/qemu_conf.c, src/qemu_driver.c: Support new
2820 migration options for save & restore, and fix deadlock
2822 * src/qemu_conf.h: Add more QEMU argv flags to various
2823 migration options & describe existing flags
2824 * src/util.c: Close original stdin file handle after
2825 duping it onto STDIN_FILENO
2826 * tests/qemuxml2argvtest.c: Test for various migrate
2828 * tests/qemuxml2argvdata/qemuxml2argv-migrate.args,
2829 tests/qemuxml2argvdata/qemuxml2argv-migrate.xml,
2830 tests/qemuxml2argvdata/qemuxml2argv-restore-v1.args,
2831 tests/qemuxml2argvdata/qemuxml2argv-restore-v1.xml,
2832 tests/qemuxml2argvdata/qemuxml2argv-restore-v2.args,
2833 tests/qemuxml2argvdata/qemuxml2argv-restore-v2.xml: Data
2834 files for testing migrate syntax options
2836 Thu Jan 29 17:15:18 GMT 2009 John Levon <john.levon@sun.com>
2838 * src/libvirt.c: fix another printf("%s", NULL) case
2840 Thu Jan 29 09:03:17 PST 2009 John Levon <john.levon@sun.com>
2842 * src/xend_internal.c: correctly enable floppies for HVM guests.
2843 Refuse to directly attach disks that won't work via
2846 Thu Jan 29 16:41:07 GMT 2009 John Levon <john.levon@sun.com>
2848 * src/util.c: allow strtol replacements for libvirt proxy
2850 * src/xend_internal.c: fix VNC port reporting when vncunused
2853 * tests/sexpr2xmldata/sexpr2xml-fv-autoport.sexpr:
2854 * tests/sexpr2xmldata/sexpr2xml-fv-autoport.xml:
2855 * tests/sexpr2xmltest.c: add a test
2857 Thu Jan 29 13:07:05 +0100 2009 Jim Meyering <meyering@redhat.com>
2859 * Makefile.cfg: disable some new checks
2861 Thu Jan 29 13:07:05 +0100 2009 Jim Meyering <meyering@redhat.com>
2863 * Makefile.maint: sync from coreutils
2865 Thu Jan 29 13:07:05 +0100 2009 Jim Meyering <meyering@redhat.com>
2867 prohibit new uses of VIR_ERR_NO_MEMORY
2868 * Makefile.maint (sc_prohibit_VIR_ERR_NO_MEMORY): New rule.
2869 * .x-sc_prohibit_VIR_ERR_NO_MEMORY: New file: exceptions.
2871 Thu Jan 29 13:06:51 +0100 2009 Jim Meyering <meyering@redhat.com>
2873 error-reporting calls using VIR_ERR_NO_MEMORY: use virReportOOMError instead
2874 * src/uml_conf.c (VIR_FROM_THIS): Define to VIR_FROM_UML.
2875 * src/xs_internal.c (VIR_FROM_THIS): Define to VIR_FROM_XEN.
2876 * src/xml.c (VIR_FROM_THIS): Define to VIR_FROM_XML.
2877 * src/stats_linux.c (VIR_FROM_THIS): Define to VIR_FROM_STATS_LINUX.
2878 * src/datatypes.c (VIR_FROM_THIS): Define to VIR_FROM_NONE.
2879 * src/lxc_conf.c (VIR_FROM_THIS): Define to VIR_FROM_LXC.
2880 * src/libvirt.c (VIR_FROM_THIS): Define to VIR_FROM_NONE.
2881 * src/node_device_conf.c (VIR_FROM_THIS): Define to VIR_FROM_NODEDEV.
2882 * src/openvz_conf.c (VIR_FROM_THIS): Define to VIR_FROM_OPENVZ.
2883 * src/openvz_driver.c (VIR_FROM_THIS): Define to VIR_FROM_OPENVZ.
2884 * src/conf.c (VIR_FROM_THIS): Define to VIR_FROM_CONF.
2885 Note: this loses config_filename:config_lineno diagnostics,
2887 * src/node_device.c (VIR_FROM_THIS): Define to VIR_FROM_NODEDEV.
2888 * src/sexpr.c (VIR_FROM_THIS): Define to VIR_FROM_SEXPR.
2889 * po/POTFILES.in: remove src/sexpr.c and src/lxc_conf.c
2891 Thu Jan 29 12:44:15 CET 2009 Guido Günther <agx@sigxcpu.org>
2893 * src/virsh.c (main): don't abort when setlocale() fails
2895 Wed Jan 28 22:05:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>
2897 * src/remote_internal.c: Fix typo, and tweak variable decl
2899 Wed Jan 28 21:55:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>
2901 * src/remote_internal.c: Stop reading data off wire once
2902 a single complete message is available.
2904 Wed Jan 28 21:53:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>
2906 Fix bogus valgrind memory leak warnings
2907 * tests/testutils.c: Clear global error upon exit
2908 * tests/.valgrind.supp: Ignore memory from thread local
2911 Wed Jan 28 21:33:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>
2913 Fix RPC portability to Solaris
2914 * configure.in: s/RPCGEN/HAVE_RPCGEN/ for automake
2916 * qemud/Makefile.am: Move rpcgen rules into explicit
2917 rpcgen target to be manually invoked
2918 * qemud/remote_protocol.c, qemud/remote_protocol.h: Update
2919 with portability fixes
2920 * qemud/rpcgen_fix.pl: Replace quad_t types / functions
2921 with uint64_t ones and avoid GET_LONG in favour of GET_INT32
2923 Wed Jan 28 15:45:11 +0100 2009 Jim Meyering <meyering@redhat.com>
2925 remote_internal.c: fix typo that would mistakenly report OOM
2926 * src/remote_internal.c (addrToString): Report VIR_ERR_UNKNOWN_HOST,
2927 not VIR_ERR_NO_MEMORY.
2929 Wed Jan 28 15:45:11 +0100 2009 Jim Meyering <meyering@redhat.com>
2931 qparams.c: Use virReportOOMError(NULL), not qparam_report_oom()
2932 * src/qparams.c (VIR_FROM_THIS): Define to VIR_FROM_NONE.
2933 (qparam_report_oom): Remove definition.
2936 Wed Jan 28 14:24:45 GMT 2009 John Levon <john.levon@sun.com>
2938 * src/xend_internal.c: fix mis-use of PF_UNIX as a protocol
2940 Wed Jan 28 14:27:11 +0100 2009 Jim Meyering <meyering@redhat.com>
2942 libvirt_proxy: avoid potential buffer overflow
2943 * proxy/libvirt_proxy.c (proxyReadClientSocket): Ensure that
2944 we've read an entire virProxyPacket before dereferencing "req".
2945 Analysis and patch by "Rasputin" <rasputin@email.ru>. Details in
2946 <http://thread.gmane.org/gmane.comp.emulators.libvirt/11459>.
2948 Wed Jan 28 14:53:37 +0100 2009 Jim Meyering <meyering@redhat.com>
2950 * po/POTFILES.in: Add src/lxc_conf.c
2952 Wed Jan 28 13:31:12 GMT 2009 John Levon <john.levon@sun.com>
2954 * docs/examples/index.py: remove reference to non-existent *.res
2955 * docs/examples/Makefile.am: regenerate
2957 Wed Jan 28 12:08:26 +0100 2009 Jim Meyering <meyering@redhat.com>
2959 avoid printf format-mismatch warnings
2960 * qemud/qemud.c (qemudClientReadBuf, qemudClientWriteBuf):
2961 Use %lld and a (long long int) cast to print a ssize_t value.
2963 Tue Jan 27 18:17:07 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2965 Support Copy-on-Write storage volumes
2966 * docs/formatstorage.html.in: Add notes about backingStore
2967 XML for storage volumes wanting copy-on-write (eg qcow,
2969 * src/libvirt_private.syms: Add virStorageVolFormatFileSystemTypeFromString
2970 * src/storage_backend.c, src/storage_backend.h: Refactor the
2971 virStorageBackendUpdateVolInfo* methods to allow re-use for
2973 * src/storage_backend_fs.c: Extract backing store data out of
2974 Cow, QCow, QCow2, and VMDK file formats. Allow creation of volumes
2975 with a backing store
2976 * src/storage_backend_logical.c: Extract information about master
2977 volume for snapshots, and allow creation of snapshots.
2978 * src/storage_backend_iscsi.c: Adapt to storage_backend.h changes
2979 * src/storage_conf.h, src/storage_conf.c: Support new backingStore
2980 XML element for COW file data
2982 Tue Jan 27 16:27:07 +0100 2009 Jim Meyering <meyering@redhat.com>
2984 * POTFILES.in: update: remove src/lxc_conf.c; Add src/bridge.c.
2986 Tue Jan 27 15:18:16 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
2988 Add RNG schemas for all XML file formats used in API.
2989 * configure.in: Add docs/schema/Makefile.in to output files
2990 * libvirt.spec.in, mingw32-libvirt.spec.in: Package RNG schemas
2991 from $datadir/libvirt/schemas
2992 * docs/Makefile.am, docs/libvirt.rng, docs/network.rng: Remove
2994 * docs/schemas/Makefile.am: Install RNG schemas to $datadir/libvirt
2995 * docs/schemas/capability.rng: Schema for host capability XML
2996 * docs/schemas/domain.rng: Schema for host capability XML
2997 * docs/schemas/network.rng: Schema for guest domain XML
2998 * docs/schemas/nodedev.rng: Schema for virtual network XML
2999 * docs/schemas/storagepool.rng: Schema for storage pool XML
3000 * docs/schemas/storagevol.rng: Schema for storage volume XML
3001 * tests/Makefile.am, capabilityschematest, networkschematest,
3002 nodedevschematest, storagepoolschematest, storagevolschematest:
3003 New test cases to validate example XML files against schemeas.
3004 * tests/capabilityschemadata/*.xml, tests/nodedevschemadata/*.xml,
3005 tests/storagepoolschemadata/*.xml, tests/storagevolschemadata/*.xml:
3006 New datafiles for schema validation tests.
3008 Tue Jan 27 14:28:16 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3010 * docs/index.html.in: Add link to libvirt-qpid & UML driver info
3011 * docs/drvopenvz.html.in, docs/drvqemu.html.in, docs/drvtest.html.in,
3012 docs/drvuml.html.in docs/drvxen.html.in: Add examples of local and
3013 remote URI formats. Also re-generate equiv .html files
3015 Tue Jan 27 13:25:16 +0100 2009 Jim Meyering <meyering@redhat.com>
3017 virterror.c: don't read beyond end of buffer upon OOM
3018 * src/virterror.c (virReportSystemErrorFull): Fix typo in
3019 my previous change. Patch by Daniel P. Berrange.
3021 Tue Jan 27 10:48:12 IST 2009 Mark McLoughlin <markmc@redhat.com>
3023 kvm/virtio: Set IFF_VNET_HDR when setting up tap fds
3025 IFF_VNET_HDR is a tun/tap flag that allows you to send and receive
3026 large (i.e. GSO) packets and packets with partial checksums. Setting
3027 the flag means that every packet is proceeded by the same header which
3028 virtio uses to communicate GSO/csum metadata.
3030 By enabling this flag on the tap fds we create, we greatly increase
3031 the achievable throughput with virtio_net.
3033 However, we need to be careful to only set the flag when a) QEMU has
3034 support for this ABI and b) the value of the flag is queryable using
3035 the TUNGETIFF ioctl.
3037 It's nearly five months since kvm-74 - the first KVM release with this
3038 feature - was released. Up until now, we've not added libvirt support
3039 because there is no clean way to detect support for this in QEMU at
3040 runtime. A brief attempt to add a "info capabilities" monitor command
3041 to QEMU floundered. Perfect is the enemy of good enough. Probing the
3042 KVM version will suffice for now.
3044 * src/qemu_conf.[ch] (qemudExtractVersionInfo): detect the KVM version,
3045 set QEMUD_CMD_FLAG_VNET_HDR if we have kvm-74 or newer
3046 (qemudBuildCommandLine): if qemu support VNET_HDR and this is a
3047 virtio interface, then use it
3049 * src/bridge.[ch] (brProbeVnetHdr): only enable IFF_VNET_HDR if
3050 the kernel bits are available
3051 (brAddTap): add a @vnet_hdr arg, set IFF_VNET_HDR
3053 Tue Jan 27 11:53:32 +0100 2009 Jim Meyering <meyering@redhat.com>
3054 and Daniel P. Berrange <berrange@redhat.com>
3056 fix errors in virReportSystemErrorFull
3057 * src/virterror.c (virStrerror): New function.
3058 (virReportSystemErrorFull): Don't leak "combined".
3059 In fact, don't even attempt allocation.
3060 Do include the result of formatted print in final diagnostic.
3062 Tue Jan 27 10:38:09 +0100 2009 Jim Meyering <meyering@redhat.com>
3064 use gnulib's stpcpy module
3065 * bootstrap (modules): Add stpcpy, and pull in gnulib bits:
3066 * gnulib/lib/stpcpy.c: New file.
3067 * gnulib/m4/stpcpy.m4: New file.
3068 * gnulib/lib/Makefile.am: Update.
3069 * gnulib/m4/gnulib-cache.m4: Update.
3070 * gnulib/m4/gnulib-comp.m4: Update.
3072 Tue Jan 27 10:38:09 +0100 2009 Jim Meyering <meyering@redhat.com>
3076 Mon Jan 26 20:40:35 +0100 2009 Jim Meyering <meyering@redhat.com>
3078 build: avoid format warnings
3079 * src/proxy_internal.c (xenProxyCommand): Mark a diagnostic.
3080 * src/xen_unified.c (xenUnifiedOpen, xenUnifiedAddDomainInfo):
3081 Fix unmarked diagnostics by removing the diagnostic altogether:
3082 replace each xenUnifiedError(...,VIR_ERR_NO_MEMORY call with a
3083 call to virReportOOMError.
3085 Mon Jan 26 14:44:22 +0100 2009 Jim Meyering <meyering@redhat.com>
3087 * src/virterror.c (virErrorMsg): Correct indentation.
3089 Fri Jan 23 11:07:42 PST 2009 John Levon <john.levon@sun.com>
3091 * src/xs_internal.c: fix recursive lock hang
3093 Fri Jan 23 16:20:03 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3095 * src/qemu_conf.c: Support driver format for setting disk
3097 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c,
3098 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.args,
3099 tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.xml:
3100 Add tests for <driver name='qemu' type='qcow2'/>
3102 Fri Jan 23 17:13:47 +0100 2009 Jim Meyering <meyering@redhat.com>
3104 .cvsignore: Add explicit list of generated files.
3105 * .hgignore: Regenerate.
3106 * m4/.gitignore: Regenerate.
3108 Fri Jan 23 14:22:03 +0100 2009 Jim Meyering <meyering@redhat.com>
3110 fix comment typo: s/contains/continues/
3111 * src/libvirt.c (virStorageVolFree): Correct typo in comment.
3113 qemud: don't dereference NULL on failed virGetUserDirectory
3114 * qemud/qemud.c (qemudInitPaths): Return right away,
3115 upon virGetUserDirectory failure.
3117 Fri Jan 23 14:30:59 +0100 2009 Jim Meyering <meyering@redhat.com>
3119 m4: update from gnulib to avoid warnings from cutting-edge autoconf
3120 * gnulib/m4/errno_h.m4
3121 * gnulib/m4/gnulib-comp.m4
3122 * gnulib/m4/multiarch.m4
3124 Fri Jan 23 14:30:59 +0100 2009 Jim Meyering <meyering@redhat.com>
3126 correct and tighten up .*ignore files
3127 * .cvsignore: Don't ignore *.orig or *.rej. They're not build products.
3128 Don't ignore the entire m4 directory.
3129 * Makefile.maint (sync-vcs-ignore-files): Correct quoting.
3130 Use sed rather than a for loop.
3131 Search only version-controled files (for reproducibility)
3132 * gnulib/lib/netinet/.cvsignore: Append missing newline-at-EOF,
3133 so that the use of sed doesn't mistakenly concatenate lines.
3134 * gnulib/lib/sys/.cvsignore: Likewise.
3135 * m4/.cvsignore: Ignore acinclude.m4 and aclocal.m4, not *.m4.
3136 * .hgignore: Regenerate.
3137 * all .gitignore files: Regenerate.
3139 Fri Jan 23 12:44:44 +0100 2009 Jim Meyering <meyering@redhat.com>
3141 maint: update list of error function names and adapt
3142 * Makefile.maint (msg_gen_function): Update list.
3143 Remove some now-unused names, add some new ones.
3144 * src/hash.c (virHashError): Remove unused definition.
3145 * src/openvz_conf.h (openvzLog): Likewise.
3146 * src/xen_unified.c: Mark newly-exposed diagnostics for translation.
3148 Thu Jan 22 17:42:37 PST 2009 John Levon <john.levon@sun.com>
3150 * src/domain_conf.c, src/domain_conf.h, src/xend_internal.c,
3151 src/xm_internal.c: parse IP address for bridge interfaces
3153 * tests/sexpr2xmltest.c, tests/xml2sexprtest.c,
3154 tests/sexpr2xmldata/sexpr2xml-bridge-ipaddr.sexpr,
3155 tests/sexpr2xmldata/sexpr2xml-bridge-ipaddr.xml,
3156 tests/xml2sexprdata/xml2sexpr-bridge-ipaddr.sexpr,
3157 tests/xml2sexprdata/xml2sexpr-bridge-ipaddr.xml: add tests
3159 Thu Jan 21 19:44:12 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3161 Use the GNULIB random_r function
3162 * Makefile.maint: print 4 lines of context when complaining
3163 about prohibited POSIX apis
3164 * src/libvirt.c: Initialize random number generator
3165 * src/util.c, src/util.h: Generate API for random number gen
3166 * src/uuid.: Use generic random number generator API
3168 Thu Jan 21 19:41:12 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3170 Remove use of non-reentrant POSIX api calls
3171 * configure.in: Check for strtok_r getmntent_r getgrnam_r getpwuid_r
3172 * proxy/libvirt_proxy.c: Remove initialize of obsolete fields
3173 * qemud/qemud.c: Use virGetUserDirectory instead of getpwuid()
3174 * src/libvirt_private.syms, src/util.c, src/util.h: Add a generic
3175 virGetUserDirectory call around getpwuid()
3176 * src/lxc_container.c, src/storage_backend_fs.c: Use getmntent_r()
3177 * src/network_driver.c, src/qemu_driver.c, src/storage_driver.c,
3178 src/remote_internal.c, src/uml_driver.c: Use virGetUserDirectory()
3179 * src/openvz_driver.c: Use strtok_r()
3180 * src/xen_unified.c, src/xen_unified.h, src/xend_internal.c:
3181 Replace gethostname() with getaddrinfo()
3183 Thu Jan 22 20:17:35 +0100 2009 Jim Meyering <meyering@redhat.com>
3185 xm_internal.c: fix locking bug: s/Lock/Unlock/
3186 * src/xm_internal.c (xenXMDomainDefineXML): Release lock, (don't
3187 try to acquire it) upon failure, just before returning.
3189 Thu Jan 22 10:35:03 PST 2009 John Levon <john.levon@sun.com>
3191 * gnulib/tests/.cvsignore: add test-random_r
3192 * Makefile.maint: generate .hgignore
3194 * gnulib/tests/.gitignore, .hgignore, m4/.gitignore: regenerate
3196 Thu Jan 22 10:30:21 PST 2009 John Levon <john.levon@sun.com>
3198 * src/libvirt_private.syms: Remove non-existent
3199 virNetworkSaveConfigXML from linker script
3201 Thu Jan 22 09:51:29 PST 2009 John Levon <john.levon@sun.com>
3203 * src/domain_conf.h, src/domain_conf.c, src/xend_internal.c,
3204 src/xm_internal.c: Support script for bridge interface type
3206 * tests/sexpr2xmldata/sexpr2xml-curmem.xml,
3207 tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.xml,
3208 tests/sexpr2xmldata/sexpr2xml-fv-localtime.xml,
3209 tests/sexpr2xmldata/sexpr2xml-fv-parallel-tcp.xml,
3210 tests/sexpr2xmldata/sexpr2xml-fv-serial-file.xml,
3211 tests/sexpr2xmldata/sexpr2xml-fv-serial-null.xml,
3212 tests/sexpr2xmldata/sexpr2xml-fv-serial-pipe.xml,
3213 tests/sexpr2xmldata/sexpr2xml-fv-serial-pty.xml,
3214 tests/sexpr2xmldata/sexpr2xml-fv-serial-stdio.xml,
3215 tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp-telnet.xml,
3216 tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp.xml,
3217 tests/sexpr2xmldata/sexpr2xml-fv-serial-udp.xml,
3218 tests/sexpr2xmldata/sexpr2xml-fv-serial-unix.xml,
3219 tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml,
3220 tests/sexpr2xmldata/sexpr2xml-fv-sound.xml,
3221 tests/sexpr2xmldata/sexpr2xml-fv-usbmouse.xml,
3222 tests/sexpr2xmldata/sexpr2xml-fv-usbtablet.xml,
3223 tests/sexpr2xmldata/sexpr2xml-fv-utc.xml,
3224 tests/sexpr2xmldata/sexpr2xml-fv-v2.xml,
3225 tests/sexpr2xmldata/sexpr2xml-fv.xml,
3226 tests/sexpr2xmldata/sexpr2xml-net-bridged.xml,
3227 tests/sexpr2xmldata/sexpr2xml-net-e1000.xml: update tests
3229 Thu Jan 22 18:18:12 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3231 Missing test case fix up from Xen threadsafety changes
3232 * tests/sexpr2xmltest.c, tests/Makefile.am: Pass a real
3233 connection object into the xenDaemonParseSxprString()
3234 method, since it needs to use the priv object.
3236 Thu Jan 22 09:23:53 PST 2009 John Levon <john.levon@sun.com>
3238 Least privilege support for Solaris
3239 * qemud/qemud.c: init privs and refuse non-privileged
3241 * src/remote_internal.c: don't attempt user daemon instance on
3243 * src/xen_internal.c, src/xen_internal.h, src/xen_unified.c,
3244 src/xend_internal.c, src/xs_internal.c: replace UID checks
3245 with privilege checks. Refuse to load the Xen driver unless
3248 Wed Jan 21 18:10:12 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3250 Make Xen driver threadsafe
3251 * src/proxy_internal.c, src/xen_inotify.c, src/xen_internal.c,
3252 src/xen_unified.c, src/xen_unified.h, src/xend_internal.c,
3253 src/xm_internal.c, src/xs_internal.c, src/xs_internal.h: Add
3254 mutex locking of shared state
3256 Wed Jan 21 10:48:12 IST 2009 Mark McLoughlin <markmc@redhat.com>
3258 If you un-install libvirt and re-install it, you get a warning
3259 from the post-install script:
3261 Installing : libvirt
3262 ln: creating symbolic link `/etc/libvirt/qemu/networks/autostart/default.xml': File exists
3264 See https://bugzilla.redhat.com/462011
3266 * libvirt.spec.in: don't create networks/default.xml if it
3269 Tue Jan 20 22:39:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3271 Properly handle daemon restarts with storage driver
3272 * src/storage_backend_iscsi.c: Detect if already logged into
3274 * src/storage_driver.c: Don't shutdown storage when daemon
3277 Tue Jan 20 22:25:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3279 Allow virtual networks to survive a daemon restart
3280 * libvirt.spec.in: Add conditional to allow disabling of network
3281 and remove mkdir of state directories now created in Makefile.am
3283 * src/bridge.c, src/bridge.h: Add a brHasBridge() method
3284 * src/libvirt_bridge.syms: Add brHasBridge
3285 * src/libvirt_private.syms: Add virNetworkConfigFile and
3286 virNetworkSaveConfigXML
3287 * src/network_conf.c, src/network_conf.h, src/network_driver.c:
3288 Write out state file containing live XML. Allow dnsmasq to
3289 store a PID file. Put dnsmasq in background. Remove obsolete
3290 dhcp-leasefile option which was a no-op
3292 Tue Jan 20 22:12:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3294 * src/domain_conf.c, src/domain_conf.h: Support ac97 soundcard
3296 * src/xend_internal.c: Remove unused APis and restrict the
3297 'all' device conversion to just sb16 + es1370
3298 * tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml: Revert earlier
3299 mistaken change which added pcspk device
3301 Tue Jan 20 22:06:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3303 * python/libvir.c, python/libvir.py: Use global thread
3304 local error variable for all exceptions.
3306 Tue Jan 20 13:35:36 PST 2009 John Levon <john.levon@sun.com>
3308 * qemud/qemud.c: respect LIBVIRT_DEBUG when logging to syslog
3310 Tue Jan 20 22:32:44 CET 2009 Daniel Veillard <veillard@redhat.com>
3312 * src/logging.c: fix openlog() ident lifetime for Solaris
3314 Tue Jan 20 21:02:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3316 Refresh GNULIB, adding new random_r module
3317 * bootstrap: Add random_r module
3318 * gnulib/lib/random_r.c, gnulib/m4/random_r.m4,
3319 gnulib/tests/test-random_r.c: New random_r module
3320 * gnulib/lib/.cvsignore, gnulib/lib/.gitignore, gnulib/lib/Makefile.am,
3321 gnulib/lib/arpa_inet.in.h, gnulib/lib/fseeko.c, gnulib/lib/gettimeofday.c,
3322 gnulib/lib/ioctl.c, gnulib/lib/poll.c, gnulib/lib/stdint.in.h,
3323 gnulib/lib/stdio.in.h, gnulib/lib/strerror.c, gnulib/lib/sys_stat.in.h,
3324 gnulib/lib/unistd.in.h, gnulib/lib/wchar.in.h: Refresh source
3325 * gnulib/m4/alloca.m4, gnulib/m4/codeset.m4, gnulib/m4/errno_h.m4,
3326 gnulib/m4/getaddrinfo.m4, gnulib/m4/gethostname.m4, gnulib/m4/getline.m4,
3327 gnulib/m4/getpass.m4, gnulib/m4/gettext.m4, gnulib/m4/gettimeofday.m4,
3328 gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-common.m4,
3329 gnulib/m4/gnulib-comp.m4, gnulib/m4/iconv.m4, gnulib/m4/inet_ntop.m4,
3330 gnulib/m4/inet_pton.m4, gnulib/m4/intldir.m4, gnulib/m4/intlmacosx.m4,
3331 gnulib/m4/intmax.m4, gnulib/m4/intmax_t.m4, gnulib/m4/inttypes-pri.m4,
3332 gnulib/m4/inttypes_h.m4, gnulib/m4/lcmessage.m4, gnulib/m4/lib-ld.m4,
3333 gnulib/m4/lib-link.m4, gnulib/m4/lock.m4, gnulib/m4/longlong.m4,
3334 gnulib/m4/lstat.m4, gnulib/m4/malloc.m4, gnulib/m4/nls.m4,
3335 gnulib/m4/physmem.m4, gnulib/m4/po.m4, gnulib/m4/poll.m4,
3336 gnulib/m4/printf-posix.m4, gnulib/m4/printf.m4, gnulib/m4/progtest.m4,
3337 gnulib/m4/realloc.m4, gnulib/m4/sockets.m4, gnulib/m4/sockpfaf.m4,
3338 gnulib/m4/stdbool.m4, gnulib/m4/stdint.m4, gnulib/m4/stdint_h.m4,
3339 gnulib/m4/stdio_h.m4, gnulib/m4/strdup.m4, gnulib/m4/strndup.m4,
3340 gnulib/m4/strnlen.m4, gnulib/m4/strsep.m4, gnulib/m4/threadlib.m4,
3341 gnulib/m4/uintmax_t.m4, gnulib/m4/unistd_h.m4, gnulib/m4/vasnprintf.m4,
3342 gnulib/m4/wchar_t.m4, gnulib/m4/wint_t.m4, gnulib/tests/Makefile.am,
3343 gnulib/tests/test-unistd.c: Refresh macros
3345 Tue Jan 20 20:22:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3347 * src/test.c: Support domain events in test driver
3348 * tests/read-bufsiz: Set $srcdir & $abs_srcdir if running
3351 Tue Jan 20 19:49:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3353 * .x-sc_prohibit_nonreentrant: Blacklist some places where
3354 use of non-threadsafe APIs are not neccessary to check
3355 * Makefile.am, Makefile.maint, Makefile.nonreentrant: Add
3356 check for non-reentrant safe API calls
3357 * Makefile.cfg: Temporarily disable non-reentrant check
3359 Tue Jan 20 20:28:07 +0100 2009 Jim Meyering <meyering@redhat.com>
3361 don't ignore write failure
3362 * src/network_driver.c (networkEnableIpForwarding): This function
3363 would always return 1 (success). Now it returns 0 upon write or
3364 close failure, being careful to preserve any errno from a write failure.
3367 Tue Jan 20 19:26:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3369 * qemud/qemud.c, qemud/qemud.h: Dynamic spawn/cleanup threads
3370 for processing RPC calls as number of clients changes
3372 Tue Jan 20 19:24:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3374 * qemud/qemud.c, qemud/qemud.h, qemud/remote.c: Allow the
3375 processing of multiple concurrent RPC calls per client
3377 * qemud/libvirtd.conf, qemud/libvirtd.aug,
3378 qemud/test_libvirtd.aug: Add config param for controlling
3379 number of requests per client.
3381 Tue Jan 20 18:16:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3383 * src/xm_internal.c: Fix 2 misleading comments & potential
3386 Tue Jan 20 17:46:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3388 * src/remote_internal.c: Remove a use of strerror() in error
3389 reporting missed earlier
3391 Tue Jan 20 17:33:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3393 * src/xen_inotify.c, src/xen_unified.c, src/xen_unified.h,
3394 src/xm_internal.c, src/xm_internal.h: Move statically
3395 declared data from XM driver into xenUnifiedPrivatePtr
3397 Tue Jan 20 18:26:24 CET 2009 Daniel Veillard <veillard@redhat.com>
3399 * libvirt.spec.in: try to autodetect when rhel5 option should be
3402 Tue Jan 20 17:15:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3404 * src/xen_inotify.c, src/xen_unified.h, src/xs_internal.c:
3405 Move statically declared data into xenUnifiedPrivatePtr
3408 Tue Jan 20 16:59:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3410 Make error reporting threadsafe by avoiding strerror()
3411 * autobuild.sh: Set mingw compile warnings to fail compile
3412 * configure.in: Check for strerror_r
3413 * po/POTFILES.in: Add src/xen_unified.c
3414 * src/virterror.c, src/virterror_internal.h,
3415 src/libvirt_private.syms: Add virReportSystemErrorFull and
3416 virReportOOMErrorFull convenience functions
3417 * src/domain_conf.c, src/lxc_container.c, src/lxc_controller.c,
3418 src/lxc_driver.c, src/network_conf.c, src/network_driver.c,
3419 src/nodeinfo.c, src/qemu_driver.c, src/remote_internal.c,
3420 src/storage_backend.c, src/storage_backend_disk.c,
3421 src/storage_backend_fs.c, src/storage_backend_iscsi.c,
3422 src/storage_backend_logical.c, src/storage_conf.c,
3423 src/storage_driver.c, src/test.c, src/uml_driver.c,
3424 src/util.c, src/xen_inotify.c, src/xen_internal.c,
3425 src/xen_unified.c, src/xend_internal.c, src/xm_internal.c:
3426 Remove use of strerror when reporting errors, in favour
3427 of virReportSystemError() and virReportOOMError()
3429 Tue Jan 20 17:17:11 CET 2009 Daniel Veillard <veillard@redhat.com>
3431 * src/qemu_driver.c: remove a warning when printing a file offset
3433 Tue Jan 20 16:36:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3435 Make RPC call dispatch threaded
3436 * src/libvirt_private.syms, src/util.h, src/util.c: Add
3437 a general virSetNonBlock() helper with portability to
3439 * src/remote_internal.c: Re-factor I/O to allow RPC calls
3440 from multiple threads to be handled concurrently.
3442 Tue Jan 20 17:08:20 CET 2009 Daniel Veillard <veillard@redhat.com>
3444 * src/domain_conf.h src/lxc_driver.c src/uml_driver.c: virDomainObj
3445 doesn't need stdout and stderr fields anymore, patch from
3448 Tue Jan 20 16:48:00 CET 2009 Daniel Veillard <veillard@redhat.com>
3450 * src/domain_conf.h src/qemu_driver.c: use monitor fd for QEmu/KVM
3451 domain shutdown and read saved vm status on libvirtd startup,
3452 last 2 patches from Guido Günther finishing up the surviving the
3453 libvirt daemon restart
3455 Tue Jan 20 16:35:24 CET 2009 Daniel Veillard <veillard@redhat.com>
3457 * docs/apibuild.py: fix the parser with another Win32 keyword
3458 * po/*: updated a couple of translations and regenerated
3460 Tue Jan 20 14:50:58 CET 2009 Jim Meyering <meyering@redhat.com>
3462 fix "make syntax-check" failures
3463 * ChangeLog: Start with TAB, not 8 spaces.
3464 * src/virterror.c: Remove trailing spaces.
3466 Tue Jan 20 12:25:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3468 * configure.ac: Fix alignment of configuration summary output
3470 Tue Jan 20 12:08:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3472 * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
3473 src/libvirt.c, src/libvirt_public.syms: Add new ref counting
3474 APIs for public objects: virConnectRef, virDomainRef,
3475 virNetworkRef, virStoragePoolRef, virStorageVolRef,
3478 Tue Jan 20 12:03:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3480 * tests/cpuset, tests/read-bufsiz, tests/start, tests/undefine,
3481 tests/vcpupin: Switch order of expected vs actual data in diff
3482 comparison, so output on failure makes sense.
3484 Tue Jan 20 12:01:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3486 Thread local error handling
3487 * src/datatypes.c: Don't reference global error object directly
3488 now that it is thread-local. Avoid passing 'conn' arg to error
3489 routines if we just determined that the pointer is invalid
3490 * src/datatypes.h: Add note about rules for locking when using
3491 virConnectPtr members
3492 * src/libvirt.c: Initialize error handling routines at startup.
3493 Adapt driver API methods to reset last error upon entry, and
3494 copy the global thread local error to the per-connection error
3496 * src/virterror.c, src/virterror_internal.h: Store the global
3497 error object in a thread local variable. Provide a API to copy
3498 the global error into a per-connection error object. Add an
3499 initialization routine to setup the thread local
3501 Tue Jan 20 11:43:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3503 * src/remote_internal.c: Disable event watch when doing an
3504 RPC call to avoid bogus event loop wakeups which would
3507 Tue Jan 20 11:28:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3509 * src/remote_internal.c: Add locking to all public API entry
3512 Mon Jan 19 22:50:53 CET 2009 Guido Günther <agx@sigxcpu.org>
3514 daemonize qemu processes
3515 * src/qemu_driver.c (qemudStartVMDaemon): virExec qemu/kvm via
3517 (qemudShutdownVMDaemon): use virKillProcess, don't waitpid
3519 Mon Jan 19 21:54:25 CET 2009 Guido Günther <agx@sigxcpu.org>
3521 save domstate as string in status file
3522 * src/domain_conf.c (virDomainState): add VIR_ENUM_IMPL
3523 * src/domain_conf.h (virDomainState): add VIR_ENUM_DECL
3524 * src/qemu_conf.c (qemudDomainStatusParseFile): parse state as string
3525 (qemudDomainStatusFormat): write as string
3526 * src/libvirt_private.syms (virDomainStateTypeToString,
3527 virDomainStateTypeFromString): add sympbols
3529 Mon Jan 19 20:58:34 CET 2009 Daniel Veillard <veillard@redhat.com>
3531 * src/xen_internal.c src/xend_internal.c: Relax NUMA checking
3532 for RHEL-5 and change the detection stategy for default Xen
3533 accesses, patch by Markus Armbruster
3535 Mon Jan 19 20:47:18 CET 2009 Daniel Veillard <veillard@redhat.com>
3537 * src/xend_internal.c src/xm_internal.c: fix paravirt framebuffer
3538 handling since it was backoprted for RHEL-5, patch by Markus
3541 Mon Jan 19 19:10:08 CET 2009 Daniel Veillard <veillard@redhat.com>
3543 * src/xend_internal.c src/xm_internal.c: fix fully virt network
3544 device configuration for Xen on RHEL-5, patch by Markus Armbruster
3546 Mon Jan 19 18:31:56 CET 2009 Daniel Veillard <veillard@redhat.com>
3548 * configure.in: add a --with-rhel5-api configure option
3549 for the Xen specific version of RHEL-5, patch by Markus Armbruster
3551 Mon Jan 19 16:18:46 CET 2009 Daniel Veillard <veillard@redhat.com>
3553 * src/xm_internal.c: two bug fixes coming from RHEL package
3554 posted by Markus Armbruster
3555 * AUTHORS: adding Markus
3557 Fri Jan 16 18:44:08 +0100 2009 Jim Meyering <meyering@redhat.com>
3559 tests: virsh-all and virsh-synopsis were not being run
3560 * tests/Makefile.am (test_scripts): Add two missing backslashes.
3562 tests: exercise a bug that could make virsh and libvirtd segfault
3563 * tests/define-dev-segfault: New file.
3564 * tests/Makefile.am (test_scripts): Add define-dev-segfault.
3566 Fri Jan 16 11:48:41 EST 2009 Cole Robinson <crobinso@redhat.com>
3568 * src/domain_conf.c: Fix segfault with console device back compat.
3570 Thu Jan 15 20:12:19 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3572 * src/remote_internal.c: Fix bug when fork isn't available (Win32)
3574 Thu Jan 15 20:06:19 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3576 * src/remote_internal.c: Reduce number of exit paths in APIs
3578 Thu Jan 15 20:03:19 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3580 * src/remote_internal.c: Remove use of macros for accessing
3583 Thu Jan 15 20:02:19 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3585 * src/remote_internal.c: Fix private data field access in
3588 Thu Jan 15 19:54:19 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3590 Provide a generic internal API for threads support
3591 * src/Makefile.am, src/threads.c, src/threads.h: Generic internal API for threads
3592 * src/threads-pthread.c, src/threads-pthread.h: UNIX pthreads impl
3593 * src/threads-win32.c, src/threads-win32.h: Win32 threads impl
3594 * src/internal.h: Remove unnneccessary pthreads macros
3595 * src/libvirt_private.syms: Add symbols for internal threads API
3596 * po/POTFILES.in: Add node_device_conf.c
3597 * proxy/Makefile.am: Add threads.c to build
3598 * qemud/qemud.c, qemud/qemud.h, qemud/remote.c, src/datatypes.c,
3599 src/datatypes.h, src/domain_conf.c, src/domain_conf.h,
3600 src/libvirt.c, src/logging.c, src/lxc_conf.h, src/lxc_driver.c,
3601 src/network_conf.c, src/network_conf.h, src/network_driver.c,
3602 src/node_device.c, src/node_device_conf.c, src/node_device_conf.h,
3603 src/node_device_devkit.c, src/node_device_hal.c, src/openvz_conf.c,
3604 src/openvz_conf.h, src/openvz_driver.c, src/qemu_conf.h,
3605 src/qemu_driver.c, src/storage_conf.c, src/storage_conf.h,
3606 src/storage_driver.c, src/test.c, src/uml_conf.h, src/uml_driver.c:
3607 Switch over to internal threads API instead of pthreads
3609 Thu Jan 15 19:39:19 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3611 * src/util.c: Implement virKill() for Win32 platform
3613 Thu Jan 15 17:29:19 GMT 2009 John Levon <levon@movementarian.org>
3616 * src/libvirt.c: Avoid passing NULL to printf %s specifier
3618 Thu Jan 15 15:11:35 GMT 2009 John Levon <levon@movementarian.org>
3620 * src/xend_internal.c: Improve xend_get error message
3622 Thu Jan 15 01:31:45 GMT 2009 John Levon <levon@movementarian.org>
3624 * src/xen_internal.c: implement capabilities parsing for Solaris
3626 Thu Jan 15 01:22:32 GMT 2009 John Levon <levon@movementarian.org>
3628 * src/xs_internal.c: Fix xs_unwatch() to correctly pass the
3631 Thu Jan 15 01:19:02 GMT 2009 John Levon <levon@movementarian.org>
3633 * src/xen_unified.c:
3634 * src/xs_internal.c: Fix activeDomainList handling
3636 Thu Jan 15 01:16:05 GMT 2009 John Levon <levon@movementarian.org>
3638 * src/xen_unified.c: Fix ref-counting for Xen driver event
3641 Wed Jan 14 17:30:54 GMT 2009 John Levon <levon@movementarian.org>
3643 * docs/devhelp/Makefile.am: Fix devhelp build dependencies
3645 Wed Jan 14 17:25:38 GMT 2009 John Levon <levon@movementarian.org>
3647 * docs/devhelp/Makefile.am: Let devhelp build in a separate objdir.
3649 Wed Jan 14 16:21:47 GMT 2009 John Levon <levon@movementarian.org>
3652 * docs/examples/Makefile.am:
3653 * docs/examples/index.py: remove references to non-existent
3656 Wed Jan 14 16:17:20 GMT 2009 John Levon <levon@movementarian.org>
3658 * src/xend_internal.c: Add a ':cdrom' marker for PV as well as
3661 Wed Jan 14 15:13:17 GMT 2009 John Levon <levon@movementarian.org>
3664 * m4/compiler-flags.m4: Some compilers (including GCC) don't set
3665 the return value consistently if an erroneous option is passed on
3666 the command line. Account for that.
3668 Tue Jan 13 13:21:13 +0100 2009 Jim Meyering <meyering@redhat.com>
3670 qemud.c: fix error in yesterday's change: s/X_OK/R_OK/
3671 * qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by
3674 Tue Jan 13 11:44:32 +0100 2009 Jim Meyering <meyering@redhat.com>
3676 * HACKING: Clarify "bool" vs. XDR/wire-format.
3678 Mon Jan 12 22:07:57 CET 2009 Daniel Veillard <veillard@redhat.com>
3680 * docs/index.html docs/index.html.in docs/relatedlinks.html
3681 docs/relatedlinks.html.in: fix the QEmu links
3683 Mon Jan 12 19:16:00 +0000 2009 Richard W.M. Jones <rjones@redhat.com>
3685 Fix invocation of rpcgen.
3686 * qemud/Makefile.am: Fix invocation of rpcgen, and make sure
3687 we run the right one.
3689 Mon Jan 12 18:55:16 +0100 2009 Jim Meyering <meyering@redhat.com>
3691 tests: quiet virsh-all
3692 * tests/virsh-all: For now, ignore diagnostics and exit status,
3693 when running all virsh commands.
3695 Mon Jan 12 18:55:16 +0100 2009 Jim Meyering <meyering@redhat.com>
3697 diagnose "libvirtd --config=no-such-file"
3698 * qemud/qemud.c (remoteReadConfigFile): Don't return 0 (success)
3699 when the config file is unreadable or nonexistent
3700 Return -1, not 0, upon virConfReadFile failure.
3701 (main): If remote_config_file is not specified via --config(-f),
3702 use the default config file only if it exists. Otherwise,
3704 * src/conf.c (virConfReadFile): Don't diagnose virFileReadAll
3705 failure, since it already does that.
3707 Mon Jan 12 18:55:15 +0100 2009 Jim Meyering <meyering@redhat.com>
3709 fix non-srcdir build failure
3710 * qemud/Makefile.am (check-local): Prefix use of test_libvirtd.aug
3711 with $(srcdir)/. Add quotes around $(AUGPARSE), in case it expands
3712 to something unusual.
3714 Mon Jan 12 16:07:32 CET 2009 Daniel Veillard <veillard@redhat.com>
3716 * docs/formatdomain.html.in docs/libvirt.rng docs/formatdomain.html:
3717 document the new PCI passthrough format
3718 * tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c
3719 tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.args
3720 tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml:
3721 and add a regression test for it.
3723 Sun Jan 11 12:18:38 CET 2009 Guido Günther<agx@sigxcpu.org>
3725 * src/qemu_driver.c (qemudLogFD): use snprintf instead of emulating it
3727 Sun Jan 11 12:16:44 CET 2009 Guido Günther <agx@sigxcpu.org>
3729 split out opening of the qemu logfile
3730 * src/qemu_driver.c (qemudLogFD): new function
3731 (qemudStartVMDaemon): call qemudLogFD
3733 Fri Jan 9 18:29:11 GMT 2009 John Levon <levon@movementarian.org>
3735 * src/logging.h: fix non-debug compile
3737 Thu Jan 8 20:28:06 GMT 2009 John Levon <levon@movementarian.org>
3739 Fixups after gnulib refresh
3740 * configure.in: search -lnsl for xdr functions
3741 * qemud/Makefile.am: link in $(LIBSOCKET)
3742 * tests/Makefile.am: link in $(LIBSOCKET)
3744 Thu Jan 8 20:47:26 CET 2009 Guido Günther <agx@sigxcpu.org>
3746 add missing flags argument
3747 * src/xend_internal.c (xenDaemonAttachDevice, xenDaemonDetachDevice):
3748 Add missing flags argument
3749 * src/xm_internal.c (xenXMDomainDefineXML, xenXMDomainAttachDevice,
3750 xenXMDomainDetachDevice): Likewise
3751 * tests/xmconfigtest.c (testCompareParseXML): Likewise
3752 * tests/xml2sexprtest.c (testCompareFiles): Likewise
3754 Thu Jan 8 14:41:55 CET 2009 Guido Günther <agx@sigxcpu.org>
3756 pass flags argument to all virDomain*DefParse* functions
3757 * src/domain_conf.c (virDomainDiskDefParseXML,
3758 virDomainFSDefParseXML, virDomainNetDefParseXML,
3759 virDomainChrDefParseXML, virDomainSoundDefParseXML,
3760 virDomainHostdevSubsysUsbDefParseXML, virDomainHostdevDefParseXML,
3761 virDomainDefParseString): Add and pass on flags argument
3762 * src/domain_conf.h (virDomainDeviceDefParse,
3763 virDomainDefParseString): Add flags argument
3764 * src/lxc_driver.c (lxcDomainDefine): Pass VIR_DOMAIN_XML_INACTIVE
3765 * src/openvz_driver.c (openvzDomainDefineXML): Likewise
3766 * src/qemu_driver.c (qemudDomainCreate, qemudDomainRestore,
3767 qemudDomainDefine, qemudDomainAttachDevice): Likewise
3768 * src/test.c (testOpenDefault, testDomainCreateXML, testDomainRestore,
3769 testDomainDefineXML): Likewise
3770 * src/uml_driver.c (umlDomainCreate, umlDomainDefine): Likewise
3771 * src/xend_internal.c (xenDaemonCreateXML, xenDaemonDomainCreateXML):
3773 * tests/qemuxml2xmltest.c (testCompareXMLToXMLFiles): Likewise
3775 Thu Jan 8 09:48:04 CET 2009 Daniel P. Berrange <berrange@redhat.com>
3777 poll: don't return uninitialized
3778 * gnulib/lib/poll.c (poll) [WIN32_NATIVE]: Initialize "rc".
3779 [sync from gnulib also adjusts cpp indentation to reflect nesting.]
3781 Wed Jan 7 17:12:33 +0100 2009 Jim Meyering <meyering@redhat.com>
3783 add more files pulled in via yesterday's gnulib upgrade
3784 * gnulib/m4/multiarch.m4: New file.
3785 * gnulib/m4/hostent.m4: New file.
3786 * gnulib/m4/servent.m4: New file.
3787 * .x-sc_prohibit_gethostby: Exempt all gnulib/m4/* files, so
3788 hostent.m4's uses of gethostbyname and gethostbyaddr do not
3789 trigger a "make syntax-check" failure.
3791 bootstrap: pull in gnulib's ioctl module
3792 * bootstrap: Invoke gnulib-tool with its --no-vc-files
3793 option, since we version-control the files it imports.
3794 This tells it not to mark imported files as cvs-ignored.
3795 (modules): Add ioctl.
3796 * gnulib/lib/ioctl.c: New file.
3797 * gnulib/lib/sys_ioctl.in.h: New file.
3798 * gnulib/tests/sys_ioctl.in.h: Removed.
3799 * gnulib/tests/ioctl.c: Removed.
3800 * gnulib/lib/Makefile.am: Update.
3801 * gnulib/m4/gnulib-cache.m4: Likewise.
3802 * gnulib/m4/gnulib-comp.m4: Likewise.
3803 * gnulib/tests/Makefile.am: Likewise.
3804 * gnulib/lib/.cvsignore: Ignore sys_ioctl.h.
3805 * gnulib/lib/.gitignore: Regenerate.
3807 ignore generated libvirtd.logrotate.
3808 * qemud/.cvsignore: Add libvirtd.logrotate.
3809 * qemud/.gitignore: Regenerate.
3811 Wed Jan 7 13:54:05 CET 2009 Daniel Veillard <veillard@redhat.com>
3813 * src/domain_conf.c src/qemu_conf.c: implement PCI passthrough
3814 for recent KVM versions in a similar way to USB, patch by
3815 Jason Krieg. Some cleanups and reformating too.
3817 Wed Jan 7 11:54:06 CET 2009 Daniel Veillard <veillard@redhat.com>
3819 * src/openvz_driver.c: fix the mac addresses generation for
3820 OpenVZ veth devices, patch by Evgeniy Sokolov
3822 Wed Jan 7 11:38:04 CET 2009 Daniel Veillard <veillard@redhat.com>
3824 * src/libvirt_private.syms src/qemu_driver.c src/test.c
3825 src/uml_driver.c src/util.c src/util.h src/xen_unified.c:
3826 unify hostname lookup using virGetHostname convenience function,
3827 patch by David Lutterkort
3829 Tue Jan 6 20:38:23 +0100 2009 Jim Meyering <meyering@redhat.com>
3831 update from gnulib; use its time_r module for localtime_r on mingw
3832 * bootstrap (modules): Add time_r.
3833 * gnulib/m4/time_h.m4: New file.
3834 * gnulib/m4/time_r.m4: New file.
3835 * gnulib/lib/time_r.c: New file.
3836 * gnulib/tests/test-time.c: New file.
3837 * gnulib/lib/time.in.h: New file.
3838 * gnulib/lib/Makefile.am: Update.
3839 * gnulib/lib/fseeko.c: Likewise.
3840 * gnulib/lib/lstat.c: Likewise.
3841 * gnulib/lib/netdb.in.h: Likewise.
3842 * gnulib/lib/stdint.in.h: Likewise.
3843 * gnulib/lib/stdlib.in.h: Likewise.
3844 * gnulib/lib/sys_select.in.h: Likewise.
3845 * gnulib/lib/sys_stat.in.h: Likewise.
3846 * gnulib/lib/sys_time.in.h: Likewise.
3847 * gnulib/lib/unistd.in.h: Likewise.
3848 * gnulib/lib/wchar.in.h: Likewise.
3849 * gnulib/m4/codeset.m4: Likewise.
3850 * gnulib/m4/errno_h.m4: Likewise.
3851 * gnulib/m4/extensions.m4: Likewise.
3852 * gnulib/m4/getaddrinfo.m4: Likewise.
3853 * gnulib/m4/gettext.m4: Likewise.
3854 * gnulib/m4/glibc2.m4: Likewise.
3855 * gnulib/m4/glibc21.m4: Likewise.
3856 * gnulib/m4/gnulib-cache.m4: Likewise.
3857 * gnulib/m4/gnulib-comp.m4: Likewise.
3858 * gnulib/m4/iconv.m4: Likewise.
3859 * gnulib/m4/include_next.m4: Likewise.
3860 * gnulib/m4/intdiv0.m4: Likewise.
3861 * gnulib/m4/intlmacosx.m4: Likewise.
3862 * gnulib/m4/intmax.m4: Likewise.
3863 * gnulib/m4/inttypes-pri.m4: Likewise.
3864 * gnulib/m4/inttypes_h.m4: Likewise.
3865 * gnulib/m4/lcmessage.m4: Likewise.
3866 * gnulib/m4/lib-link.m4: Likewise.
3867 * gnulib/m4/lstat.m4: Likewise.
3868 * gnulib/m4/netdb_h.m4: Likewise.
3869 * gnulib/m4/nls.m4: Likewise.
3870 * gnulib/m4/po.m4: Likewise.
3871 * gnulib/m4/printf-posix.m4: Likewise.
3872 * gnulib/m4/printf.m4: Likewise.
3873 * gnulib/m4/progtest.m4: Likewise.
3874 * gnulib/m4/size_max.m4: Likewise.
3875 * gnulib/m4/sockets.m4: Likewise.
3876 * gnulib/m4/stdint.m4: Likewise.
3877 * gnulib/m4/stdint_h.m4: Likewise.
3878 * gnulib/m4/sys_ioctl_h.m4: Likewise.
3879 * gnulib/m4/threadlib.m4: Likewise.
3880 * gnulib/m4/uintmax_t.m4: Likewise.
3881 * gnulib/m4/visibility.m4: Likewise.
3882 * gnulib/m4/wchar.m4: Likewise.
3883 * gnulib/m4/wchar_t.m4: Likewise.
3884 * gnulib/m4/wint_t.m4: Likewise.
3885 * gnulib/m4/xsize.m4: Likewise.
3886 * gnulib/tests/Makefile.am: Likewise.
3887 * gnulib/tests/sockets.h: Likewise.
3888 * gnulib/tests/.cvsignore: Likewise.
3889 * gnulib/tests/.gitignore: Likewise.
3890 * tests/.gitignore: Likewise.
3891 * docs/examples/.gitignore: Likewise.
3892 * gnulib/lib/.cvsignore: Likewise.
3893 * gnulib/lib/.gitignore: Likewise.
3895 remove files associated with obsolete strpbrk module
3896 * gnulib/lib/strpbrk.c: Remove file.
3897 * gnulib/m4/strpbrk.m4: Remove file.
3899 Tue Jan 6 17:52:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
3901 Misc windows / mingw portability fixes
3902 * src/logging.c: Add include of unistd.h for close() prototype
3903 * src/logging.h: Add a VIR_ prefix on logging macros to
3904 avoid clash with Windows.h symbols for ERROR()
3905 * tests/nodeinfotest.c: Annotate unused attribute
3906 * src/test.c: Annotate unused attributes when missing
3908 * qemud/remote.c, qemud/qemud.c: Use VIR_ prefix on
3910 * qemud/remote_protocol.c, qemud/rpcgen_fix.pl: Add cast
3911 to workaround odd portablexdr XDR_INLINE return type
3913 Tue Jan 6 18:44:34 CET 2009 Guido Günther <agx@sigxcpu.org>
3916 * src/util.[ch] (virKillProcess): new function
3917 * src/libvirt_private.syms: add symbol
3919 Tue Jan 6 18:14:31 CET 2009 Guido Günther <agx@sigxcpu.org>
3922 * src/qemu_driver.c (qemudGetMaxVCPUs): we have kvmGetMaxVCPUs(), so
3924 * src/qemu_driver.c (qemudDomainDetachDevice): fix error message
3925 * AUTHORS: fix spelling and suggest UTF-8 encoding
3926 * docs/apps.html.in: minor typo
3928 Tue Jan 6 18:12:38 CET 2009 Guido Günther <agx@sigxcpu.org>
3930 * .gitignore: ignore generated TAGS files
3932 Tue Jan 6 17:18:10 CET 2009 Daniel Veillard <veillard@redhat.com>
3934 * AUTHORS: John Levon is now a commiter
3936 Tue Jan 6 16:21:24 CET 2009 Jim Meyering <meyering@redhat.com>
3938 fix "make dist" (from scratch) failure
3939 * src/Makefile.am (EXTRA_DIST): Don't distribute libvirt_sym.version,
3940 now that it's been removed. Spotted by Daniel Veillard.
3942 dist: distribute all libvirt_*.syms files, ...
3943 * src/Makefile.am (EXTRA_DIST): Distribute all libvirt_*.syms files,
3944 not just those that happen to be selected at configure time.
3946 Tue Jan 6 10:47:33 CET 2009 Jim Meyering <meyering@redhat.com>
3948 avoid syntax-check (po-check) failure due to FP match on gettext.m4
3949 * Makefile.maint (po-check): Exclude .m4 files.
3951 Tue Jan 6 10:45:04 CET 2009 Daniel Veillard <veillard@redhat.com>
3953 * qemud/remote.c: fix compilation without SASL, patch by John Levon
3955 Tue Jan 6 09:46:43 CET 2009 Daniel Veillard <veillard@redhat.com>
3957 * po/*: updated polish and brazilian translations, regenerated
3958 files, pushed new pot to translators
3960 Tue Jan 6 09:42:34 CET 2009 Daniel Veillard <veillard@redhat.com>
3962 * src/storage_backend_fs.c: Make mntent.h specific to the FS storage
3963 backend, patch by John Levon
3965 Mon Jan 5 2009 14:53:48 CET John Levon <john.levon@sun.com>
3967 split up linker script, as described below and in
3968 http://thread.gmane.org/gmane.comp.emulators.libvirt/10728
3970 split version script into multiple files
3971 * src/Makefile.am (PRIVSYMFILES): Define.
3972 (EXTRA_DIST): Append $(PRIVSYMFILES).
3973 (libvirt.syms): New rule.
3974 Reflect renaming: s/libvirt_sym.version/libvirt.syms/.
3975 (BUILT_SOURCES): Depend on libvirt.syms.
3976 * configure.in: Define ENABLE_DEBUG as an automake conditional.
3977 (AC_OUTPUT): Remove src/libvirt_sym.version.
3978 * src/.cvsignore: s/libvirt_sym.version/libvirt.syms/.
3979 * src/.gitignore: Regenerate.
3980 * src/libvirt_public.syms: Renamed from src/libvirt_sym.version.in.
3981 * src/libvirt_debug.syms: New file.
3982 * src/libvirt_private.syms: New file.
3984 Move --with-driver-modules symbols into a separate sym file
3985 * src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms.
3986 * src/libvirt_private.syms: Move virDriverLoadModule into...
3987 * src/libvirt_driver_modules.syms: ... this new file.
3989 Move bridge symbols into a separate syms file
3990 * configure.in: Provide a new --with-bridge option.
3991 * src/Makefile.am (PRIVSYMFILES) [WITH_BRIDGE]: Append
3992 libvirt_bridge.syms.
3993 * src/bridge.c: Test WITH_BRIDGE rather than particular drivers.
3994 * src/libvirt_private.syms: Move bridge-related symbols into...
3995 * src/libvirt_bridge.syms: ...this new file.
3997 migrate linux-specific symbol names into their own sym file
3998 * configure.in (WITH_LINUX): New automake conditional.
3999 * src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
4000 * src/libvirt_private.syms: Move two symbol names into...
4001 * src/libvirt_linux.syms: ...this new file.
4003 Remove storage backend symbols from version script
4004 * src/libvirt_private.syms: Remove virStorageBackend* symbol names.
4005 They're linked into qemud, not libvirt.
4008 Mon Jan 5 14:22:06 CET 2009 Jim Meyering <meyering@redhat.com>
4010 avoid xgettext warning aboug bug-reporting address
4011 * po/Makevars (MSGID_BUGS_ADDRESS): Set, to avoid xgettext warning.
4012 * po/libvirt.pot: Set bug-reporting address.
4014 avoid bogus descriptions due to use of gettext with the empty string
4015 * src/virsh.c: Use `""', not `gettext_noop("")', in numerous
4016 vshCmdInfo definitions. The latter provokes a warning from gettext.
4018 Makefile.maint: sync from coreutils
4020 Mon Jan 5 12:54:21 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
4022 * src/nodeinfo.c: s/uint64_t/unsigned long/ for the
4023 numa_node_to_cpus() API call.
4025 Mon Jan 5 09:11:21 CET 2009 Jim Meyering <meyering@redhat.com>
4027 * Makefile.maint (msg_gen_function): Add to the list.
4029 mark a few diagnostics for translation
4030 * src/xen_inotify.c (xenInotifyXendDomainsDirLookup): Mark a diagnostic.
4031 (xenInotifyXendDomainsDirRemoveEntry, xenInotifyOpen): Likewise.
4033 HACKING: mention bool and other scalar types, const-correctness
4035 Fri Dec 26 14:22:04 CET 2008 Guido Günther <agx@sigxcpu.org>
4037 document vnc's keymap attribute
4038 * docs/formatdomain.html.in: document keymap attribute
4039 * docs/drvqemu.html.in: add keymap attribute to example
4041 Tue Dec 23 14:44:41 CET 2008 Daniel Veillard <veillard@redhat.com>
4043 * docs/logging.html docs/logging.html.in: new page documenting
4045 * docs/auth.html docs/deployment.html docs/remote.html
4046 docs/sitemap.html docs/sitemap.html.in docs/uri.html
4047 docs/windows.html: integration in the existing set
4049 Tue Dec 23 14:38:30 CET 2008 Guido Günther <agx@sigxcpu.org>
4051 * .x-sc_prohibit_asprintf: new file
4053 Tue Dec 23 13:39:48 CET 2008 Guido Günther <agx@sigxcpu.org>
4055 use virAsprintf instead of asprintf
4056 * .x-sc_prohibit_asprintf, Makefile.maint (sc_prohibit_asprintf): new
4058 * src/cgroup.c, src/domain_conf.c, src/driver.c, src/libvirt.c,
4059 src/logging.c, src/lxc_container.c, src/lxc_controller.c,
4060 src/lxc_driver.c, src/network_conf.c, src/network_driver.c,
4061 src/openvz_conf.c, src/qemu_conf.c, src/qemu_driver.c,
4062 src/remote_internal.c, src/stats_linux.c, src/storage_backend_iscsi.c,
4063 src/storage_driver.c, src/uml_conf.c, src/uml_driver.c, src/util.c,
4064 src/veth.c, src/virsh.c, src/xm_internal.c: use virAsprintf instead of
4067 Mon Dec 22 11:33:16 EST 2008 Cole Robinson <crobinso@redhat.com>
4069 * src/storage_driver.c: Fix storage driver null dereference.
4071 Mon Dec 22 11:27:52 EST 2008 Cole Robinson <crobinso@redhat.com>
4073 * src/virsh.c: Merge xml building for virsh pool-*-as
4075 Mon Dec 22 17:13:42 CET 2008 Daniel Veillard <veillard@redhat.com>
4077 * qemud/qemud.c qemud/test_libvirtd_qemu.aug tests/Makefile.am
4078 tests/daemon-conf: fix make check with the new logging support
4079 the messages now carry a timestamp which need to be removed,
4080 the daemon needs to exit if the log configuration informations
4081 are wrong and we also look at the LIBVIRT_DEBUG environment
4084 Mon Dec 22 14:07:29 CET 2008 Daniel Veillard <veillard@redhat.com>
4086 * qemud/mdns.c: fix a compilation problem in the switch
4088 Mon Dec 22 13:56:13 CET 2008 Daniel Veillard <veillard@redhat.com>
4090 * qemud/libvirtd.aug qemud/libvirtd.conf: document the new
4091 options in the config file and augment the Augeas description
4093 Mon Dec 22 13:54:30 CET 2008 Daniel Veillard <veillard@redhat.com>
4095 * qemud/event.c qemud/mdns.c qemud/remote.c: switch other pieces
4096 of the daemon to the new logging infrastructure
4098 Mon Dec 22 13:51:48 CET 2008 Daniel Veillard <veillard@redhat.com>
4100 * qemud/qemud.c qemud/qemud.h: replace the daemon old logging
4101 infrastructure with the new one and parse configuration options
4103 Mon Dec 22 11:51:29 CET 2008 Daniel Veillard <veillard@redhat.com>
4105 * src/uml_conf.c: another logging conversion
4107 Mon Dec 22 11:47:44 CET 2008 Daniel Veillard <veillard@redhat.com>
4109 * src/node_device_devkit.c src/uml_driver.c src/virterror.c:
4110 convert old logging to the new API
4112 Mon Dec 22 11:45:07 CET 2008 Daniel Veillard <veillard@redhat.com>
4114 * src/libvirt.c: convert entry points to new logging
4116 Mon Dec 22 11:43:04 CET 2008 Daniel Veillard <veillard@redhat.com>
4118 * src/logging.h src/logging.c: commited the more recent version
4119 with function name and line number
4121 Mon Dec 22 11:33:07 CET 2008 Daniel Veillard <veillard@redhat.com>
4123 * src/logging.h src/logging.c: add the infrastructure and internal
4124 APIs for logging, some of those APIs should be made public later
4125 * src/libvirt_sym.version.in: flag the internal APIs as such
4127 Mon Dec 22 11:31:08 CET 2008 Daniel Veillard <veillard@redhat.com>
4129 * src/xen_internal.h: remove tabs to fix make synatx-check
4130 and fix the indentation
4132 Sun Dec 21 19:50:16 +0100 2008 Jim Meyering <meyering@redhat.com>
4134 make NUMA-initialization code more portable and more robust
4135 qemudCapsInitNUMA and umlCapsInitNUMA were identical, so this change
4136 factors them into a new function, virCapsInitNUMA, and puts it in
4139 In addition to factoring out the duplicates, this change also
4140 adjusts that function definition (along with its macros) so
4141 that it works with Fedora 9's numactl version 1, and makes it
4142 so the code will work even if someone builds the kernel with
4143 CONFIG_NR_CPUS > 4096.
4145 Finally, also perform this NUMA initialization for the lxc
4148 * src/nodeinfo.c: Include <stdint.h>, <numa.h> and "memory.h".
4149 (virCapsInitNUMA): Rename from qemudCapsInitNUMA and umlCapsInitNUMA.
4150 (NUMA_MAX_N_CPUS): Define depending on NUMA API version.
4151 (n_bits, MASK_CPU_ISSET): Define, adjust, use uint64 rather than long.
4152 * src/nodeinfo.h: Include "capabilities.h".
4153 (virCapsInitNUMA): Declare it.
4154 * examples/domain-events/events-c/Makefile.am:
4155 * src/Makefile.am: Add $(NUMACTL_CFLAGS) and $(NUMACTL_LIBS) to various
4156 compile/link-related variables.
4157 * src/qemu_conf.c: Include "nodeinfo.h".
4158 (qemudCapsInitNUMA): Remove duplicate code. Adjust caller.
4159 * src/uml_conf.c (umlCapsInitNUMA): Likewise.
4160 Include "nodeinfo.h".
4161 * src/lxc_conf.c: Include "nodeinfo.h".
4162 (lxcCapsInit): Perform NUMA initialization here, too.
4163 * src/openvz_conf.c (openvzCapsInit): And here.
4164 Include "nodeinfo.h".
4165 * src/libvirt_sym.version.in: Add virCapsInitNUMA so that libvirtd
4166 can link to this function.
4168 Sun Dec 21 19:46:35 +0100 2008 Jim Meyering <meyering@redhat.com>
4170 * src/node_device_hal.c: Include <config.h> before everything else.
4172 Sun Dec 21 00:20:51 CET 2008 Guido Günther <agx@sigxcpu.org>
4174 avoid "make check" failures due to localized error messages
4175 * tests/Makefile.am (TESTS_ENVIRONMENT): set LC_ALL=C
4177 Sat Dec 20 14:10:09 CET 2008 Guido Günther <agx@sigxcpu.org>
4179 save and remove kvm/qemu domain status
4180 * src/qemu_driver.c (qemdRemoveDomainStatus): new function
4181 (qemudOpenMonitor): save monitor path
4182 (qemudStartVMDaemon, qemudDomainSuspend, qemudDomainResume,
4183 qemudDomainAttachDevice, qemudDomainDetachDevice): save status
4184 (qemudShutdownVMDaemon): remove status
4186 Sat Dec 20 13:53:14 CET 2008 Guido Günther <agx@sigxcpu.org>
4188 add XML parsing for qemu/kvm status files
4189 * src/domain_conf.c, src/domain_conf.h (virDomainSaveXML): new function
4190 * src/domain_conf.c (virDomainSaveConfig): split out XML writing into
4192 * src/qemu_conf.c (qemudDomainStatusParseFile): new function to parse
4194 (qemudDomainStatusFormat): new function to format status XML
4195 (qemudSaveDomainStatus): new function to write status XML, uses
4197 * src/libvirt_sym.version.in: add virBufferEscapeString, virDomainSaveXML,
4198 virXPathNode symbols
4200 Fri Dec 19 10:41:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
4202 * docs/formatdomain.html.in: Fix documentation typo
4205 Thu Dec 18 17:46:06 CET 2008 Guido Günther <agx@sigxcpu.org>
4207 * src/qemu_driver.c (qemudDomainAttachDevice): only
4210 Thu Dec 18 16:13:56 CET 2008 Guido Günther <agx@sigxcpu.org>
4212 Let qemu/kvm instances write a pid file
4213 * src/utilc, src/util.h (virFilePid): declare and define
4214 (virFileWritePid, virFileReadPid, virFileDeletePid): use virFilePid
4215 * src/libvirt_symver.in: export virFilePid symbol
4216 * src/qemu_conf.c (qemudBuildCommandLine): pass -pidfile to qemu
4217 (qemudStartup): create stateDir
4218 * tests/qemuxml2argvtest.c: initialize driver.stateDir
4219 * tests/qemuxml2argvdata/qemuxml2argv-*.args: add -pidfile argument
4221 Thu Dec 18 12:18:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4223 * examples/domain-events/events-c/event-test.c,
4224 python/types.c: Replace __FUNCTION__ with __func__ for
4225 better portability (John Levon)
4227 Thu Dec 18 12:18:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4229 Fix gcc-ism in python build (John Levon)
4230 * acinclude.m4: Add -Wno-redundant-decls check for compiler
4231 * python/Makefile.am: Remove hardcoded -Wno-redundant-decls
4233 Thu Dec 18 12:11:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4235 * src/remote_internal.c: Don't free event after queueing it
4236 unless error occurred (David Lively)
4238 Thu Dec 18 12:07:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4240 * src/test.c: Fix error return value
4241 * tests/nodeinfotest.c: Disable code compile completely on
4242 non-linux (John Levon)
4244 Thu Dec 18 11:59:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4246 * qemud/remote.c: Fix unused variable compile warning when polkit
4247 is disabled (John Levon)
4249 Thu Dec 18 11:56:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4251 Use pid_t for all PID tracking variables (John Levon)
4252 * src/openvz_driver.c, src/proxy_internal.h, src/remote_internal.c,
4253 src/storage_backend.c, src/uml_driver.c, src/util.c, src/util.h:
4256 Thu Dec 18 11:54:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4258 * qemud/Makefile.am: Don't munge default network XML if
4259 uuidgen is not present (John Levon)
4261 Thu Dec 18 11:50:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4263 Misc daemon bug fixes (John Levon)
4264 * qemud/qemud.c: Fix conditional for node devices
4265 * qemud/remote.c: Remove unneccessary path.h include
4267 Thu Dec 18 07:47:58 +0100 2008 Jim Meyering <meyering@redhat.com>
4269 docs/virsh.pod: typo fix
4271 Thu Dec 18 07:44:07 +0100 2008 Jim Meyering <meyering@redhat.com>
4273 Makefile.maint: use $(srcdir), not $(top_srcdir)
4275 Wed Dec 17 21:49:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4277 * src/remote_internal.c: Fix unreachable return statement
4280 Wed Dec 17 21:45:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4282 Use correct type for domain events callbacks args (John Levon)
4283 * src/driver.h, src/qemu_driver.c, src/remote_internal.c,
4284 src/xen_unified.c: s/void */virConnectDomainEventCallback/
4285 for domain events callbacks
4287 Wed Dec 17 21:41:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4289 * src/libvirt_sym.version.in: Remove non-existant symbols
4292 Wed Dec 17 21:35:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4294 Portability of ELF version script to Solaris (John Levon)
4295 * configure.ac: Check linker flag used to set versioning
4297 * src/Makefile.am: Use platform specific linker flag for
4298 version script as per configure test
4299 * src/libvirt_sym.version.in: Switch to '#' for comments
4301 Wed Dec 17 21:30:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4303 Fix conditional checks for Solaris platform (John Levon)
4304 * src/xen_internal.c, src/xen_unified.c, src/xs_internal.c:
4307 Wed Dec 17 21:17:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4309 Fix Xen sub-drivers' 'open' method return type (John Levon)
4310 * src/proxy_internal.c, src/remote_internal.c, src/test.c,
4311 src/xen_inotify.c, src/xen_inotify.h, src/xen_internal.c,
4312 src/xen_internal.h, src/xen_unified.c, src/xend_internal.c,
4313 src/xend_internal.h, src/xm_internal.c, src/xm_internal.h,
4314 src/xs_internal.c, src/xs_internal.h: s/int/virDrvOpenStatus/
4316 Wed Dec 17 21:10:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4318 Mutex / crash fixes to openvz driver (Anton Protopopov)
4319 * src/openvz_driver.c: Fix crash with setting CPU value
4321 * src/openvz_conf.c: Initialize the domain mutex when
4322 loading config files
4324 Wed Dec 17 20:53:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4326 * src/domain_conf.c, src/node_device_conf.c, src/node_device_conf.h,
4327 src/storage_conf.c, src/storage_conf.h: Remove trailing semi-colon
4328 causing empty statement compile warnings on solaris (John
4331 Wed Dec 17 18:10:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4333 Anonymous union fixes for non-GCC compilers (John Levon)
4334 * src/domain_conf.c, src/qemu_conf.c, src/qemu_driver.c: Remove use
4336 * src/domain_conf.h: Give a name to the anonymous union for
4337 host devices. Add 'dummy' field to avoid empty struct
4338 * src/remote_internal.c: Remove gcc-ism in empty "x ? : y"
4340 Wed Dec 17 19:06:53 +0100 2008 Jim Meyering <meyering@redhat.com>
4342 portability: don't include <endian.h> or <byteswap.h>
4343 * src/storage_backend_fs.c: Don't include <endian.h> or <byteswap.h>.
4344 (LV_BIG_ENDIAN, LV_LITTLE_ENDIAN): Define.
4345 Use those instead of __BIG_ENDIAN and __LITTLE_ENDIAN.
4347 Wed Dec 17 18:03:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4349 * qemud/qemud.c, src/util.c, tests/testutils.c: Remove use
4350 of _PATH_DEVNULL in favour of "/dev/null" for portability
4353 Wed Dec 17 18:10:51 +0100 2008 Jim Meyering <meyering@redhat.com>
4355 enforce the "include <config.h> first" rule
4356 * qemud/Makefile.am: Ensure that the generated remote_protocol.c
4357 includes <config.h> first.
4358 * Makefile.maint (sc_require_config_h_first): New rule, so that
4359 "make syntax-check" enforces this.
4360 * .x-sc_require_config_h_first: New file.
4361 * Makefile.am (.x-sc_require_config_h_first): Add it.
4362 * qemud/remote_protocol.x: Don't include <config.h> here.
4363 * qemud/remote_protocol.c: Regenerate.
4365 Wed Dec 17 18:10:51 +0100 2008 Jim Meyering <meyering@redhat.com>
4367 let gcc's -Wformat do its job; avoid "make syntax-check" failure
4368 * src/util.c (virAsprintf): Remove trailing space.
4369 * src/util.h (virAsprintf): Use ATTRIBUTE_FORMAT.
4370 * HACKING (Printf-style functions): New section.
4372 Wed Dec 17 16:43:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4374 * src/libvirt.c: Add missing checks for read-only connection
4375 flag (CVE-2008-5086)
4377 Wed Dec 17 17:07:39 CET 2008 Daniel Veillard <veillard@redhat.com>
4379 * configure.in: detect syslog.h
4381 Wed Dec 17 09:28:15 CET 2008 Guido Günther <agx@sigxcpu.org>
4383 * Makefile.maint: use $(top_srcdir) for m4/ and $(VC_LIST)
4385 Wed Dec 17 08:02:01 +0100 2008 Jim Meyering <meyering@redhat.com>
4387 fix numa-related (and kernel-dependent) test failures
4388 This change is required on some kernels due to the way a change in
4389 the kernel's CONFIG_NR_CPUS propagates through the numa library.
4390 * src/qemu_conf.c (qemudCapsInitNUMA): Pass numa_all_cpus_ptr->size/8
4391 as the buffer-length-in-bytes in the call to numa_node_to_cpus, since
4392 that's what is required on second and subseqent calls.
4393 * src/uml_conf.c (umlCapsInitNUMA): Likewise.
4395 Tue Dec 16 17:26:49 EST 2008 Cole Robinson <crobinso@redhat.com>
4397 * src/qemu_driver.c: Sanitize qemu monitor reads.
4399 Mon Dec 15 21:05:56 CET 2008 Guido Günther <agx@sigxcpu.org>
4401 Add virAsprintf as safer asprintf helper
4402 * src/util.c, src/util.h (virAsprintf): new function
4403 * src/libvirt_symver.in: export symbol
4405 Mon Dec 15 16:33:25 CET 2008 Daniel Veillard <veillard@redhat.com>
4407 * src/storage_driver.c: fix a segfault, patch by Miloslav TrmaC
4409 Mon Dec 15 10:59:19 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4411 * src/domain_conf.c: Unlock domain object after fetching
4412 it to avoid deadlock when re-loading configs
4414 Fri Dec 12 17:41:19 +0100 2008 Jim Meyering <meyering@redhat.com>
4416 remove redundant optname arguments
4417 This is the second part of the change mentioned here:
4419 http://thread.gmane.org/gmane.comp.emulators.libvirt/10331
4421 It removes the essentially redundant "optname" parameter
4422 from each of the vshCommandOptNetworkBy and vshCommandOptDomainBy
4423 functions as well as the correspond macros (without "By" suffix).
4424 Now, instead of always passing the optname, "domain", to
4425 vshCommandOptDomainBy, that function requires that its command
4426 argument refer to an opts array containing a "domain" option.
4428 This normalization makes one more help-related change:
4429 it renames the net-start "name" argument to the more
4430 sensible and consistent "network".
4431 * src/virsh.c (VSH_BYNAME, vshCommandOptDomain)
4432 (cmd_has_option): New function, used in vshCommandOptDomainBy
4433 and vshCommandOptNetworkBy.
4434 (vshCommandOptDomainBy, vshCommandOptNetworkBy): Remove the optname
4435 parameter, it's always "domain" ("network"). Update all callers.
4436 Call cmd_has_option.
4437 (vshCommandOptNetwork, cmdAutostart, cmdConsole, cmdDomstate)
4438 (cmdDomblkstat, cmdDomIfstat, cmdSuspend, cmdUndefine, cmdStart)
4439 (cmdSave, cmdSchedinfo, cmdDump, cmdResume, cmdShutdown)
4440 (cmdReboot, cmdDestroy, cmdDominfo, cmdVcpuinfo, cmdVcpupin)
4441 (cmdSetvcpus, cmdSetmem, cmdSetmaxmem, cmdDumpXML, cmdDomname)
4442 (cmdDomid, cmdDomuuid, cmdMigrate, cmdNetworkAutostart)
4443 (cmdNetworkDestroy, cmdNetworkDumpXML, cmdNetworkName)
4444 (opts_network_start, cmdNetworkStart, cmdNetworkUndefine)
4445 (cmdNetworkUuid, cmdVNCDisplay, cmdTTYConsole, cmdAttachDevice)
4446 (cmdDetachDevice, cmdAttachInterface, cmdDetachInterface)
4447 (cmdAttachDisk, cmdDetachDisk, cmdEdit)
4448 * src/Makefile.am (virsh-pool-edit.c): This code is generated
4449 from cmdEdit, and cmdEdit uses the vshCommandOptDomain macro which
4450 now, with the changes above, has only 3 (was 4) arguments, yet the
4451 macro use is mapped to vshCommandOptPool, which still requires 4
4452 arguments. So this change adjusts the sed code to reinsert the
4453 just-removed argument -- we're not changing pool-related code right
4454 now, because it's not as straight-forward.
4456 Fri Dec 12 18:50:20 +0100 2008 Jim Meyering <meyering@redhat.com>
4458 syntax-check: enforce the no-cvs-keywords prohibition
4459 * Makefile.maint (sc_prohibit_cvs_keyword): New rule.
4460 Suggested by Daniel Veillard.
4461 The new test exposed two uses of $\Date$.
4462 * docs/Goals: Don't use $\Date$.
4463 * python/TODO: Likewise.
4465 Fri Dec 12 17:08:08 +0100 2008 Jim Meyering <meyering@redhat.com>
4467 avoid a spurious test failure on non-numa systems
4468 * tests/daemon-conf: Ignore a spurious libnuma warning.
4469 Reported by Daniel Veillard.
4471 Fri Dec 12 14:57:17 CET 2008 Daniel Veillard <veillard@redhat.com>
4473 * Makefile.maint: fix tabs in C source error message based on
4476 Fri Dec 12 13:41:31 +0100 2008 Jim Meyering <meyering@redhat.com>
4478 remove cvs $\Id$ strings
4479 * po/id.po: Likewise.
4480 * qemud/remote_generate_stubs.pl: Likewise.
4481 * src/virsh.c: Likewise.
4482 * tests/testutils.c: Likewise.
4483 * tests/testutils.h: Likewise.
4484 * RENAMES: Likewise.
4486 Fri Dec 12 13:16:05 +0100 2008 Jim Meyering <meyering@redhat.com>
4488 libvirtd: plug a nominal leak
4489 * qemud/qemud.c (qemudRunLoop): Free server->workers.
4491 Fri Dec 12 12:19:56 +0100 2008 Jim Meyering <meyering@redhat.com>
4493 remove unused xmlrpc-related files
4494 * src/xmlrpc.h: Remove file.
4495 * src/xmlrpc.c: Likewise.
4496 * tests/test_xmlrpc.sh: Likewise.
4497 * tests/xmlrpctest.c: Likewise.
4498 * tests/xmlrpcserver.py: Likewise.
4499 * tests/Makefile.am (EXTRA_DIST): Remove xmlserver.py.
4500 (noinst_PROGRAMS): Remove xmlrpctest, along with associated variables.
4501 * po/POTFILES.in: Remove src/xmlrpc.c.
4502 * tests/.cvsignore: Remove xmlrpctest.
4504 Fri Dec 12 11:37:16 CET 2008 Daniel Veillard <veillard@redhat.com>
4506 * src/qemu_conf.c src/uml_conf.c: fix a couple of places where
4507 we were requesting 8 times the required amount of memory,
4510 Fri Dec 12 10:45:17 CET 2008 Guido Günther <agx@sigxcpu.org>
4512 * docs/devhelp/Makefile.am: look for devhelp.xsl in $(srcdir)
4514 Fri Dec 12 10:28:41 CET 2008 Guido Günther <agx@sigxcpu.org>
4516 Fix serial/parallel virtual devices over tcp, unix and telnet
4517 * src/qemu_conf.c (qemudBuildCommandLineChrDevStr): use
4518 "server,nowait" instead of "listen" for tcp and unix sockets. Use
4519 "nowait" for telnet too.
4520 * tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.args: adjust
4521 testcase accordingly.
4522 * tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.args:
4525 Fri Dec 12 08:54:40 CET 2008 Daniel Veillard <veillard@redhat.com>
4527 * qemud/qemud.c: add --version support to libvirtd, patch by
4529 * AUTHORS: add Dave Allan
4531 Fri Dec 12 08:34:47 CET 2008 Daniel Veillard <veillard@redhat.com>
4533 * libvirt.spec.in: fix a conditional bug in spec file #460510,
4536 Fri Dec 12 08:27:44 CET 2008 Daniel Veillard <veillard@redhat.com>
4538 * src/util.c: retry poll() in EINTR failures, patch by Dave Allan
4540 Thu Dec 11 19:10:46 +0100 2008 Jim Meyering <meyering@redhat.com>
4542 build: avoid libvirtd link failure with CFLAGS=-g
4543 * qemud/Makefile.am (libvirtd_LDADD): Add gnulib's libgnu.la last.
4544 Otherwise, building with -g (no inlining) would fail due to a use
4545 of c_isspace in libvirt_driver_qemu.a, which used to followed
4546 libgnu.a in the link command.
4548 Thu Dec 11 16:13:08 +0100 2008 Jim Meyering <meyering@redhat.com>
4550 syntax-check: prohibit all new uses of gethostby* functions
4551 * Makefile.maint (sc_prohibit_gethostby): New rule.
4552 * .x-sc_prohibit_gethostby: Exempt the few existing uses.
4554 Thu Dec 11 10:03:00 EST 2008 Cole Robinson <crobinso@redhat.com>
4556 * src/test.c: Fix locking issue in test driver VolLookupByPath
4558 Thu Dec 11 10:00:54 EST 2008 Cole Robinson <crobinso@redhat.com>
4560 * libvirt.spec.in: Fix rpm build by installing logrotate config
4562 Thu Dec 11 09:58:49 EST 2008 Cole Robinson <crobinso@redhat.com>
4564 * src/storage_driver.c : Fix a locking issue in PoolGetAutostart
4566 Thu Dec 11 09:55:23 EST 2008 Cole Robinson <crobinso@redhat.com>
4568 * src/network_driver.c src/qemu_conf.c: Fix segfault if virtual
4569 network does not have a bridge name.
4571 Thu Dec 11 12:39:20 CET 2008 Daniel Veillard <veillard@redhat.com>
4573 * src/domain_conf.c src/domain_conf.h src/qemu_conf.c
4574 tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c
4575 tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.args
4576 tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml:
4577 slightly modified patch for SDL fullscreen from Itamar Heim
4578 * docs/formatdomain.html docs/formatdomain.html.in docs/libvirt.rng:
4579 update the schemas and docs about the sdl graphic element attributes
4580 * AUTHORS: add Itamar Heim
4582 Wed Dec 10 20:18:36 +0100 2008 Jim Meyering <meyering@redhat.com>
4584 avoid a new "make distcheck" failure
4585 Distribute the new file, libvirtd.logrotate.in, and make
4586 distclean remove the build product, libvirtd.logrotate.
4587 * qemud/Makefile.am (EXTRA_DIST): Add libvirtd.logrotate.in.
4588 (DISTCLEANFILES): Initialize, and append libvirtd.logrotate.in.
4590 Wed Dec 10 17:33:49 +0100 2008 Jim Meyering <meyering@redhat.com>
4592 avoid format string warnings
4593 * src/openvz_conf.c (openvzGetNodeCPUs): Add "%s" arg before _(...).
4594 * src/uml_driver.c (umlDomainBlockPeek): Likewise.
4596 Tue Dec 9 2008 22:35:43 +0100 Jim Meyering <meyering@redhat.com>
4598 fix just-broken "virsh start" and "virsh pool-start" commands
4599 * src/virsh.c (cmdPoolStart, cmdStart): Change hard-coded
4600 vshCommandOptDomainBy string argument to match just-changed
4601 option name. Cole Robinson reported that "virsh start" was
4602 broken and provided that part of the fix.
4603 Bug introduced by yesterday's "virsh.c: tweak options to produce
4604 more accurate help".
4605 * tests/start: New file. Test for the above fix.
4606 * tests/Makefile.am (test_scripts): Add start.
4608 Tue 9 Dez 2008 21:08:43 CET Guido Günther <agx@sigxcpu.org>
4610 logrotate qemu monitor logs
4611 * src/qemu_driver.c: open logfile O_APPEND instead of O_TRUNC when
4613 * qemud/Makefile.am: install logrotate configuration (by Harald Sraub)
4616 Mon Dec 8 13:22:06 +0100 2008 Jim Meyering <meyering@redhat.com>
4618 virsh.c: tweak options to produce more accurate help
4619 * src/virsh.c: Adjust some vshCmdOptDef command option flags
4620 to improve auto-generated help command syntax.
4622 virsh.c: remove all "syntax" vshCmdInfo entries.
4623 * src/virsh.c: ... now that info is generated.
4625 virsh.c: add missing (yet empty) "desc" strings
4626 * src/virsh.c: Now, every command must have a "desc" string,
4627 even if it has zero length. Mark these, so they'll be filled in.
4629 virsh.c: generate each "virsh help COMMAND"s synopsis
4630 * src/virsh.c: Also, diagnose extra arguments after --help (-h).
4632 Mon Dec 8 12:00:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4634 * qemud/Makefile.am: Fix mixup between _LDFLAGS & _LDADD
4635 variables to make compilation work in certain configs.
4637 Mon Dec 8 11:28:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4639 * src/storage_conf.c: Workaround missing ULLONG_MAX in
4640 Debian etch's limits.h
4642 Mon Dec 8 11:17:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4644 * src/qemu_driver.c, src/uml_driver.c: Fix guest autostart
4645 to have a virConnect object available to allow query of
4648 Sun Dec 7 20:44:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4650 * src/test.c: Fix integer long long overflow. Fix NULL defernce
4652 Sun Dec 7 20:20:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4654 * src/test.c: Remove bogus refresh call causing deadlock
4656 Sun Dec 7 14:03:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4658 * src/test.c: Fix return value in testStoragePoolBuild
4660 Fri Dec 5 16:03:53 CET 2008 Daniel Veillard <veillard@redhat.com>
4662 * src/node_device_hal.c configure.in: fix a compilation problem
4663 with old dbus versions
4665 Thu Dec 5 10:10:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4667 * src/domain_conf.c: Disable a few more functions for proxy
4668 build which should not be used
4670 Thu Dec 4 22:20:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4672 * src/qemu_driver.c: Remove unused driver argument from
4673 all monitor handling APIs.
4675 Thu Dec 4 22:18:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4677 * qemud/qemud.c: Read number of threads for RPC dispatch
4678 from config. Allow a limit on total client connection
4680 * qemud/libvirtd.conf: Add max_clients and max_workers
4681 and min_workers config vars
4682 * qemud/libvirtd.aug, qemud/test_libvirtd.aug: Augeas
4683 support for new config params
4685 Thu Dec 4 22:16:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4687 Make daemon use a thread pool for handling RPC calls
4688 from multiple clients.
4689 * qemud/THREADING.txt: Describe threading rules
4690 * qemud/qemud.h, qemud/qemud.c, src/remote.c: Add a pool
4691 of threads for handling RPC call processing. Use main
4692 thread only for event loop
4693 * qemud/remote_generate_stubs.pl: Pass virConnectPtr object
4694 into dispatch stubs to avoid need to access client struct
4695 * qemud/remote_dispatch_prototypes.h: Re-generated
4697 Thu Dec 4 22:14:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4699 * src/event.c, src/event.h: Make all event handling thread
4700 safe and re-entrant safe, and allow poll() to be woken up
4702 * src/qemud.c, src/qemud.h: Initialize event loop explicitly
4704 Thu Dec 4 22:12:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4706 * qemud/qemud.c, qemud/qemud.h, qemud/remote.c: Make all
4707 error reporting the responsibility of the RPC handler
4709 * qemud/remote_generate_stubs.pl: Add remote_error *
4710 arg to all RPC handlers
4711 * qemud/remote_dispatch_prototypes.h: Re-generated
4713 Thu Dec 4 22:09:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4715 * qemud/qemud.h, qemud/qemud.c: Change client linked list into
4716 an array for easier thread safety
4718 Thu Dec 4 22:01:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4720 * qemud/remote.c: Change from a giant switch() on RPC number
4721 into a simple array lookup of RPC handler function
4722 * qemud/Makefile.am, qemud/remote_generate_stubs.pl: Change
4723 generator to produce a union of data types for O(1) dispatch
4724 * qemud/remote_dispatch_*: Re-generate files
4726 Thu Dec 4 21:49:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4728 Per object locking implementation
4729 * src/domain_conf.c, src/domain_conf.h, src/network_conf.c,
4730 src/network_conf.h, src/node_device_conf.c,
4731 src/node_device_conf.h, src/storage_conf.c
4732 src/storage_conf.h: Add implementation of locking APIs,
4733 and make object lookup / creation methods return locked
4736 Thu Dec 4 21:48:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4738 * src/libvirt_sym.version.in, src/node_device.c,
4739 src/node_device.h, src/node_device_conf.h,
4740 src/node_device_devkit.c, src/node_device_hal.c: Add
4741 locking for thread safety of driver APIs
4743 Thu Dec 4 21:46:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4745 * src/libvirt.c, src/datatypes.h, src/datatypes.c: Cache
4746 device parent string to workaround need to keep public
4747 virNodeDeviceGetParent API returning a const string
4748 * src/node_device.c: Merge all return paths from node
4751 Thu Dec 4 21:43:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4753 * src/openvz_conf.h: Add driver lock
4754 * src/openvz_driver.c: Add locking for thread safety
4756 Thu Dec 4 21:41:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4758 * src/openvz_driver.c: Merge all return paths from openvz
4761 Thu Dec 4 21:40:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4763 * src/storage_conf.h: Add driver lock
4764 * src/storage_driver.c: Add locking for thread safety
4766 Thu Dec 4 21:39:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4768 * src/storage_driver.c: Merge all return paths from storage
4771 Thu Dec 4 21:38:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4773 * src/network_driver.c: Add locking for thread safety
4775 Thu Dec 4 21:37:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4777 * src/network_driver.c: Merge all return paths from driver APIs
4779 Thu Dec 4 21:14:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4781 * src/uml_conf.h: Add driver lock variable
4782 * src/uml_driver.c: Add locking for thread safety
4784 Thu Dec 4 21:13:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4786 * Makefile.maint: Add umlError function
4787 * src/uml_driver.c: Merge all return paths from driver APIs
4789 Thu Dec 4 21:11:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4791 * src/lxc_conf.h: Add driver lock variable
4792 * src/lxc_driver.c: Add locking for thread safety
4794 Thu Dec 4 21:10:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4796 * src/lxc_driver.c: Merge all return paths from driver APIs
4798 Thu Dec 4 21:09:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4800 QEMU domain events thread safety
4801 * src/domain_event.c, src/domain_event.h: Add convenient
4802 methods for dispatching a list of events, and a single
4803 event to a list of callbacks. Change signature of push
4804 method to take a pre-allocated virDomainEventPtr object
4805 * src/libvirt_sym.version.in: Export new event methods
4806 to daemon code / drivers
4807 * src/qemu_conf.h, src/qemu_driver.c: Make event dispatch
4808 threadsafe by doing asynchronously
4809 * src/remote_internal.c, src/xen_inotify.c, src/xen_unified.c,
4810 src/xen_unified.h, src/xs_internal.c: Update for changes in
4813 Thu Dec 4 21:05:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4815 * src/qemu_conf.h: Add a driver lock variable
4816 * src/qemu_driver.c: Add locking for thread safety
4818 Thu Dec 4 21:01:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4820 * src/qemu_driver.c: Merge all return paths from driver APIs
4822 Thu Dec 4 21:00:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4824 * src/test.c: Stub out node device APIs to avoid activating
4827 Thu Dec 4 20:58:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4829 * src/test.c: Add locking for thread safety
4830 * tests/virsh-all: Set variables to allow direct invocation
4833 Thu Dec 4 20:57:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4835 * src/test.c: Merge all return paths from driver APIs
4837 Thu Dec 4 20:55:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4839 * src/test.c: Remove macros for accessing internal state
4841 Thu Dec 4 20:47:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4843 Thread locking API stubs
4844 * src/domain_conf.c, src/domain_conf.h, src/libvirt_sym.version.in,
4845 src/network_conf.c, src/network_conf.h, src/node_device_conf.c,
4846 src/node_device_conf.h, src/storage_conf.c, src/storage_conf.h:
4847 Define API stubs for locking and unlocking objects
4849 Thu Dec 4 16:51:41 CET 2008 Daniel Veillard <veillard@redhat.com>
4851 * src/libvirt_sym.version.in configure.in NEWS docs/*: release
4853 * po/*: updated and regenerated
4855 Thu Dec 4 16:20:20 CET 2008 Daniel Veillard <veillard@redhat.com>
4857 * src/storage_conf.c: fix crash and regression when defining
4858 a storage volume without a format (Cole Robinson)
4860 Thu Dec 4 09:45:00 EST 2008 Cole Robinson <crobinso@redhat.com>
4862 * docs/formatstorage.html.in docs/storage.html.in : Fix some
4863 documentation copy and paste errors.
4864 * src/virsh.c : Fix a typo
4866 Thu Dec 4 09:42:00 EST 2008 Cole Robinson <crobinso@redhat.com>
4868 * src/qemu_driver.c: Increase timeout for initial monitor poll
4870 Thu Dec 4 15:36:42 CET 2008 Daniel Veillard <veillard@redhat.com>
4872 * src/bridge.c: patch setting MTU on tap interface to be the same
4873 as the value for the bridge (Eduardo Habkost)
4875 Thu 4 Dec 2008 12:46:01 CET Guido Günther <agx@sigxcpu.org>
4877 Differentiate between active and inactive configs by honoring the
4878 VIR_DOMAIN_XML_INACTIVE flag.
4879 * src/domain_conf.c (virDomainDefParseXML): add and pass on flags arg
4880 (virDomainDefParseFile): Likewise
4881 (virDomainDefParseNode): Likewise
4882 (virDomainGraphicsDefParseXML): Likewise
4883 * src/domain_conf.c (virDomainDefParseXML): only restore domain id if
4884 !VIR_DOMAIN_XML_INACTIVE
4885 * src/domain_conf. (virDomainGraphicsDefParseXML): only restore vnc
4886 port if !VIR_DOMAIN_XML_INACTIVE
4887 * src/lxc_driver.c (lxcStartup): pass 0 flag since we restore life
4889 * src/lxc_controller.c: pass VIR_DOMAIN_XML_INACTIVE
4890 * src/test.c: pass VIR_DOMAIN_XML_INACTIVE
4891 * tests/qemuxml2argvtest.c: pass VIR_DOMAIN_XML_INACTIVE
4893 Thu 4 Dec 2008 11:41:12 CET Guido Günther <agx@sigxcpu.org>
4895 * src/qemu_driver.c: also look for /usr/bin/kvm
4897 Tue 2 Dec 2008 16:58:16 +0100 Jim Meyering <meyering@redhat.com>
4899 fix inadequate initialization in storage and test drivers
4900 * src/storage_driver.c (storageListPools): Set all "names" entries to 0.
4901 (storageListDefinedPools, storagePoolListVolumes): Likewise.
4902 * src/test.c (testStoragePoolListVolumes): Likewise.
4904 Tue Dec 2 13:45:00 CET 2008 Chris Lalancette <clalance@redhat.com>
4905 * configure.in, src/storage_backend.c: Older distributions (i.e.
4906 RHEL-5) don't have udevadm at all, but they do have udevsettle. So
4907 change our tests to prefer udevadm if it exists, but to fall back to
4908 udevsettle if it does not.
4910 Tue Dec 2 11:34:22 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4912 * qemud/qemud.c: Registering network, storage & nodedev drivers
4913 before any domain drivers, so domain autostart can rely on
4914 network/storage autostarted objects. Patch from Gerd von Egidy
4916 Tue Dec 2 11:21:22 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4918 * src/uml_driver.c: Fix recording of watch number to make
4919 inotify actually work.
4921 Mon Dec 1 16:01:54 +0100 2008 Jim Meyering <meyering@redhat.com>
4923 tests: daemon-conf: accommodate numeric-valued config params
4924 This test would hang when failing to perturb the soon-to-be-
4925 added numeric (and non-boolean) valued parameters, max_clients,
4926 max_workers, min_workers.
4927 * tests/daemon-conf: Require that all commented-out settings
4928 in libvirtd.conf have the same form. Before, two parameters
4929 were not being tested, since a space had snuck between the
4930 leading "#" and the "param = value" parts.
4931 Apply each RHS-value-perturbing transformation
4932 separately, not in series.
4933 Let VERBOSE=yes turn on debugging.
4934 Be more verbose by default, since this is a relatively
4936 * qemud/libvirtd.conf: Normalize the spacing around each setting
4937 that is to be perturbed by tests/daemon-conf.
4939 Mon Dec 1 10:30:10 +0100 2008 Jim Meyering <meyering@redhat.com>
4941 uml: don't free an uninitialized variable
4942 * src/uml_driver.c (umlDomainShutdown): Initialize "info".
4943 Patch and bug report from Ron Yorston <rmy@tigress.co.uk>.
4945 Sun Nov 30 18:36:33 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4947 * src/xen_inotify.c: Close directory handle once done
4950 Fri Nov 28 16:16:54 CET 2008 Guido Günther <agx@sigxcpu.org>
4952 Prefer xenstore driver for listDomains, since xen HV reports ghost ids
4953 of already shutdown domains in some xen versions
4954 * src/proxy_internal.c, src/proxy_internal.h: declare
4955 xenProxyListDomains non static
4956 * src/xend_internal.c, src/xend_internal.h: declare
4957 xenDaemonListDomains non static
4958 * src/xen_unified.c: prefer xenStoreListDomains over
4959 xenHypervisorListDomains for xenUnifiedListDomains
4961 Fri Nov 28 11:58:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4963 Allow generic remote://hostname/ URI for automatic probe
4964 of hypervisor driver.
4965 * docs/uri.html, docs/uri.html.in: Document remote://hostname/ style
4967 * src/driver.h: Remove version field
4968 * src/libvirt.c: Directly impl virGetVersion() instead of calling out
4969 to individual drivers
4970 * src/lxc_driver.c, src/openvz_driver.c, src/qemu_driver.c,
4971 src/remote_internal.h, src/test.c, src/uml_driver.c,
4972 src/xen_unified.c, src/xen_unified.h: Remove version from
4974 * src/remote_internal.c: Allow 'remote' as a URI scheme for
4975 automatically probing on remote server
4977 Fri Nov 28 11:21:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4979 Fix XM driver disk parsing with no source CDROMs
4980 * src/domain_conf.c: Translate "" into NULL for disk source
4981 path to deal with broken apps
4982 * src/xm_internal.c: Fix disk source parsing to work with
4983 no-source disk definitions (eg CDROM without media)
4984 * tests/xmconfigdata/test-no-source-cdrom.cfg,
4985 tests/xmconfigdata/test-no-source-cdrom.xml,
4986 tests/xmconfigtest.c: Add test case for no-src CDROM
4988 Fri Nov 28 11:17:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
4990 * libvirt.spec.in: Add missing numa-ctl BuildRequires
4991 * qemud/Makefile.am: Fix libvirtd_DEPENDANCIES to include all libs
4992 * src/qemu_conf.c, src/qemu_driver.c, src/uml_conf.c,
4993 src/uml_driver.c: Define NUMA_VERSION1_COMPATIBILITY and
4994 fix size of array used to get node mapping
4996 Fri Nov 28 08:40:00 CET 2008 Chris Lalancette <clalance@redhat.com>
4997 * src/storage_backend.c: Wait up to 5 seconds for
4998 /dev/disk/by-{id,path} to exist in virStorageBackendStablePath
5000 Thu Nov 27 17:15:10 CET 2008 Daniel Veillard <veillard@redhat.com>
5002 * src/xen_unified.c: use preferably xend method to update
5003 the maximum memory of a xen guest (Jim Fehlig)
5005 Wed Nov 26 15:46:07 CET 2008 Daniel Veillard <veillard@redhat.com>
5007 * libvirt.spec.in: cleanups and missing dep for hal
5009 Tue Nov 25 16:29:09 CET 2008 Daniel Veillard <veillard@redhat.com>
5011 * configure.in docs/* NEWS: release of 0.5.0
5012 * po/*: updated from the translators and merged
5013 * docs/apibuild.py src/libvirt.c: avoid some warnings at doc
5016 Tue Nov 25 16:34:10 +0100 2008 Jim Meyering <meyering@redhat.com>
5018 * configure.in: avoid the following diagnostic when running ../configure
5019 cp: cannot stat `COPYING.LIB': No such file or directory
5021 don't silently skip a test
5022 * tests/Makefile.am (EXTRA_DIST): Distribute domainschemadata/.
5023 * tests/domainschematest: Fail the test if find invocation fails.
5025 Tue Nov 25 11:27:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5027 * mingw32-libvirt.spec.in: Disable UML driver for mingw build
5029 Tue Nov 25 11:17:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5031 * src/xm_internal.c: Add missing _(...) calls to diagnostics
5033 Tue Nov 25 10:49:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5035 * src/Makefile.am: Remove unneccessary $(builddir) usage which
5036 breaks on older automake. Remove duplicate CFLAGS from merge
5038 * src/xen_unified.c: Wire up XM driver for autostart
5039 * src/xm_internal.h, src/xm_internal.c: Implement domain
5040 autostart functions for /etc/xen/auto
5042 Tue Nov 25 10:43:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5044 Xen domain lifecycle events (Ben Guthro & Daniel Berrange)
5045 * configure.in: Probe for inotify availability
5046 * examples/domain-events/events-c/event-test.c: Default to NULL
5047 connection URI to allow probing
5048 * include/libvirt/virterror.h, src/virterror.c: Add error code
5049 for xen inotify driver
5050 * po/POTFILES.in: Add xen_inotify.c
5051 * python/libvir.c: Add bogus const cast for python2.4 brokeness
5052 * src/Makefile.am: Add xen_inotify.c
5053 * src/util.c: Fix file descriptor leak in virRun
5054 * src/xen_inotify.c, src/xen_inotify.h: Monitor /etc/xen and
5055 /var/lib/xen/domains for new/old configs
5056 * src/xen_unified.c, src/xen_unified.h: Wire in inotify driver
5058 * src/xm_internal.c, src/xm_internal.h: Refactor to allow inotify
5059 monitoring of config files
5060 * src/xs_internal.c, src/xs_internal.h: Use xenstore watch to
5061 check for domain start/destroy events
5063 Tue Nov 25 10:36:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5065 * src/node_device_conf.c, src/node_device_conf.h,
5066 src/node_device_devkit.c, src/node_device_hal.c: Change
5067 'interface' to 'ifname' in struct to avoid clash with
5068 symbols in MinGW/Win32 headers
5070 Tue Nov 25 11:29:19 +0100 2008 Jim Meyering <meyering@redhat.com>
5072 * src/virterror.c (virReportErrorHelper): Sync doc to code.
5074 libvirt.c: document the virState* functions
5075 * src/libvirt.c (virStateActive, virStateCleanup, virStateReload):
5076 (virStateActive): Add per-function comments.
5078 Mon Nov 24 19:32:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5080 * src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c:
5081 Default vCPUs to equal host pCPU count if not set in config
5082 (patch from Evgeniy Sokolov)
5084 Mon Nov 24 19:27:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5086 * examples/domain-events/events-python/event-test.py,
5087 python/libvir.c, python/libvir.py, python/libvirt_wrap.h,
5088 python/types.c, python/virConnect.py: Fixes to python
5089 bindings for changes in public event API (David Lively)
5091 Mon Nov 24 19:22:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5093 * tests/Makefile.am, tests/sexpr2xmltest.c,
5094 tests/testutilsxen.c, tests/xencapstest.c,
5095 tests/xmconfigtest.c, tests/xml2sexprtest.c: Disable all
5096 Xen tests when Xen driver build is disabled. Remove unneccessary
5097 WITH_XEN conditionals from source, since the entire build
5098 is disabled in Makefile.am
5100 Mon Nov 24 16:49:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5102 * autobuild.sh: Disable UML driver on mingw32 biuld
5104 Mon Nov 24 16:01:40 CET 2008 Guido Günther <agx@sigxcpu.org>
5106 * src/Makefile.am: look for libvirt_sym.version in builddir
5108 Mon Nov 24 08:10:49 +0100 2008 Jim Meyering <meyering@redhat.com>
5110 tests: new test: virsh-synopsis
5111 * tests/virsh-synopsis: new file
5112 * tests/Makefile.am (test_scripts): Add virsh-synopsis.
5113 * src/virsh.c: Correct help SYNOPSIS for each of seven commands.
5115 tests: virsh-all: new script
5116 * tests/virsh-all: New script.
5117 * tests/Makefile.am (test_scripts): Add virsh-all.
5119 Move the expected output data from virshdata/*.txt into virshtest.c.
5120 * tests/virshtest.c: Embed literal, expected output here, rather than
5121 using virshdata/*.txt file names.
5122 Factor out some common constructs.
5123 (testCompareOutputLit): New function.
5124 (testCompareOutput): #ifdef-out, not that it's unused.
5125 * tests/Makefile.am (SUBDIRS): Remove virshdata/ and all files in it.
5126 * docs/testnode.xml: Fix typo in a comment.
5127 * configure.in (AC_OUTPUT): Remove tests/virshdata/Makefile.
5129 Fri Nov 21 23:51:19 +0100 2008 Jim Meyering <meyering@redhat.com>
5131 * gnulib/tests/test-EOVERFLOW: Remove.
5132 * gnulib/tests/.cvsignore: Add test-EOVERFLOW, then...
5133 Run "make sync-vcs-ignore-files" to Update .gitignore files.
5135 Fri Nov 21 12:54:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5137 * docs/*.html: Re-generate website docs for sitemap change
5138 with UML driver. Fix syntax error in HTML for news.html.in
5140 Fri Nov 21 12:51:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5142 * libvirt-api.xml, libvirt-refs.xml, html/libvirt-libvirt.html,
5143 html/libvirt-virterror.html: Regenerate for new APIs
5145 Fri Nov 21 12:46:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5147 Misc tweaks to node device impl
5148 * src/libvirt.c: Log registration of new node device driver impls
5149 * src/node_device_conf.h, src/node_device.c: Merge block capability
5150 into storage. Print vendor/product IDs in hex
5151 * src/node_device_devkit.c: Change block to storage
5152 * src/node_device_hal.c: Merge block cap into storage. Skip
5153 devices without any capabilities listed
5154 * src/virsh.c: Sort device list alphabetically
5156 Fri Nov 21 12:40:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5158 Python binding for node device APIs (David Lively)
5159 * python/generator.py, python/libvir.c, python/libvirt-python-api.xml,
5160 python/libvirt_wrap.h, python/types.c: Bindings for node device APis
5162 Fri Nov 21 12:38:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5164 Node device support in virsh (David Lively)
5165 * src/virsh.c: Add nodedev-list and nodedev-dumpxml commands
5167 Fri Nov 21 12:30:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5169 Remote protocol support for node devices (David Lively)
5170 * src/remote_internal.c: driver impl for node device APIs
5171 * qemud/remote_protocol.x: Define wire protocol for node device
5173 * qemud/remote_dispatch*, qemud/remote_protocol.{c,h}: Update
5175 * qemud/remote.c: server dispatch functions for node device
5178 Fri Nov 21 12:23:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5180 Primary internal driver for node devices with HAL (default)
5181 and DeviceKit (optional, unfinished) (David Lively)
5182 * configure.in: Probe for HAL & DeviceKit libraries
5183 * po/POTFILES.in: Add new source files
5184 * qemud/Makefile.am: Link to node device driver
5185 * qemud/qemud.c: Load node device driver implementation
5186 * src/Makefile.am: Buid node device drivers
5187 * src/libvirt_sym.version.in: Export internal symbols needed
5188 by node device driver
5189 * src/node_device.c, src/node_device.h: Common driver
5191 * src/node_device_hal.c: HAL specific device routines
5192 * src/node_device_devkit.c: DeviceKit specific routines
5193 * src/node_device_conf.h: Add dbusWatch handle field
5195 Fri Nov 21 12:20:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5197 * src/Makefile.am, src/node_device_conf.c, src/node_device_conf.h:
5198 Internal APIs for handling node device XML configuration
5201 Fri Nov 21 12:19:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5203 Public API for node device enumeration (David Lively)
5204 * include/libvirt/libvirt.h.in, include/libvirt/virterror.h:
5205 New public APIs for node device enumeration
5206 * src/datatypes.c, src/datatypes.h: Internal impl of public
5207 data types for node devices
5208 * src/driver.h, src/libvirt.c: Stubs for node device APIs
5209 * src/libvirt_sym.version.in: Export new node device API
5211 * src/virterror.c: Error codes for node device drivers
5213 Fri Nov 21 12:03:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5215 Optional (disabled by default) dlopen support
5216 * configure.in: Probe for dlopen
5217 * qemud/Makefile.am: Don't link to drivers when dlopen is used
5218 * qemud/qemud.c: Load external driver modules at startup
5219 * src/Makefile.am: Don't link to drivers when dlopen is used
5220 * src/driver.c, src/driver.h: Add API for dlopen'ing modules
5221 * src/libvirt.c: Load external driver modules at startup
5222 * src/libvirt_sym.version.in: Export more internal symbols
5223 needed for external driver modules
5224 * src/qemud_driver.c, src/qemu_driver.h, src/xen_unified.c,
5225 src/xen_unified.h: Sanitize driver registration methodname
5226 to match module name
5227 * tests/Makefile.am: Set LIBVIRT_DRIVER_DIR when running
5228 tests with dlopen enabled. Link to driver modules in Xen
5230 * tests/testutils.c: Set LIBVIRT_DRIVER_DIR when running
5232 * tests/xmconfigtest.c: Don't open test driver during xen
5235 Fri Nov 21 11:43:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5237 * src/libvirt_sym.version.in: Add export of domain event
5238 API virDomainEventCallbackListRemoveConn missed from earlier
5241 Fri Nov 21 11:37:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5243 * src/domain_conf.c: Fix two memory leaks in virDomainLoadConfig
5244 * src/lxc_driver.c: Fix leak of capabilities object in driver
5247 Fri Nov 21 10:20:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5249 * src/remote_internal.c: Return VIR_NO_SUPPORT if requested
5250 to register event callbacks when no eventloop is present.
5251 Deal with failure to register handles/timers correctly.
5254 Fri Nov 21 10:14:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5256 Fix crash due to failure to unregister event callbacks on
5257 connection close (David Lively)
5258 * src/domain_event.c, src/domain_event.h: Helper for unregistering
5260 * src/qemu_driver.c: Unregister all callbacks on connection close
5262 Fri Nov 21 10:10:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5264 * src/Makefile.am: Include Xen compile flags for libvirt_driver.la
5265 build for stats_linux.c code.
5267 Fri Nov 21 10:07:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>
5269 * libvirt.spec.in: Add conditional to allow UML driver to be
5270 disabled (Ben Guthro)
5272 Fri Nov 21 11:05:14 CET 2008 Daniel Veillard <veillard@redhat.com>
5274 * po/POTFILES.in src/uml_conf.h src/uml_driver.c: fixes syntax
5275 check errors, reported by Ben Guthro
5277 Thu Nov 20 14:31:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5279 * src/remote_internal.c: Avoid crash on NULL URI scheme
5281 Wed Nov 19 16:51:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5283 Add User Mode Linux driver
5284 * src/uml_driver.c, src/uml_driver.h, src/uml_conf.c,
5285 src/uml_conf.h: Core UML driver code
5286 * src/domain_conf.c, src/domain_conf.h: Add UML disk
5287 bus type. Fix paravirt console handling for non-HVM domains
5288 * src/driver.h: Add UML driver number
5289 * src/virterror.h: Add error code for UML driver
5290 * src/qemu_conf.c: Add disk bus enum entry for UML
5291 * src/Makefile.am: Build UML driver
5292 * qemud/qemud.c: Initialize UML driver
5293 * qemud/Makefile.am: Link to UML driver library
5294 * docs/drvuml.html.in: Basic docs for the UML driver
5295 * configure.in: Flag for enabling UML driver
5296 * include/libvirt/virterror.h: Add constant for UML driver
5298 Wed Nov 19 16:22:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5300 Add virFreeCallback to event loop APIs.
5301 * include/libvirt/libvirt.h.in: Add a virFreeCallback arg
5302 to the virEventAddHandle and virEventAddTimeout methods.
5303 * qemud/event.c: Invoke the virFreeCallback when releasing
5304 a handle/timer event
5305 * qemud/event.h, qemud/qemud.c, qemud/mdns.c,
5306 src/event.h, src/event.c, src/lxc_driver.c,
5307 src/qemu_driver.c, src/remote_internal.c: Update to pass
5308 around the virFreeCallback where needed
5310 Wed Nov 19 16:15:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5312 * include/libvirt/libvirt.h.in: Change semantics of AddHandle
5313 to allow for same FD to be registered more than once with
5315 * qemud/event.c, qemud/event.h, qemud/mdns.c, qemud/qemud.c,
5316 qemud/qemud.h, src/domain_conf.h, src/event.c, src/event.h,
5317 src/lxc_driver.c, src/qemu_driver.c, src/remote_internal.c:
5318 Update to track file handle events via the watch number
5319 as per new public API contract
5321 Wed Nov 19 15:25:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5323 Add a callback for freeing the user data for callbacks
5324 (patch from David Lively)
5325 * include/libvirt/libvirt.h.in: Add a virFreeCallback type
5326 and add it to virDomainEventRegister
5327 * qemud/remote.c, src/domain_event.h, src/domain_event.c,
5328 src/driver.h, src/qemu_driver.c, src/remote_internal.c,
5329 python/libvirt.c: Update to call the virFreeCallback where
5331 * examples/domain-events/events-c/event-test.c: use the
5332 virFreeCallback for releasing data
5334 Mon Nov 18 12:24:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5336 * src/Makefile.am: Fix build on MinGW where linker flags
5337 must be listed in LDFLAGS variable
5338 * tests/Makefile.am: Fix build when QEMU is disabled, by
5341 Mon Nov 17 16:45:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5343 Generate domain events for QEMU driver config files
5344 * src/qemu_driver.c: Generate events when config is defined
5346 * src/domain_conf.c, src/domain_conf.h: Add a callback for
5347 notifications of each loaded config file
5348 * src/lxc_driver.c: Pass NULL for config file notification
5351 Mon Nov 17 16:42:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5353 Include an event 'detail' field providing the cause of
5354 each emitted domain event.
5355 * docs/ Re-generate API refernece
5356 * examples/domain-events/events-c/event-test.c: Print out
5358 * include/libvirt/libvirt.h.in: Rename ADDED/REMOVED events
5359 to DEFINED/UNDEFINED. Remove SAVED/RESTORED events replaced
5360 by event detail info. Add enums providing details for each
5362 * python/libvir.c: Pass through event detail to python layer
5363 * qemud/remote_protocol.x: Add event detail field for domain
5365 * qemud/remote_protocol.c, qemud/remote_protocol.h: Regenerate
5366 * qemud/remote.c: Pass event detail value onto the wire
5367 * src/domain_event.h, src/domain_event.c: Store event detail
5368 * src/remote_internal.c: De-serialize event detail off the
5370 * src/qemu_driver.c: Generate event detail information, and
5371 fix migration API to honour VIR_MIGRATE_LIVE flag, pausing
5372 the VM if it isn't set
5374 Mon Nov 17 11:57:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5376 Push stateful driver code into daemon binary
5377 * src/Makefile.am: Don't build QEMU, LXC, Network & Storage
5378 drivers into libvirt.so
5379 * src/libvirt.c: Don't call into QEMU, LXC, network & storage
5380 driver register methods
5381 * src/libvirt_sym.version.in: Export a bunch of internal
5382 symbols to libvirtd for use by drivers
5383 * tests/Makefile.am: Link to driver modules which are not
5385 * qemud/Makefile.am: Directly link to QEMU, LXC, network
5387 * qemud/qemud.c: Initialize QEMU, LXC, network & storage
5390 Mon Nov 17 11:40:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5392 Push URI probing down into individual drivers' open methods
5393 * qemud/remote.c: Implement virConnectGetURI dispatcher
5394 * qemud/remote_protocol.x: Add API definition for virConnectGetURI
5395 * qemud/remote_dispatch_localvars.h, qemud/remote_dispatch_proc_switch.h,
5396 qemud/remote_dispatch_prototypes.h, qemud/remote_protocol.c,
5397 qemud/remote_protocol.h: Re-generate from protocol definition
5398 * src/datatypes.c, src/datatypes.h: Store connection name as a
5399 xmlURIPtr object instead of char *
5400 * src/driver.h: Remove explicit URI parameter to open function
5401 * src/libvirt.c: Delegrate URI probing into drivers
5402 * src/lxc_driver.c, src/network_driver.c, src/openvz_driver.c,
5403 src/proxy_internal.c, src/qemu_driver.c, src/remote_internal.c,
5404 src/storage_driver.c, src/test.c, src/xen_internal.c,
5405 src/xen_internal.h, src/xen_unified.c, src/xend_internal.c,
5406 src/xend_internal.h, src/xm_internal.c, src/xm_internal.h,
5407 src/xs_internal.c, src/xs_internal.h: Refactor open driver
5408 methods to deal with automatic URI probing as required
5409 * proxy/libvirt_proxy.c: Remove extra args to xs/xen driver
5412 Mon Nov 17 11:19:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5414 Refactor storage backend to remove dependancy from
5415 storage config parser.
5416 * src/Makefile.am: Build storage_backend as part of storage
5417 driver instead of general config
5418 * src/storage_backend.c, src/storage_backend.h,
5419 src/storage_backend_disk.c, src/storage_backend_fs.c,
5420 src/storage_backend_iscsi.c, src/storage_backend_logical.c,
5421 src/storage_conf.c, src/storage_conf.h, src/storage_driver.c:
5422 Move per-pool type parser options & format enums into the
5423 main storage_conf.c file, so parser is independant of the
5426 Mon Nov 17 10:50:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5428 Switch to fully versioned linker script for exported ABI
5429 * configure.in: Generate src/libvirt_sym.version
5430 * qemud/Makefile.am: Remove use of util-lib.c
5431 * qemud/remote.c: Remove underscore in migrate API calls
5432 * src/.cvsignore: Ignore generated libvirt_sym.version
5433 * src/Makefile.am: Remove util-lib.c and util-lib.h
5434 * src/buf.c, src/buf.h, src/conf.c, src/conf.h, src/console.c,
5435 src/datatypes.c, src/datatypes.h, src/driver.h, src/libvirt.c,
5436 src/libvirt_internal.h, src/memory.c, src/memory.h, src/virsh.c:
5437 Remove use of __ prefix on all exported methods
5438 * src/util.c, src/util.h: Re-add saferead/write APIs
5439 * src/util-lib.c, src/util-lib.h: Remove obsolete files
5440 * src/libvirt_sym.version: Remove obsolete file
5441 * src/libvirt_sym.version.in: Master template for symbol
5444 Mon Nov 17 10:43:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5446 * src/Makefile.am: Build drivers as libtool convenience libs
5448 Mon Nov 17 10:23:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5450 * docs/libvirt-api.xml: Re-generate
5451 * include/libvirt/libvirt.h.in: Set explicit values for
5452 domain events enums to avoid API generator bug
5453 * python/libvir.c: Add missing python thread safety calls
5454 to domain events APIs
5456 Mon Nov 17 09:55:00 GMT 2008 Daniel Berrange <berrange@redhat.com>
5458 * src/openvz_conf.c: Fix updating of config file params
5461 Fri Nov 14 09:40:00 EST 2008 Cole Robinson <crobinso@redhat.com>
5463 * src/storage_backend_logical.c: Use different separator for lvs
5464 command to unbreak parsing for encrypted devices.
5466 Fri Nov 14 13:22:36 +0100 2008 Jim Meyering <meyering@redhat.com>
5468 avoid format string warnings
5469 * src/openvz_driver.c (ADD_ARG_LIT): Add "%s" arg before _(...).
5470 * src/qemu_driver.c (PCI_ATTACH_OK_MSG): Likewise.
5471 * src/util.c (virExec, virRun): Likewise.
5473 Fri Nov 14 09:38:22 CET 2008 Daniel Veillard <veillard@redhat.com>
5475 * qemud/remote.c qemud/remote_dispatch_localvars.h
5476 qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
5477 qemud/remote_protocol.c qemud/remote_protocol.h
5478 qemud/remote_protocol.x src/driver.h src/libvirt.c
5479 src/libvirt_internal.h src/libvirt_sym.version src/lxc_driver.c
5480 src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
5481 src/remote_internal.c src/test.c src/virsh.c: large patch to
5482 add migration support for KVM/QEmu, based on the work of Rich Jones
5483 and Chris Lalancette. This introduce a new version of the prepare
5484 and finish steps of the migration, so changes the driver API and
5487 Wed Nov 12 16:33:42 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5489 * docs/drvopenvz.html, docs/drvopenvz.html.in: Introductory
5490 docs for openvz driver
5491 * src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c:
5492 Support bridged network configuration for containers
5494 Wed Nov 12 16:13:42 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5496 * src/storage_backend.c, src/storage_backend.h, src/storage_driver.c:
5497 Revert previous patch which breaks "test" driver's storage APIs.
5499 Tue Nov 11 15:51:42 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5501 * src/storage_backend.c, src/storage_backend.h, src/storage_driver.c:
5502 Decouple backend impls from generic backend code, by making driver
5503 register backends at startup
5505 Mon Nov 10 12:05:42 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
5507 * src/openvz_conf.c: Read filesytem template name from config
5508 files. Increase buffer size when parsing vzctl version number
5510 Thu Nov 6 20:45:42 CET 2008 Jim Meyering <meyering@redhat.com>
5512 tweak lstat.c to avoid mingw link failure
5513 * gnulib/lib/lstat.c: Include <sys/stat.h> *before* the use of stat in
5514 orig_stat. Otherwise, on mingw (which lacks lstat), any program using
5515 the lstat module would not get the redefinition-to-stat provided by
5516 gnulib's sys/stat.h. Reported by Daniel P. Berrange.
5518 mark a few diagnostics for translation
5519 * src/lxc_conf.c (lxcLoadDriverConfig): Mark a diagnostic.
5520 * src/lxc_driver.c (lxcDomainStart): Likewise.
5521 * po/POTFILES.in: Add src/lxc_conf.c.
5522 * Makefile.maint (msg_gen_function): Add virReportErrorHelper
5525 always compile iptables.c
5526 Avoid a build error when configuring --without-xen --without-qemu.
5527 * src/iptables.c [WITH_QEMU]: Don't #ifdef-out.
5528 * src/iptables.h [WITH_QEMU]: Don't #ifdef-out.
5529 * src/util.c (virRun) [__MINGW32__]: Define a stub that always fails.
5531 Thu Nov 6 17:33:34 CET 2008 Daniel Veillard <veillard@redhat.com>
5533 * src/logging.c src/logging.h proxy/Makefile.am proxy/libvirt_proxy.c
5534 src/Makefile.am src/cgroup.c src/datatypes.c src/domain_event.c
5535 src/internal.h src/libvirt.c src/lxc_container.c src/lxc_controller.c
5536 src/lxc_driver.c src/proxy_internal.c src/qemu_driver.c
5537 src/remote_internal.c src/storage_backend_disk.c src/util.c
5538 src/veth.c src/xen_internal.c src/xen_unified.c src/xend_internal.c:
5539 add new logging module, and move existing definitions there
5541 Wed Nov 5 13:56:00 EST 2008 Cole Robinson <crobinso@redhat.com>
5543 * src/util.c: Log stdout and stderr in virRun
5545 Wed Nov 5 13:39:00 EST 2008 Cole Robinson <crobinso@redhat.com>
5547 * src/util.c: Log the argv passed to virExec and virRun
5549 Wed Nov 5 13:19:00 EST 2008 Cole Robinson <crobinso@redhat.com>
5551 * src/iptables.c, src/util.c, src/util.h: Move local argvToString to
5554 Wed Nov 5 15:22:12 CET 2008 Jim Meyering <meyering@redhat.com>
5556 plug two leaks and fix a diagnostic
5557 * src/qemu_conf.c (qemudLoadDriverConfig): Don't leak ->vncListen.
5558 Fix an erroneous copy-and-pasted diagnostic.
5559 * src/qemu_driver.c (qemudShutdown): Don't leak another ->vncListen.
5561 Wed Nov 5 12:41:00 CET 2008 Chris Lalancette <clalance@redhat.com>
5563 * configure.in, src/storage_backend_logical.c: Call vgscan before
5564 attempting to scan logical volumes. This makes sure we've "touched"
5565 any logical volumes, so they appear in the subsequent "pvs" call.
5567 Tue Nov 4 23:33:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>
5569 * configure.in: Set WITH_XXXX conditionals for drivers in
5570 config.h instead of compiler args, and auto-disable stateful
5571 drivers if daemon is disabled
5572 * src/libvirt.c: Remove now redundant WITH_LIBVIRTD condition
5573 * tests/Makefile.am, src/Makefile.am, qemud/Makefile.am: Remove
5574 LIBVIRT_FEATURES args, now set via config.h instead. Add
5575 explicit XEN_LIBS/CFLAGS instead of relying on setting via
5578 Tue Nov 4 23:33:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>
5580 Move domain events helpers into domain_events.c
5581 * qemud/event.c: Remove __ prefix on poll event
5583 * qemud/event.h: Add virEventHandleTypeToPollEvent and
5584 virPollEventToEventHandleType declarations
5585 * src/Makefile.am, src/domain_event.c, src/domain_event.h:
5586 Add dedicated file for internal domain events helpers
5587 * src/internal.h, src/libvirt.c: Remove domain events
5589 * src/qemu_conf.h, src/remote_internal.c: Add includs
5592 Tue Nov 4 23:08:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>
5594 Move internal API declarations from generic internal.h file
5595 * src/Makefile.am, src/datatypes.c, src/datatypes.h: Add
5596 internal struct definitions for public objects, and helper
5598 * src/hash.c: Remove helper methods for public objects
5599 * src/libvirt_internal.h: Add definition of semi-secret
5600 public APIs for migration & stateful drivers.
5601 * src/internal.h: Remove internal API declarations for
5602 migration & stateful drivers.
5603 * po/POTFILES.in, proxy/libvirt_proxy.c, qemud/qemud.c,
5604 qemud/remote.c, src/domain_conf.c, src/domain_conf.h,
5605 src/driver.h, src/libvirt.c, src/lxc_driver.c,
5606 src/network_conf.c, src/network_conf.h, src/network_driver.c,
5607 src/openvz_driver.c, src/proxy_internal.c,
5608 src/proxy_internal.h, src/qemu_driver.c, src/qparams.c,
5609 src/remote_internal.c, src/stats_linux.c, src/storage_conf.c,
5610 src/storage_conf.h, src/storage_driver.c, src/test.c,
5611 src/uuid.c, src/veth.c, src/virterror.c, src/xen_internal.c,
5612 src/xen_internal.h, src/xen_unified.c, src/xen_unified.h,
5613 src/xend_internal.c, src/xend_internal.h, src/xm_internal.c,
5614 src/xs_internal.c, tests/xmconfigtest.c: Add includes for
5615 libvirt_internal.h and datatypes.h where required
5617 Tue Nov 4 22:52:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>
5619 * qemud/qemud.c, src/driver.h, src/internal.h, src/libvirt.c
5620 src/network_driver.c: Remove unused virStateSigDispatcher()
5623 Tue Nov 4 22:20:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>
5625 Move internal error API declarations into their own file
5626 * src/Makefile.am, src/virterror_internal.h: Add file for
5627 internal error reporting APIs.
5628 * src/internal.c: Remove virRaiseError/virReportError API
5630 * src/conf.c, src/domain_conf.c, src/hash.c,
5631 src/libvirt.c, src/lxc_conf.c, src/lxc_conf.h,
5632 src/lxc_container.c, src/lxc_controller.c, src/lxc_driver.c,
5633 src/network_conf.c, src/network_driver.c, src/nodeinfo.c,
5634 src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c,
5635 src/proxy_internal.c, src/qemu_conf.c, src/qemu_conf.h,
5636 src/qemu_driver.c, src/qparams.c, src/remote_internal.c,
5637 src/sexpr.c, src/stats_linux.c, src/storage_backend.c,
5638 src/storage_backend_disk.c, src/storage_backend_fs.c,
5639 src/storage_backend_iscsi.c, src/storage_backend_logical.c,
5640 src/storage_conf.c, src/storage_conf.h, src/storage_driver.c,
5641 src/test.c, src/util.c, src/virterror.c, src/xen_internal.c,
5642 src/xen_unified.c, src/xend_internal.c, src/xm_internal.c,
5643 src/xml.c, src/xmlrpc.c, src/xs_internal.c: Add includes
5644 of new virterror_internal.h file where required, and remove
5645 leading __ from virRaiseError api calls
5647 Tue Nov 4 22:14:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>
5649 Support passing UUID and ID to qemu/xenner
5650 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Detect
5651 availability of -uuid and -domid args in QEMU, and use them if
5653 * tests/qemuxml2argvtest.c,
5654 tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.args,
5655 tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.xml: Add test
5656 case for -uuid and -domid args
5658 Tue Nov 4 21:50:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>
5660 Remove use of virStringList
5661 * src/internal.h, src/libvirt.c: Remove virStringList code
5662 * src/storage_backend_fs.c: Replace use of virStringList
5663 with virStoragePoolSourceList
5664 * src/storage_backend_logical.c: Set format to LVM2 and
5665 source type to LOGICAL
5666 * src/storage_conf.c: Refactor pool source XML formating
5667 into virStoragePoolSourceFormat and make both users call
5669 * src/storage_conf.h: Include pool source type in
5670 virStoragePoolSourceList struct
5672 Tue Nov 4 14:58:31 CET 2008 Jim Meyering <meyering@redhat.com>
5674 don't print an uninitialized integer in a diagnostic
5675 * src/virterror.c (__virErrorMsg) [VIR_ERR_XEN_CALL]:
5676 Use a format with only one % directive.
5678 Tue Nov 4 14:58:30 CET 2008 Jim Meyering <meyering@redhat.com>
5680 add a test for today's fix
5681 * tests/cpuset: New script. Test for today's fix.
5682 * tests/Makefile.am (test_scripts): Add cpuset.
5684 Mon Nov 3 17:12:21 CET 2008 Daniel Veillard <veillard@redhat.com>
5686 * AUTHORS: added Guido Günther as new commiter, Dan Smith was missing
5689 Mon Nov 3 16:54:39 CET 2008 Daniel Veillard <veillard@redhat.com>
5691 * src/qemu_conf.c: switch off cache if disk is shared and not read-only
5692 patch by Charles Duffy
5694 Mon Nov 3 16:52:12 CET 2008 Daniel Veillard <veillard@redhat.com>
5696 * src/qemu_driver.c: oops trailing blanks
5698 Mon Nov 03 12:37:00 CET 2008 Chris Lalancette <clalance@redhat.com>
5699 * src/storage_backend.c src/storage_backend.h
5700 src/storage_backend_disk.c src/storage_backend_iscsi.c
5701 src/storage_driver.c: Give iSCSI and disk storage backend drivers the
5702 ability to resolve any kind of volume path to the pool target volume
5703 path. For instance, if the pool was defined with a
5704 <target><path>/dev/disk/by-id</path></target> section, and one of the
5705 volumes is /dev/disk/by-id/scsi-S_beaf11, then you would be able to
5706 call virStorageVolLookupByPath("/dev/sdc"), and get the correct volume
5709 Fri Oct 31 14:55:46 CET 2008 Daniel Veillard <veillard@redhat.com>
5711 * python/virConnect.py: needed for events from the python bindings
5714 Fri Oct 31 14:04:52 CET 2008 Daniel Veillard <veillard@redhat.com>
5716 * src/xm_internal.c: add minimum domain memory size check for Xen
5717 patch by Shigeki Sakamoto
5718 * AUTHORS: add Shigeki Sakamoto
5720 Fri Oct 31 11:11:30 CET 2008 Daniel Veillard <veillard@redhat.com>
5722 * python/Makefile.am python/generator.py python/libvir.c
5723 python/libvir.py python/libvirt_wrap.h python/types.c:
5724 adds support for events from the python bindings, also
5725 improves the generator allowing to embbed per function
5726 definition files, patch by Ben Guthro
5727 * examples/domain-events/events-python/event-test.py: also
5728 adds a programming example
5730 Thu Oct 30 13:39:00 EST 2008 Cole Robinson <crobinso@redhat.com>
5732 * src/test.c: Add a test storage driver.
5734 Wed Oct 29 16:33:16 CET 2008 Daniel Veillard <veillard@redhat.com>
5736 * docs/relatedlinks.html docs/relatedlinks.html.in: add link
5737 for AMQP/QPid bindings
5739 Wed Oct 29 15:25:28 CET 2008 Daniel Veillard <veillard@redhat.com>
5741 * src/domain_conf.h src/qemu_driver.c: patch adding hor removal of
5742 scsi/virtio disks for KVM, patch by Guido Günther
5744 Tue Oct 28 19:17:20 +0100 2008 Jim Meyering <meyering@redhat.com>
5746 remove src/socketcompat.h; no longer needed
5747 * src/socketcompat.h: Remove file.
5748 * src/remote_internal.c: Don't include socketcompat.h.
5749 * qemud/qemud.h: Likewise.
5750 * qemud/remote_protocol.x: Likewise, but do include <arpa/inet.h>
5752 * src/remote_internal.c: Likewise, but do include <errno.h>.
5753 * qemud/remote_protocol.c: Regenererate.
5754 * qemud/remote_protocol.h: Regenererate.
5755 * src/Makefile.am (REMOTE_DRIVER_SOURCES): Remove socketcompat.h.
5757 Tue Oct 28 13:46:50 +0100 2008 Jim Meyering <meyering@redhat.com>
5759 make generated qemud/*.[ch] files read-only
5760 * qemud/Makefile.am (.x.c): Rewrite not to write directly to $@,
5761 and to make generated files read-only.
5764 Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>
5766 avoid compiler warning when all storage backends are disabled
5767 * src/storage_backend.c (backends): Add a NULL terminator.
5768 (virStorageBackendForType): Use NULL terminator rather than
5769 warning-provoking (possibly 0) array size.
5771 Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>
5773 avoid many mingw-specific warnings
5774 * tests/virshtest.c (mymain): Use only one definition of this function.
5775 [WIN32]: Call exit(77) to skip the test.
5776 * tests/nodeinfotest.c: Likewise.
5778 Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>
5780 cvsignore mingw build artifacts: *.exe
5782 Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>
5784 include netinet etc #ifndef HAVE_WINSOCK2_H
5786 Tue Oct 28 13:29:13 +0100 2008 Jim Meyering <meyering@redhat.com>
5788 * src/remote_internal.c (remoteFindDaemonPath) [!WIN32]: Don't compile.
5790 Tue Oct 28 13:29:05 +0100 2008 Jim Meyering <meyering@redhat.com>
5792 use errno, not socket_errno()
5793 * remote_internal.c: s/socket_errno()/errno/, now that gnulib's
5794 socket module ensures errno is useful in those cases.
5796 Tue Oct 28 12:12:41 +0100 2008 Jim Meyering <meyering@redhat.com>
5798 socketcompat.h: simplify, to match latest gnulib
5799 Now, sys/socket.h is always available, and errno works.
5801 Tue Oct 28 12:07:46 +0100 2008 Jim Meyering <meyering@redhat.com>
5805 Tue Oct 28 10:22:45 +0100 2008 Jim Meyering <meyering@redhat.com>
5807 use more gnulib modules
5808 * bootstrap: use more gnulib modules: close, connect, perror, recv,
5809 send, socket setsockopt, gethostname.
5811 Tue Oct 28 10:22:44 +0100 2008 Jim Meyering <meyering@redhat.com>
5813 adapt to API change in gnulib
5814 * qemud/qemud.c: Include <netdb.h>, not "getaddrinfo.h"
5815 * src/remote_internal.c: Likewise.
5817 Tue Oct 28 10:22:22 +0100 2008 Jim Meyering <meyering@redhat.com>
5819 * src/network_conf.c: Include <string.h> for declaration of memcmp.
5821 Mon Oct 27 17:14:56 +0100 2008 Jim Meyering <meyering@redhat.com>
5823 use ARRAY_CARDINALITY more
5824 * tests/nodeinfotest.c: Include "util.h".
5825 * src/xen_internal.c: Likewise.
5826 * src/qemu_conf.c (qemudCapsInit): Use ARRAY_CARDINALITY.
5827 * src/storage_backend.c (virStorageBackendForType): Likewise.
5828 * src/storage_backend_fs.c (virStorageBackendProbeFile): Likewise.
5829 * src/xen_internal.c (xenHypervisorMakeCapabilitiesInternal): Likewise.
5830 * src/xend_internal.c (xenDaemonParseSxpr): Likewise.
5831 * tests/nodeinfotest.c (mymain): Likewise.
5832 * tests/qparamtest.c (DO_TEST): Likewise.
5834 Mon Oct 27 17:14:56 +0100 2008 Jim Meyering <meyering@redhat.com>
5836 exempt gnulib from write-avoidance syntax check
5838 Mon Oct 27 11:17:32 +0100 2008 Jim Meyering <meyering@redhat.com>
5840 exempt gnulib from ctype-macros prohibition
5842 Fri Oct 24 14:09:23 BST Daniel P. Berrange <berrange@redhat.com>
5844 * configure.in: Add check for sys/poll.h
5845 * examples/domain-events/events-c/event-test.c: Stub out
5846 no-op main() on platforms without sys/poll.h
5847 * src/libvirt.c, src/remote_internal.c: Remove redundant
5848 include of sys/poll.h breaking mingw
5850 Fri Oct 24 13:04:23 BST Daniel P. Berrange <berrange@redhat.com>
5852 * src/storage_conf.c: Remove <tab> character
5853 * include/libvirt/libvirt.h.in: Remove trailing whitespace
5855 Fri Oct 24 12:32:23 BST Daniel P. Berrange <berrange@redhat.com>
5857 * src/openvz_conf.c, src/openvz_conf.h: Extract version
5858 info from vzctl tool
5859 * src/openvz_driver.c: Implement the getVersion API call.
5861 Fri Oct 24 12:30:23 BST Daniel P. Berrange <berrange@redhat.com>
5864 * src/Makefile.am: Add windows icon files to EXTRA_DIST
5866 Fri Oct 24 12:17:23 BST Daniel P. Berrange <berrange@redhat.com>
5868 * src/capabilities.c, src/capabilities.h: Record MAC address
5869 prefix info for hypervisor
5870 * src/domain_conf.c, src/domain_conf.h: Use capabilities to
5871 find MAC address prefix when generating MAC addrs
5872 * src/lxc_conf.c, src/lxc_driver.c, src/openvz_conf.c,
5873 src/qemu_conf.c, src/qemu_driver.c, src/xen_internal.c,
5874 src/xend_internal.c, src/xm_internal.c: Provide vendor
5875 MAC address prefix to capabilities
5876 * src/util.c, src/util.h: Generic method for generating
5879 Fri Oct 24 10:54:23 CEST Jim Meyering <meyering@redhat.com>
5881 fix mingw compilation warning
5882 * src/libvirt.c (winsock_init) [HAVE_WINSOCK2_H]: Always return a value.
5884 Thu Oct 23 15:20:00 CEST 2008 Chris Lalancete <clalance@redhat.com>
5885 * src/storage_conf.c: brown paper bag bug. I didn't preserve the
5886 <sources> tags properly, and I didn't put the <source> tag into the
5887 proper place, so I totally changed the output of the discovery XML.
5888 Fix this up to do the right thing.
5890 Thu Oct 23 15:11:03 CEST 2008 Daniel Veillard <veillard@redhat.com>
5892 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
5893 src/libvirt.c src/libvirt_sym.version: new libvirt event entry
5894 points, big patch provided by Ben Guthro
5895 * Makefile.am configure.in src/driver.h src/event.c src/event.h
5896 src/internal.h src/libvirt.c src/libvirt_sym.version src/lxc_driver.c
5897 src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
5898 src/remote_internal.c src/storage_backend_fs.c src/test.c
5899 qemud/event.c qemud/event.h qemud/mdns.c qemud/qemud.c
5900 qemud/qemud.h qemud/remote.c qemud/remote_dispatch_localvars.h
5901 qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
5902 qemud/remote_protocol.c qemud/remote_protocol.h
5903 qemud/remote_protocol.x proxy/Makefile.am python/generator.py:
5904 Not much is left untouched by the patch adding the events support
5905 * docs/libvirt-api.xml docs/libvirt-refs.xml
5906 docs/html/libvirt-libvirt.html: regenerated the docs
5907 * examples/domain-events/events-c/Makefile.am
5908 examples/domain-events/events-c/event-test.c: a test example
5909 * AUTHORS: added Ben Guthro
5911 Thu Oct 23 13:41:49 CEST 2008 Daniel Veillard <veillard@redhat.com>
5913 * docs/apps.html docs/apps.html.in: update monitoring apps section
5915 Thu Oct 23 13:38:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
5916 * src/storage_backend_logical.c src/storage_conf.c
5917 src/storage_conf.h: Add <device> tags to the XML returned by
5918 virConnectFindPoolSources for storage_backend_logical.
5920 Thu Oct 23 13:31:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
5921 * src/storage_backend.h src/storage_backend_disk.c
5922 src/storage_backend_fs.c src/storage_backend_logical.c
5923 src/storage_conf.c: Fix up a regression caused by the transition of
5924 the storage backends to VIR_ENUM_IMPL. Before, we would accept
5925 no format type, which would then use whatever the default for the pool
5926 was. But the conversion caused this to instead cause a SEGFAULT,
5927 which isn't good. Introduce a .defaultFormat parameter so that we
5928 restore the previous behavior, although in a more generic format.
5930 Wed Oct 22 09:53:00 EST 2008 Cole Robinson <crobinso@redhat.com>
5932 * configure.in: Fix syntax error which was breaking RPM builds.
5934 Tue Oct 21 19:22:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
5935 * src/storage_conf.c: Make logical pool dumpXML more idempotent with
5936 defineXML by outputting <device name='/dev/sdb' /> when we are
5937 dumping XML. We only use the longer <device
5938 name='/dev/sdb'>foo</device> when a pool has .nfreeExtent defined.
5940 Tue Oct 21 19:18:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
5941 * src/storage_conf.c: Make sure to set errors on paths where
5942 ->formatToString() or ->formatFromString() fail.
5944 Tue Oct 21 19:13:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
5945 * src/qemu_driver.c src/storage_conf.c src/network_driver.c
5946 src/storage_driver.c: Shore up the uses of virGetLastError() so that
5947 if a path forgets to set a virError, we don't crash while trying
5948 to dereference the NULL pointer to print out.
5950 Tue Oct 21 09:19:24 PDT 2008 Dan Smith <danms@us.ibm.com>
5951 * src/cgroup.c src/cgroup.h: Add function to allow major device range
5952 * src/lxc_container.h src/controller.c: Fix cgroup initialization
5953 order and fix /dev/pts cgroup permission
5955 Tue Oct 21 16:25:22 CEST 2008 Daniel Veillard <veillard@redhat.com>
5957 * HACKING: update with some rules for commiters
5958 * docs/apps.html docs/apps.html.in: add a section on monitoring
5961 Tue Oct 21 15:08:02 CEST 2008 Daniel Veillard <veillard@redhat.com>
5963 * src/qemu_driver.c: cleanup patch for usb masstorage hotadd
5966 Mon Oct 20 09:45:42 CEST Jim Meyering <meyering@redhat.com>
5968 ALL_LINGUAS: set unconditionally, using $srcdir/po
5969 * configure.in: Remove hard-coded list altogether.
5971 Sun Oct 19 11:40:49 CEST Jim Meyering <meyering@redhat.com>
5973 ALL_LINGUAS: remove "no", now that it's superseded by np.po
5974 * configure.in: Remove "no" from hard-coded list.
5976 Fri Oct 17 14:30:48 CEST 2008 Daniel Veillard <veillard@redhat.com>
5978 * src/qemu_driver.c: add scsi/virtio hotplug support for KVM
5979 patch by Guido Günther
5981 Fri Oct 17 11:58:31 +0200 Jim Meyering <meyering@redhat.com>
5983 Makefile.maint (sync-vcs-ignore-files): avoid risk of abuse
5984 * Makefile.maint (sync-vcs-ignore-files): Rewrite rule so that
5985 it won't misbehave even with maliciously-named sub-directories.
5987 generate .gitignore files from .cvsignore ones
5988 * Makefile.maint (sync-vcs-ignore-files): New target.
5989 Prompted by a patch from James Morris.
5990 http://thread.gmane.org/gmane.comp.emulators.libvirt/8619/focus=8773
5991 Add all (now-generated) .gitignore files.
5992 * .gitignore: New file.
5993 * build-aux/.gitignore: New file.
5994 * docs/.gitignore: New file.
5995 * docs/devhelp/.gitignore: New file.
5996 * docs/examples/.gitignore: New file.
5997 * docs/examples/python/.gitignore: New file.
5998 * gnulib/lib/.gitignore: New file.
5999 * gnulib/lib/arpa/.gitignore: New file.
6000 * gnulib/lib/netinet/.gitignore: New file.
6001 * gnulib/lib/sys/.gitignore: New file.
6002 * gnulib/tests/.gitignore: New file.
6003 * include/.gitignore: New file.
6004 * include/libvirt/.gitignore: New file.
6005 * po/.gitignore: New file.
6006 * proxy/.gitignore: New file.
6007 * python/.gitignore: New file.
6008 * python/tests/.gitignore: New file.
6009 * qemud/.gitignore: New file.
6010 * src/.gitignore: New file.
6011 * tests/.gitignore: New file.
6012 * tests/confdata/.gitignore: New file.
6013 * tests/sexpr2xmldata/.gitignore: New file.
6014 * tests/virshdata/.gitignore: New file.
6015 * tests/xencapsdata/.gitignore: New file.
6016 * tests/xmconfigdata/.gitignore: New file.
6017 * tests/xml2sexprdata/.gitignore: New file.
6019 Fri Oct 17 11:25:43 CEST 2008 Daniel Veillard <veillard@redhat.com>
6021 * src/qemu_driver.c: use qemudDiskDeviceName to determine the block
6022 device name in qemudDomainBlockStats(), patch by Guido Günther
6024 Fri Oct 17 11:20:48 CEST 2008 Daniel Veillard <veillard@redhat.com>
6026 * src/qemu_driver.c: fix qemudDiskDeviceName to handle disk devices
6027 too, patch by Guido Günther
6029 Fri Oct 17 11:16:30 CEST 2008 Daniel Veillard <veillard@redhat.com>
6031 * src/domain_conf.c: fix virDiskNameToBusDeviceIndex() to allow 0
6032 patch by Guido Günther
6034 Thu Oct 16 19:17:25 +0200 Jim Meyering <meyering@redhat.com>
6036 build: when po-check fails, say why and suggest a fix
6037 * Makefile.maint (po-check): Before, when this check failed, it just
6038 spat out a diff mentioning two temporary files. Now, it tells you
6039 what's wrong and suggests a fix with a patch using the name of the
6040 affected file (rather than temporary file names) in the diff output.
6042 Thu Oct 16 17:02:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
6043 * Add support for detecting the partition table type when scanning
6044 iSCSI volumes. This is implemented in the
6045 virStorageBackendUpdateVolInfoFD function, so all future callers will
6046 automatically benefit. This is a somewhat large patch because the
6047 conversion of the virStorageBackendPartTableTypeToString necessitated
6048 a change to the formatToString and formatFromString function pointers,
6049 which caused fallout in other places in the storage stuff. The good
6050 news is that most of these callers are now converted over to the
6051 VIR_ENUM_IMPL, which means a lot of redundant code is now gone.
6053 Thu Oct 16 15:41:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
6054 * Compiling with -Werror showed a possible use before initialization
6055 in src/qemu_driver.c. Make sure to initialize the origdisk ptr to
6058 Thu Oct 16 15:04:36 +0200 Jim Meyering <meyering@redhat.com>
6060 build: exempt *.ico files from the trailing blank check
6061 * .x-sc_trailing_blank: Add \.ico$ to the list.
6063 Wed Oct 16 14:03:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
6065 * "make syntax-check" was complaining that network_driver.c was
6066 missing from POTFILES.in. Add it, and then fix up one warning about
6067 included c-ctypes.h that wasn't being used.
6069 Wed Oct 15 19:38:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6071 * configure.in, src/Makefile.am, src/virsh_win_icon.rc:
6072 Add a Windows icon resource.
6074 Wed Oct 15 11:28:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6076 * src/libvirt.c: Register the remote driver even when we are
6077 configured --without-libvirtd. Also adds debugging of
6078 registration events.
6080 Mon Oct 13 18:45:43 CEST 2008 Jim Meyering <meyering@redhat.com>
6082 avoid many format string warnings
6084 Building with --disable-nls exposed many new warnings like these:
6085 virsh.c:4952: warning: format not a string literal and no format ...
6086 util.c:163: warning: format not a string literal and no format arguments
6087 All but one of the following changes add a "%s" argument before
6088 the offending _(...) argument.
6090 This was the only manual change:
6091 * src/lxc_driver.c (lxcVersion): Use %s and strerror(errno)
6092 rather than %m, to avoid a warning from gcc -Wformat-security.
6094 Add "%s" before each warned about format-string-with-no-%-directive:
6095 * src/domain_conf.c (virDomainHostdevSubsysUsbDefParseXML)
6096 (virDomainDefParseString, virDomainDefParseFile):
6097 * src/hash.c (virGetConnect, __virGetDomain, virReleaseDomain)
6098 (__virGetNetwork, virReleaseNetwork, __virGetStoragePool)
6099 (virReleaseStoragePool, __virGetStorageVol, virReleaseStorageVol):
6100 * src/lxc_container.c (lxcContainerChild):
6101 * src/lxc_driver.c (lxcDomainDefine, lxcDomainUndefine)
6102 (lxcDomainGetInfo, lxcGetOSType, lxcDomainDumpXML)
6103 (lxcSetupInterfaces, lxcDomainStart, lxcDomainCreateAndStart)
6104 (lxcVersion, lxcGetSchedulerParameters):
6105 * src/network_conf.c (virNetworkDefParseString)
6106 (virNetworkDefParseFile):
6107 * src/openvz_conf.c (openvzReadNetworkConf, openvzLoadDomains):
6108 * src/openvz_driver.c (openvzDomainDefineCmd)
6109 (openvzDomainGetInfo, openvzDomainDumpXML, openvzDomainShutdown)
6110 (openvzDomainReboot, ADD_ARG_LIT, openvzDomainDefineXML)
6111 (openvzDomainCreateXML, openvzDomainCreate, openvzDomainUndefine)
6112 (openvzDomainSetAutostart, openvzDomainGetAutostart)
6113 (openvzDomainSetVcpus):
6114 * src/qemu_driver.c (qemudDomainBlockPeek, qemudDomainMemoryPeek):
6115 * src/remote_internal.c (remoteDomainBlockPeek)
6116 (remoteDomainMemoryPeek, remoteAuthPolkit):
6117 * src/sexpr.c (sexpr_new, _string2sexpr):
6118 * src/storage_backend_disk.c (virStorageBackendDiskMakeDataVol)
6119 (virStorageBackendDiskCreateVol):
6120 * src/storage_backend_fs.c
6121 (virStorageBackendFileSystemNetFindPoolSources):
6122 * src/storage_backend_logical.c (virStorageBackendLogicalFindLVs)
6123 (virStorageBackendLogicalFindPoolSources):
6124 * src/test.c (testOpenDefault, testOpenFromFile, testOpen)
6125 (testGetDomainInfo, testDomainRestore)
6126 (testNodeGetCellsFreeMemory):
6127 * src/util.c (virExec):
6128 * src/virsh.c (cmdAttachDevice, cmdDetachDevice)
6129 (cmdAttachInterface, cmdDetachInterface, cmdAttachDisk)
6130 (cmdDetachDisk, cmdEdit):
6131 * src/xend_internal.c (do_connect, wr_sync, xend_op_ext)
6132 (urlencode, xenDaemonDomainCreateXML)
6133 (xenDaemonDomainLookupByName_ids, xenDaemonDomainLookupByID)
6134 (xenDaemonParseSxprOS, xend_parse_sexp_desc_char)
6135 (xenDaemonParseSxprChar, xenDaemonParseSxprDisks)
6136 (xenDaemonParseSxpr, sexpr_to_xend_topology, sexpr_to_domain)
6137 (xenDaemonDomainFetch, xenDaemonDomainGetAutostart)
6138 (xenDaemonDomainSetAutostart, xenDaemonDomainMigratePerform)
6139 (xenDaemonDomainDefineXML, xenDaemonGetSchedulerType)
6140 (xenDaemonGetSchedulerParameters)
6141 (xenDaemonSetSchedulerParameters, xenDaemonDomainBlockPeek)
6142 (xenDaemonFormatSxprChr, virDomainXMLDevID):
6143 * src/xm_internal.c (xenXMConfigCacheRefresh, xenXMDomainPinVcpu)
6144 (xenXMDomainCreate, xenXMDomainDefineXML)
6145 (xenXMDomainAttachDevice, xenXMDomainDetachDevice):
6146 * src/xml.c (virXPathString, virXPathNumber, virXPathLong)
6147 (virXPathULong, virXPathBoolean, virXPathNode, virXPathNodeSet):
6148 * src/xs_internal.c (xenStoreOpen):
6150 Mon Oct 13 16:24:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6152 Documentation for NIC model selection.
6153 * docs/formatdomain.html.in, docs/formatdomain.html: Add the
6154 documentation for NIC model selection.
6156 Mon Oct 13 16:22:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6158 Build failure fixed.
6159 * src/domain_conf.c: Fix build failure of the Xen proxy.
6161 Sat Oct 11 09:23:18 CEST 2008 Jim Meyering <meyering@redhat.com>
6163 testError format strings: explicitly include domain and network names
6164 This repairs the "make check" failure of tests/undefine.
6165 * src/test.c (testResumeDomain, testPauseDomain): Likewise.
6166 (testShutdownDomain, testGetDomainInfo, ): Likewise.
6167 (testSetMemory, testSetVcpus, testDomainCreate, testDomainUndefine)
6168 (testDomainGetSchedulerType, testDomainGetSchedulerParams): Likewise.
6169 (testDomainSetSchedulerParams, testNetworkUndefine): Likewise.
6170 (testNetworkStart, testNetworkGetBridgeName): Likewise.
6171 (testDomainCoreDump, testDomainSave): Likewise, and...
6172 Name the file upon failed open or write.
6173 Use strerror(errno) in diagnostics.
6174 * tests/undefine: Adjust expected output.
6176 test.c (testError): Remove now-ignored dom and net parameters.
6177 This is a sytnax-only change: removing the two unused parameters
6178 and updating all callers:
6179 * src/test.c (GET_DOMAIN, GET_NETWORK, testError)
6180 (testBuildCapabilities, testOpenDefault, testOpenFromFile)
6181 (testOpen, testGetHostname, testGetURI, testGetCapabilities)
6182 (testLookupDomainByID, testLookupDomainByUUID)
6183 (testLookupDomainByName, testResumeDomain, testPauseDomain)
6184 (testShutdownDomain, testGetDomainInfo, testDomainSave)
6185 (testDomainRestore, testDomainCoreDump, testGetOSType)
6186 (testSetMemory, testSetVcpus, testListDefinedDomains)
6187 (testNodeGetCellsFreeMemory, testDomainCreate)
6188 (testDomainUndefine, testDomainGetSchedulerType)
6189 (testDomainGetSchedulerParams, testDomainSetSchedulerParams)
6190 (testLookupNetworkByUUID, testLookupNetworkByName)
6191 (testListNetworks, testListDefinedNetworks, testNetworkUndefine)
6192 (testNetworkStart, testNetworkGetBridgeName): Update callers.
6194 Fri Oct 10 19:16:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6196 * src/memory.c: If size*count== 0, then virRelloc must not
6197 return a failure, it is same as virFree.
6199 Fri Oct 10 17:51:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6201 * docs/libvirt.rng: Document SDL attributes in schema
6202 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Support
6203 SDL display configuration
6204 * tests/qemuxml2argvtest.c: Set predictable env vars for SDL
6206 * tests/qemuxml2argvdata/*.args: Add new env vars now set
6209 Fri Oct 10 17:03:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6211 * src/domain_conf.c, src/domain_conf.h, src/lxc_container.c,
6212 src/lxc_controller.c, src/lxc_driver.c, src/openvz_conf.c,
6213 src/openvz_driver.c, src/qemu_conf.c, src/qemu_driver.c,
6214 src/xend_internal.c, src/xend_internal.h, src/xminternal.c:
6215 Switch to using arrays instead of linked lists for devices
6216 * tests/sexpr2xmldata/sexpr2xml-fv-v2.xml: Fix device ordering
6218 Fri Oct 10 15:39:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6220 * src/storage_conf.c, src/storage_conf.h, src/storage_driver.c,
6221 src/storage_backend_disk.c, src/storage_backend_fs.c,
6222 src/storage_backend_iscsi.c, src/storage_backend_logical.c:
6223 Switch storage objects to array instead of linked list
6225 Fri Oct 10 15:39:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6227 * src/network_conf.c, src/network_conf.h, src/network_driver.c,
6228 src/test.c: Switch to using array instead of linked list for
6231 Fri Oct 10 15:19:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6233 * src/domain_conf.c, src/domain_conf.h: Switch to using
6234 array instead of linked list for domain objects
6235 * src/lxc_conf.h, src/lxc_driver.c, src/openvz_conf.c,
6236 src/openvz_conf.h, src/openvz_driver.c, src/qemu_conf.h,
6237 src/qemu_driver.c test.c: Update to manage domain objects
6238 in array instead of linked list
6240 Fri Oct 10 14:56:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6242 * configure.in: option to enable/disable network driver
6243 * src/Makefile.am: Add network_driver.c/.h files
6244 * src/libvirt.c: Import network_driver.h file
6245 * src/qemu_conf.c, src/qemu-conf.h, src/qemu_driver.c: Remove
6246 all network driver support
6247 * src/network_driver.c, src/network_driver.h: Add standalone
6250 Fri Oct 10 13:30:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6252 * src/xml.c, src/xen_internal.c: Cast some args to unsigned
6253 long to avoid printf format specifier warnings on 32-bit
6255 Fri Oct 10 12:30:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6257 Updated MinGW spec file.
6258 * .cvsignore, Makefile.am, autobuild.sh, configure.in,
6259 mingw32-libvirt.spec.in: Import the latest MinGW libvirt spec
6260 file. Note that the file has been renamed to conform to
6261 new Fedora packaging guidelines.
6262 * autobuild.sh: Fix a bug in the generation of the $EXTRA_RELEASE
6263 field when autobuilding.
6265 Fri Oct 10 11:17:59 CEST 2008 Daniel Veillard <veillard@redhat.com>
6267 * include/libvirt/libvirt.h[.in] include/libvirt/virterror.h
6268 qemud/remote* src/driver.h src/libvirt.c src/libvirt_sym.version
6269 src/lxc_driver.c src/openvz_driver.c src/proxy_internal.c
6270 src/qemu_driver.c src/remote_internal.c src/test.c src/virsh.c
6271 src/xen_internal.c src/xen_unified.c src/xen_unified.h
6272 src/xend_internal.c src/xend_internal.h src/xm_internal.c
6273 src/xs_internal.c docs/*: cleanup virDomainCreateLinux into
6274 virDomainDefineXML, and a few additional cleanups
6276 Fri Oct 10 10:33:29 CEST 2008 Daniel Veillard <veillard@redhat.com>
6278 * src/domain_conf.c src/util.c: fix index creation for disks >
6279 {sd,hd,xvd,vd}z (Sanjay Rao and Chris Wright)
6281 Thu Oct 9 11:30:00 EST Cole Robinson <crobinso@redhat.com>
6283 * src/domain_conf.c src/hash.c src/internal.h src/lxc_conf.c
6284 src/lxc_conf.h src/network_conf.c src/openvz_conf.c src/openvz_conf.h
6285 src/proxy_internal.c src/qemu_conf.c src/qemu_conf.h src/qparams.c
6286 src/sexpr.c src/storage_conf.c src/storage_conf.h src/test.c
6287 src/util.c src/virterror.c src/xen_internal.c src/xen_unified.c
6288 src/xend_internal.c src/xm_internal.c src/xml.c src/xs_internal.c:
6289 Centralize majority of error reporting logic.
6291 Thu Oct 9 15:49:25 BST Daniel P Berrange <berrange@redhat.com>
6293 * src/lxc_driver.c: Annotate unused parameter
6294 * src/virsh.c: Fix scanf format specifier
6296 Wed Oct 8 08:29:25 PDT 2008 Dan Smith <danms@us.ibm.com>
6297 * src/cgroup.c src/cgroup.h: Add cpu shares manipulation
6298 * src/lxc_driver.c: Add scheduler parameters interface for cpu shares
6299 * src/virsh.c: Add generic scheduler parameter interface
6301 Wed Oct 8 15:42:44 CEST 2008 Daniel Veillard <veillard@redhat.com>
6303 * src/cgroup.c: use safewrite()
6304 * src/qemu_driver.c: missing VIR_FREE pojnted out by Eduardo Habkost
6306 Tue Oct 7 23:08:51 CEST 2008 Jim Meyering <meyering@redhat.com>
6308 avoid "make syntax-check" failure
6309 * src/cgroup.c (virCgroupSetValueStr): Use safe_write, not write.
6311 Tue Oct 7 18:33:39 CEST 2008 Daniel Veillard <veillard@redhat.com>
6313 * src/qemu_driver.c: another OOM handling cleanup (Guido Günther)
6315 Tue Oct 7 17:59:59 CEST 2008 Daniel Veillard <veillard@redhat.com>
6317 * src/qemu_driver.c: don't print and extra OOM error on top of
6318 getpwuid error (Guido Günther)
6320 Mon Oct 6 15:47:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6322 * qemud/remote.c src/hash.c src/internal.h src/lxc_conf.c
6323 src/lxc_container.c src/lxc_controller.c src/lxc_driver.c
6324 src/remote_internal.c src/storage_backend_disk.c src/veth.c
6325 src/xen_internal.c src/xen_unified.c src/xend_internal.c:
6326 Move DEBUG and DEBUG0 macros to central location.
6328 Mon Oct 6 15:32:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6330 * src/qemu_conf.c: Fix possible segfault if starting a qemu guest with
6331 with an inactive virtual network.
6333 Mon Oct 6 15:23:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6335 * tests/domainschematest: Slim down schema test result output
6337 Mon Oct 6 17:39:12 CEST 2008 Daniel Veillard <veillard@redhat.com>
6339 * src/lxc_driver.c src/qemu_driver.c src/remote_internal.c
6340 src/storage_driver.c: use C99 initializers for virState (Guido
6343 Mon Oct 6 11:23:40 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6345 * qemud/Makefile.am: Fix VPATH build (Guido Gunther)
6347 Mon Oct 6 12:08:40 CEST 2008 Daniel Veillard <veillard@redhat.com>
6349 * po/no.po: removed it's obsoleted by np.po, fixes #335211
6351 Thu Oct 3 09:32:42 PDT 2008 Dan Smith <danms@us.ibm.com>
6352 * src/lxc_container.h src/lxc_container.c
6353 src/lxc_controller.c src/lxc_driver.c: Use internal cgroup
6354 API to manipulate cgroups for LXC resource control
6356 Thu Oct 3 09:32:42 PDT 2008 Dan Smith <danms@us.ibm.com>
6357 * src/cgroup.c src/cgroup.h: Add internal cgroup manipulation API
6359 Thu Oct 2 17:01:32 CEST 2008 Daniel Veillard <veillard@redhat.com>
6361 * libvirt.spec.in: fix bug #465274 to build on RHEL
6363 Thu Oct 2 10:06:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6365 * src/qemu_driver.c: Fix startup timeout with multiple pty devices.
6367 Wed Oct 1 17:28:47 CEST 2008 Daniel Veillard <veillard@redhat.com>
6369 * src/xend_internal.c: fix ordering when parsing multiple Xen
6370 interfaces, patch by Jim Fehlig
6371 * python/Makefile.am: fix parallel build
6373 Thu Sep 25 13:37:42 IST 2008 Mark McLoughlin <markmc@redhat.com>
6375 * docs/virsh.pod: fixup some minor issues - e.g. bogus
6378 Tue Sep 23 22:45:47 CEST 2008 Daniel Veillard <veillard@redhat.com>
6380 * configure.in libvirt.spec.in NEWS docs/*: release of libvirt-0.4.6
6381 * src/storage_backend_logical.c: re-add the -f flag to vgremove
6384 Tue Sep 23 12:17:22 CEST 2008 Daniel Veillard <veillard@redhat.com>
6386 * po/pt_BR.po: updated brazilian translation
6388 Mon Sep 22 22:18:16 CEST 2008 Daniel Veillard <veillard@redhat.com>
6390 * src/storage_backend_logical.c: enable stop pool in logical backend
6391 improve portability when deleting a pool and also call pvremove
6392 patch by Chris Lalancette
6394 Mon Sep 22 21:55:55 CEST 2008 Daniel Veillard <veillard@redhat.com>
6396 * src/storage_conf.c: fixes parsing to allow no sources for a pool
6397 fix by Dan and Chris Lalancette
6399 Mon Sep 22 18:00:39 CEST 2008 Daniel Veillard <veillard@redhat.com>
6401 * src/remote_internal.c src/storage_driver.c: structure init fixes
6404 Mon Sep 22 17:14:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
6406 * src/openvz_conf.c: patch from Evgeniy Sokolov to read
6407 network config in OpenVZ driver.
6409 Thu Sep 18 11:19:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6411 * libvirt.spec.in: Remove commands which were deleting
6412 development files mistakenly
6414 Thu Sep 18 09:55:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6416 Documentation cleanups.
6417 * docs/bindings.html.in: Clean up the bindings page, and add
6419 * docs/windows.html.in: Remove old bogus information and add
6422 Thu Sep 18 09:52:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6424 * src/qemu_driver.c, configure.in, libvirt.spec.in: Remove
6425 trailing whitespace & fix diagnostic string translation.
6427 Wed Sep 17 17:02:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6429 * src/openvz_driver.c: Fix segfault in OpenVZ driver
6432 Wed Sep 17 16:38:00 BST 2008 Daniel P berrange <berrange@redhat.com>
6434 * tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml,
6435 tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml,
6436 tests/xml2sexprdata/xml2sexpr-pv-vfb-new-auto.sexpr: Remove
6437 redundant emulator tags which broke test cases.
6439 Wed Sep 17 15:26:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6441 * src/storage_backend_disk.c: Missing include file.
6443 Wed Sep 17 15:18:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6445 * src/qemu_driver.c: Remove some deadcode (Nguyen Anh Quynh).
6447 Wed Sep 17 15:14:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6449 * src/virsh.c: Change name of "blocked" state to "idle" (John Levon).
6451 Wed Sep 17 15:10:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6453 * include/libvirt/libvirt.h.in, src/libvirt.c: Fix comments
6454 which incorrectly referred to non-existent 'virDomainFlags'
6455 type (Anton Protopopov).
6457 Wed Sep 17 15:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6459 * src/conf.c: Improved error messages in XM conf module.
6461 Wed Sep 17 15:03:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6463 * libvirt.spec.in: Specfile enhancements for minimal
6464 "client only" build (Ben Guthro).
6466 Wed Sep 17 15:03:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
6468 * configure.in, src/qemu_driver.h, src/qemu_driver.c: KVM
6469 can determine max VCPUs at runtime (Guido Günther).
6471 Tue Sep 16 12:43:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6473 * src/storack_backend_disk.c: Implement disk volume delete
6475 Tue Sep 9 09:50:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6477 * src/xend_internal.c: fix reading vncdisplay from xend domain
6478 * tests/sexpr2xmldata/sexpr2xml-pv-vfb-new-vncdisplay.sexpr
6479 tests/sexpr2xmldata/sexpr2xml-pv-vfb-new-vncdisplay.xml,
6480 tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.cfg,
6481 tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml,
6482 tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.cfg,
6483 tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml,
6484 tests/xml2sexprdata/xml2sexpr-pv-vfb-new-auto.sexpr,
6485 tests/xml2sexprdata/xml2sexpr-pv-vfb-new-auto.xml:
6486 Add tests for various xen vnc cases.
6488 Tue Sep 9 09:42:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6490 * src/qemu_conf.c : fix a segfault if no qemu emulator is passed
6491 when defining a domain.
6493 Mon Sep 8 16:28:30 CEST 2008 Daniel Veillard <veillard@redhat.com>
6495 * configure.in libvirt.spec.in docs/*: preparing release of
6497 * po/*: rebuilt and updated de.po
6499 Mon Sep 8 14:42:23 CEST 2008 Daniel Veillard <veillard@redhat.com>
6501 * src/network_conf.c src/network_conf.h src/qemu_driver.c: add
6502 support for a domain name in network configurations, patch by
6503 JJ Reynolds with bugfix raised by Dan
6504 * src/openvz_conf.c: fix to small bug in openvzReadConfigParam
6507 Mon Sep 8 13:14:17 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6509 * src/openvz_driver.c: Fix potential NULL dereference
6511 Mon Sep 8 09:18:17 CEST 2008 Daniel Veillard <veillard@redhat.com>
6513 * src/storage_backend_logical.c: finish applying initialization
6514 from Jim Fehlig patch for logical storage backend
6516 Fri Sep 5 15:59:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6518 * src/openvz_conf.c, src/openvz_driver.c: Fix trailing
6521 Fri Sep 5 15:09:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6523 * src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c,
6524 src/openvz_driver.h: Convert to generic domain XML apis
6526 Fri Sep 5 13:02:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6528 Fully support mingw builds
6529 * .cvsignore: Ignore mingw-libvirt.spec
6530 * autobuild.sh: Perform mingw build if toolchain is available
6531 * Makefile.am: Add mingw-libvirt.spec to EXTRA_DIST
6532 * configure.in: Add check for getuid/getgit. Add gettext()
6533 check against libintl. Disable storage drivers if libvirtd
6535 * mingw-libvirt.spec.in: Specfile for mingw cross compile
6536 * qemud/remote_protocol.{c,x,h}: Add socketcompat.h include
6538 * src/Makefile.am: Don't wrap storage driver conditionals in
6539 a libvirtd conditional
6540 * src/storage_backend.c: Add no-op implementations of
6541 virStorageBackendRunProgRegex and virStorageBackendRunProgNul
6543 * src/storage_conf.c: Fix typo in getgid() call. Avoid
6544 not-literal in format string.
6545 * src/util.c: Fix signature of virExec() for mingw build
6546 * src/util.h: Add stub impl of getuid/getgid calls
6548 Fri Sep 5 12:50:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6550 Fix starting of Xen domains without PVFB console, by not
6551 setting emulator path in SEXPR unless asked for
6552 * src/domain_conf.c, src/domain_conf.h, src/xm_internal.c: Don't
6553 set emulator path with a default value
6554 * src/lxc_driver.c, src/qemu_conf.c, src/qemu_driver.c: Find a
6555 default emulator path if no explicit path is provided in config
6556 * tests/xmconfigdata/test-paravirt-net-e1000.xml,
6557 tests/xmconfigdata/test-paravirt-new-pvfb.xml,
6558 tests/xmconfigdata/test-paravirt-old-pvfb.xml,
6559 tests/xml2sexprdata/xml2sexpr-fv-kernel.xml: Remove default
6561 * tests/xml2sexprdata/xml2sexpr-pv-vfb-new.sexpr: Remove
6564 Fri Sep 5 12:33:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6566 * src/xen_unified.c, src/xen_internal.c, src/xen_internal.h,
6567 tests/xencapstest.c: Pass connection object into capabilities
6568 constructor since it needs to talk to XenD
6570 Thu Sep 4 15:33:26 CEST 2008 Daniel Veillard <veillard@redhat.com>
6572 * src/storage_backend_fs.c: fix a signed/unsigned issue breaking
6573 virStorageBackendProbeFile(), patch by Cole Robinson
6575 Thu Sep 4 15:18:00 CEST 2008 Daniel Veillard <veillard@redhat.com>
6577 * src/qemu_driver.c: fix an error message, patch by Nguyen Anh Quynh
6579 Thu Sep 4 14:16:20 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6581 * qemud/Makefile.am: Fix make check when augparse is not
6584 Thu Sep 4 15:05:34 CEST 2008 Daniel Veillard <veillard@redhat.com>
6586 * src/storage_backend_logical.c: fix a miscalculation of command line
6587 size for vgcreate, patch from Jim Fehlig
6589 Thu Sep 4 11:43:20 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6591 Augeas config file support
6592 * configure.in: Check for augparse tool for test suite
6593 * libvirt.spec.in, qemud/Makefile.am, qemud/libvirtd.aug,
6594 qemud/libvirtd_qemu.aug, qemud/test_libvirtd.aug,
6595 qemud/test_libvirtd_qemu.aug: Augeas lens for processing
6596 libvirtd.conf and qemu.conf
6598 Thu Sep 4 11:09:20 CEST 2008 Daniel Veillard <veillard@redhat.com>
6600 * src/xend_internal.c: patch from John Levon shutting down a live
6601 domain is just more hazardous
6603 Thu Sep 4 11:05:59 CEST 2008 Daniel Veillard <veillard@redhat.com>
6605 * src/xend_internal.c src/xs_internal.c: use poweroff instead of halt
6606 when shutting down a xen domain, patch by John Levon
6608 Thu Sep 4 10:13:43 CEST 2008 Daniel Veillard <veillard@redhat.com>
6610 * src/qemu_driver.c: switch flags to unsigned by James Morris
6611 * AUTHORS: add James Morris
6613 Wed Sep 3 10:14:00 PDT 2008 Dan Smith <danms@us.ibm.com>
6616 Add hypervisor version implementation
6618 Wed Sep 3 11:52:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6620 * src/domain_conf.c src/domain_conf.h src/qemu_driver.c:
6621 Fix qemu media connect/eject to work with latest syntax. Add support
6622 for ejecting floppy devices and scsi cdroms.
6624 Wed Sep 3 10:57:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6626 * src/domain_conf.c src/domain_conf.h src/qemu_driver.c:
6627 Update domain xml after usb device hotplug.
6629 Wed Sep 3 10:42:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6631 * src/qemu_driver.c: scrape media eject output to determine failure
6633 Wed Sep 3 09:58:00 EST 2008 Cole Robinson <crobinso@redhat.com>
6635 * src/domain_conf.c: fix disk device ordering when parsing domain
6636 xml. check for disk target duplicates as well.
6637 * tests/xml2sexprdata/xml2sexpr-fv-v2.sexpr: fix for disk ordering
6638 * tests/xml2sexprdata/xml2sexpr-fv-vncunused.sexpr: fix for disk ordering
6640 Wed Sep 3 14:51:03 CEST 2008 Daniel Veillard <veillard@redhat.com>
6642 * src/qemu_driver.c: patch from Cole Robinson to avoid a segfault
6645 Wed Sep 3 14:37:06 CEST 2008 Daniel Veillard <veillard@redhat.com>
6647 * src/virsh.c: patch from Cole Robinson to add output on attach
6650 Wed Sep 3 14:23:48 CEST 2008 Daniel Veillard <veillard@redhat.com>
6652 * AUTHORS: add Cole Robinson as commiter
6654 Wed Sep 3 09:08:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
6656 * src/storage_conf.c: add one missing check in virStoragePoolDefParseDoc
6658 Tue Sep 2 17:30:50 CEST 2008 Daniel Veillard <veillard@redhat.com>
6660 * src/domain_conf.c: fix a parsing error for input devices
6661 patch by Cole Robinson
6663 Tue Sep 2 16:55:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
6665 * src/qemu_conf.c: patch from Cole Robinson to report in the
6666 capabilities only the ones where the emulators is actually found
6667 * po/libvirt.pot: regenerated
6668 * src/libvirt.c: small typo fix
6670 Tue Sep 2 16:12:20 CEST 2008 Daniel Veillard <veillard@redhat.com>
6672 * src/storage_backend.h src/storage_backend_logical.c
6673 src/storage_conf.c src/storage_conf.h src/virsh.c:
6674 Applied patches from David Lively to add storage source
6675 elements needed for storage pool
6676 * docs/formatstorage.html docs/formatstorage.html.in: associated
6679 Tue Sep 2 12:28:54 CEST 2008 Jim Meyering <meyering@redhat.com>
6681 qemu_conf.c: use new function, virFileReadLimFD
6682 * src/qemu_conf.c (qemudExtractVersionInfo): Use virFileReadLimFD
6683 and VIR_FREE in place of an open-coded loop and a static buffer.
6685 util.c: add a file-descriptor-based wrapper for fread_file_lim
6686 * src/util.c (virFileReadLimFP): New function.
6687 (__virFileReadLimFD): New function.
6688 * src/util.h (__virFileReadLimFD): Declare.
6689 (virFileReadLimFD): Define.
6690 (virFileReadAll): Rewrite to use virFileReadLimFP.
6692 Fri Aug 29 08:04:15 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6694 * src/bridge.c, src/proxy_internal.c, src/qemu_conf.c,
6695 src/qemu_conf.h, src/qemu_driver.c, src/remote_internal.c:
6696 Switch over to using virExec() function
6698 Thu Aug 28 23:39:15 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6700 * src/util.c: Fix off-by-one to allow making of paths at root
6701 * src/lxc_container.c: Allow for a private root filesystem
6704 Thu Aug 28 12:58:15 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6706 * src/xend_internal.c: Fix lookup of Xen VMs after define
6707 (patch from Cole Robinson)
6709 Thu Aug 28 11:08:15 CEST 2008 Jim Meyering <meyering@redhat.com>
6711 improve parallel build support
6712 * autobuild.sh: Append -j$N to MAKEFLAGS, if no -j option is there.
6713 * libvirt.spec.in: Use %{?_smp_mflags} with "make".
6714 Based on a patch from James Morris:
6715 http://thread.gmane.org/gmane.comp.emulators.libvirt/8201
6717 Wed Aug 27 20:50:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
6719 Storage pool source discovery from David Lively
6721 * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
6722 src/libvirt_sym.version, src/libvirt.c, src/driver.h: Add
6723 the virConnectFindStoragePoolSources() API
6724 * src/remote_internal.c, qemu/remote.c, src/remote_protocol.{c,h,x}
6725 Implement remote protocol support for virConnectFindStoragePoolSources
6726 * src/remote_dispatch_*.h: Re-generate from remote_protocol.x
6727 * libvirt.spec.in:Add dep on nfs-utils
6728 * configure.in: Check for showmount binary
6729 * src/storage_backend.h, src/storage_driver.c: Generic impl
6730 of storage discovery
6731 * src/storage_backend_fs.c, src/storage_backend_logical.c: Add
6732 specific impl of storage discovery for NFS and LVM
6733 * src/virsh.c: Add command to discover storage pools
6735 Wed Aug 27 12:40:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
6737 * src/util.h, src/util.c: Allow virExec to take set of FDs
6738 to preserve in child.
6739 * src/lxc_driver.c, src/qemu_driver.c, src/storage_backend.c:
6740 Preserve FDs as needed
6742 Wed Aug 27 12:20:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
6744 * src/openvz_conf.c: Fix handling of EOF when reading list
6747 Wed Aug 27 12:14:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
6749 * src/openvz_driver.c: Remove incorrect usage of virState
6750 driver internal apis only intended for drivers within the
6752 * src/Makefile.am: No need to disable openvz if the
6755 Fri Aug 22 08:30:00 PDT 2008 Dan Smith <danms@us.ibm.com>
6757 * src/lxc_driver.c: Make sure we cleanup veth devices at shutdown
6759 Fri Aug 22 11:49:42 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6761 * python/libvir.py: Use libvirt error message as exception
6762 message for improved diagnostics
6764 Fri Aug 22 10:30:42 CEST 2008 Jim Meyering <meyering@redhat.com>
6766 configure.in: link with -lpthread when necessary
6767 * configure.in: Explicitly add -lpthread to $LIBS.
6768 With an empty "ACTION_IF_FOUND", AC_CHECK_LIB would have done
6769 that for us automatically, but when there is an explicit third
6770 argument, those commands are run instead of the default.
6771 Reported by Jun Koi <junkoi2004@gmail.com>.
6773 Thu Aug 21 21:29:28 CEST 2008 Jim Meyering <meyering@redhat.com>
6775 autobuild.sh: Fix minor shell-quoting bugs.
6776 * autobuild.sh: Remove unnecessary quotes.
6777 Don't choke on a file name argument containing a space.
6778 Don't misbehave for $AUTOBUILD_INSTALL_ROOT containing
6779 a shell meta-character.
6781 Wed Aug 21 11:14:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6783 * src/remote_internal.c: Clarify error messages from various
6784 failures while opening a connection
6786 Wed Aug 21 11:09:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6788 * src/libvirt.c: Propagate error from virConnect to global
6789 error object for virConnectOpen() failures
6791 Wed Aug 21 10:28:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6793 * libvirt.spec.in: Add libvirt_lxc to spec file and conditionals
6794 for lxc/openvz drivers which are now on by default
6796 Wed Aug 21 09:52:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6798 * src/lxc_controller.h: Remove now unused file
6800 Wed Aug 20 21:50:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6802 * src/domain_conf.c: Include PTY name if available
6803 * src/Makefile.am: Add lxc_controller binary
6804 * src/lxc_conf.c, src/lxc_conf.h, src/lxc_controller.c,
6805 src/lxc_controller.h, src/lxc_driver.c: Move LXC controller
6806 into a properly exec'd binary, instead of fork'd child of
6809 Wed Aug 20 21:05:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6811 * configure.in, qemud/Makefile.am, src/Makefile.am: Use automake
6812 conditions when deciding which files to include in build
6813 * src/bridge.c, src/bridge.h, src/conf.h, src/console.h,
6814 src/driver.h, src/hash.h, src/internal.h, src/libvirt.c,
6815 src/lxc_conf.c, src/lxc_conf.h, src/lxc_container.c,
6816 src/lxc_container.h, src/lxc_driver.c, src/lxc_driver.h,
6817 src/nodeinfo.h, src/openvz_conf.c, src/openvz_driver.c,
6818 src/proxy_internal.c, src/proxy_internal.h, src/qemu_conf.c,
6819 src/qemu_conf.h, src/qemu_driver.c, src/qemu_driver.h,
6820 src/remote_internal.h, src/test.c, src/test.h, src/veth.c,
6821 src/xen_internal.c, src/xen_internal.h, src/xen_unified.c,
6822 src/xen_unified.h, src/xend_internal.c, src/xend_internal.h,
6823 src/xm_internal.c, src/xs_internal.c, src/xs_internal.h
6824 tests/testutils.h: Remove preprocessor conditions for driver
6825 compilation. Remove unneccessary "extern C" declarations.
6827 Wed Aug 20 20:42:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6829 * src/util.c, src/util.h: Add convenience APIs for stripping
6831 * src/domain_conf.c, src/domain_conf.h, src/lxc_driver.c,
6832 src/qemu_driver.c: Remove fixed configfile/autostartlink
6833 fields in virDomainObjPtr. Generate paths on-demand at time
6836 Wed Aug 20 15:42:09 CEST 2008 Daniel Veillard <veillard@redhat.com>
6838 * src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
6839 to limit the number of CPUs used by OpenVZ domains.
6841 Wed Aug 20 15:31:47 CEST 2008 Daniel Veillard <veillard@redhat.com>
6843 * src/storage_backend_logical.c: Patch from Cole Robinson, fix
6844 creating and cleaning up logical volumes if a target path is
6847 Wed Aug 20 15:18:54 CEST 2008 Daniel Veillard <veillard@redhat.com>
6849 * src/parthelper.c: Patch from Cole Robinson, fix size reporting for
6850 disks without partitions.
6852 Wed Aug 20 15:11:57 CEST 2008 Daniel Veillard <veillard@redhat.com>
6854 * configure.in libvirt.spec.in docs/Makefile.am: fix the problem
6855 of HTML generation in the absence of XHTML1 DTDs in the system
6858 Wed Aug 20 14:49:29 CEST 2008 Daniel Veillard <veillard@redhat.com>
6860 * src/network_conf.c src/network_conf.h src/qemu_driver.c: allow to
6861 add static host definition for dnsmasq
6863 Wed Aug 20 10:16:54 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6865 * src/util.c, src/util.h: Allow flags to be passed to specify
6866 non-blocking, or daemon mode
6867 * src/qemu_driver.c, src/openvz_driver.c, src/storage_backend.c:
6868 Switch to virExec() with VIR_EXEC_NONBLOCK flag
6870 Wed Aug 20 09:59:54 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6872 * src/util.c: Allow a pre-opened FD to be passed in for childs
6874 * src/openvz_driver.c, src/qemu_driver.c: Initialize FDs to
6875 -1 before calling virExec()
6877 Wed Aug 20 09:35:33 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6879 Avoid signal race in virExec()
6880 * src/util.c: Block signals when forking and clear child's
6882 * src/remote_protocol.{c,h,x}: Add config.h include file
6883 * src/internal.h: define pthread_sigmask interms of sigprocmask
6884 for non-pthreads systems
6886 Wed Aug 20 09:28:33 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6888 * src/util.c: Re-arrange virExec() to improve error reporting
6890 Mon Aug 18 10:22:33 BST 2008 Daniel P. Berrange <berrange@redhat.com>
6892 * src/libvirt.c: Remove duplicate call to virInitialize() in
6893 virStateInitialize spotted by Nguyen Anh Quynh
6895 Fri Aug 15 11:00:38 IST 2008 Mark McLoughlin <markmc@redhat.com>
6897 * src/qemu_conf.c: fix serial/telnet to use "server" option
6898 rather than "listen"
6900 * tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.args:
6901 fix the test case too
6903 Fri Aug 15 10:34:24 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
6905 * src/virsh.c: fix typo from John Levon
6906 * src/domain_conf.c, src/openvz_driver.c, src/qemu_driver.c:fix typos
6908 Thu Aug 14 10:06:36 BST 2008 Daniel Berrange <berrange@redhat.com>
6910 * po/POTFILES.in: Add lxc_controller.c, remove lxc_conf.c
6912 Wed Aug 13 13:40:36 BST 2008 Daniel Berrange <berrange@redhat.com>
6914 * src/lxc_conf.c, src/lxc_conf.h: Remove all domain XML
6915 parsing / formatting methods, and all helpers for loading
6916 and saving files on disk. Added capabilities data object
6917 * src/lxc_container.c, src/lxc_container.h, src/lxc_driver.c,
6918 src/lxc_controller.h, src/lxc_controller.c: Switch over
6919 to use generic domain XML processing APIs.
6921 Wed Aug 13 11:48:36 BST 2008 Daniel Berrange <berrange@redhat.com>
6923 * configure.in: Add check for termios.h
6924 * src/util.h, src/util.c: Add virFileOpenTty and helpers
6925 for creating/deleting/reading PID files
6926 * src/lxc_conf.h, src/lxc_conf.c, src/lxc_container.c,
6927 src/lxc_container.h, src/lxc_controller.c,
6928 src/lxc_controller.h, src/lxc_driver.c: Re-arrange
6929 container launch process so that the I/O helper is
6930 a direct parent of the container process. Daemonize
6931 container so it survives restarts of libvirtd.
6933 Wed Aug 13 11:23:36 BST 2008 Daniel Berrange <berrange@redhat.com>
6935 Re-arrange code between LXC driver files
6936 * src/lxc_container.c, src/lxc_container.h,
6937 src/lxc_controller.h, src/lxc_container.c,
6938 src/lxc_driver.c: Move code for I/O handling into
6939 a seprate lxc_controller module, and move code for
6940 creating containers into lcx_container module.
6942 Wed Aug 13 10:55:36 BST 2008 Daniel Berrange <berrange@redhat.com>
6944 * src/lxc_conf.h, src/lxc_conf.c, src/lxc_container.h,
6945 src/lxc_container.c, src/lxc_driver.c: Don't store socket
6946 or tty state in lxc_vm_t struct. Pass it around as args
6947 to functions when needed
6949 Wed Aug 13 11:43:36 CEST 2008 Daniel Veillard <veillard@redhat.com>
6951 * docs/storage.html[.in] src/storage_backend_disk.c: revert previous
6952 msdos patch and apply new one from Cole Robinson
6954 Tue Aug 12 19:37:23 CEST 2008 Jim Meyering <meyering@redhat.com>
6956 rewrite virFileLinkPointsTo
6957 * src/util.c (SAME_INODE): Define.
6958 (virFileLinkPointsTo): Rewrite to be more portable and more efficient.
6960 Tue Aug 12 13:28:09 CEST 2008 Daniel Veillard <veillard@redhat.com>
6962 * src/storage_backend_disk.c: make sure parted doesn't ask
6963 confirmation, patch by Cole Robinson
6965 Tue Aug 12 13:20:07 CEST 2008 Daniel Veillard <veillard@redhat.com>
6967 * docs/storage.html[.in] src/storage_backend_disk.c: patch from
6968 Cole Robinson to rename the disk type from 'dos' to 'msdos'
6970 Tue Aug 12 17:30:50 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
6972 * src/domain_conf.h src/qemu_driver.c: name changing of
6973 stdin, stdout, stderr to add _fd for compilation on MinGW
6975 Tue Aug 12 17:20:36 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
6977 * src/domain.conf.c src/network_conf.c src/util.c src/virsh.c
6978 tests/testutilsxen.c: fix compilation for MinGW
6980 Tue Aug 12 10:09:23 CEST 2008 Daniel Veillard <veillard@redhat.com>
6982 * python/generator.py: patch from Cole Robinson trying to fix
6983 problem of connection lookup when creating storage instances
6985 Tue Aug 12 10:04:33 CEST 2008 Daniel Veillard <veillard@redhat.com>
6987 * po/*: regeneration of pot file, updates of .po
6989 Tue Aug 12 09:27:03 CEST 2008 Daniel Veillard <veillard@redhat.com>
6991 * docs/formatdomain.html docs/formatdomain.html.in: documentation
6992 for the USB format option by Guido Günther
6994 Mon Aug 11 14:29:02 CEST 2008 Jim Meyering <meyering@redhat.com>
6996 tests: append a newline to expected-output files lacking NL-at-EOF
6997 * tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Adjust the
6998 code that creates "actual" output, so that it too produces a
6999 newline-terminated buffer.
7000 * tests/qemuxml2argvdata/*.args: Append a newline to each, via:
7001 for i in $(find|grep '\.args$'); do echo >> $i;done
7003 Fri Aug 8 16:41:24 BST 2008 Daniel Berrange <berrange@redhat.com>
7005 * src/iptables.c, src/lxc_driver.c, src/openvz_driver.c,
7006 src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c,
7007 src/storage_backend.c, src/storage_backend_disk.c,
7008 src/storage_backend_fs.c, src/storage_backend_iscsi.c,
7009 src/storage_backend_logical.c, src/util.c, src/util.h,
7010 src/veth.c, tests/qemuxml2argvtest.c: Fix const-correctness
7011 of virRun and virExec, and remove unneccessary casts in callers
7013 Fri Aug 8 16:53:24 CEST 2008 Daniel Veillard <veillard@redhat.com>
7015 * src/domain_conf.c src/domain_conf.h src/qemu_conf.c
7016 src/qemu_driver.c: patch from Guido Günther allowing to add
7018 * docs/libvirt.rng: extend the schemas for the new value
7019 * tests/qemuxml2argvdata/qemuxml2argv-disk-usb.args
7020 tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
7021 tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c: add a specific
7022 test to the regression suite
7024 Fri Aug 8 16:15:55 CEST 2008 Daniel Veillard <veillard@redhat.com>
7026 * src/domain_conf.c src/domain_conf.h src/qemu_conf.c
7027 src/qemu_driver.c: Patch from Guido Günther allowing to pass
7028 usb devices to qemu/kvm
7029 * docs/libvirt.rng: add the new functionality to the grammar
7030 * tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.args
7031 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
7032 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.args
7033 tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml
7034 tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c: adding examples
7035 to the regression tests
7036 * libvirt.spec.in: fix the licence tag
7038 Fri Aug 8 19:18:43 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
7040 * docs/formatdomain.html docs/formatdomain.html.in
7041 docs/java.html docs/java.html.in: fix typos
7043 Thu Aug 7 19:47:40 CEST 2008 Daniel Veillard <veillard@redhat.com>
7045 * tests/domainschematest: patch from Guido Günther to fix RNG checking
7046 in out of tree builds.
7048 Thu Aug 7 06:32:05 PDT 2008 Dan Smith <danms@us.ibm.com>
7050 * src/veth.c: Fix assigned device name clash
7052 Wed Aug 7 15:02:06 CEST 2008 Jim Meyering <meyering@redhat.com>
7054 add the mkstemp module from gnulib
7055 * bootstrap (modules): Add mkstemp.
7056 The remainder of these changes are the result of running
7057 ./bootstrap, adding new files, and committing the result.
7058 * gnulib/lib/gettimeofday.c: New file.
7059 * gnulib/lib/mkstemp.c: New file.
7060 * gnulib/lib/tempname.c: New file.
7061 * gnulib/lib/tempname.h: New file.
7062 * gnulib/m4/gettimeofday.m4: New file.
7063 * gnulib/m4/mkstemp.m4: New file.
7064 * gnulib/m4/tempname.m4: New file.
7065 * gnulib/tests/test-gettimeofday.c: New file.
7066 * gnulib/lib/Makefile.am: Update.
7067 * gnulib/m4/gnulib-cache.m4: Likewise.
7068 * gnulib/m4/gnulib-comp.m4: Likewise.
7069 * gnulib/m4/inet_pton.m4: Likewise.
7070 * gnulib/tests/Makefile.am: Likewise.
7072 Thu Aug 7 12:21:31 CEST 2008 Daniel Veillard <veillard@redhat.com>
7074 * src/bridge.c: fix a build failure on RHEL4
7076 Wed Aug 7 13:30:44 CEST 2008 Jim Meyering <meyering@redhat.com>
7078 update from gnulib: portability and bug fixes
7079 * build-aux/mktempd:
7080 * build-aux/useless-if-before-free:
7081 * build-aux/vc-list-files:
7082 * gnulib/lib/.cvsignore:
7083 * gnulib/lib/Makefile.am:
7084 * gnulib/lib/poll.c:
7085 * gnulib/lib/stdbool.in.h:
7086 * gnulib/lib/stdio-impl.h:
7087 * gnulib/lib/stdio.in.h (vasprintf, obstack_printf)
7089 * gnulib/lib/vasnprintf.c (_GNU_SOURCE, sprintf, IF_LINT, exp)
7090 (remainder, scale10_round_decimal_long_double)
7091 (scale10_round_decimal_double, pad_ourselves):
7092 * gnulib/m4/gnulib-cache.m4:
7093 * gnulib/m4/gnulib-common.m4 (gl_MODULE_INDICATOR):
7094 * gnulib/m4/gnulib-tool.m4 (gl_LOCAL_DIR, gl_M4_BASE, gl_PO_BASE)
7095 (gl_DOC_BASE, gl_TESTS_BASE, gl_WITH_TESTS, gl_LIB, gl_LGPL)
7096 (gl_MAKEFILE_NAME, gl_MACRO_PREFIX, gl_PO_DOMAIN, gl_VC_FILES):
7097 * gnulib/m4/lock.m4 (gl_LOCK_EARLY_BODY, gl_PREREQ_LOCK)
7098 (gl_DISABLE_THREADS):
7099 * gnulib/m4/onceonly.m4:
7100 * gnulib/m4/posix-shell.m4 (gl_POSIX_SHELL):
7101 * gnulib/m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS):
7102 * gnulib/tests/test-getaddrinfo.c (ENABLE_DEBUGGING, dbgprintf)
7104 * gnulib/tests/test-stdint.c (UINTMAX_MAX, or):
7105 * gnulib/tests/test-vc-list-files-cvs.sh:
7106 * gnulib/tests/test-vc-list-files-git.sh:
7108 complete the MinGW inet_pton portability fix
7109 * gnulib/m4/inet_pton.m4: New file. Required for MinGW.
7110 * gnulib/m4/gnulib-comp.m4: Regenerate via gnulib-tool.
7112 Tue Aug 6 13:30:44 CEST 2008 Jim Meyering <meyering@redhat.com>
7114 fix failing "make syntax-check"
7115 * src/stats_linux.c: Don't include <c-ctype.h> no longer used.
7117 work around MinGW build failure due to its lack of inet_aton
7118 Use inet_pton instead; pull in gnulib's module by the same name.
7119 * src/network_conf.c (virNetworkDefParseXML): Use inet_pton,
7120 rather than inet_aton.
7121 * bootstrap (modules): Add inet_pton.
7122 * gnulib/lib/inet_pton.c: New file, from gnulib.
7124 Wed Aug 6 13:36:29 CEST 2008 Daniel Veillard <veillard@redhat.com>
7126 * docs/formatdomain.html docs/formatdomain.html.in: fix memory unit
7127 as pointed out by matthew chan it's kilobytes
7129 Wed Aug 6 13:24:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
7130 * src/xend_internal.c: Oops. My bug fix from yesterday broke the
7131 regressions suite. We do actually need "(device" on the front of
7132 the sexpr, but only if we are first creating the domain, not when
7133 we are attaching a new disk. This patch fixes it by adding a flag
7134 that we check, and allows the regression suite to pass.
7136 Tue Aug 5 18:43:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
7137 * src/xend_internal.c: Fix three bugs related to virsh attach-disk:
7138 a) make sure to break in the xenDaemonAttachDevice() in the switch
7139 b) convert a stray fprintf to a virXendError()
7140 c) remove an additional "(device" on the front of the sexpr
7141 expression passed to xend. This actually fixes virsh attach-disk
7142 and virsh attach-interface work with Xen again
7144 Tue Aug 5 18:36:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
7145 * src/stats_linux.c tests/statstest.c: Update the parsing of disks for
7146 xen block statistics. In particular, add support for > 16 xvd devices
7147 recently put into upstream Xen, and fix up the test suite to fix some
7148 wrong tests and add a couple more.
7150 Tue Aug 5 12:51:11 CEST 2008 Daniel Veillard <veillard@redhat.com>
7152 * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: patch
7153 from Evgeniy Sokolov saving the UUID when creating or defining
7156 Tue Aug 5 10:43:42 CEST 2008 Jim Meyering <meyering@redhat.com>
7158 make distclean: remove generated source files
7159 * src/Makefile.am (DISTCLEANFILES): Define to $(BUILT_SOURCES)
7160 so "make distcheck" passes.
7162 Mon Aug 4 15:30:02 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
7164 * src/xend_internal.c: Replace TAB to space.
7166 Fri Aug 1 15:28:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7168 'virsh edit' and related commands
7169 * src/virsh.c: Implement 'virsh edit', 'virsh net-edit' and
7170 'virsh pool-edit' commands. These edit the XML for domains,
7171 networks and storage pools respectively, and are the
7172 equivalent of doing 'virsh dumpxml; vi foo.xml; virsh define'
7173 * src/Makefile.am, src/.cvsignore: Auto-generate the net-edit
7174 and pool-edit commands.
7175 * docs/virsh.pod: Updated the documentation.
7177 Fri Aug 1 15:15:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7179 * src/domain_conf.c: Ensure new VM state is initialized to
7180 be SHUTOFF, rather than NOSTATE.
7182 Fri Aug 1 15:51:04 CEST 2008 Jim Meyering <meyering@redhat.com>
7184 * virsh.c: more const-correctness fixes
7185 * xend_internal.c, sexpr.c: Likewise.
7187 Fri Aug 1 13:57:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7189 * src/domain_conf.h, src/domain_conf.c, docs/libvirt.rng: Add
7190 support for an <init> element in <os> block, and <filesystem>
7191 device type, and 'exe' OS type.
7192 * tests/domainschematest: Check domainschemadata directory for
7194 * tests/domainschemadata/domain-lxc-simple.xml: Simple example
7195 for LXC driver to validate
7197 Fri Aug 1 13:54:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7199 * src/qemu_driver.c: Always set forward-delay even if zero because
7200 the kernel defaults to 15 seconds which is too long
7202 Fri Aug 1 13:19:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7204 Const-correctness fixes in virsh.c
7205 * src/virsh.c: Const-correctness.
7207 Fri Aug 1 12:24:44 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7209 Link to "how to contribute to open source"
7210 * HACKING: Link to external document which describes how to
7211 contribute to open source projects.
7213 Fri Aug 1 13:20:44 CEST 2008 Daniel Veillard <veillard@redhat.com>
7215 * src/qemu_driver.c: patch from Chris Lalancette adding missing
7216 carriage returns to logs
7218 Fri Aug 1 11:50:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7220 * docs/libvirt.rng: Add missing xenfv machine type
7221 * tests/Makefile.am, tests/domainschematest: Added test
7222 case to validate all domain XML files in tests/ directory
7225 Fri Aug 1 10:38:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7227 Improve error messages when XML is not well-formed.
7228 * src/domain_conf.c, src/network_conf.c, src/storage_conf.c:
7229 Improve error messages from commands such as 'virsh define'
7230 when the XML is not well-formed by passing libxml2 errors
7231 back out through virterror.
7233 Fri Aug 1 08:40:48 CEST 2008 Daniel Veillard <veillard@redhat.com>
7235 * docs/formatdomain.html docs/formatdomain.html.in docs/libvirt-api.xml
7236 docs/libvirt-refs.xml docs/html/libvirt-libvirt.html src/libvirt.c:
7237 fixed somedocs and API entry point descriptions as suggested by
7238 Charles Duffy and regenerated the API descriptions.
7240 Fri Aug 1 08:22:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
7242 * src/qemu_driver.c: apply patch from Charles Duffy fixing erro
7243 messages when trying to crate a domain already defined.
7245 Thu Jul 31 15:37:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7247 * src/domain_conf.c: fix previous patch to ensure port number
7248 is kept as '-1' when autoport is set, and the domain is not
7251 Thu Jul 31 14:27:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
7253 * src/domain_conf.c: patch from Charles Duffy to make sure we print
7254 the "real" vncport if it exists instead of -1.
7256 Wed Jul 30 11:18:50 CEST 2008 Daniel Veillard <veillard@redhat.com>
7258 * src/qemu_driver.c: patch from Guido Günther, interface stats should
7259 not crash on interfaces without an ifname.
7261 Wed Jul 30 10:51:12 CEST 2008 Daniel Veillard <veillard@redhat.com>
7263 * src/storage_backend_logical.c: patch from David Lively fixing
7264 small differences of behaviour for 'lvs' and 'vgs' on SLES
7266 Wed Jul 30 10:45:41 CEST 2008 Daniel Veillard <veillard@redhat.com>
7268 * qemud/qemud.c: patch from Guido Günther fixing the place where
7269 config file check is done.
7271 Tue Jul 29 14:08:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
7273 * src/qemu_conf.c: fix empty CD-ROM source device section
7274 * tests/qemuxml2argvtest.c,
7275 tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.xml,
7276 tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.args: Add test
7277 for empty source CD-ROM device section
7279 Tue Jul 29 10:41:30 CEST 2008 Daniel Veillard <veillard@redhat.com>
7281 * src/openvz_conf.c: fix compilation with new XPath interface
7283 * configure.in: build OpenVZ and LXC support by default
7285 Mon Jul 28 16:04:58 CEST 2008 Daniel Veillard <veillard@redhat.com>
7287 * src/domain_conf.[ch] src/openvz_conf.[ch] src/openvz_driver.c:
7288 patch from Evgeniy Sokolov doing the OpenVZ xml refactoring,
7289 still needs to be ported to the new XML parsing code but
7290 implements the new format.
7292 Mon Jul 28 14:50:55 CEST 2008 Daniel Veillard <veillard@redhat.com>
7294 * src/qemu_driver.c: patch from Guido Günther to make sure create
7295 doesn't override an existing domain definition or UUID
7297 Fri Jul 25 17:21:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7299 * src/domain_conf.c: Fix typos in comments, and the dummy
7300 filename passed to xmlReadDoc (patch from Chris Lalancette)
7302 Fri Jul 25 17:17:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7304 * src/xml.c: Remove now unused c-ctype.h include
7306 Fri Jul 25 15:21:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7308 * src/xml.c, src/xml.h: Take a virConnectPtr object as param
7309 for all methods to allow proper error reporting.
7310 * src/lxc_conf.c, src/domain_conf.c, src/network_conf.c,
7311 src/storage_conf.c, src/test.c: Pass virConnect object
7314 Fri Jul 25 15:03:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7316 * src/xend_internal.c, src/xend_internal.h: Expose the
7317 xenDaemonFormatSxprChr and xenDaemonFormatSxprSound()
7318 methods to the XM driver
7319 * src/xm_internal.c, src/xm_internal.h: Switch to use
7320 new domain APIs for the XML -> config formatter
7321 * src/xml.h, src/xml.c: Remove unused Xen specific
7322 APIs which now live in xend_internal.c
7323 * tests/xmconfigdata/test-fullvirt-usb*.cfg: Add an
7324 explicit 'usb=1' config setting
7326 Fri Jul 25 14:48:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7328 * src/xend_internal.c, src/xend_internal.h: Remove the
7329 sound_string_to_xml() and make xenDaemonParseSxprChar
7331 * src/xm_internal.c: Switch config -> XML parser to use
7334 Fri Jul 25 14:29:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7336 Prepare xm_internal driver for new domain XML apis.
7338 * src/xm_internal.c, src/xm_internal.h: Track internal
7339 domain objects as virDomainDefPtr instead of virConfPtr
7340 objects, and start to use generic domain APIs
7341 * tests/xmconfigdata/*: Update to follow XML ordering
7343 * tests/xmconfigtest.c: Fixup to comply with new internal
7346 Fri Jul 25 14:00:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7348 * src/test.c: Increment dom ID tracker when setting up
7349 default domain. Reset dom ID when destroying domain. Fix
7350 listing of defined domains
7352 Fri Jul 25 14:00:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7354 Convert XenD XML->SEXPR conversion to new domain XML APIs
7356 * proxy/Makefile.am: no longer need to link xml.c
7357 * proxy/libvirt_proxy.c: Adapt to use new domain XML
7359 * src/xen_internal.c, src/xen_internal.h: Don't pass a
7360 connection object when building capabilities.
7361 * src/xen_unified.c, src/xen_unified.h: Initialize
7362 a virCapsPtr object when opening the connection
7363 * src/xend_internal.c, src/xend_internal.h: Add code
7364 for converting from XML to SEXPR.
7365 * src/xml.h, src/xml.c: Remove code for generating SXPR
7366 * src/xm_intenral.c: Adapt to new SXPR generation
7367 * tests/xml2sexprdata/*: Update to match new ordering
7368 for XML / SXPR generation
7369 * tests/xencapstest.c, tests/xml2sexprtest.c: Fix up
7370 to work with new internal APIs
7371 * src/domain_conf.c: Back compat workaround for Xen
7373 Fri Jul 25 14:35:47 CEST 2008 Daniel Veillard <veillard@redhat.com>
7375 * python/generator.py: skip generation for virDomainBlockPeek and
7376 virDomainMemoryPeek as they break the build
7378 Fri Jul 25 11:45:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7380 Convert XenD SEXPR->XML conversion to new domain XML APIs
7382 * proxy/Makefile.am: Link to domain XML formatting APIs
7383 * src/domain_conf.c, src/domain_conf.h: Disable XML parsing
7384 routines when used by proxy
7385 * src/sexpr.c, src/sexpr.h: Added sexpr_node_copy() API
7386 * src/xend_internal.c, src/xend_internal.h: Convert the
7387 SEXPR -> XML conversion routines to use the generic domain
7389 * tests/sexpr2xmltest.c: Adapt for API changes
7390 * tests/sexpr2xmldata/*.xml: Update to take account of
7391 re-ordering of XML due to new APIs
7393 Fri Jul 25 10:44:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7395 Remove unused/no-op code from xen drivers
7396 * src/proxy_internal.c: Remove no-op xenProxyInit()
7397 * src/xen_unified.c: Remove calls to no-op init functions
7399 * src/xend_internal.c, src/xend_internal.h: Remove misc
7401 * src/xs_internal.c: Remove no-op xenStoreInit()
7403 Fri Jul 25 10:41:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7405 * autobuild.sh: Force enable OpenVZ, LXC and Xen proxy for
7406 automated build testing
7408 Fri Jul 25 10:29:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7410 Miscellaneous minor bug fixes
7411 * src/openvz_driver.c: Remove unused convCmdbufExec function
7412 * src/qemu_conf.c: Use global default VNC listen address if
7413 no domain specific address is available
7414 * src/qemu_driver.c: Set CPU affinity to all CPUs if no domain
7415 specific mask is provided
7416 * src/test.c: Initialize variable to avoid crash on cleanup
7417 * tests/.valgrind.supp: Suppress some valgrind warnins from
7418 global variables not intended to be free'd
7420 Fri Jul 25 11:00:27 CEST 2008 Daniel Veillard <veillard@redhat.com>
7422 * src/qemu_driver.c: some uuid to string conversion were missing
7423 patch from Guido Günther
7425 Fri Jul 25 10:46:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
7427 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
7428 remove Xen centric comments patch from Guido Günther
7429 * docs/apibuild.py: ignore VIR_DEPRECATED
7430 * docs/libvirt-*.xml docs/html/libvirt-*.html: regenerated the
7431 documentation for the API
7433 Fri Jul 25 10:39:54 CEST 2008 Daniel Veillard <veillard@redhat.com>
7435 * src/qemu_driver.c: Guido Trotter pointed out a wrong open() failure
7438 Fri Jul 25 08:36:18 CEST 2008 Daniel Veillard <veillard@redhat.com>
7440 * docs/libvirt.rng: patch from John Levon fixing various patterns
7442 Thu Jul 24 09:26:51 CEST 2008 Daniel Veillard <veillard@redhat.com>
7444 * src/qemu_driver.c: another patch from Guido Günther checking
7445 for an already running domain on create
7447 Thu Jul 24 09:08:32 CEST 2008 Daniel Veillard <veillard@redhat.com>
7449 * src/qemu_driver.c: patch from Guido Günther checking for
7450 unsupported migrate command
7452 Tue Jul 22 19:48:51 CEST 2008 Daniel Veillard <veillard@redhat.com>
7454 * docs/java.html docs/java.html.in: added documentation for the
7457 Tue Jul 22 18:11:13 CEST 2008 Jim Meyering <meyering@redhat.com>
7459 better diagnostic when failing to undefine a running domain via ID
7460 * src/virsh.c (cmdUndefine): Tell user to shutdown and then use name
7462 * tests/undefine: New test. Exercise virsh's undefine command.
7463 * tests/Makefile.am (test_scripts): Add undefine.
7465 Mon Jul 21 15:31:52 CEST 2008 Daniel Veillard <veillard@redhat.com>
7467 * src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
7468 cleaning up integer string parsing.
7470 Mon Jul 21 11:47:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
7472 * src/xen_unified.c: fix a leak in xenUnifiedOpen
7474 Mon Jul 21 10:07:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
7476 * src/openvz_driver.c: patch from Evgeniy Sokolov to get OpenVZ
7477 domain cpu time consumption.
7479 Mon Jul 21 10:01:36 CEST 2008 Daniel Veillard <veillard@redhat.com>
7481 * configure.in: patch from David Lively to try to detect the xen
7482 libs when using --with-xen-distdir= on 64bit arches.
7484 Mon Jul 21 09:29:22 CEST 2008 Daniel Veillard <veillard@redhat.com>
7486 * src/openvz_driver.c: patch from Evgeniy Sokolov avoiding domain
7487 lookups based on ID as this doesn't work for a stopped domain.
7489 Sat Jul 19 09:41:53 CEST 2008 Jim Meyering <meyering@redhat.com>
7491 remove unnecessary "V = NULL;" stmts after VIR_FREE(V)
7492 * src/domain_conf.c (virDomainChrDefParseXML)
7493 (virDomainNetDefParseXML): Likewise.
7494 * src/iptables.c (iptRuleFree): Likewise.
7495 * src/storage_backend.c (virStorageBackendRunProgRegex): Likewise.
7496 * src/test.c (testOpenFromFile): Likewise.
7497 * src/xmlrpc.c (xmlRpcCallRaw): Likewise.
7499 Fri Jul 18 13:01:38 CEST 2008 Jim Meyering <meyering@redhat.com>
7501 enable format-safety checks for virDomainReportError
7502 * src/domain_conf.c (virDomainReportError): Declare using
7503 ATTRIBUTE_FORMAT(printf, 3, 4).
7504 * Makefile.maint (msg_gen_function): Add virDomainReportError.
7506 Thu Jul 17 17:18:24 CEST 2008 Daniel Veillard <veillard@redhat.com>
7508 * src/storage_backend_fs.c: patch from Cole Robinson fixing
7509 pool-create for netfs format 'auto'
7511 Thu Jul 17 13:47:56 CEST 2008 Daniel Veillard <veillard@redhat.com>
7513 * src/virsh.c: patch from Evgeniy Sokolov for the undefine command
7514 which can't take an id
7516 Wed Jul 16 22:36:43 CEST 2008 Daniel Veillard <veillard@redhat.com>
7518 * src/libvirt.c src/openvz_driver.c: fix the description of the ID
7519 domain lookup and fix the OpenVZ routine
7521 Wed Jul 16 17:25:02 CEST 2008 Daniel Veillard <veillard@redhat.com>
7523 * src/openvz_driver.c: fix the lookup by ID function and error
7524 reporting in OpenVZ, fix by Evgeniy Sokolov
7526 Wed Jul 16 16:44:27 CEST 2008 Daniel Veillard <veillard@redhat.com>
7528 * src/openvz_driver.c: another cleanup patch from Evgeniy Sokolov
7529 cleaning up the exec calls to OpenVZ binaries
7531 Sat Jul 12 14:52:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7533 * src/qemu_conf.c: Remove unneccessary c-ctype.h include
7535 Fri Jul 11 20:32:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7537 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Switch
7538 over to generic domain APIs
7539 * src/bridge.c, src/bridge.h: Allocate tap device string on
7541 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Update
7543 * tests/qemuxml2argvdata/: Update data files to match new
7544 XML generation format
7546 Fri Jul 11 20:28:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7548 * src/domain_conf.c: Set state to SHUTOFF when loading domain
7551 Fri Jul 11 18:58:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7553 * src/network_conf.c, src/domain_conf.c: Use full path when
7556 Fri Jul 11 18:32:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7558 * src/bridge.c, src/bridge.h, src/qemu_conf.c, src/qemu_conf.h,
7559 src/qemu_driver.c: Switch over to generic network APIs
7561 Fri Jul 11 17:39:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7563 * src/test.c, src/test.h: Convert to the new domain XML apis
7564 * docs/testdomfc4.xml: Update for new syntax
7565 * docs/testnodeinline.xml: Demo of inline domain & network XML
7566 * tests/read-non-seekable: Update to have OS block
7568 Fri Jul 11 17:37:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7570 * src/test.c: Convert to the new network XML apis
7572 Fri Jul 11 15:49:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7574 Generic APIs for domain XML configuration
7575 * include/libvirt/virterror.h, src/virterror.c: Added new
7576 scope VIR_FROM_DOMAIN
7577 * src/Makefile.am, po/POTFILES.in: Added domain_conf.{c,h}
7578 * src/xml.c, src/xml.h: Added virXPath{Int,UInt} and
7579 virXMLPropString functions
7580 * src/network_conf.c, src/network_conf.h: Added generic
7581 APIs for domain XML configuration
7582 * src/util.h: Re-write verify() hook for enums, to allow
7583 multiple enum declarations per file.
7585 Fri Jul 11 13:08:13 CEST 2008 Daniel Veillard <veillard@redhat.com>
7587 * src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function
7589 Fri Jul 11 11:35:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7591 Generic APIs for network XML configuration
7592 * include/libvirt/virterror.h, src/virterror.c: Added new
7593 scope VIR_FROM_NETWORK
7594 * src/Makefile.am, po/POTFILES.in: Added network_conf.{c,h}
7595 * src/xml.c, src/xml.h: Added virXPathULong function
7596 * src/network_conf.c, src/network_conf.h: Added generic
7597 APIs for network XML configuration
7599 Fri Jul 11 10:55:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7601 * src/qemu_conf.c: Fix booting off CDROM devices
7602 * tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-*,
7603 tests/qemuxml2argvtest.c: New test cases for booting off
7606 Fri Jul 11 10:50:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7608 * libvirt.spec.in, qemud/Makefile.am: Rename installed polkit
7609 policy file to org.libvirt.unix.policy
7610 * qemud/libvirtd.policy: Default to admin auth instead of
7613 Fri Jul 11 10:48:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7615 * qemud/qemud.c: Don't default to polkit auth when running
7618 Fri Jul 11 10:46:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7620 * src/qemu_driver.c: Fix parsing of QEMU stdout looking for
7621 serial device PTY with Xenner
7623 Fri Jul 11 10:53:59 CEST 2008 Daniel Veillard <veillard@redhat.com>
7625 * src/openvz_conf.c: cleanup OpenVZ config file accesses, patch
7626 from Evgeniy Sokolov
7628 Thu Jul 10 17:28:19 CEST 2008 Daniel Veillard <veillard@redhat.com>
7630 * src/libvirt.c: Evgeniy Sokolov found a driver open bug
7633 Thu Jul 10 14:18:51 CEST 2008 Daniel Veillard <veillard@redhat.com>
7635 * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c
7636 Makefile.maint: patch from Evgeniy Sokolov cleaning up the
7637 error function used and format check based on Jim's fedback.
7639 Thu Jul 10 09:58:42 CEST 2008 Daniel Veillard <veillard@redhat.com>
7641 * docs/libvirt.rng: domain name validation fix by John Levon
7642 * AUTHORS: add John Levon
7644 Thu Jul 10 09:50:39 CEST 2008 Daniel Veillard <veillard@redhat.com>
7646 * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: new
7647 patch from Evgeniy Sokolov adding OpenVZ autostart get and set support
7649 Wed Jul 9 13:53:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
7651 * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: applied
7652 patch from Evgeniy Sokolov fixing error diagnostic when exec'ing
7654 * AUTHORS: add Evgeniy
7656 Wed Jul 9 11:25:44 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7658 * tests/testutils.c: Ensure VIR_TEST_DEBUG is used even when
7659 OOM testing is not compiled in
7660 * tests/.valgrind.supp: Supress some bogus warnings caused by
7661 global data we don't expect to ever free.
7663 Wed Jul 9 11:16:44 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7665 * tests/virshtest.c: Remove legacy debugging output
7667 Wed Jul 9 09:19:44 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7669 * tests/qemuxml2argvdata/qemuxml2argv-input-xen.args: Fix to
7670 match previous change to XML
7672 Wed Jul 9 09:19:31 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7674 * src/xml.c: Preserve the XPath context node to allow relative
7675 XPath queries to be used
7677 Wed Jul 9 07:23:31 CEST 2008 Jim Meyering <meyering@redhat.com>
7679 give a more useful diagnostic for tap-add failure w/ENOTSUP
7680 * src/qemu_conf.c (qemudNetworkIfaceConnect):
7681 Suggestion from Daniel P. Berrange.
7683 Tue Jul 8 18:47:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7685 * src/xs_internal.c: Fix typo in domain state constant (Toth
7688 Tue Jul 8 18:42:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7690 * docs/drvqemu.html.in, docs/formatnetwork.html.in: Fix three
7691 typos pointed out by Anton Protopopov
7693 Tue Jul 8 13:02:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7695 * docs/libvirt.rng: Updated schema to follow latest XML syntax
7696 supported by drivers. Based off work by John Levon
7697 * tests/qemuxml2argvdata/qemuxml2argv-input-xen.xml: Fix boot
7698 syntax to comply with schema
7700 Mon Jul 7 12:46:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7702 * src/openvz_driver.c: Don't cast pointers to ints, and fix
7703 the return value to be -1, not 0.
7705 Mon Jul 7 11:34:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7707 * tests/testutils.c: Remove bogus return statement which
7708 prevented viewing of differences
7710 Mon Jul 7 11:02:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7712 * tests/testutils.c: Allow OOM testing to be parallelized by
7713 setting VIR_TEST_MP=1
7715 Mon Jul 7 11:59:07 CEST 2008 Daniel Veillard <veillard@redhat.com>
7717 * proxy/libvirt_proxy.c: fix a compilation problem without Xen
7718 * libvirt.spec.in: add %{release] to BuildRoot
7720 Mon Jul 7 10:39:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7722 * src/capabilities.c: Refactor to avoid memory leak when in
7723 cleanup from OOM condition
7725 Mon Jun 30 14:07:56 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
7727 Compilation fix for MinGW
7728 * src/veth.c: add WITH_LXC ifdef
7730 Fri Jun 27 15:05:31 PDT 2008 Dan Smith <danms@us.ibm.com>
7731 Fix compiler warnings in LXC
7732 * src/veth.c: remove unused and fix uninitialized variable
7734 Thu Jun 26 19:51:19 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
7736 fix make syntax-check
7737 * src/xm_internal.c: replace tabs to spaces
7739 Thu Jun 26 18:25:25 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
7741 Compilation fix for MinGW
7742 * src/driver.h src/internal.h src/libvirt.c src/qemu_driver.c
7743 src/remote_internal.c: add WITH_LIBVIRTD flag consideration
7744 * tests/Makefile.am tests/testutils.c tests/testutilsqemu.c
7745 tests/virshtest.c: add WITH_LIBVIRTD flag consideration
7746 * qemud/Makefile.am: Pass $(LIBVIRT_FEATURES) to consider WITH_LIBVIRTD
7748 Thu Jun 26 16:09:48 PDT 2008 Dan Smith <danms@us.ibm.com>
7750 Add NETNS support for LXC
7751 * src/veth.c src/veth.h: Support for managing veth pairs
7752 * src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
7753 src/lxc_driver.c: Add interface parsing and setup for LXC
7755 Wed Jun 25 16:21:12 CEST 2008 Jim Meyering <meyering@redhat.com>
7757 quiet "make syntax-check"
7758 * Makefile.maint (strftime-check): Add "@" prefix.
7759 (po-check): Likewise.
7761 Wed Jun 25 13:40:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
7763 * python/types.c: patch from Ryan Scott to remove misplaced verbosity
7764 when compiling in debug mode.
7766 Wed Jun 25 10:52:05 CEST 2008 Daniel Veillard <veillard@redhat.com>
7768 * configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.4
7770 * src/xm_internal.c: fix xm driver serialization escapes
7771 * tests/xmconfigtest.c tests/xmconfigdata/test-escape-paths.cfg
7772 tests/xmconfigdata/test-escape-paths.xml: add test for previous
7775 Wed Jun 25 10:48:39 CEST 2008 Daniel Veillard <veillard@redhat.com>
7777 * po/*: updated a couple of localizations and regenerated the
7780 Tue Jun 24 15:59:33 EST 2008 Daniel P. Berrange <berrange@redhat.com>
7782 * src/util.h, src/util.c: Added helpers for managing enumerations
7783 and conversion to/from string vs integer format
7785 Tue Jun 24 15:29:33 EST 2008 Daniel P. Berrange <berrange@redhat.com>
7787 * src/storage_backend.h, src/storage_backend.c: Fix const-ness
7788 of virStorageBackendRunProgRegex()
7790 Thu Jun 19 16:29:33 CEST 2008 Daniel Veillard <veillard@redhat.com>
7792 * src/xen_internal.c src/xend_internal.c: fix a couple of issues
7793 for List functions where max given is 0
7795 Thu Jun 19 13:50:41 CEST 2008 Jim Meyering <meyering@redhat.com>
7797 virsh fails to read files larger than BUFSIZ bytes
7798 * src/util.c (fread_file_lim): Use VIR_REALLOC_N, not VIR_ALLOC_N.
7799 Bug introduced in d3470efcda15f59549ac0aaa76cd25df319c217b.
7800 * tests/Makefile.am (test_scripts): Add read-bufsiz.
7801 * tests/read-bufsiz: New test for the above.
7803 Thu Jun 19 13:47:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
7805 * src/memory.c: the new memory API changed the semantics of ALLOC,
7806 such that calling VIR_ALLOC(0) returned NULL. This differed from
7807 glibc semantics for malloc(). Remove the offending code to restore
7810 Thu Jun 19 12:38:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
7812 * src/qemu_conf.c: fix a bug where we were calling VIR_ALLOC_N
7813 in the qemu driver instead of VIR_REALLOC_N, which was causing
7814 libvirt to not start domains with multiple networks properly.
7816 Tue Jun 17 14:43:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
7818 * src/storage_backend.c,src/storage_backend.h,
7819 src/storage_backend_iscsi.c, src/storage_backend_logical.c: Change
7820 virStorageBackendRunProgRegex to return the exit status instead of
7821 reporting an error with non-zero return code.
7822 * src/util.c: add carriage returns to all virLog() calls since they
7823 really just map to fprintf(stderr)
7824 * src/storage_backend_iscsi.c: Change the call to
7825 "iscsiadm --mode session -P 0" to "iscsiadm --mode session"; this
7826 will work on all iscsiadm version back to Fedora Core 6.
7827 * src/storage_backend_iscsi.c: Move the iscsiadm sendtargets discovery
7828 mechanism to only be called during --login; we don't need it in
7830 * src/storage_backend_iscsi.c: Rewrite the findLuns function to only
7831 use sysfs to find LUNs. Use sysfs "type" parameter to determine if
7832 this is a valid LUN or not. Fix a race condition between sysfs
7833 scanning and udev. Constify all of the "iscsiadm" strings.
7835 Fri Jun 13 11:07:52 CEST 2008 Daniel Veillard <veillard@redhat.com>
7837 * Makefile.am: adding autogen.sh to EXTRA_DIST
7839 Fri Jun 13 09:55:17 CEST 2008 Daniel Veillard <veillard@redhat.com>
7841 * src/qemu_conf.c: patch from Kaitlin Rupert, dynamic devices
7842 for network should be defined in an 'interface' node not 'net'
7844 Thu Jun 12 17:49:23 CEST 2008 Daniel Veillard <veillard@redhat.com>
7846 * configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.3
7849 Thu Jun 12 14:46:08 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7851 * src/lxc_driver.c, src/openvz_driver.c: Add missing driver
7853 * src/lxc_conf.c: Re-arrange headers to comply with standard
7854 * tests/testutils.c: Fix use of signed/unsigned ints
7856 Thu Jun 12 14:46:08 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7858 * src/qemu_driver.c: Fix saving of iptables rules
7860 Thu Jun 12 11:18:08 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7862 * src/qemu_conf.c: Deal with failure due to inactive virtual
7863 network when creating domain.
7865 Thu Jun 12 10:53:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
7867 * src/qemu_driver.c: patch from Kaitlin Rupert, changing vcpu or
7868 memory of an active domain is a NO_SUPPORT not INTERNAL_ERROR
7870 Wed Jun 11 17:21:13 CEST 2008 Daniel Veillard <veillard@redhat.com>
7872 * po/*: update and regenerated
7874 Wed Jun 11 12:25:57 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7876 * src/Makefile.am: Tweak install rule to fix RPM build
7878 Wed Jun 11 09:42:57 CEST 2008 Daniel Veillard <veillard@redhat.com>
7880 * python/libvir.py python/libvirt-python-api.xml: more python
7881 cleanups by Cole Robinson
7883 Tue Jun 10 17:34:12 CEST 2008 Daniel Veillard <veillard@redhat.com>
7885 * configure.in: patch from Cole Robinson to reactivate storage
7888 Tue Jun 10 17:10:31 CEST 2008 Daniel Veillard <veillard@redhat.com>
7890 * python/generator.py python/libvir.c python/libvirt-python-api.xml:
7891 Apply patch from Cole Robinson fixing UUIDString for python
7893 Tue Jun 10 15:33:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7895 Pass syntax check for XM block devices over to XenD
7896 * src/xm_internal.c: Pass responsibility for checking syntax
7897 of XM block devices over the XenD (see also Xen cset 17617).
7900 Tue Jun 10 11:34:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7902 virDomainMemoryPeek API
7903 * include/libvirt/libvirt.h.in, src/libvirt.c, src/driver.h,
7904 src/libvirt_sym.version: New virDomainMemoryPeek API.
7905 * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
7907 * src/qemu_driver.c: QEMU driver implementation of API.
7908 * src/test.c: Test driver (null) implementation of API.
7909 * docs/hvsupport.html.in: Document API.
7910 * libvirt.spec.in: New path /var/cache/libvirt for temporary
7911 storage of memory images.
7912 * qemud/libvirtd.init.in: Remove any old temp files in
7913 /var/cache/libvirt on restarts.
7914 * src/Makefile.am: make install creates /var/cache/libvirt.
7915 * configure.in: Detect mkdir -p.
7917 Mon Jun 9 15:42:34 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>
7919 * src/lxc_driver.c: Console element is output only. Always open new
7920 PTY when starting a container.
7921 Fix string overrun when storing console name in VM def struct
7923 Mon Jun 9 13:14:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7925 Better error messages in xend driver.
7926 * src/xend_internal.c: Change virXendError function to take
7927 varargs. Better error messages throughout.
7929 Fri Jun 6 12:01:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7931 * src/bridge.c, src/conf.c, src/iptables.c, src/lxc_conf.c,
7932 src/lxc_container.c, src/lxc_driver.c, src/openvz_conf.c,
7933 src/openvz_driver.c, src/proxy_internal.c, src/remote_internal.c,
7934 src/sexpr.c, src/storage_backend.c, src/storage_backend_disk.c,
7935 src/storage_backend_fs.c, src/storage_backend_iscsi.c,
7936 src/storage_backend_logical.c, src/storage_conf.c,
7937 src/storage_driver.c, src/xen_internal.c, src/xen_unified.c,
7938 src/xend_internal.c, src/xmlrpc.c: Switch over to use the
7939 internal memory allocation APIs.
7941 Fri Jun 6 11:41:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
7943 * qemud/event.c, qemud/mdns.c, qemud/qemud.c, qemud/remote.c:
7944 Switch over to use internal memory allocation APIs.
7945 * src/libvirt_sym.version, src/memory.c, src/memory.h: Export
7946 virAlloc/Realloc/Free to use by libvirtd daemon
7948 Thu Jun 5 22:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7950 virDomainBlockPeek QEMU and remote support
7951 * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
7953 * qemud/remote_dispatch_localvars.h,
7954 qemud/remote_dispatch_proc_switch.h,
7955 qemud/remote_dispatch_prototypes.h,
7956 qemud/remote_protocol.c,
7957 qemud/remote_protocol.h:
7958 Generated files for remote support.
7959 * src/xen_unified.c, src/driver.h, src/libvirt.c: Small fix -
7960 pass flags around internally.
7961 * src/qemu_driver.c: Support for QEMU.
7962 * src/xend_internal.c: Remove redundant fstat call from Xen.
7964 Thu Jun 5 14:10:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7966 virDomainBlockPeek call
7967 * configure.in: Document AC_SYS_LARGEFILE.
7968 * docs/hvsupport.html.in: Document HV support for virDomainBlockPeek.
7969 * include/libvirt/libvirt.h.in, src/driver.h, src/libvirt.c,
7970 src/libvirt_sym.version: Add virDomainBlockPeek infrastructure.
7971 * src/qemu_driver.c, src/test.c: Null versions of this call.
7972 * src/xen_unified.c, src/xend_internal.c, src/xend_internal.h,
7973 src/xm_internal.c, src/xm_internal.h: Xen implementation.
7974 * tests/sexpr2xmldata/sexpr2xml-curmem.xml,
7975 tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: XML output
7976 has been reordered slightly in the Xen driver, but should be
7977 functionally the same.
7979 Wed Jun 4 23:02:21 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>
7981 * src/lxc_driver.c: Add sanity check of tty pid before kill()
7982 Ignore ECHILD errors during VM cleanup
7983 Call functions to store tty pid and cleanup tty pid file
7984 * src/lxc_conf.h: Add function to verify container process exists
7985 Add facilities to manage storing the tty forward process pid
7986 * src/lxc_conf.c: Add function to verify container process exists
7987 Call function to verify container process during config load
7988 Add facilities to manage storing the tty forward process pid
7989 Call function to load tty pid during load config
7991 Tue Jun 3 08:58:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7993 * src/xm_internal.c: If vcpu cpuset attribute is invalid
7994 then display an error instead of silently ignoring it
7997 Mon Jun 2 12:52:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
7999 General tips for contributing patches
8000 * HACKING: Added section "general tips for contributing patches"
8003 Thu May 29 16:43:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8005 * autobuild.sh: Only run converage tests if lcov is installed
8007 Thu May 29 16:09:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8009 * qemud/Makefile.am: Change internal.h to qemud.h to fix
8012 Thu May 29 15:41:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8014 * tests/testutils.c: Fix warning when OOM testing is disabled
8016 Thu May 29 15:25:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8018 * configure.in, scripts/*: Remove all coverage helper scripts
8019 in favour of using lcov
8020 * src/Makefile.am, Makefile.am: Switch to use lcov for pretty
8021 code coverage reports
8023 Thu May 29 15:17:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8025 * src/libvirt.c: Don't register storage API if daemon is
8027 * configure.in: Fix check for parted to deal with missing
8028 devel package correctly
8030 Thu May 29 15:17:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8032 * src/conf.c, src/conf.h, src/qemu_conf.c, src/qemu_driver.c,
8033 src/test.c, src/util.c, src/xend_internal.c, src/xm_internal.c,
8034 src/xml.c, tests/virshtest.c: Switch over to using new memory
8037 Thu May 29 14:46:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8039 * src/memory.h, src/memory.c, tests/testutils.c: Pass allocation
8040 number to hook callback
8042 Thu May 29 14:45:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8044 * src/buf.c: Convert to use new memory allocation APIs
8046 Thu May 29 14:44:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8048 * src/xend_internal.c: Fix missing check for failure
8050 Thu May 29 11:29:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8052 * tests/nodeinfotest.c, tests/qemuxml2argvtest.c,
8053 tests/qemuxml2xmltest.c, tests/qparamtest.c,
8054 tests/sexpr2xmltest.c, tests/statstest.c,
8055 tests/xencapstest.c, tests/xmconfigtest.c,
8056 tests/xml2sexprtest.c: Convert over to new test suite
8057 infrastructure to enable OOM testing. Avoid use of
8058 the abs_top_srcdir variable in favour of abs_srcdir
8060 Thu May 29 11:23:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8062 Misc memory handling / cleanup fixes
8063 * src/capabilities.c: Avoiding deferencing NULL pointer in
8065 * src/qemu_conf.c: Free sound structs on cleanup
8066 * src/qparams.c: raise a libvirt error upon OOM
8068 Thu May 29 11:12:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8070 * tests/testutils.c, tests/testutils.h: Add generic main()
8071 impl for test programs to leverage OOM testing
8072 * tests/Makefile.am, tests/oomtrace.pl: post-processor for
8073 generating file/line number backtraces from OOM reports.
8075 Thu May 29 11:12:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8077 * src/memory.c, src/memory.h, configure.ac: Add generics hooks
8078 for out-of-memory testing
8080 Thu May 29 10:55:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8082 * src/virsh.c: Don't add trailing blanks in dominfo output
8084 Thu May 29 10:41:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8086 * python/libvirt-python-api.xml: Add API overrides for functions
8087 where the generator doesn't produce correct python wrappers
8089 Thu May 29 13:26:40 JST 2008 Atushi SAKAI <sakaia@jp.fujitsu.com>
8091 Fix make syntax-check caused by trailing blank(s)
8092 * test/virshdata/dominfo-fc4.txt: remove trailing blanks
8094 Tue May 27 14:50:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8096 Fix virsh dominfo test.
8097 * tests/virshdata/dominfo-fc4.txt: 'virsh dominfo' test
8098 matches actual output with autostart status.
8100 Tue May 27 10:40:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8102 Display autostart status in virsh dominfo command.
8103 * src/virsh.c: Display autostart status in virsh dominfo
8104 command (Shigeki Sakamoto).
8106 Tue May 27 09:54:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8108 Fix use of header files in disk storage backend.
8109 * src/storage_backend_disk.c: Include internal.h to resolve use
8112 Fri May 23 09:23:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8114 Deprecate the conn, dom and net fields in the _virError structure.
8115 * include/libvirt/libvirt.h.in: Add VIR_DEPRECATED macro.
8116 * src/internal.h: Internal code is allowed to use deprecated
8117 features, so override VIR_DEPRECATED here.
8118 * include/libvirt/virterror.h: Deprecate the conn, dom and net
8119 fields in the _virError structure.
8121 Fri May 23 08:56:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8123 Standardize use of header files, making internal.h primary.
8124 * qemud/internal.h, qemud/qemud.h: Rename this file so it
8125 doesn't conflict with src/internal.h.
8126 * HACKING: Document how header files should be used.
8127 * qemud/Makefile.am: Add src/ directory to includes.
8128 * qemud/event.c, qemud/mdns.c, qemud/qemud.c, qemud/remote.c,
8129 qemud/remote_protocol.c, qemud/remote_protocol.h,
8130 qemud/remote_protocol.x, src/buf.c, src/libvirt.c,
8131 src/nodeinfo.c, src/qemu_conf.c, src/qemu_driver.c,
8132 src/stats_linux.c, src/storage_backend.c, src/storage_backend_fs.c,
8133 src/storage_backend_iscsi.c, src/storage_backend_logical.c,
8134 src/storage_conf.c, src/storage_driver.c, src/util.c,
8135 src/util.h, src/virsh.c, src/virterror.c, src/xend_internal.c,
8136 src/xml.c, tests/reconnect.c, tests/xmlrpctest.c,
8137 tests/qparamtest.c: Standardize use of header files.
8138 * docs/*, po/*: Rebuild docs.
8140 Fri May 23 08:54:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8142 Fix type-punning warning in remote code.
8143 * qemud/rpcgen_fix.pl: Case-insensitive string match on identifiers.
8144 * qemud/remote_protocol.c: Update this generated file.
8146 Thu May 22 19:47:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8148 * src/qparams.c: Support ; as a param separator. Misc memory
8150 * tests/qparamtest.c, tests/Makefile.am: Add test suite for
8153 Thu May 22 19:44:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8155 * src/qemu_conf.c: Refactor qemudBuildCommandLine to use a
8156 macro for readability
8158 Thu May 22 12:22:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8160 Apply CPU pinning at startup if requested for QEMU
8161 * src/qemu_conf.h: Store global CPU pinning data
8162 * src/qemu_conf.c: Parse and format CPU set mask for vCPUs
8163 * src/qemu_driver.c: Apply CPU pinning at startup
8164 * tests/qemuxml2argvdata/*.args: Add in -S arg which is now
8166 * src/xml.c, xml.h: Allow use of CPU set functions from QEMU
8168 Thu May 22 12:20:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8170 Add support for VCPU pinning in QEMU driver
8171 * configure.in: Add checks for sched.h/sched_getaffinity
8172 * src/qemu_conf.h: Add mapping of vcpu -> pids
8173 * src/qemu_driver.c: Detect vcpu -> pid mapping at startup
8174 of VMs. Support vcpu info and vcpu pinning driver APIs
8176 Thu May 22 12:18:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8178 * tests/testutilsqemu.c: Added missing config.h include
8180 Thu May 22 11:49:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8182 * src/qemu_driver.c: Fix removal of iptables forwarding rules
8184 Thu May 22 11:38:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8186 * configure.in: Remove some duplicated error messages
8188 Thu May 22 11:35:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8190 * configure.in: Fix misleading comment about numactl
8192 Thu May 22 11:31:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8194 * configure.in: Quote all args to macros
8196 Thu May 22 11:24:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8198 Support for NUMA info in the QEMU driver
8199 * configure.in: check for libnuma
8200 * libvirt.spec.in: add requirement on libnuma-devel at build
8201 * src/Makefile.am: add NUMA compiler / linker flags
8202 * src/qemu_conf.c: populate capabilities data with NUMA topology
8203 * src/qemu_driver.c: implement free memory APIs
8205 Thu May 22 11:15:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8207 Support the free memory API calls in the remote driver/daemon
8208 * qemud/Makefile.am: Remove tabs from generated RPC header
8209 * qemud/qemud/remote_generate_stubs.pl: Remove tabs from
8211 * qemud/remote_dispatch_*.h: Re-generated with for RPC calls
8212 * qemud/remote_protocol.x: Added NUMA free memory apis
8213 * qemud/remote_protocol.{c,h}: Re-generated with new RPC calls
8214 * qemud/remote.c: Implement dispatcher for free memory APIs
8215 * src/remote_internal.c: Implement functions for free
8218 Thu May 22 11:06:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8220 Fix misc memory leaks
8221 * qemud/remote.c: Fix memory leaks in stats/migration APIs
8222 * src/libvirt.c: Fix use of uninitialized memory & memory
8223 leak in default auth helper
8224 * src/qparams.c: Fix memory leak, and convert to use new
8225 style memory allocation APIs
8227 Thu May 22 16:56:12 CEST 2008 Daniel Veillard <veillard@redhat.com>
8229 * docs/formatdomain.html docs/formatdomain.html.in: Anton Protopopov
8230 pointed out a few "copy-paste" errors
8232 Wed May 21 17:13:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8234 * src/qemu_conf.c: Fix exit status check when using -help arg
8236 Wed May 21 16:24:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8238 Fix up misc memory leaks / incorrect docs (Cole Robinson)
8239 * qemud/remote.c: Free the virDomainPtr object in the
8240 virDomainDestroy handler to avoid leak
8241 * src/hash.c: Added more ref count debug
8242 * src/libvirt.c: Clarified docs on virXXXDestroy to
8244 * src/remote_internal.c: Free virDomain/Network objects
8245 after dispatching RPC error
8246 * src/virsh.c: Added some more virDomainFree calls
8248 Wed May 21 15:42:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8250 * python/generator.py: Don't free the underlying virDomainPtr
8251 object after the virDomainDestroy call. Same for virNetworkPtr
8254 Wed May 21 15:42:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8256 * src/qemu_conf.c: Run qemu with -help and don't pollute
8257 libvirtd environment
8259 Tue May 20 12:15:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8261 * qemud/qemud.c: Re-factor daemon startup code to avoid
8262 initializing the drivers if the pidfile is already claimed
8263 by another daemon instance. Always claim pidfile when running
8264 as root, even in non-daemon mode
8266 Tue May 20 17:53:29 CEST 2008 Daniel Veillard <veillard@redhat.com>
8268 * docs/remote.html docs/remote.html.in: patch from Kenneth Nagin
8269 with Notes on the use of listen_tls/listen_tcp
8271 Fri May 16 18:53:12 CEST 2008 Jim Meyering <meyering@redhat.com>
8274 * src/qemu_conf.c (qemudParseXML): Free "obj" unconditionally.
8276 Fri May 16 12:50:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8278 Make QEMU test cases independant of QEMU capabilities on
8280 * src/qemu_conf.c, src/qemu_driver.c: Move stat() check on
8281 qemu binary out of qemudBuildCommandLine() and into caller.
8282 * tests/Makefile.am: Add testutilsqemu.{c,h} to qemu tests
8283 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: use
8284 stable capability set in tests, independant of host OS.
8285 * tests/testutilsqemu.c, tests/testutilsqemu.h: Define a
8286 stable capability set for test suites
8288 Fri May 16 11:29:30 CEST 2008 Jim Meyering <meyering@redhat.com>
8290 * src/xml.c: Include "c-ctype.h".
8292 start using c-ctype functions
8293 Up to now, we've been avoiding ctype functions like isspace, isdigit,
8294 etc. because they are locale-dependent. Now that we have the c-ctype
8295 functions, we can start using *them*, to make the code more readable
8296 with changes like these:
8298 - /* This may not work on EBCDIC. */
8299 - if ((*p >= 'a' && *p <= 'z') ||
8300 - (*p >= 'A' && *p <= 'Z') ||
8301 - (*p >= '0' && *p <= '9'))
8302 + if (c_isalnum(*p))
8304 - while ((*cur >= '0') && (*cur <= '9')) {
8305 + while (c_isdigit(*cur)) {
8307 Also, some macros in conf.c used names that conflicted with
8308 standard meaning of "BLANK" and "SPACE", so I've adjusted them
8309 to be in line with the definition of e.g., isblank.
8310 In addition, I've wrapped those statement macros with do {...} while (0),
8311 so that we can't forget the ";" after a use. There was one like that
8312 already (fixed below). The missing semicolon would mess up automatic
8314 * src/buf.c (virBufferURIEncodeString):
8315 * src/conf.c (IS_EOL, SKIP_BLANKS_AND_EOL, SKIP_BLANKS)
8316 (virConfParseLong, virConfParseValue, virConfParseName)
8317 (virConfParseSeparator, virConfParseStatement, IS_BLANK, IS_CHAR)
8318 (IS_DIGIT, IS_SPACE, SKIP_SPACES):
8320 * src/qemu_conf.c (qemudParseInterfaceXML):
8321 * src/qemu_driver.c (qemudDomainBlockStats):
8323 * src/stats_linux.c:
8324 * src/util.c (virParseNumber, virDiskNameToIndex):
8325 * src/uuid.c (hextobin, virUUIDParse):
8327 * src/xml.c (parseCpuNumber, virParseCpuSet):
8329 avoid a double-free bug
8330 * src/qemu_conf.c (qemudParseXML): Ensure that "obj" is either
8331 NULL or a valid malloc'd pointer before we might "goto error"
8334 Thu May 15 16:06:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8336 * src/qemu_conf.c: Remove use of strcmp()
8338 Thu May 15 12:21:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8340 * src/qemu_conf.c: Fix default disk bus selection logic
8342 Thu May 15 12:16:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8344 Support xenner bootloader capability
8345 * src/qemu_conf.c, src/qemu_conf.h: Add support for specifying a
8346 bootloader for paravirt xen guests
8347 * tests/qemuxml2argv-bootloader.{args,xml}: Test case data
8348 files for xen bootloader
8349 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add
8350 test case for xen bootloader
8352 Thu May 15 12:11:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8354 * src/qemu_conf.c, src/qemu_conf.h: Pass the -name flag to QEMU
8356 * tests/qemuxml2argvdata/qemuxml2argv-minimal.args,
8357 tests/qemuxml2argvtest.c: Test for launching with -name flag
8359 Thu May 15 12:08:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8361 Support paravirt framebuffer input configuration for xenner guests
8362 * src/qemu_driver.c, src/qemu_conf.c, src/qemu_conf.h: Add support
8363 for 'xen' input device type for Xenner PVFB
8364 * tests/qemuxml2argv-input-xen.{args,xml}: Test case data
8365 files for xen input devices
8366 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add
8367 test case for xen input devices
8369 Thu May 15 11:57:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8371 Support paravirt disk configuration for xenner guests
8372 * src/qemu_conf.c, src/qemu_conf.h: Add support for 'xen' disk
8373 bus and 'xvd' disk device names for Xenner
8374 * src/util.c: Support parsing 'xvd' disk names
8375 * tests/qemuxml2argv-disk-xenvbd.{args,xml}: Test case data
8376 files for xvd disks.
8377 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add
8378 test case for xvd disk / xen bus type
8380 Thu May 15 09:12:08 CEST 2008 Jim Meyering <meyering@redhat.com>
8382 Avoid using STREQLEN with a literal; use STRPREFIX instead
8383 Likewise for STRNEQLEN -> !STRPREFIX.
8384 * src/nodeinfo.c (linuxNodeInfoCPUPopulate):
8385 * src/qemu_conf.c (qemudNetworkIfaceConnect):
8386 (qemudParseInterfaceXML):
8387 * src/qemu_driver.c (qemudDomainBlockStats):
8388 * src/remote_internal.c (call):
8389 * src/stats_linux.c (xenLinuxDomainDeviceID):
8390 * src/xend_internal.c (xend_parse_sexp_desc):
8391 (xend_get, sexpr_to_xend_topology):
8392 * src/xm_internal.c (xenXMConfigCacheRefresh)
8393 (xenXMDomainFormatXML):
8395 * Makefile.maint (sc_prohibit_strcmp): Also prohibit strncmp.
8397 Thu May 15 15:07:49 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
8399 * qemud/libvirtd.init.in: change libvirtd description
8400 which supports various guest not only Qemu
8401 * docs/*: typo fixes
8402 * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
8403 qemud/event.c, qemud/qemud.c, qemud/remote.c,
8404 src/event.c, src/proxy_internal.c: typo fixes in comment
8406 Wed May 14 23:17:55 CEST 2008 Jim Meyering <meyering@redhat.com>
8408 exempt gnulib/ from "make syntax-check" strcmp prohibition
8409 * .x-sc_prohibit_strcmp: New file.
8410 * Makefile.am (EXTRA_DIST): Add .x-sc_prohibit_strcmp.
8412 Wed May 14 15:34:43 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8414 * qemud/qemud.c: Add 'listen_addr' config param to control
8415 the IP address the daemon listens on (Stefan de Konink)
8416 * qemud/libvirtd.conf: Added example listen_addr config param
8417 * src/remote_internal.h: #define constant for default IP addr
8419 Wed May 14 15:34:43 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8421 * proxy/libvirt_proxy.c, src/conf.c, src/hash.c,
8422 src/iptables.c, src/libvirt.c, src/openvz_conf.c,
8423 src/qemu_conf.c, src/remote_internal.c, src/sexpr.c,
8424 src/test.c, src/util.c, src/virsh.c, src/xen_unified.c,
8425 src/xend_internal.c, src/xm_internal.c, src/xml.c,
8426 src/xmlrpc.c, tests/virshtest.c, tests/xml2sexprtest.c,
8427 tests/xmlrpctest.c: Replace all use of strcmp, strncmp,
8428 etc with STREQ/STREQLEN/STRPREFIX macros.
8429 * Makefile.cfg: Enable strcmp syntax check
8430 * .x-sc_prohibit_strcmp: Blacklist gnulib module
8432 Tue May 13 10:55:43 CEST 2008 Jim Meyering <meyering@redhat.com>
8434 avoid "not a string literal..." warnings
8435 * src/qemu_conf.c (qemudParseInterfaceXML): Add "%s".
8436 (qemudBuildCommandLine, qemudGenerateXML): Likewise.
8438 Mon May 12 23:32:21 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>
8440 * qemud/qemud.c: get siginfo with signals, distribute to drivers that
8442 * src/driver.h: add sighandler function to state driver table
8443 * src/internal.h: define virStateSigDispatcher functions
8444 * src/libvirt.c: add __virStateSigDispatcher function
8445 * src/libvirt_sym.version: add __virStateSigDispatcher
8446 * src/lxc_driver.c: add sig handler function, cleanup vm when sigchld
8447 received from container process
8448 * src/qemu_driver.c: NULL for sig handler (no handler) in state driver
8449 * src/remote_internal.c: NULL for sig handler (no handler) in state driver
8450 * src/storage_driver.c: NULL for sig handler (no handler) in state driver
8452 Thu May 9 12:40:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8454 * bootstrap: Added verify module
8455 * gnulib/lib/.cvsignore, gnulib/lib/Makefile.am: New verify module
8456 * gnulib/lib/c-ctype.c, gnulib/lib/c-ctype.h: Refreshed
8457 * gnulib/lib/verify.h: Refreshed upstream
8458 * gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-comp.m4,
8459 gnulib/tests/Makefile.am: Refreshed with upstream
8460 * gnulib/tests/verify.h: Removed
8461 * src/qemu_conf.c, src/qemu_conf.h: Support -drive syntax and
8462 support virtio, and add bus attribute
8463 * src/util.c, src/util.h: helper for drive name to index convertor
8464 * tests/qemuxml2argvtest.c: Added virtio test
8465 * tests/qemuxml2argvdata/*.xml: Updated with bus attribute
8467 Fri May 9 15:45:39 CEST 2008 Jim Meyering <meyering@redhat.com>
8469 Add new files from gnulib.
8470 * gnulib/lib/c-ctype.c: New file.
8471 * gnulib/lib/c-ctype.h: Likewise.
8472 * gnulib/tests/test-c-ctype.c: Likewise.
8473 * gnulib/tests/test-vc-list-files-git.sh: Likewise.
8474 * gnulib/tests/test-vc-list-files-cvs.sh: Likewise.
8476 Use gnulib's c-ctype.h, not <ctype.h>.
8477 # Convert uses of isspace to c_isspace, isdigit to c_isdigit, etc.
8478 re=$(man isspace|grep is.....,.is|sed 's/ -.*//' \
8479 |tr -s ', \n' \||sed 's/^|//;s/|$//')
8480 git grep -l -E "$re"|grep -Ev 'Chan|gnulib' \
8481 |xargs perl -pi -e 's/\b('"$re"')\b/c_$1/g'
8482 # Remove all uses of to_uchar
8483 git grep -l to_uchar|xargs perl -pi -e 's/to_uchar\((.*?)\)/$1/g'
8484 * src/util.h (to_uchar): Remove definition.
8485 (TOLOWER): Remove definition.
8486 (__virMacAddrCompare): Use c_tolower, not TOLOWER.
8488 Where needed, change <ctype.h> to <c-ctype.h>.
8489 Remove unnecessary inclusion of <ctype.h>.
8490 Ensure the global changes are never needed again:
8491 * Makefile.maint (sc_avoid_ctype_macros): Prohibit use of ctype
8492 macros. Recommend c-ctype.h instead.
8493 (sc_prohibit_c_ctype_without_use): New rule.
8494 (sc_prohibit_ctype_h): New rule. Disallow use of <ctype.h>.
8496 Prepare to use gnulib's c-type module.
8497 * bootstrap: Move module list into separate variable w/less syntax.
8498 (modules): Add c-ctype.
8499 Update the following from gnulib:
8500 * build-aux/useless-if-before-free:
8501 * build-aux/vc-list-files:
8502 * gnulib/lib/Makefile.am:
8503 * gnulib/lib/getaddrinfo.h:
8504 * gnulib/m4/gnulib-cache.m4:
8505 * gnulib/m4/gnulib-comp.m4:
8506 * gnulib/m4/inet_ntop.m4:
8507 * gnulib/tests/Makefile.am:
8508 * gnulib/tests/test-getaddrinfo.c:
8510 Fri May 9 10:10:28 CEST 2008 Daniel Veillard <veillard@redhat.com>
8512 * src/xen_unified.c src/xend_internal.c src/xend_internal.h: patch
8513 from Cole Robinson implementing autostart for running Xen domains
8515 Fri May 9 10:01:34 EST 2008 Jim Meyering <meyering@redhat.com>
8517 sytnax-check: add a check for risky ctype macro use
8518 * Makefile.maint (sc_risky_ctype_macros): New rule.
8520 avoid one more ctype vs. sign-extension problem
8521 * src/util.c (TOLOWER): Also convert tolower argument.
8523 add "const" and "static" attributes to file-scoped globals
8524 * src/storage_backend_fs.c (fileTypeInfo): Add "static" and two
8526 (FileTypeInfo): Name the previously anonymous struct,
8527 so the declaration of fileTypeInfo looks more conventional.
8528 * src/xend_internal.c (sound_models): Mark as static, and
8529 as an array of "const" entries.
8530 These were relatively new additions to the list from here:
8531 nm src/*.o|grep ' D '
8533 Thu May 9 00:07:34 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>
8535 * src/lxc_driver.c: use epoll in tty process to avoid consuming the
8536 cpu when the slave side disconnects
8538 Thu May 8 10:36:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8540 * HACKING: Added notes on string/memory/buffer internal APIs
8542 Thu May 8 10:36:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8544 * src/xm_internal.c, src/xend_internal.c: Added 'bus' attribute
8546 * tests/sexpr2xmldata/*.xml, tests/xmconfigdata/*.xml: Update
8547 to add bus attribute to disks
8548 * tests/sexpr2xmltest.c: Fix XenD config version for 2 test cases
8550 Thu May 8 10:19:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8552 * docs/page.xsl: Fix detection of sub-headings
8553 * docs/domain.html, docs/domain.html.in: Re-write content to
8554 reflect current domain XML format
8556 Thu May 8 07:51:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8558 * src/auth.html.in, src/auth.html: Fix policykit config docs
8561 Wed May 7 14:49:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8563 * src/xend_internal.c, src/xml.c: Disable certain sound functions
8564 when built into proxy
8566 Wed May 7 18:12:11 CEST 2008 Daniel Veillard <veillard@redhat.com>
8568 * src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: another patch
8569 from Cole Robinson adding SetVcpus and DomainGetMaxVcpus for QEmu
8571 Wed May 7 16:42:59 CEST 2008 Daniel Veillard <veillard@redhat.com>
8573 * tests/qemuxml2argvdata/qemuxml2argv-sound.args
8574 tests/qemuxml2argvdata/qemuxml2argv-sound.xml
8575 tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr
8576 tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
8577 tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr
8578 tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
8579 tests/xmconfigdata/test-fullvirt-sound.cfg
8580 tests/xmconfigdata/test-fullvirt-sound.xml
8581 tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr
8582 tests/xml2sexprdata/xml2sexpr-fv-sound.xml: other regression
8583 tests from previous commit
8585 Wed May 7 16:02:07 CEST 2008 Daniel Veillard <veillard@redhat.com>
8587 * src/qemu_conf.c src/qemu_conf.h src/xend_internal.c
8588 src/xend_internal.h src/xm_internal.c src/xml.c src/xml.h:
8589 Patch from Cole Robinson adding sound support for QEmu and Xen
8590 * tests/qemuxml2argvtest.c tests/sexpr2xmltest.c
8591 tests/xmconfigtest.c tests/xml2sexprtest.c:
8592 Associated regression tests
8594 Mon May 6 17:43:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8596 * src/memory.c: Add missing stddefs.h for ptrdiff_t type
8598 Tue May 6 23:20:12 EST 2008 Jim Meyering <meyering@redhat.com>
8600 * build-aux/vc-list-files: Add support for bzr.
8601 Patch by Soren Hansen.
8603 Mon May 5 15:57:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8605 * configure.in: Check in /usr/sbin for iptables too, for SUSE
8606 distros (Jim Fehlig)
8608 Thu May 1 14:10:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8610 * src/remote_internal.c: Cope with NULL from qparam_get_query
8611 by removing unncessary check. (Dave Leskovec)
8613 Tue Apr 29 12:32:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8615 * configure.in: Remove compatability macros AC_CHECK_*_ONCE for
8616 now part of onceonly.m4 in gnulib/m4/
8618 Wed Apr 29 18:10:00 CEST 2008 Jim Meyering <meyering@redhat.com>
8620 update from gnulib, again
8621 * gnulib/m4/onceonly.m4: New file.
8622 * gnulib/m4/printf.m4: New file.
8623 * build-aux/useless-if-before-free: Update.
8624 * build-aux/vc-list-files: Update.
8625 * gnulib/lib/arpa_inet.in.h: Update.
8626 * gnulib/lib/stdio-impl.h: Update.
8627 * gnulib/m4/inet_ntop.m4: Update.
8629 Tue Apr 29 11:54:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8631 * configure.in: Add compatability macros AC_CHECK_*_ONCE for
8632 older autoconf (RHEL-5 vintage)
8634 Tue Apr 29 08:13:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8636 * src/qemu_conf.c, src/qemu_conf.h, src/xend_internal.c,
8637 src/xm_internal.c, src/xml.c: Added support for network
8638 interface model type setting
8639 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c,
8640 tests/sexpr2xmltest.c, tests/xmconfigtest.c,
8641 tests/xml2sexprtest.c: Added test cases for NIC model type
8642 * tests/qemuxml2argvdata/qemuxml2argv-net-virtio.{xml,args},
8643 tests/sexpr2xmldata/sexpr2xml-net-e1000.{sexpr,xml},
8644 tests/xml2sexprdata/xml2sexpr-net-e1000.{sexpr,xml},
8645 tests/xmconfigdata/test-paravirt-net-e1000.{cfg,xml}: Added
8646 new data files for test cases
8648 Tue Apr 29 21:43:28 CEST 2008 Jim Meyering <meyering@redhat.com>
8651 * proxy/Makefile.am (libvirt_proxy_LDADD): Add ../gnulib/lib/libgnu.la.
8652 * gnulib/lib/arpa_inet.in.h: Add new file from gnulib.
8653 * gnulib/tests/test-EOVERFLOW.c: Likewise.
8654 * gnulib/lib/stdio-impl.h: Likewise.
8657 * gnulib/lib/inet_ntop.h: Remove file.
8658 * gnulib/m4/onceonly_2_57.m4: Remove file.
8659 * build-aux/useless-if-before-free: Update.
8660 * build-aux/vc-list-files: Update.
8661 * gnulib/lib/.cvsignore: Update.
8662 * gnulib/lib/Makefile.am: Update.
8663 * gnulib/lib/fseeko.c: Update.
8664 * gnulib/lib/getaddrinfo.c: Update.
8665 * gnulib/lib/getdelim.c: Update.
8666 * gnulib/lib/inet_ntop.c: Update.
8667 * gnulib/lib/inet_ntop.h: Update.
8668 * gnulib/lib/poll.c: Update.
8669 * gnulib/lib/snprintf.c: Update.
8670 * gnulib/lib/stdlib.in.h: Update.
8671 * gnulib/lib/string.in.h: Update.
8672 * gnulib/lib/sys_socket.in.h: Update.
8673 * gnulib/lib/sys_stat.in.h: Update.
8674 * gnulib/lib/vasnprintf.c: Update.
8675 * gnulib/lib/vasprintf.c: Update.
8676 * gnulib/lib/wchar.in.h: Update.
8677 * gnulib/m4/arpa_inet_h.m4: Update.
8678 * gnulib/m4/extensions.m4: Update.
8679 * gnulib/m4/gnulib-common.m4: Update.
8680 * gnulib/m4/gnulib-comp.m4: Update.
8681 * gnulib/m4/include_next.m4: Update.
8682 * gnulib/m4/inet_ntop.m4: Update.
8683 * gnulib/m4/netinet_in_h.m4: Update.
8684 * gnulib/m4/onceonly_2_57.m4: Update.
8685 * gnulib/m4/physmem.m4: Update.
8686 * gnulib/m4/snprintf.m4: Update.
8687 * gnulib/m4/stdint.m4: Update.
8688 * gnulib/m4/stdio_h.m4: Update.
8689 * gnulib/m4/stdlib_h.m4: Update.
8690 * gnulib/m4/string_h.m4: Update.
8691 * gnulib/m4/strndup.m4: Update.
8692 * gnulib/m4/sys_select_h.m4: Update.
8693 * gnulib/m4/sys_socket_h.m4: Update.
8694 * gnulib/m4/sys_stat_h.m4: Update.
8695 * gnulib/m4/vasnprintf.m4: Update.
8696 * gnulib/tests/Makefile.am: Update.
8697 * gnulib/tests/test-fseeko.c: Update.
8698 * gnulib/tests/test-getaddrinfo.c: Update.
8699 * gnulib/tests/test-getdelim.c: Update.
8700 * gnulib/tests/test-getline.c: Update.
8701 * gnulib/tests/test-lseek.c: Update.
8702 * gnulib/tests/test-snprintf.c: Update.
8703 * gnulib/tests/test-sys_stat.c: Update.
8704 * gnulib/tests/test-vasnprintf.c: Update.
8705 * gnulib/tests/test-vasprintf.c: Update.
8707 remove useless tests before xmlFree
8708 * src/qemu_conf.c (qemudParseDiskXML, qemudParseInterfaceXML):
8709 (qemudParseInputXML, qemudParseDhcpRangesXML):
8710 * src/remote_internal.c (doRemoteOpen):
8711 * src/storage_conf.c (virStoragePoolDefParseDoc):
8712 * src/xm_internal.c (xenXMParseXMLDisk, xenXMParseXMLVif):
8713 (xenXMParseXMLToConfig, xenXMAttachInterface):
8714 * src/xml.c (virDomainParseXMLDiskDesc, virDomainParseXMLIfDesc):
8715 (virDomainXMLDevID):
8717 Tue Apr 29 11:36:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8719 * src/Makefile.am: Explicitly tell gcov to look in .libs for
8722 Tue Apr 29 10:10:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8724 * src/xen_internal.c: Fix array out of bounds access in parsing
8725 capabilities data from Xen
8727 Tue Apr 29 10:06:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8729 * docs/formatnetwork.html, docs/formatnetwork.html.in: Added
8730 docs on XML format for networks
8732 Tue Apr 29 09:46:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8734 * src/hash.c: remove bogus test code accidentally added in
8737 Tue Apr 29 15:20:12 CEST 2008 Jim Meyering <meyering@redhat.com>
8739 also check for useless test-before-xmlFree
8740 * Makefile.cfg (useless_free_options): Add --name=xmlFree.
8742 Recognize more uses of strcmp.
8743 * Makefile.maint (sc_prohibit_strcmp): Relax regexp.
8745 Avoid "make syntax-check" failures.
8746 * src/memory.c: Include "config.h".
8747 Remove trailing blanks.
8749 Avoid in-function #if directives.
8750 * src/parthelper.c [!PED_PARTITION_PROTECTED]: Define to 0.
8751 Remove in-function #ifdefs.
8753 Tue Apr 29 09:15:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8755 * src/parthelper.c: Don't fail if PED_PARTITION_PROTECTED
8756 is not defined because of ancient libparted
8759 Mon Apr 28 17:24:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8761 * src/memory.h, src/memory.c: Added safer APIs for dealing
8762 with low level memory allocation.
8763 * src/hash.c, src/capabilities.c: Convert to new memory
8765 * src/internal.h: Define ATTRIBUTE_RETURN_CHECK and fix
8766 type in virDebug no-op impl
8767 * proxy/Makefile.am: Build and link against memory.c
8769 Mon Apr 28 10:24:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8771 * src/buf.c, src/buf.h: Change API to move errors checks to
8773 * src/capabilities.c, src/conf.c, src/lxc_conf.c, src/qemu_conf.c,
8774 src/qparams.c, src/storage_conf.c, src/test.c, src/virsh.c,
8775 src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c,
8776 src/xmlrpc.h, tests/xmlrpctest.c: Update to conform with new
8778 * src/libvirt_sym.version: Add new virBuffer APIs for virsh
8780 Mon Apr 28 16:11:22 CEST 2008 Jim Meyering <meyering@redhat.com>
8782 fix typo in bootstrap script
8783 * bootstrap: Fix typo: s/gnulib/.gnulib/. Reported by
8786 Mon Apr 28 09:32:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8788 * tests/.valgrind.supp, tests/Makefile.am: Ignore bash bugs when
8791 Mon Apr 28 11:08:58 CEST 2008 Jim Meyering <meyering@redhat.com>
8793 avoid format-related warnings
8794 * qemud/qemud.c (main): Fix a bogus format string reported as unmarked.
8795 * src/virsh.c (cmdVcpupin): Non-literal with no args.
8797 Mon Apr 28 10:26:17 CEST 2008 Daniel Veillard <veillard@redhat.com>
8799 * docs/Makefile.am docs/et.png docs/libvirt.css docs/page.xsl
8800 docs/*.html docs/html/*.html: removed footer, added sponsor logo
8801 regenerated the html pages also fixed 'make distcheck' as
8804 Sat Apr 26 10:21:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8806 * src/xm_internal.c, src/xml.c, src/xml.h, src/xend_internal.c,
8807 src/xend_internal.h: Added support for serial and parallel
8809 * tests/sexpr2xmltest.c, tests/xml2sexprtest.c, tests/xmconfigtest.c:
8810 added tests for serial and parallel devices
8811 * tests/sexpr2xmldata/*, tests/xml2sexprdata/*, tests/xmconfigdata/*:
8812 updated for new test cases
8814 Fri Apr 25 16:45:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8816 * src/internal.c: Convenience macros for fixed arrays
8817 * src/qemu_driver.c: Extract TTY paths for serial and parallel
8819 * src/qemu_conf.c, src/qemu_conf.h: Support arbitrary serial
8820 and parallel devices.
8821 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add tests
8822 for serial and parallel devices
8823 * tests/qemuxml2argvdata/*: Updated and added data files for
8826 Fri Apr 25 12:21:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8828 * docs/page.xsl, docs/libvir.css: Re-arrange layout to workaround
8830 * docs/site.xsl, docs/newapi.xsl, docs/ChangeLog.xsl: Switch to
8831 HTML strict to avoid layout bugs in transitional mode
8832 * docs/*.html: Re-generate files with new layout
8834 Fri Apr 25 17:44:28 CEST 2008 Daniel Veillard <veillard@redhat.com>
8836 * qemud/qemud.c: applied patch from Anton Protopopov to change
8837 group ownership of /var/run/libvirt/ to unix_sock_gid.
8839 Fri Apr 25 16:51:58 CEST 2008 Jim Meyering <meyering@redhat.com>
8841 avoid problems with sign-extended "char" operand to is* functions
8842 * src/util.h (to_uchar): Define function.
8843 * src/sexpr.c (_string2sexpr): Apply to_uchar to is* operand.
8844 * src/nodeinfo.c (linuxNodeInfoCPUPopulate): Likewise.
8845 * src/qemu_driver.c (qemudExtractMonitorPath): Likewise.
8846 * src/stats_linux.c (xenLinuxDomainDeviceID): Likewise.
8847 * src/util.c (TOLOWER, __virMacAddrCompare, virParseMacAddr): Likewise.
8848 * src/virsh.c (cmdVcpupin, vshCommandGetToken): Likewise.
8850 Thu Apr 24 17:18:18 CEST 2008 Daniel Veillard <veillard@redhat.com>
8852 * docs/page.xsl docs/redhat.gif docs/*.html: using the shadowman
8853 logo to indicate Red Hat sponsoring, regenerated.
8855 Thu Apr 24 14:34:37 CEST 2008 Daniel Veillard <veillard@redhat.com>
8857 * AUTHORS: update, list people with commit access
8859 Thu Apr 24 11:42:53 CEST 2008 Daniel Veillard <veillard@redhat.com>
8861 * libvirt.css search.php: fix the search box and PHP output
8863 Thu Apr 24 18:00:21 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
8865 * proxy/libvirt_proxy.c docs/*: fixing typos
8867 Thu Apr 24 09:54:19 CEST 2008 Daniel Veillard <veillard@redhat.com>
8869 * AUTHORS: indicate that the Logo is by Diana Fong
8870 * docs/index.py: modify to also index subprojects pages
8872 Wed Apr 23 15:38:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8874 * docs/Makefile.am, docs/news.xsl: Fix generation of NEWS file
8876 Wed Apr 23 13:43:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8878 * docs/page.xsl: Fix link to wiki when href_base is set
8879 * docs/html/*.html: Regnerate to fix wiki link
8881 Wed Apr 23 12:18:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8883 * docs/libvir.html, docs/*.html.in: Removed merged HTML docs
8884 and replaced with one file per page
8885 * docs/*.html: Re-generated with new page layout
8886 * docs/page.xsl: New master page template and navigation
8887 * docs/site.xsl, docs/newapi.xsl, docs/ChangeLog.xsl: Updated
8888 to use new page.xsl templates
8889 * libvirt-net-*.{fig,png}: Added diagrams illustrating some
8890 ways of using virtual networking
8891 * docs/*.css: New styles for site
8892 * docs/html/*: Re-generated for new page layout & removed
8895 2008-04-21 Jim Meyering <meyering@redhat.com>
8897 Enable 'make syntax-check's sc_changelog rule.
8898 * Makefile.maint (sc_changelog): Adapt to work with legacy
8899 ChangeLog entry header lines.
8900 * Makefile.cfg (local-checks-to-skip): Remove sc_changelog.
8902 Fri Apr 18 14:30:12 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8904 Work around Python.h name-space pollution.
8905 * python/types.c (HAVE_PTHREAD_H): #undef.
8906 Without this, we'd get a redefinition warning.
8908 Fri Apr 18 20:07:12 CEST 2008 Jim Meyering <meyering@redhat.com>
8910 Work around Python.h name-space pollution.
8911 * python/libvir.c (HAVE_PTHREAD_H): #undef.
8912 Without this, we'd get a redefinition warning.
8914 Fri Apr 18 11:26:24 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8916 * tests/Makefile.am: Add abs_srcdir and abs_builddir to test
8918 * tests/test_conf.sh: Refactor to pretty print
8919 * tests/statstest.c, tests/xencapstest.c, tests/xmconfigtest.c:
8920 Use new virtTestDifference for display. Autoset abs_srcdir if
8921 not in environment. Refactor common code into macros
8923 Fri Apr 18 11:04:24 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8925 * tests/testutils.h, tests/testutils.c: Add virtTestDifference
8926 for printing out trimmed string differences
8928 Fri Apr 18 11:24:24 CEST 2008 Jim Meyering <meyering@redhat.com>
8930 avoid compile error when <pthread.h> is absent
8931 * src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".
8933 Fri Apr 18 09:27:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8936 * configure.in: Fix pkg-config detection of libxml2,
8937 add -lgcrypt to gnutls lib.
8938 * src/Makefile.am: If compiling --without-libvirtd then
8939 don't compile any part of the storage driver.
8940 * configure.in, src/hash.c, src/internal.h: Detect availability
8941 of pthread library and compile out mutex code if not available.
8942 * src/storage_driver.c, src/util.c: Ignore some missing
8945 Tue Apr 15 17:19:16 CEST 2008 Daniel Veillard <veillard@redhat.com>
8947 * virsh.1 docs/virsh.pod: fix missing entries and small cleanups
8948 in the man page, should fix #442429
8950 Mon Apr 14 13:44:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8952 * po/POTFILES.in: Added src/lxc_container.c entry
8954 Thu Apr 10 18:33:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8956 Remove unused uid field in virsh control structure.
8957 * src/virsh.c: Remove unused uid field in virsh control structure.
8959 Thu Apr 10 18:54:03 CEST 2008 Jim Meyering <meyering@redhat.com>
8961 HACKING: New file: begin to describe contributor/coding guidelines
8963 ensure that no C source file uses TABs for indentation
8964 * Makefile.maint (sc_TAB_in_indentation): New rule.
8966 Convert TAB-based indentation in C sources to use only spaces.
8967 Done using this command (also includes .c.in and .h.in files):
8968 for i in $(g ls-files|grep -E '\.[ch](\.in)?$'|grep -v gnulib); do
8969 expand -i $i > j && mv j $i;done
8971 Remove Vim and Emacs variable settings from C source files.
8972 Done with these commands:
8973 git grep -l Local.variab|xargs \
8974 perl -0x3b -pi -e 's,\n+/\*\n \* vim:(.|\n)*,\n,'
8975 git grep -l Local.variab|xargs \
8976 perl -0x3b -pi -e 's,\n+/\*\n \* Local variables:\n(.|\n)*,\n,'
8978 Thu Apr 10 15:28:36 CEST 2008 Daniel Veillard <veillard@redhat.com>
8980 * AUTHORS: adding Dave Leskovec and Ryan Scott to the authors list
8983 Thu Apr 10 15:24:40 CEST 2008 Daniel Veillard <veillard@redhat.com>
8985 * src/xend_internal.c: applied a patch from Ryan Scott to ask
8986 xend to save the change in the config file
8988 Thu Apr 10 09:28:31 CEST 2008 Daniel Veillard <veillard@redhat.com>
8990 * src/Makefile.am src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
8991 src/lxc_container.h src/lxc_driver.c: Applied second set of
8992 linux container patches from Dave Leskovec adding start/stop
8995 Wed Apr 9 16:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
8997 Add virsh.pod to EXTRA_DIST
8998 * docs/Makefile.am: Add virsh.pod to EXTRA_DIST.
9000 Wed Apr 9 15:00:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
9002 Core code contains Xen-ism UUID of dom0 = 0..0
9003 * src/libvirt.c: Remove a Xen-ism from the core code, the
9004 assumption that dom0's UUID is all zeroes.
9006 Wed Apr 9 14:56:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
9008 Warn about conn, dom and net fields in virterror
9009 * include/libvirt/virterror.h: Warn about the use of
9010 conn, dom and net fields in virterror.
9012 Wed Apr 9 14:46:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
9014 Remove extraneous underscore
9015 * src/openvz_conf.c: Remove extraneous underscore which stopped
9016 file from compiling (Anton Protopopov).
9018 Tue Apr 8 18:44:27 CEST 2008 Daniel Veillard <veillard@redhat.com>
9020 * configure.in NEWS doc/* po/*: making libvirt-0.4.2 release
9022 Mon Apr 8 17:32:07 CET 2008 Jim Meyering <meyering@redhat.com>
9024 * configure.in (ALL_LINGUAS): Fix typo: s/Latn/latin/.
9026 Don't fail to read a file because it's non-seekable (e.g., a pipe).
9027 * src/util.c (fread_file_lim): New function.
9028 (__virFileReadAll): Use fread_file_lim, rather than requiring
9029 that stat.st_size provide a usable file size.
9030 * tests/read-non-seekable: New test, for the above.
9031 * tests/Makefile.am (test_scripts): Add read-non-seekable.
9032 * tests/test-lib.sh (mkfifo_or_skip_): New helper function.
9034 Tue Apr 8 13:24:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
9036 * src/qemu_driver.c: Handle errors from fork(2) and pipe(2)
9037 system calls when creating qemu subprocess.
9039 Tue Apr 8 11:50:42 CEST 2008 Daniel Veillard <veillard@redhat.com>
9041 * po/sr.po po/sr@Latn.po po/sr@latin.po: fix/update serbian
9044 Tue Apr 8 11:24:28 CEST 2008 Daniel Veillard <veillard@redhat.com>
9046 * src/test.c: patch from Cole Robinson adding xen and hvm guest types
9047 to the test driver's capabilities.
9049 Tue Apr 8 10:19:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
9051 * python/generator.py: fix an infinite loop bug
9053 Mon Apr 7 14:36:56 CET 2008 Jim Meyering <meyering@redhat.com>
9055 * tests/vcpupin: Add a test for the 2008-04-04 virsh.c bugfix.
9057 Mon Apr 7 12:53:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
9059 * docs/bugs.html docs/libvir.html: update the page bugzilla URIs
9060 depending on the set the user is running.
9062 Fri Apr 4 11:00:08 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9064 * src/libvirt.c: Don't run polkit-auth if running as root
9065 * qemud/qemud.c, qemud/remote.c, qemud/internal.h: Don't
9066 ask client for polkit auth if they are running as root
9068 Fri Apr 4 13:19:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
9070 * src/virsh.c: patch from Shigeki Sakamoto adding message on vcpupin
9072 Fri Apr 4 10:04:23 CEST 2008 Daniel Veillard <veillard@redhat.com>
9074 * docs//* po/*: regenerated the documentation and reextracted the
9075 full set of localization strings to push to the translation team.
9077 Fri Apr 4 09:56:42 CEST 2008 Daniel Veillard <veillard@redhat.com>
9079 * docs//* src/conf.c src/hash.c src/libvirt.c src/proxy_internal.c
9080 src/remote_internal.c src/virsh.c src/xen_internal.c
9081 src/xend_internal.c src/xml.c: applied patch from Atsushi SAKAI
9082 fixing a lot of typos
9084 Fri Apr 4 09:29:08 CEST 2008 Daniel Veillard <veillard@redhat.com>
9086 * src/test.c: patch from Cole Robinson to add
9087 virNodeGetCellsFreeMemory to the test driver
9089 Wed Apr 2 17:19:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
9091 C99 initializer on __lastErr
9092 * src/virterror.c: Use C99 initializers to make initialization
9093 of __lastErr clearer (Guido Günther).
9095 Tue Apr 1 15:00:03 CEST 2008 Daniel Veillard <veillard@redhat.com>
9097 * src/lxc_conf.c: patch from Dave Leskovec fixing an freed memory
9098 access I introduced yesterday
9100 Mon Mar 31 16:35:47 CEST 2008 Daniel Veillard <veillard@redhat.com>
9102 * src/hash.c src/internal.h src/virterror.c: remove dandling
9103 domain/net/conn pointers from error data when released.
9104 * src/lxc_driver.c: fix a NULL/0 return error mismatch
9106 Mon Mar 31 14:12:42 CEST 2008 Daniel Veillard <veillard@redhat.com>
9108 * configure.in: small patch from Mike Gerdts to avoid problems with
9109 older awk implementations, fixes #439649
9111 Mon Mar 31 13:58:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
9113 * src/lxc_conf.c src/lxc_conf.h: cleanup patch for the conf driver
9114 of linux countainers, reuse XPath helpers, make string fields dynamic
9115 and remove a memory leak.
9116 * src/lxc_driver.c: avoid some problems when the config directory is
9117 not accessible and for regression tests
9119 Fri Mar 28 16:34:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9121 * src/network.rng: Add new routed networking schema
9122 * src/iptables.c, src/iptables.h: Add iptablesAddForwardAllowRelatedIn
9123 and iptablesRemoveForwardAllowRelatedIn
9124 * src/qemu_conf.h: Add attribute for routed networking
9125 * src/qemu_conf.c: Parse / format new networking attributes
9126 * src/qemu_driver.c: Support routed networking config
9127 (patches from Mads Chr. Olesen)
9129 Fri Mar 28 13:55:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9131 * src/storage_conf.c: Fix XML output tag for FS storage pools
9134 Thu Mar 27 20:59:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9136 * src/iptables.c: Ensure masquering rule only catches traffic
9137 leaving the virtual network, and not traffic inside it
9138 (patch from Charles Duffy)
9140 Thu Mar 27 14:36:56 CET 2008 Jim Meyering <meyering@redhat.com>
9142 lxcError: mark a string and add to the list of nearly-checked functions
9143 * Makefile.maint (msg_gen_function): Add, but commented-out.
9144 * src/lxc_conf.c (lxcParseXML): Mark a diagnostic for translation.
9146 testError: mark most string arguments for translation
9147 * Makefile.maint (msg_gen_function): Add testError
9148 * src/test.c (testDomainSave, testDomainRestore): Mark strings.
9149 (testDomainCoreDump): Likewise.
9151 openvzLog: mark its string arguments for translation
9152 * Makefile.maint (msg_gen_function): Add openvzLog.
9153 * src/openvz_conf.c (openvzAssignVMDef, openvzParseXML): Mark strings.
9154 * src/openvz_driver.c (openvzDomainShutdown, openvzDomainReboot):
9155 (openvzDomainDefineXML, openvzDomainCreateLinux):
9156 (openvzDomainCreate, openvzDomainUndefine): Likewise.
9158 error: mark most string arguments for translation
9159 Also mark some arguments to __virRaiseError.
9160 * Makefile.maint (msg_gen_function): Add error.
9161 * po/POTFILES.in: Add src/openvz_conf.c and src/openvz_driver.c.
9162 * src/openvz_conf.c (openvzParseXML, openvzGetVPSInfo): Mark strings.
9163 * src/openvz_driver.c (openvzDomainLookupByID): Likewise.
9164 (openvzDomainLookupByUUID, openvzDomainLookupByName): Likewise.
9165 (openvzDomainGetInfo, openvzDomainShutdown, openvzDomainReboot)
9166 (openvzDomainCreate, openvzDomainUndefine): Likewise.
9167 * src/remote_internal.c (check_cert_file): Likewise.
9168 (negotiate_gnutls_on_connection, verify_certificate): Likewise.
9169 (remoteAuthenticate, addrToString, remoteAuthSASL): Likewise.
9170 (remoteAuthPolkit, call, really_read_buf): Likewise.
9172 Convert diagnostics like "VAR > MAX_VAR" to translatable messages.
9173 * src/remote_internal.c (errorf): New function.
9174 (remoteListDomains, remoteDomainPinVcpu, remoteDomainGetVcpus):
9175 (remoteListDefinedDomains, remoteListNetworks):
9176 (remoteListDefinedNetworks): Convert strings to be translatable,
9177 and also to include offending and maximum values. Use errorf.
9179 qemudReportError: mark for translation string args to this function
9180 * Makefile.maint (msg_gen_function): Add qemudReportError.
9181 * src/qemu_conf.c (qemudLoadDriverConfig)
9182 (qemudExtractVersion, qemudParseDiskXML, qemudParseInterfaceXML)
9183 (qemudParseInputXML, qemudParseXML, qemudNetworkIfaceConnect)
9184 (qemudBuildCommandLine, qemudSaveConfig, qemudParseVMDeviceDef)
9185 (qemudAssignVMDef, qemudSaveVMDef, qemudSaveNetworkConfig)
9186 (qemudParseDhcpRangesXML, qemudParseNetworkXML)
9187 (qemudAssignNetworkDef, qemudSaveNetworkDef, qemudGenerateXML)
9188 (qemudGenerateNetworkXML, qemudDeleteConfig): Mark strings.
9189 * src/qemu_driver.c (qemudBuildDnsmasqArgv, qemudAddIptablesRules)
9190 (qemudGetCapabilities, qemudDomainGetOSType)
9191 (qemudListDefinedDomains, qemudListNetworks)
9192 (qemudListDefinedNetworks, qemudNetworkGetBridgeName): Mark strings.
9194 ReportError: mark for translation string args to this function
9195 * Makefile.maint (msg_gen_function): Add ReportError.
9196 * src/util.c (_virExec): Mark strings.
9198 xenXMError: mark for translation string args to this function
9199 * Makefile.maint (msg_gen_function): Add xenXMError.
9200 * src/xm_internal.c (xenXMParseXMLToConfig, xenXMDomainDefineXML):
9201 (xenXMDomainAttachDevice, xenXMDomainDetachDevice): Mark strings.
9203 Mark many more strings for translation.
9204 * Makefile.maint (err_func_re): Add to the list and make it readable.
9205 * po/POTFILES.in: Add src/util.c and src/xm_internal.c, and sort.
9206 * src/storage_backend.c: Fix comment.
9207 * src/util.c (virFileLinkPointsTo): Mark a string.
9208 * qemud/remote.c (remoteDispatchClientRequest): Mark strings.
9209 (remoteDispatchOpen, CHECK_CONN, remoteDispatchGetType): Likewise.
9210 (remoteDispatchDomainGetSchedulerType): Likewise.
9211 (remoteDispatchDomainGetSchedulerParameters): Likewise.
9212 (remoteDispatchDomainSetSchedulerParameters): Likewise.
9213 (remoteDispatchDomainBlockStats): Likewise.
9214 (remoteDispatchDomainInterfaceStats): Likewise.
9215 (remoteDispatchDomainAttachDevice, remoteDispatchDomainCreate):
9216 (remoteDispatchDomainDestroy, remoteDispatchDomainDetachDevice):
9217 (remoteDispatchDomainDumpXml, remoteDispatchDomainGetAutostart):
9218 (remoteDispatchDomainGetInfo, remoteDispatchDomainGetMaxMemory):
9219 (remoteDispatchDomainGetMaxVcpus, remoteDispatchDomainGetOsType):
9220 (remoteDispatchDomainGetVcpus): Likewise.
9221 (remoteDispatchDomainMigratePerform): Likewise.
9222 (remoteDispatchListDefinedDomains, remoteDispatchDomainPinVcpu):
9223 (remoteDispatchDomainReboot, remoteDispatchDomainResume):
9224 (remoteDispatchDomainSave, remoteDispatchDomainCoreDump):
9225 (remoteDispatchDomainSetAutostart): Likewise.
9226 (remoteDispatchDomainSetMaxMemory, remoteDispatchDomainSetMemory):
9227 (remoteDispatchDomainSetVcpus, remoteDispatchDomainShutdown):
9228 (remoteDispatchDomainSuspend, remoteDispatchDomainUndefine):
9229 (remoteDispatchListDefinedNetworks, remoteDispatchListDomains):
9230 (remoteDispatchListNetworks, remoteDispatchNetworkCreate):
9231 (remoteDispatchNetworkDestroy, remoteDispatchNetworkDumpXml):
9232 (remoteDispatchNetworkGetAutostart, remoteDispatchNetworkGetBridgeName):
9233 (remoteDispatchNetworkSetAutostart, remoteDispatchNetworkUndefine):
9234 (addrToString, remoteDispatchAuthSaslInit, remoteDispatchAuthSaslStart):
9235 (remoteDispatchAuthSaslStep, remoteDispatchListDefinedStoragePools):
9236 (remoteDispatchListStoragePools, remoteDispatchStoragePoolCreate):
9237 (remoteDispatchStoragePoolBuild, remoteDispatchStoragePoolDestroy):
9238 (remoteDispatchStoragePoolDelete, remoteDispatchStoragePoolRefresh):
9239 (remoteDispatchStoragePoolGetInfo, remoteDispatchStoragePoolDumpXml):
9240 (remoteDispatchStoragePoolGetAutostart): Likewise.
9241 (remoteDispatchStoragePoolSetAutostart):
9242 (remoteDispatchStoragePoolListVolumes):
9243 (remoteDispatchStoragePoolNumOfVolumes):
9244 (remoteDispatchStoragePoolUndefine, remoteDispatchStorageVolCreateXml):
9245 (remoteDispatchStorageVolDelete, remoteDispatchStorageVolGetInfo):
9246 (remoteDispatchStorageVolDumpXml, remoteDispatchStorageVolGetPath):
9247 (remoteDispatchStorageVolLookupByName): Likewise.
9248 * src/qemu_driver.c (qemudOpenMonitor, qemudStartVMDaemon):
9249 (dhcpStartDhcpDaemon, qemudStartNetworkDaemon):
9250 (qemudDomainSuspend, qemudDomainResume, qemudDomainShutdown):
9251 (qemudDomainGetOSType, qemudDomainSetMaxMemory):
9252 (qemudDomainSetMemory, qemudDomainGetInfo, qemudDomainSave):
9253 (qemudDomainRestore, qemudDomainDumpXML, qemudDomainStart):
9254 (qemudDomainUndefine, qemudDomainChangeCDROM):
9255 (qemudDomainAttachDevice, qemudDomainGetAutostart):
9256 (qemudDomainSetAutostart, qemudDomainInterfaceStats):
9257 (qemudNetworkLookupByUUID, qemudNetworkLookupByName):
9258 (qemudNetworkUndefine, qemudNetworkStart, qemudNetworkDestroy):
9259 (qemudNetworkDumpXML, qemudNetworkGetAutostart):
9260 (qemudNetworkSetAutostart): Likewise.
9261 * src/virsh.c (cmdVcpupin, cmdAttachDevice, cmdDetachDevice): Likewise.
9262 * src/xm_internal.c (xenXMConfigCacheRefresh, xenXMDomainPinVcpu):
9265 Thu Mar 27 10:30:12 CET 2008 Daniel Veillard <veillard@redhat.com>
9267 * src/lxc_conf.c src/lxc_conf.h src/lxc_driver.c src/remote_internal.c:
9268 applied patch from Dan Berrange to change the way the lxc driver
9269 works, migrating the support in the daemon, it also removes some
9270 compilation issues and teh way the configuration files are named.
9272 Thu Mar 27 09:09:34 CET 2008 Daniel Veillard <veillard@redhat.com>
9274 * src/storage_backend_iscsi.c: patch from Chris Lalancette to improve
9275 support with older versions of iscsiadm.
9277 Wed Mar 26 14:00:47 CET 2008 Daniel Veillard <veillard@redhat.com>
9279 * src/xen_internal.c proxy/libvirt_proxy.c: fix Xen hypercall for
9280 Xen-3.2, and merged its debugging with the general library facility
9282 Wed Mar 26 12:57:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9284 * po/lt.po: Fixed typo (Beth Kon).
9286 Tue Mar 25 10:23:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9288 * src/virsh.c: Additional error messages for missing
9289 parameters (Shigeki Sakamoto).
9291 Mon Mar 24 11:56:58 CET 2008 Daniel Veillard <veillard@redhat.com>
9293 * src/qemu_driver.c: remove trailing newlines from error messages
9294 patch from Guido Günther
9296 Mon Mar 24 11:47:47 CET 2008 Daniel Veillard <veillard@redhat.com>
9298 * src/qemu_driver.c: applied patch from Guido Günther to make error
9299 strings as translatable
9301 Mon Mar 24 11:16:58 CET 2008 Jim Meyering <meyering@redhat.com>
9303 * Makefile.maint (err_func_re): Add lxcError.
9305 * qemud/remote.c: Don't include <getopt.h>. Not used.
9307 Sync Makefile rules from coreutils.
9308 * Makefile.maint: Merge.
9309 * GNUmakefile: Update from coreutils.
9311 Add new testing framework and the first test to use it.
9312 * tests/Makefile.am (test_scripts): Add vcpupin.
9313 (EXTRA_DIST): Add test-lib.sh.
9314 * tests/test-lib.sh: Testing framework, from coreutils.
9315 * tests/vcpupin: New file.
9316 * build-aux/mktempd: New file, from gnulib.
9317 * bootstrap: Add posix-shell and mktempd to the list of imported modules.
9318 * gnulib/m4/posix-shell.m4: New file, from gnulib.
9320 Fix bugs in tests/Makefile.am.
9321 * tests/Makefile.am (TESTS_ENVIRONMENT): Correct invalid
9322 settings of abs_top_builddir and abs_top_srcdir.
9323 Also prepend src/ to PATH, so we test the just-built virsh,
9324 not whatever happens to be in the original $PATH.
9326 Mon Mar 24 10:20:21 CET 2008 Daniel Veillard <veillard@redhat.com>
9328 * src/xend_internal.c: applied patch from Saori Fukuta adding the
9329 scheduler API for the Xen daemon driver
9330 * po/POTFILES.in: add the two new linux container modules
9332 Fri Mar 21 15:59:53 CET 2008 Daniel Veillard <veillard@redhat.com>
9334 * configure.in include/libvirt/virterror.h src/Makefile.am
9335 src/driver.h src/lxc_conf.[ch] src/lxc_driver.[ch] src/virterror.c:
9336 Applied 3 patches from Dave Leskovec for intial support of
9337 Linux containers, configured off by default, work in progress.
9338 * src/libvirt.c: improve virDomainCreateLinux xmlDesc description
9340 Thu Mar 20 12:23:03 CET 2008 Daniel Veillard <veillard@redhat.com>
9342 * src/util.c src/util.h src/xml.c: applied patch from Hiroyuki Kaguchi
9343 fixing Ethernet MAC addresses parsingand separating as an util
9344 function, with added comments from Jim Meyering
9346 Wed Mar 19 15:31:34 CET 2008 Daniel Veillard <veillard@redhat.com>
9348 * src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: applied patch
9349 from Cole Robinson implementing memory operations for qemu driver
9351 Tue Mar 18 23:31:26 CET 2008 Jim Meyering <meyering@redhat.com>
9353 Avoid "make syntax-check" failure.
9354 * src/xen_unified.c: Remove trailing blank.
9356 Mon Mar 17 13:24:22 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9358 * configure.in: Add WITH_PROXY to config.h file
9359 * src/remote_internal.c: Handle local Xen URIs if Xen drivers
9361 * src/xen_unfied.c: Use explicit logic for opening sub-drivers
9362 rather than a hacked loop.
9363 * src/xend_internal.c: Don't complain about failing to open
9364 xend when non-root read-only.
9366 Mon Mar 17 17:55:56 CET 2008 Jim Meyering <meyering@redhat.com>
9368 Treat ENOTSUP like ENODATA, after failed fgetfilecon.
9369 * src/storage_backend.c (virStorageBackendUpdateVolInfoFD): Treat a
9370 failed fgetfilecon with errno == ENOTSUP the same as for ENODATA.
9372 Mon Mar 17 17:40:12 CET 2008 Daniel Veillard <veillard@redhat.com>
9374 * libvirt.c: fixed DefinedDomains function comments c.f. 437216
9375 * docs/libvirt-*.xml docs/*/libvirt-libvirt.html: regenerated
9377 Mon Mar 17 11:10:22 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9379 * src/storage_driver.c: Don't crash if backend is missing the
9380 startPool operation, and run refreshPool when creating an
9383 Mon Mar 17 11:09:22 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9385 * src/storage_backend.c: Cope with missing SELinux context
9386 data by ignoring the error
9388 Mon Mar 17 11:46:09 CET 2008 Daniel Veillard <veillard@redhat.com>
9390 * src/libvirt.c docs/libvirt-*.xml docs/html/libvirt-libvirt.html:
9391 fixed a few missing argument descriptions and regenerated.
9393 Mon Mar 17 11:23:32 CET 2008 Daniel Veillard <veillard@redhat.com>
9395 * NEWS virsh.1 docs//* include/libvirt/libvirt.h[.in] qemud/mdns.h
9396 src/libvirt.c src/qemu.conf src/remote_internal.c src/xend_internal.c
9397 tests/confdata/libvirtd.conf tests/confdata/libvirtd.out: patch from
9398 Atsushi SAKAI fixing a ot more typo
9400 Fri Mar 14 16:38:34 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9402 * src/bridge.c, src/bridge.h: Don't set MAC address on TAP
9404 * src/qemu_conf.c: Pass ifname= param along with TAP file
9407 Fri Mar 14 16:55:34 CET 2008 Daniel Veillard <veillard@redhat.com>
9409 * po/*: updated translations
9411 Fri Mar 14 16:30:27 CET 2008 Daniel Veillard <veillard@redhat.com>
9413 * src/bridge.c: fix a typo in a comment
9415 Fri Mar 14 16:19:21 CET 2008 Daniel Veillard <veillard@redhat.com>
9417 * qemud/qemud.c src/virsh.c: fixing some user facing strings
9418 problems pointed out by Francesco Tombolini should fix #436620
9420 Fri Mar 14 11:01:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
9422 * virsh.1 docs/apibuild.py docs/architecture.html docs/errors.html
9423 docs/format.html docs/index.py docs/libvir.html docs/libvirt-api.xml
9424 docs/libvirt.rng docs/news.html docs/python.html docs/virsh.pod
9425 docs/devhelp/libvirt-libvirt.html docs/examples/examples.xml
9426 docs/examples/index.html docs/examples/info1.c
9427 docs/examples/suspend.c docs/html/libvirt-libvirt.html
9428 include/libvirt/libvirt.h include/libvirt/libvirt.h.in
9429 proxy/libvirt_proxy.c python/libvir.py python/libvirt-python-api.xml
9430 python/tests/node.py src/xen_internal.c:
9431 Fix typo "informations" -> "information" (Atsushi SAKAI and
9434 Thu Mar 13 10:24:45 CET 2008 Daniel Veillard <veillard@redhat.com>
9436 * src/libvirt.c: virDomainSetSchedulerParameters need to be
9437 blocked on read-only connections, patch from Saori Fukuta
9439 Thu Mar 13 10:19:16 CET 2008 Daniel Veillard <veillard@redhat.com>
9441 * src/bridge.c src/virsh.c: typo fixes from Atsushi SAKAI
9443 Thu Mar 13 10:15:58 CET 2008 Daniel Veillard <veillard@redhat.com>
9445 * src/qemu_conf.c src/qemu_driver.c: patch from Cole Robinson
9446 fixing CD Rom change on live QEmu/KVM domains.
9448 Tue Mar 11 10:45:53 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9450 * src/libvirt.c, configure.in: Remove use of polkit-grant since
9451 it is fundamentally broken. Only use polkit-auth instead. Keep
9452 stdin/out/err open when running polkit-auth.
9454 Tue Mar 11 10:21:53 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9456 * src/virsh.c: Don't force connection to readonly as non-root
9457 since with auth support we can have full connections.
9459 Tue Mar 11 10:17:53 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
9461 * qemud/qemud.c: Don't run cleanup code when parent process is
9462 exiting in daemon mode.
9464 Fri Mar 7 12:11:53 CET 2008 Daniel Veillard <veillard@redhat.com>
9466 * docs/libvir.html docs/storage.html: apply documentation fixes
9467 and typos cleanup from Atsushi Sakai
9469 Fri Mar 7 10:22:00 CET 2008 Daniel Veillard <veillard@redhat.com>
9471 * src/xend_internal.c: applied patch from Cole Robinson to not
9472 loose the boot tag when defining a fully virtualized xen domain
9474 Tue Mar 4 20:01:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9476 Make iSCSI login actually work
9477 * src/storage_backend_iscsi.c: Make iSCSI login actually work
9480 Tue Mar 4 19:57:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9482 Report error when vcpupin is given bad vCPU number.
9483 * src/virsh.c: Report error when vcpupin is given bad vCPU number
9486 Mon Mar 3 21:39:17 CET 2008 Jim Meyering <meyering@redhat.com>
9488 Also ignore leading zeros when comparing MAC addresses.
9489 * src/util.c: Include <ctype.h>.
9491 (__virMacAddrCompare): Rewrite to also ignore leading zeros.
9493 Mon Mar 3 21:17:29 CET 2008 Daniel Veillard <veillard@redhat.com>
9495 * src/capabilities.c: Cole Robinson pointed out a well formedness
9496 problem when generating the capabilities in the test driver.
9498 Mon Mar 3 19:09:51 CET 2008 Jim Meyering <meyering@redhat.com>
9500 Don't use first byte of string as a pointer.
9501 * src/qemu_conf.c (qemudReportError): Use the pointer, errorMessage,
9502 not its first byte, errorMessage[0].
9504 Avoid segfault upon early libvirtd failure.
9505 * qemud/qemud.c (main): Don't call qemudCleanup on an
9506 uninitialized pointer.
9508 Mon Mar 3 15:40:31 CET 2008 Daniel Veillard <veillard@redhat.com>
9510 * NEWS configure.in libvirt.spec.in docs/* include/libvirt/libvirt.h
9511 po/*: preparing release of libvirt-0.4.1
9513 Mon Mar 3 14:14:03 CET 2008 Jim Meyering <meyering@redhat.com>
9515 Plug saslUsernameWhitelist leak.
9516 * qemud/qemud.c (qemudCleanup): Free the array as well as
9519 Plug skipped-qemudCleanup leak.
9520 * qemud/qemud.c (main): Call qemudCleanup also upon failure.
9521 Otherwise, an error return would skip it and induce leaks.
9523 Plug remoteReadConfigFile leak.
9524 * qemud/qemud.c (remoteReadConfigFile): Be careful to free
9525 "conf" after a successful virConfReadFile.
9527 Plug two leaks: host.migrateTrans and arch.name
9528 * src/capabilities.c (virCapabilitiesFree): Free host.migrateTrans.
9529 (virCapabilitiesFreeGuest): Free arch.name member.
9531 Plug virCapabilities*GuestDomain leak.
9532 * src/capabilities.c (virCapabilitiesFreeGuestDomain): Free dom->type.
9533 (virCapabilitiesAddGuestDomain): Remove duplicate strdup stmt.
9535 Mon Mar 3 07:16:35 CET 2008 Daniel Veillard <veillard@redhat.com>
9537 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
9538 missing comments for _virDomainBlockStats fields
9539 * docs/*: rebuilt docs
9541 Fri Feb 29 18:01:14 CET 2008 Daniel Veillard <veillard@redhat.com>
9543 * qemud/Makefile.am: fix a broken line split
9545 Fri Feb 29 12:50:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9547 Many typos fixed (Atsushi SAKAI).
9549 Thu Feb 28 18:04:59 CET 2008 Jim Meyering <meyering@redhat.com>
9551 Rewrite test-coverage rules to accommodate multiple .o files per .c.
9552 * src/Makefile.am (cov): Rewrite rule to merge gcov results corresponding
9553 to two .o files: the libvirt_la- one, and the libvirt_test_la- one.
9554 (tst): Remove unused rule.
9555 * configure.in (LV_LIBTOOL_OBJDIR): Define and AC_SUBST.
9557 Avoid link errors with "configure --disable-shared".
9558 * src/Makefile.am: Create a convenience library, libvirt_test.la,
9559 and don't restrict access to *its* symbols.
9560 * tests/Makefile.am (LDADDS): Add ../src/libvirt_test.la, so that
9561 "configure --disable-shared" no longer provokes link errors.
9562 (LIBVIRT): Remove definition.
9563 (LDADDS): Remove use.
9564 ($(LIBVIRT)): Remove rule.
9565 (LDADDS): Use the new convenience library instead.
9566 (CLEANFILES): Define.
9567 * docs/examples/index.py (dump_Makefile): Append $(COVERAGE_LDFLAGS),
9568 to the LDADDS definition, to avoid link error with the combination of
9569 --enable-test-coverage and --disable-shared.
9570 * docs/examples/Makefile.am: Regenerate.
9571 * docs/examples/index.html: Likewise.
9572 * qemud/Makefile.am (libvirtd_LDFLAGS): Append $(COVERAGE_LDFLAGS).
9573 * src/libvirt_sym.version: Remove some SP-before-TAB.
9575 Thu Feb 28 12:16:39 CET 2008 Daniel Veillard <veillard@redhat.com>
9577 * src/qemu_conf.c: applied patch from Cole Robinson to use virErrorMsg
9578 in qemudReportError.
9580 Wed Feb 27 20:21:35 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9582 * src/bridge.c, src/bridge.h, src/qemu_conf.c: Set mac address
9583 on TUN device to work with Xenner
9585 Wed Feb 27 20:12:35 CET 2008 Jim Meyering <meyering@redhat.com>
9587 Make qemud/'s rpcgen rules work.
9588 * qemud/Makefile.am (SUFFIXES): Define to .x before implicit rule.
9590 Wed Feb 27 16:11:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9592 virMacAddrCompare for comparing MAC addresses
9593 * src/util.c, src/util.h, src/libvirt_sym.version: Added
9594 virMacAddrCompare utility function for comparing MAC
9596 * src/virsh.c, src/xm_internal.c: Use virMacAddrCompare
9597 to compare addresses. (Shigeki Sakamoto and Richard Jones).
9599 Wed Feb 27 15:39:10 CET 2008 Jim Meyering <meyering@redhat.com>
9601 Avoid "make distcheck" failure.
9602 * src/Makefile.am (virsh_SOURCES): Add util-lib.h.
9604 Fix a "make syntax-check" failure.
9605 * src/capabilities.c: Include <config.h> from the .c file,
9606 * src/capabilities.h: ... not from the .h file.
9608 Wed Feb 27 10:34:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9610 Fix typos (Atsushi SAKAI).
9612 Tue Feb 26 23:16:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9614 * src/capabilities.h, src/capabilities.c, src/Makefile.am:
9615 Add generic API for dealing with hypervisor capabilities
9616 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Switch
9617 to using capabilities API. Add support for Xenner guests
9618 * src/xen_internalc, src/xend_internal.c, src/xend_internal.h,
9619 src/xml.h, src/xml.c, src/util.c, src/util.h, src/test.c:
9620 Switch to using capabilities API
9621 * tests/xencapstest.c, tests/xencapsdata/*.xml: Update for
9622 changes to capabilities API
9623 * proxy/Makefile.am: Link to capabilities.c and util.c
9625 Tue Feb 26 18:38:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9627 Implement virDomainBlockStats for QEMU/KVM.
9628 * src/qemu_driver.c: Implement virDomainBlockStats for QEMU/KVM
9629 using QEMU/KVM 'info blockstats' command (Richard Jones).
9630 * src/qemu_driver.c, src/qemu_conf.h: const-correctness
9631 fixes (Jim Meyering).
9633 Tue Feb 26 18:28:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9635 No address attribute in Xen domain XML.
9636 * src/xm_internal.c: handle the case where <mac/> clause
9637 in Xen domain interface has no address attribute
9640 Tue Feb 26 08:02:57 CET 2008 Daniel Veillard <veillard@redhat.com>
9642 * src/driver.h src/libvirt.c src/openvz_driver.c src/qemu_driver.c
9643 src/remote_internal.c src/test.c src/util.c src/util.h
9644 src/xen_unified.c: added probe interface at the driver level,
9645 use that to improve default hypervisor selection in the absence
9646 of a given URI when connecting
9648 Mon Feb 25 14:53:59 CET 2008 Daniel Veillard <veillard@redhat.com>
9650 * src/Makefile.am src/util-lib.h: fix done with Jim to allow
9651 compilation of virsh with the static libraries.
9653 Mon Feb 25 10:59:43 CET 2008 Jim Meyering <meyering@redhat.com>
9655 Avoid new "make syntax-check" failures.
9656 * .x-sc_avoid_write: Exempt src/util-lib.c, too.
9657 * Makefile.maint (sc_unmarked_diagnostics): Filter out false positives.
9658 * src/storage_backend_fs.c (virStorageBackendFileSystemVolCreate):
9659 Use safewrite, not write.
9660 * src/storage_backend_logical.c (virStorageBackendLogicalBuildPool):
9663 Fri Feb 22 13:32:11 CET 2008 Jim Meyering <meyering@redhat.com>
9665 avoid format string warnings
9666 Avoid warnings like this:
9667 file:nnn:format not a string literal and no format arguments
9668 * qemud/qemud.c: Insert a "%s" format argument.
9669 * qemud/remote.c: Likewise.
9670 * src/iptables.c: Likewise.
9671 * src/qemu_driver.c: Likewise.
9672 * src/storage_backend.c: Likewise.
9673 * src/storage_backend_fs.c: Likewise.
9674 * src/storage_backend_iscsi.c Likewise.
9675 * src/storage_backend_logical.c: Likewise.
9676 * src/storage_conf.c: Likewise.
9677 * src/storage_driver.c: Likewise.
9679 Use safewrite in place of write, in many cases.
9680 Also add "make syntax-check" rules to ensure no new uses sneak in.
9681 * Makefile.maint (sc_avoid_write): New rule, to avoid recurrence.
9682 * .x-sc_avoid_write: New file. Record two legitimate exemptions.
9683 * qemud/qemud.c (sig_handler, qemudClientWriteBuf): Use safewrite,
9685 * src/conf.c (__virConfWriteFile): Likewise.
9686 * src/qemu_conf.c (qemudSaveConfig, qemudSaveNetworkConfig): Likewise.
9687 * src/qemu_driver.c (qemudWaitForMonitor, qemudStartVMDaemon)
9688 (qemudVMData, PROC_IP_FORWARD): Likewise.
9689 * proxy/libvirt_proxy.c: Include "util.h".
9690 (proxyWriteClientSocket): Use safewrite.
9691 * src/test.c (testDomainSave, testDomainCoreDump): Likewise.
9692 * src/proxy_internal.c (virProxyWriteClientSocket): Likewise.
9693 * src/virsh.c: Include "util-lib.h".
9694 (vshOutputLogFile): Use safewrite.
9695 * src/console.c: Include "util-lib.h".
9696 (vshRunConsole): Use safewrite.
9698 Move safewrite and saferead to a separate file.
9699 * src/util.c (saferead, safewrite): Move function definitions to
9700 util-lib.c and include that .c file.
9701 * src/util-lib.c (saferead, safewrite): New file.
9702 Functions from src/util.c with slight change (s/int r =/ssize_t r =/)
9703 to reflect read/write return type.
9704 * src/util-lib.h: Declare the two moved functions.
9705 * src/util.h: Remove declarations. Include src/util-lib.h.
9706 * proxy/Makefile.am (libvirt_proxy_SOURCES): Add src/util-lib.c.
9707 * qemud/Makefile.am (libvirtd_SOURCES): Likewise.
9708 * src/Makefile.am (virsh_SOURCES): Add util-lib.c.
9709 Remove some SP-before-TAB.
9711 With --enable-iptables-lokkit=no, avoid warning about unused parameter.
9712 * src/iptables.c (iptRulesSave) [!ENABLE_IPTABLES_LOKKIT]:
9713 Mark parameter as used.
9715 With --without-xen, avoid warning about unused function.
9716 * tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define.
9718 Thu Feb 21 19:22:10 CET 2008 Jim Meyering <meyering@redhat.com>
9720 Rewrite openvzSetUUID.
9721 * src/openvz_conf.c (openvzSetUUID): Rewrite to avoid unchecked
9722 lseek, write, and close as well as a potential file descriptor leak.
9724 Handle failed openvzLocateConfDir.
9725 * src/openvz_conf.c (openvzLocateConfDir, openvzGetVPSUUID):
9726 (openvzSetUUID): Don't dereference NULL upon failure.
9728 Thu Feb 21 15:17:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
9730 Fix double-free in OpenVZ driver.
9731 * src/openvz_conf.c: Double-free fix (Anton Protopopov).
9733 Wed Feb 20 22:48:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9735 * src/libvirt_sym.version: Added missing virStorageVolGetConnect
9737 Wed Feb 20 18:24:39 CET 2008 Jim Meyering <meyering@redhat.com>
9739 Avoid "make syntax-check" failure.
9740 * docs/examples/index.py: Don't emit trailing blanks.
9741 * docs/examples/Makefile.am: Regenerate.
9743 Wed Feb 20 11:52:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9745 * qemud/remote.c: Update to non-deprecated PolicyKit apis
9746 * src/libvirt.c: call out to polkit-grant/polkit-auth to
9748 * po/*.po, po/libvirt.pot: Re-generate for new translatable
9750 * configure.in: Add test for polkit apis & CLI programs
9752 Wed Feb 20 11:03:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9754 * po/*.po, po/libvirt.pot: Re-generate to pull in latest
9755 strings from storage APIs
9756 * docs/libvirt-api.xml, docs/libvirt-refs.xml: Re-generate
9758 Wed Feb 20 10:50:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9760 * docs/libvir.html, docs/site.xsl: Added webpage describing
9761 the storage management capabilities
9762 * docs/*.html: Re-generate content
9764 Wed Feb 20 10:49:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9766 * src/test.c: no-op stub impl of storage APIs
9768 Wed Feb 20 10:46:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9770 * configure.in: Added check for parted tool & libraries
9771 * libvirt.spec.in: Added dep on parted
9772 * po/POTFILES.in: Added storage_backend_disk.c
9773 * src/Makefile.am, src/storage_backend.c, src/parthelper.c,
9774 src/storage_backend_disk.c, src/storage_backend_disk.h: Added
9775 disk partition storage pool backend
9777 Wed Feb 20 10:44:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9779 * configure.in: Added check for iscsiadm tool
9780 * libvirt.spec.in: Added dep on iscsi-initiator-utils
9781 * po/POTFILES.in: Added storage_backend_iscsi.c
9782 * src/Makefile.am, src/storage_backend.c,
9783 src/storage_backend_iscsi.c, src/storage_backend_iscsi.h:
9784 Added iSCSI storage pool backend
9786 Wed Feb 20 10:42:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9788 * qemud/qemud.c: Set close-on-exec flag for signal pipe
9790 Wed Feb 20 10:39:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9792 * configure.in: Added checks for LVM tools
9793 * docs/storage/pool-logical.xml: Example XML description
9794 * libvirt.spec.in: Added dep on LVM tools
9795 * po/POTFILES.in: Added storage_backend_logical.c
9796 * src/Makefile.am, src/storage_backend.c,
9797 src/storage_backend_logical.c, src/storage_backend_logical.h:
9798 Added logical volume backend
9800 Wed Feb 20 10:32:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9802 * configure.in: Add checks for mount/unmount/qemu-img/qcow-create
9803 * docs/storage/*.xml: Add some example XML configs for storage
9804 * libvirt.spec.in: Added deps on qemu-img and/or qcow-create,
9806 * src/Makefile.am, src/storage_backend.c, src/storage_backend_fs.c,
9807 src/storage_backend_fs.h: Add impl of directory, filesystem &
9808 network filesystem pools.
9809 * po/POTFILES.in: Added storage_backend_fs.c
9811 Wed Feb 20 10:32:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9813 * configure.in: Add check for selinux library
9814 * libvirt.spec.in: Add BuildRequires on libselinux-devel
9815 * src/Makefile.am, tests/Makefile.am: Add selinux build flags
9816 * src/storage_backend.c, src/storage_backend.h: Add some
9817 helper routines for storage backend impls
9819 Wed Feb 20 10:26:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9821 * Makefile.maint: Add virStorageReportError to locale check rule
9822 * configure.in: Turn on large file support
9823 * po/POTFILES.in: Add storage driver files
9824 * include/libvirt/virterror.h, src/virterror.c: Add more error codes
9825 * src/storage_driver.c, src/storage_driver.h: Add impl of all the
9827 * src/storage_conf.c, src/storage_conf.h: Support routines for
9828 parsing and formatting XML, and persisting storage pool configs
9829 * src/storage_backend.c, src/storage_backend.h: Contract for
9830 internal storage backends to interface with driver
9831 * src/Makefile.am: Add new storage source files to library build
9833 Wed Feb 20 10:23:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9835 * src/virsh.c: Added convenience methods for creating pools
9836 and volumes without XML
9837 * src/buf.c, src/buf.h, src/libvirt_sym.version: Export the
9838 virBuffer* methods to virsh
9839 * src/xend_internal.c, src/xm_intenral.c, src/xml.c,
9841 * src/util.c, src/util.h: Export virStrToLong_ull to virsh
9843 Wed Feb 20 10:22:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9845 * src/virsh.c: Added commands for all storage APIs
9847 Wed Feb 20 10:20:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9849 * python/generator.py, python/libvir.c, python/libvirt_wrap.h,
9850 python/types.c: Add binding for storage APIs
9852 Wed Feb 20 10:18:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9854 * src/remote_internal.c: Implement storage APIs in remote
9855 driver. Replace memset+malloc with calloc. Replace strcmp
9858 Wed Feb 20 10:17:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9860 * qemud/remote.c: Add binding for storage APIs
9861 * qemud/remote_protcol.x: Add wire format definition for storage
9863 * qemud/remote_protocol.{c,h}: Re-generated
9864 * qemud/remote_dispatch*: Re-generated
9866 Wed Feb 20 10:15:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9868 * docs/libvirt-api.xml, docs/libvirt-refs.xml, docs/devhelp/*:
9869 re-generate docs to include latest API details
9871 Wed Feb 20 10:01:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9873 * include/libvirt/virterror.h, src/virterror.c: Add error codes
9874 for storage API drivers
9875 * src/internal.h, src/hash.c: Add internal storage object structs
9876 * src/driver.h: internal driver API for storage management
9877 * src/libvirt.c: hook up storage API to internal driver API
9879 Wed Feb 20 09:51:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9881 * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
9882 src/libvirt_sym.version: Add public API for storage management
9884 Wed Feb 13 22:51:27 CET 2008 Jim Meyering <meyering@redhat.com>
9886 Pull useless-if-before-free from gnulib, and update.
9887 * bootstrap (gnulib_tool): Add useless-if-before-free to
9888 the list of modules.
9889 * build-aux/useless-if-before-free: Update from gnulib.
9890 * gnulib/lib/vasnprintf.c: Work around a bug in HPUX 10.20.
9891 * gnulib/m4/vasnprintf.m4: Likewise.
9893 Tue Feb 12 9:44:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>
9895 * .x-sc_trailing_blank: ignore NEWS / ChangeLog file
9897 Mon Feb 11 17:05:53 CET 2008 Daniel Veillard <veillard@redhat.com>
9899 * docs/libvir.html docs/format.html: fixes the examples on the
9900 section about ethernet bridging, as raised by Maxwell Bottiger,
9903 Thu Feb 7 09:10:18 IST 2008 Mark McLoughlin <markmc@redhat.com>
9905 Fix gcc-4.3.0 "inlining failed" warning.
9907 * src/internal.h: move xstrol() variants from here ...
9909 * src/util.[ch]: ... to here and rename to virStrToLong()
9911 * src/libvirt_sym.version: export __virStrToLong_i() for
9914 * src/nodeinfo.c, src/stats_linux.c, src/virsh.c,
9915 src/xend_internal.c, qemud/qemud.c: replace xstrtol()
9916 calls with virStrToLong()
9918 * src/nodeinfo.h: don't include internal.h, which was only
9919 needed for xstrtol(), but instead include libvirt.h which
9920 is suffificient for the declarations in the header.
9922 Thu Feb 7 20:19:19 CET 2008 Jim Meyering <meyering@redhat.com>
9924 Enable another syntax-check rule.
9925 * Makefile.cfg (local-checks-to-skip): Remove sc_no_have_config_h.
9926 * qemud/mdns.c: Remove "#ifdef HAVE_CONFIG_H".
9927 * Makefile.maint (sc_no_have_config_h): Tighten up regexp,
9928 so that the above mention of "HAVE_CONFIG_H" doesn't match.
9929 * .x-sc_no_have_config_h: New file, to exempt gnulib/ straggler.
9931 * autobuild.sh: Run "make syntax-check", so the autobuilder does this.
9933 Thu Feb 7 18:02:22 CET 2008 Daniel Veillard <veillard@redhat.com>
9935 * qemud/remote.c: fix a missing ')' introduced earlier
9937 Thu Feb 7 17:46:14 CET 2008 Daniel Veillard <veillard@redhat.com>
9939 * src/hash.c: fix a couple of problems in virHashRemoveSet based
9940 on Hiroyuki Kaguchi patch and explanations.
9942 Thu Feb 7 17:48:30 CET 2008 Jim Meyering <meyering@redhat.com>
9944 Mark all qemudLog diagnostics for translation.
9945 * po/POTFILES.in: Add names of many new files.
9946 * Makefile.maint (err_func_re): Add qemudLog.
9947 Mark diagnostics with _(...). Split some long lines.
9948 * qemud/qemud.c (remoteCheckCertFile, remoteInitializeGnuTLS):
9949 (qemudDispatchSignalEvent, qemudSetCloseExec, qemudSetNonBlock):
9950 (qemudWritePidFile, qemudListenUnix, remoteMakeSockets):
9951 (remoteListenTCP, qemudInitPaths, qemudInitialize):
9952 (qemudNetworkInit, remoteInitializeTLSSession, remoteCheckDN):
9953 (remoteCheckCertificate, remoteCheckAccess, qemudDispatchServer):
9954 (qemudClientReadBuf, qemudDispatchClientRead):
9955 (qemudClientWriteBuf, qemudDispatchClientWrite, qemudOneLoop):
9956 (remoteConfigGetStringList, checkType, GET_CONF_STR):
9957 (remoteConfigGetAuth, remoteReadConfigFile, main):
9958 * qemud/remote.c (remoteDispatchAuthSaslInit, remoteSASLCheckSSF):
9959 (remoteSASLCheckAccess, remoteDispatchAuthSaslStart):
9960 (remoteDispatchAuthSaslStep, remoteDispatchAuthSaslInit):
9961 (remoteDispatchAuthSaslStart, remoteDispatchAuthSaslStep):
9962 (qemudGetSocketIdentity, remoteDispatchAuthPolkit):
9963 * src/iptables.c (notifyRulesUpdated, MAX_FILE_LEN, iptRulesSave):
9965 * src/qemu_conf.c (qemudExtractVersionInfo, qemudLoadConfig):
9966 (qemudLoadNetworkConfig, qemudScanConfigDir):
9967 * src/qemu_driver.c (qemudSetCloseExec, qemudSetNonBlock):
9968 (qemudAutostartConfigs, qemudStartup, qemudReload):
9969 (qemudWaitForMonitor, qemudStartVMDaemon, qemudVMData):
9970 (qemudShutdownVMDaemon, qemudStartNetworkDaemon):
9971 (qemudShutdownNetworkDaemon, qemudMonitorCommand):
9972 (qemudDomainUndefine, qemudNetworkUndefine):
9973 * src/uuid.c (virUUIDGenerate):
9974 * src/xm_internal.c (xenXMAttachInterface):
9976 Remove more useless if tests before "free"-like functions.
9977 * build-aux/useless-if-before-free: Rename from ...
9978 * build-aux/find-unnecessary-if-before-free: ... this. Remove file.
9979 Also changed it so that new names are no longer hard-coded in the
9980 script. Instead, they're supplied via options:
9981 * Makefile.cfg (useless_free_options): Define.
9982 Add xmlXPathFreeObject to the list of free-like functions it detects.
9983 * Makefile.maint (sc_avoid_if_before_free): Reflect script renaming.
9984 * .x-sc_avoid_if_before_free: Likewise.
9985 * src/openvz_conf.c (openvzParseXML): Remove useless "if"-before-free.
9986 * src/qemu_conf.c (qemudParseXML, qemudParseNetworkXML): Likewise.
9987 * src/virsh.c (cmdVNCDisplay, cmdTTYConsole, cmdDetachInterface):
9988 (cmdDetachDisk): Likewise.
9989 * src/xm_internal.c (xenXMConfigSetIntFromXPath): Likewise.
9990 (xenXMConfigSetStringFromXPath, xenXMParseXMLToConfig): Likewise.
9991 (xenXMDomainAttachDevice, xenXMAttachDisk, xenXMAttachInterface):
9992 (xenXMDomainDetachDevice): Likewise.
9993 * src/xml.c (virXPathString): Likewise.
9994 * tests/xmlrpctest.c (checkRequestValue): Likewise.
9996 2008-02-07 Jim Meyering <meyering@redhat.com>
9998 * src/xm_internal.c: Remove trailing blanks
9999 * NEWS, ChangeLog: Likewise.
10001 Thu Feb 7 10:19:12 IST 2008 Mark McLoughlin <markmc@redhat.com>
10003 * src/xen_internal.c: Don't crash if there's no
10004 /sys/hypervisor/capabilities
10006 Thu Feb 7 10:16:42 IST 2008 Mark McLoughlin <markmc@redhat.com>
10008 * src/iptables.c: Create directory for saving iptables rules
10010 Thu Feb 7 10:12:15 IST 2008 Mark McLoughlin <markmc@redhat.com>
10012 * src/xm_internal.[ch]: Move static function prototype from header
10014 Thu Feb 7 10:47:44 CET 2008 Daniel Veillard <veillard@redhat.com>
10016 * python/libvir.c: apply patch from Cole Robinson to provide
10017 return values for manulally written python bindings.
10019 Thu Feb 7 10:29:57 CET 2008 Daniel Veillard <veillard@redhat.com>
10021 * src/libvirt.c: fix bug in xenUnifiedDomainSuspend() patch provided
10024 Wed Feb 6 18:55:37 CET 2008 Daniel Veillard <veillard@redhat.com>
10026 * src/xm_internal.[ch]: applied patch from Shigeki Sakamoto to
10027 add/change/delete a Disk/NIC of an inactive domains
10029 Wed Feb 6 17:22:34 CET 2008 Daniel Veillard <veillard@redhat.com>
10031 * src/qemu_conf.c: applied 2 patches from Guido Guenther to avoid
10032 crashes when reading the config file
10034 Tue Feb 3 20:26:53 CET 2008 Jim Meyering <meyering@redhat.com>
10036 Fix new "make distcheck" failures.
10037 * src/xml.c (virDomainParseXMLOSDescHVM): Mark a diagnostic.
10039 Remove all trailing blanks; turn on the rule to detect them.
10040 * Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank.
10041 * .x-sc_trailing_blank: New file, to exempt the few binary files.
10043 Tue Feb 3 11:21:45 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10045 * src/xml.c, src/xend_internal.c: Allow use of kernel+initrd
10046 in HVM guests as well as PV
10047 * tests/xml2sexprdata/*, tests/sexpr2xmldata/*: Updated for
10048 slight changes in SXPR element ordering
10049 * tests/xml2sexprtest.c, tests/sexpr2xmltest.c: Add test
10050 case for new HVM kernel+initrd ability
10052 Tue Feb 3 15:21:45 CET 2008 Jim Meyering <meyering@redhat.com>
10054 Eliminate all uses of virBufferAdd with string literals.
10055 * Makefile.maint (sc_prohibit_virBufferAdd_with_string_literal):
10057 * src/buf.h (virBufferAddLit): Define.
10058 * src/conf.c (virConfSaveValue): Use virBufferAddLit, in place
10059 of virBufferAdd everywhere possible.
10060 (virConfSaveEntry): Likewise.
10061 * src/qemu_conf.c (qemudGenerateXML, qemudGenerateNetworkXML): Likewise.
10062 * src/qemu_driver.c (qemudGetFeatures, qemudGetCapabilities): Likewise.
10063 * src/test.c (testDomainDumpXML, testNetworkDumpXML): Likewise.
10064 * src/xen_internal.c (xenHypervisorMakeCapabilitiesXML): Likewise.
10065 * src/xend_internal.c (xend_parse_sexp_desc_os): Likewise.
10066 (xend_parse_sexp_desc, sexpr_to_xend_topology_xml): Likewise.
10067 * src/xm_internal.c (xenXMDomainFormatXML, xenXMDomainPinVcpu): Likewise.
10068 * src/xml.c (virSaveCpuSet, virParseXenCpuTopology): Likewise.
10069 (virDomainParseXMLGraphicsDescImage): Likewise.
10070 (virDomainParseXMLGraphicsDescVFB, virDomainParseXMLOSDescHVM): Likewise.
10071 (virDomainParseXMLOSDescPV, virDomainParseXMLDiskDesc): Likewise.
10072 (virDomainParseXMLIfDesc, virDomainParseXMLDesc): Likewise.
10074 Mon Feb 2 15:56:45 CET 2008 Jim Meyering <meyering@redhat.com>
10076 Enable more checks for unmarked messages; fix violators.
10077 * Makefile.maint (sc_unmarked_diagnostics): Check for more functions.
10078 * src/conf.c (virConfParseValue): Remove trailing space in diagnostic.
10079 * src/libvirt.c (do_open, virDomainMigrate): Mark diagnostics.
10080 * src/xend_internal.c (do_connect, xenDaemonDomainDumpXMLByID): Likewise.
10081 (xenDaemonDomainDumpXMLByName, xenDaemonCreateLinux): Likewise.
10082 (xenDaemonDomainMigratePerform, xenDaemonDomainDefineXML): Likewise.
10083 * src/xml.c (virXPathString, virXPathNumber, virXPathLong): Likewise.
10084 (virXPathBoolean, virXPathNode, virXPathNodeSet): Likewise.
10085 (virDomainParseXMLOSDescHVM): Likewise.
10086 * src/xmlrpc.c (xmlRpcValueNew): Likewise.
10087 (xmlRpcValueUnmarshalDictElement): Likewise.
10089 Mark a string for translation.
10090 * src/virsh.c: Add a "%s" and wrap with _(...).
10092 Enable the sc_unmarked_diagnostics test and correct all violations
10093 involving the "error" function.
10094 * Makefile.cfg (local-checks-to-skip): Remove from skip list.
10095 * src/remote_internal.c: Mark translatable strings.
10097 Fri Feb 1 20:46:07 CET 2008 Jim Meyering <meyering@redhat.com>
10099 Pull vc-list-files from gnulib, and update.
10100 * bootstrap (gnulib_tool): Add the vc-list-files module.
10102 Thu Jan 31 20:12:40 CET 2008 Guido Guenther <agx@sigxcpu.org>
10104 Avoid compilation failure when building --without-xen.
10105 * tests/statstest.c (testDevice) [!WITH_XEN]: #ifdef-out.
10106 (main) [!WITH_XEN]: #ifdef-out the body.
10108 Wed Jan 30 20:49:34 CET 2008 Jim Meyering <meyering@redhat.com>
10110 Avoid virsh leaks due to missing virDomainFree(dom) calls
10111 * src/virsh.c (cmdDomuuid): Add missing virDomainFree call.
10112 (cmdAttachDevice): Likewise.
10113 (cmdDetachDevice): Likewise.
10115 * src/virsh.c (cmdCapabilities): Plug a small leak.
10117 * src/test.c (testLoadDomain): Avoid leaks upon failure.
10119 Avoid used-uninitialized errors in test driver.
10120 * src/test.c (testOpenFromFile): Initialize "privconn".
10122 * src/libvirt.c (do_open): Avoid double-free upon failure.
10124 Avoid segfault upon malloc failure, and plug a leak.
10125 * src/test.c (testDomainSave): Detect testDomainDumpXML failure.
10128 Plug test-related leaks.
10129 * src/test.c (testLoadNetwork): Free forwardDev.
10130 (testLoadDomain): Free ctxt.
10131 (testLoadNetwork): Likewise.
10132 (testOpenFromFile): Likewise.
10134 Wed Jan 30 13:18:25 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10136 * src/hash.c: Remove double mutex lock() flaw
10138 Wed Jan 30 11:35:25 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10140 * src/xend_internal.c: Fix SXPR -> XML conversion for USB
10142 * tests/sexpr2xmldata/sexpr2xml-fv-usbmouse.sexpr,
10143 tests/sexpr2xmldata/sexpr2xml-fv-usbtablet.sexpr: Fix test
10144 case SXPR to actually match what XenD produces for USB devices.
10146 Wed Jan 30 07:54:25 CET 2008 Jim Meyering <meyering@redhat.com>
10148 Arrange for "make syntax-check" to pass.
10149 * .x-sc_avoid_if_before_free: Exempt ChangeLog.
10150 * tests/statstest.c: Include <config.h>, not "config.h".
10152 Tue Jan 29 13:33:25 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10154 * src/stats_linux.c, src/stats_linux.h: Fix conversion of device
10155 names into device numbers
10156 * tests/.cvsignore, tests/Makefile.am, tests/statstest.c: Add
10157 test case to validate device name -> number conversion
10159 Tue Jan 29 18:39:25 CET 2008 Jim Meyering <meyering@redhat.com>
10161 Also detect and remove unnecessary if-before-xmlXPathFreeContext.
10162 * build-aux/find-unnecessary-if-before-free: Update regexp.
10163 * src/virsh.c: Remove unnecessary "if (P)"-before xmlXPathFreeContext.
10164 * src/openvz_conf.c: Likewise.
10165 * src/qemu_conf.c: Likewise.
10166 * src/xm_internal.c: Likewise.
10167 * src/xml.c: Likewise.
10168 * tests/xmlrpctest.c: Likewise.
10170 Enable two more tests.
10171 * Makefile.cfg (local-checks-to-skip)
10172 [sc_cast_of_x_alloc_return_value, sc_cast_of_argument_to_free]: Enable.
10174 Enable the <assert.h>-checking test; fix violations.
10175 * Makefile.cfg (local-checks-to-skip)
10176 [sc_prohibit_assert_without_use]: Enable.
10177 * qemud/mdns.c: Don't include <assert.h>; no uses of assert here.
10178 * qemud/qemud.c: Likewise.
10179 * qemud/remote.c: Likewise.
10181 Enable the po-check test; fix violations.
10182 * Makefile.cfg (local-checks-to-skip) [po-check]: Enable.
10183 * po/POTFILES.in: Add three file names. Sort.
10186 * lib/poll.c: Update.
10187 * lib/string.in.h: Update.
10188 * m4/string_h.m4: Update.
10189 * tests/test-getaddrinfo.c: Update.
10190 * lib/Makefile.am: Regenerate.
10192 Enable the <config.h>-requiring test; fix violations
10193 Use <config.h>, not "config.h", per autoconf documentation.
10194 * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
10195 * .x-sc_require_config_h: New file, to list exempted files.
10196 * Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
10198 Enable the duplicate-"the" test; fix violations
10199 * Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable.
10200 * docs/virsh.pod: Remove a duplicate "the".
10201 * libvirt.spec.in: Likewise.
10202 * virsh.1: Likewise.
10204 Add framework for code style- and syntax-checking rules.
10205 Almost all tests are initially disabled via the list in Makefile.cfg.
10206 * Makefile.am (EXTRA_DIST): Add .x-sc_avoid_if_before_free.
10207 Omit names of files that automake includes automatically.
10208 * .x-sc_avoid_if_before_free: New file.
10209 * build-aux/vc-list-files: Likewise.
10210 * build-aux/find-unnecessary-if-before-free: Likewise.
10211 * GNUmakefile, Makefile.cfg, Makefile.maint: New files.
10213 Given code like if (foo) free (foo); remove the useless "if (foo) " part
10214 Likewise, given if (foo != NULL) free (foo); remove the useless "if"
10216 * proxy/libvirt_proxy.c: Remove unnecessary "if" test before free.
10217 * python/generator.py: Likewise.
10218 * qemud/qemud.c: Likewise.
10219 * src/buf.c: Likewise.
10220 * src/conf.c: Likewise.
10221 * src/hash.c: Likewise.
10222 * src/iptables.c: Likewise.
10223 * src/libvirt.c: Likewise.
10224 * src/openvz_conf.c: Likewise.
10225 * src/qemu_conf.c: Likewise.
10226 * src/qemu_driver.c: Likewise.
10227 * src/remote_internal.c: Likewise.
10228 * src/test.c: Likewise.
10229 * src/virsh.c: Likewise.
10230 * src/virterror.c: Likewise.
10231 * src/xen_internal.c: Likewise.
10232 * src/xen_unified.c: Likewise.
10233 * src/xend_internal.c: Likewise.
10234 * src/xm_internal.c: Likewise.
10235 * src/xml.c: Likewise.
10236 * src/xmlrpc.c: Likewise.
10237 * src/xs_internal.c: Likewise.
10238 * tests/testutils.c: Likewise.
10239 * tests/xencapstest.c: Likewise.
10240 * tests/xmconfigtest.c: Likewise.
10242 Fri Jan 25 12:00:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
10244 Clarify virsh documentation.
10245 * docs/virsh.pod: Clarify virsh documentation on when you can
10246 set memory and vCPUs.
10248 Fri Jan 25 10:46:32 CET 2008 Daniel Veillard <veillard@redhat.com>
10250 * src/xen_internal.c: fix an erronous use of VIR_DOMAIN_NONE instead
10251 of VIR_DOMAIN_NOSTATE (both defined as 0, no regression)
10253 Thu Jan 24 18:08:28 CET 2008 Daniel Veillard <veillard@redhat.com>
10255 * src/libvirt.c: Jay Gagnon pointed out that virDomainGetXMLDesc
10256 was failing with a non-zero flag value
10258 Thu Jan 24 10:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
10260 Correct typos in the documentation (Atsushi SAKAI)
10261 * README, libvirt.spec.in, docs/devhelp/html.xsl,
10262 docs/devhelp/index.html: Correct typos in the documentation.
10264 Wed Jan 23 14:36:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10266 * configure.in: Fix enablement of SASL
10268 Wed Jan 23 14:47:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
10270 Portability improvements for Mac OS X.
10271 * configure.in: Use PortableXDR if available.
10272 * qemud/internal.h: Use "socketcompat.h".
10273 * qemud/qemud.c: Use <signal.h>.
10274 * src/sexpr.c: Use <stdlib.h> instead of <malloc.h>.
10275 * src/socketcompat.h: Include <sys/un.h> for Mac OS X.
10277 Wed Jan 23 14:43:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
10279 Remove DOS line-endings.
10280 * src/socketcompat.h: Remove DOS line-endings in this file.
10282 Tue Jan 22 16:27:47 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10284 * configure.ac: Remove use of PKG_CHECK_EXISTS macro. Avoid
10285 lines going over 80 chars wide. Make sasl check automatic
10286 enable/disable as neccessary.
10287 * acinclude.m4: Added compatability macro for old pkg-config
10288 * src/gnutls_1_0_compat.h: Add compat for gnutls_cipher_algorithm_t
10290 Mon Jan 21 18:03:47 CET 2008 Jim Meyering <meyering@redhat.com>
10292 Avoid "may be used uninitialized" warning.
10293 * tests/xmconfigtest.c (testCompareParseXML): Initialize "old_priv".
10295 Mon Jan 21 11:18:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10297 * src/hash.c: Split the virFree* functions into virUnref*
10298 and virRelease*. Switch to use standard pthread_mutex_t type.
10299 * src/internal.h: Rename virFree* to virUnref*
10300 * src/qemu_driver.c: Remove bogus release of object in
10301 virDomainDestroy and virNetworkDestroy.
10302 * src/xend_internal.c, src/libvirt.c: Update to call virUnref*
10303 * src/xs_internal.c: Remove dead code & mark functions static
10305 Mon Jan 21 10:52:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10307 * python/generator.py: Abort with non-zero status if any functions
10308 are marked as failed.
10309 * python/libvir.c: Don't do manual virDomainFree/virNetworkFree/
10310 virConnectFree since the generator creates them without issue
10312 Mon Jan 21 10:39:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10314 * python/generator.py: mark VCPU / schedular related functions
10316 * python/libvirt-python-api.xml: Add new defs for VCPU/ schedular
10318 * python/libvir.c: Manual impl of VCPU/schedular functions
10320 Mon Jan 21 10:25:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10322 * src/util.c, src/util.h: Rename virFileReadAll to __virFileReadAll,
10323 and add macro for compat
10324 * src/libvirt_sym.version: Export __virFileReadAll
10325 * src/virsh.c: Use virFileReadAll for loading XML files
10327 Mon Jan 21 10:12:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10329 * src/openvz_driver.c: Remove no-op networking APIs
10331 Mon Jan 21 15:03:04 CET 2008 Jim Meyering <meyering@redhat.com>
10333 Adjust sexpr-related interfaces to be const-correct.
10334 * src/sexpr.c (sexpr_cons, append, sexpr_append, sexpr2string)
10335 (sexpr_lookup_key, sexpr_lookup, sexpr_node, sexpr_fmt_node):
10336 Add "const" attribute where appropriate.
10337 * src/xend_internal.c (sexpr_int, sexpr_float, sexpr_u64)
10338 (sexpr_uuid, sexpr_to_xend_domain_info, sexpr_to_xend_node_info)
10339 (sexpr_to_xend_topology_xml, sexpr_to_domain): Likewise.
10340 * src/sexpr.h: Adjust prototypes.
10342 Don't access line[-1] for a zero-length "line" from fgets.
10343 A NUL byte at beginning of input, or just after a newline
10344 would provoke an invalid buf[-1] access (possible segfault).
10345 * src/libvirt.c (virConnectAuthCallbackDefault):
10347 Mon Jan 21 09:25:12 CET 2008 Daniel Veillard <veillard@redhat.com>
10349 * src/xml-internal.c: apply patch from Hiroyuki Kaguchi to
10350 preserve the vif list order.
10352 Mon Jan 21 09:06:28 CET 2008 Daniel Veillard <veillard@redhat.com>
10354 * docs/API* docs/api.xsl docs/site.xsl docs/Makefile.am: remove the
10355 generation of the API*.html files as it's not really useful here
10357 Sun Jan 20 11:01:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10359 * src/internal.h: Add xstrtol_ull, xstrtol_ll convenience
10362 Sun Jan 20 10:54:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10364 * src/xend_internal.c: Fix nodeinfo compat with Xen 3.2.0 and
10365 add sanity checking of data
10367 Sat Jan 19 13:32:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10369 * src/configure.in: enable debug by default. print status of
10370 compiler warning flags in configure summary
10371 * src/internal.h: Provide a generic VIR_DEBUG macro for logging
10372 * src/libvirt.c, src/remote_internal.c, src/xen_unified.c,
10373 src/xend_internal.c: Use generic VIR_DEBUG macro for logging.
10374 Enable debug when env var LIBVIRT_DEBUG=1
10376 Thu Jan 17 23:12:42 CET 2008 Jim Meyering <meyering@redhat.com>
10378 Handle PyTuple_New's malloc failure.
10379 * python/libvir.c (libvirt_virDomainBlockStats): Handle a NULL
10380 return from PyTuple_New.
10381 (libvirt_virDomainInterfaceStats, libvirt_virGetLastError): Likewise.
10382 (libvirt_virConnGetLastError): Likewise.
10384 Factor out some duplication.
10385 * python/libvir.c (VIR_PY_NONE): New macro, to encapsulate
10386 a common two-statement sequence.
10387 Replace all such 2-stmt sequences.
10389 Avoid format string warnings.
10390 * src/virsh.c: Add "%s" where needed.
10391 * src/proxy_internal.c: Likewise.
10393 Tue Jan 15 16:25:57 CET 2008 Jim Meyering <meyering@redhat.com>
10395 * docs/examples/examples.xml: Regenerate, now that *.c file names
10398 Tue Jan 15 10:01:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10400 * src/qemu_conf.h, src/qemu_conf.c: Add support for 'keymap'
10401 parameter wrt to VNC servers (Daniel Hokka Zakrisson)
10403 Tue Jan 15 09:18:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10405 * src/remote_internal.c: Fix off by one in checking SSH
10406 argv for NULL. Fix format args in error message to avoid
10409 2008-01-14 Jim Meyering <meyering@redhat.com>
10411 Update files from gnulib.
10412 * gnulib/lib/Makefile.am: Update.
10413 * gnulib/lib/float.in.h: Likewise.
10414 * gnulib/lib/fseeko.c: Likewise.
10415 * gnulib/lib/printf-parse.c: Likewise.
10416 * gnulib/lib/stdint.in.h: Likewise.
10417 * gnulib/lib/stdio.in.h: Likewise.
10418 * gnulib/lib/stdlib.in.h: Likewise.
10419 * gnulib/lib/string.in.h: Likewise.
10420 * gnulib/lib/unistd.in.h: Likewise.
10421 * gnulib/lib/vasnprintf.h: Likewise.
10422 * gnulib/m4/alloca.m4: Likewise.
10423 * gnulib/m4/float_h.m4: Likewise.
10424 * gnulib/m4/gnulib-comp.m4: Likewise.
10425 * gnulib/m4/stdlib_h.m4: Likewise.
10426 * gnulib/m4/string_h.m4: Likewise.
10427 * gnulib/m4/unistd_h.m4: Likewise.
10428 * gnulib/tests/Makefile.am: Likewise.
10429 * gnulib/tests/test-fseeko.c: Likewise.
10431 Clean up the global name space.
10432 * src/qemu_conf.c: Add "static" and "const" attributes to some globals.
10433 * src/qemu_conf.h: Update a declaration.
10434 * src/qemu_driver.c (qemud_driver): Declare static.
10436 Clean up global name space in examples and tests.
10437 * docs/examples/suspend.c: Declare global "conn" to be static.
10438 * tests/qemuxml2argvtest.c: Declare global "driver" to be static.
10439 * tests/qemuxml2xmltest.c: Likewise.
10441 Sun Jan 13 22:59:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10443 * src/remote_internal.c: Refactor code to make error patches
10444 clearer (Jim Meyering).
10446 Sun Jan 13 22:53:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10448 * src/remote_internal.c: Fix crash when server has auth type
10449 enabled but client has no auth callback
10451 Thu Jan 10 14:40:53 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10453 * src/iptables.c: fix an unused variable warning.
10455 Thu Jan 10 13:59:15 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10457 * src/iptables.[ch]: add iptablesSaveRules(), and don't
10458 save the rules to disk and run lokkit each time a new
10461 * src/qemu_driver.c: use iptablesSaveRules()
10463 Thu Jan 10 13:57:56 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10465 * src/iptables.c: now that we only use built-in iptables
10466 chains, we don't need to add or delete them
10468 Thu Jan 10 13:56:33 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10470 Like --with-iptables-prefix, --with-iptables-dir is no
10471 longer useful, so let's remove it.
10473 * configure.in, src/iptables.c: remove --with-iptables-dir
10475 Thu Jan 10 13:54:10 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10477 --with-iptables-prefix was added to integrate with
10478 a proposed system for letting iptables know how to
10479 reload our rules. The proposed system wasn't accepted
10480 so, although there might be some other theoretical
10481 use for this, let's just remove it.
10483 * configure.in, src/iptables.c: remove --with-iptables-prefix
10485 Thu Jan 10 13:52:05 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10487 Add support for integrating our iptables support with
10488 Fedora's iptables configuration using the lokkit --custom-rules
10491 Basically, we write out our rules to /var/lib/libvirt/iptables
10492 and run lokkit --custom-rules so that if e.g. iptables is
10493 restarted or the user edits their firewall configuration,
10494 then libvirt's rules get reloaded.
10496 * configure.in: Add --enable-iptables-lokkit
10498 * src/iptables.c: Add support for lokkit
10500 Thu Jan 10 13:51:00 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10502 * src/iptables.c: Include the iptables command and chain
10503 name in the saved rules files
10505 Thu Jan 10 13:50:11 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10507 * src/iptables.c: Re-name the "flipflop" variable to "command_idx"
10509 Thu Jan 10 13:49:01 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10511 * src/iptables.c: make use of virFileMakePath(),
10512 virFileBuildPath() and virRun().
10514 Thu Jan 10 13:48:01 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10516 * src/iptables.c: Fix compile error in --with-iptables-dir code
10518 Thu Jan 10 13:46:14 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10520 * src/util.c: change virExec() such that with --enable-debug,
10521 stdout and stderr no longer go to /dev/null.
10523 Thu Jan 10 13:44:17 GMT 2008 Mark McLoughlin <markmc@redhat.com>
10525 * src/util.[ch]: Add virRun() helper function (Dan Berrange)
10527 Wed Jan 9 16:04:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10529 * src/xen_internal.c: Ensure cpumap is at least 8 bytes long
10530 when doing hypercall (Saori Fukuta)
10532 Wed Jan 9 10:55:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10534 * src/qemu_driver.c: Wire up to system_shutdown command for
10535 graceful ACPI triggered shutdown process (Guido Guenther)
10537 Tue Jan 8 12:48:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10539 * src/util.c: cast off_t to int in debug output to avoid warning
10541 Tue Jan 8 11:12:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10543 * src/util.c: Fix addr passed to free() in error cleanup
10545 Mon Jan 7 10:19:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10547 * src/util.c, src/util.h: virFileReadAll() now allocates its
10549 * src/conf.c: Use virFileReadAll() to avoid truncating config
10551 * src/qemu_conf.c: Update for new virFileReadAll() contract
10552 * tests/test_conf.sh, tests/confdata/libvirtd.conf,
10553 tests/libvirtd.out: New test case for large config file
10555 Sat Jan 5 16:02:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
10557 Miscellaneous fixes for building on Windows (MinGW).
10558 * configure.in: xdr functions may require -lxdr.
10559 * configure.in, src/Makefile.am: Extra linking flags for
10560 building libvirt DLL.
10561 * src/socketcompat.h: Hide Windows Winsock incompatibilities
10562 in a separate header file.
10563 * src/remote_internal.c: Switch to using socketcompat.h /
10565 * src/test.c: Switch to using socketcompat.h.
10566 * gnulib/lib/arpa/.cvsignore: Ignore another generated file.
10567 * src/qparams.c: Include <config.h>.
10569 Wed Jan 2 17:45:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>
10571 * src/remote_internal.c: fix policykit auth handling of NULL
10572 callbacks to not crash
10574 Wed Dec 26 06:38:53 CET 2007 Daniel Veillard <veillard@redhat.com>
10576 * src/openvz.c: patch from Mikhail Pokidko to fix the OpenVZ
10577 compilation error #426385
10579 Tue Dec 18 00:18:33 CET 2007 Daniel Veillard <veillard@redhat.com>
10581 * configure.in docs/libvir.html docs/news.html po/*:
10582 prepare release of libvirt-0.4.0
10584 Mon Dec 17 18:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10586 * libvirt.spec.in: Added dep on 'nc'
10588 Mon Dec 17 18:03:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10590 * src/xend_internal.c: Compatability with Xen 3.2.0 changed
10591 fields for physinfo data used by virNodeInfoPtr.
10593 Mon Dec 17 17:38:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10595 Fix remote_internal.c error handling of qparam_get_query
10596 * src/remote_internal.c: Fixed reversed check of error handling
10597 of qparam_get_query call (Dan Berrange).
10599 Mon Dec 17 10:05:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10601 Add separate qparams module for handling query parameters.
10602 * src/qparams.c, src/qparams.h, src/Makefile.am: Added a
10603 separate 'qparams' module for handling query parameters.
10604 * src/remote_internal.c: Factor out query parameter code so
10605 it uses the 'qparams' module.
10607 Mon Dec 17 10:01:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10609 Add extra utility functions to buf.c
10610 * src/buf.c, src/buf.h: Added utility functions
10611 virBufferURIEncodeString and virBufferAddChar to the
10614 Sat Dec 15 12:12:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10616 * src/libvirt.c: Return error code if passed unsupported
10618 * src/remote_internal.c: Don't run callback if it doesn't
10619 support the VIR_CRED_EXTERNAL credential type
10621 Fri Dec 14 16:50:14 CET 2007 Daniel Veillard <veillard@redhat.com>
10623 * src/xm_internal.c: patch from Saori Fukuta to fix setting
10624 CPU parameters in the config files, the value was overwritten
10626 Fri Dec 14 16:36:02 CET 2007 Daniel Veillard <veillard@redhat.com>
10628 * src/xs_internal.[ch]: patch from Saori Fukuta to fix the
10629 detach-disk command when using Xen tap devices.
10630 * docs/libvir.html: typo fix from Jim Meyering
10632 Wed Dec 12 16:42:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10634 Fix virBufferEscapeString escaping of '<'
10635 * src/buf.c (virBufferEscapeString): '<' escaped as "<"
10637 Wed Dec 12 09:11:44 CET 2007 Jim Meyering <meyering@redhat.com>
10639 Always build in python/ subdir.
10640 * configure.in (PYTHON_SUBDIR): Don't set. Remove all uses.
10641 * Makefile.am (SUBDIRS): Hard-code "python" here.
10642 (tests): Test equivalent "$(pythondir)", not @PYTHON_SUBDIR@.
10644 Wed Dec 12 08:20:07 CET 2007 Jim Meyering <meyering@redhat.com>
10646 Accommodate automake-1.9.
10647 * tests/Makefile.am (TESTS_ENVIRONMENT): Adjust PATH setting
10648 to work also with automake-1.9. Can't use $(abs_top_builddir).
10650 Tue Dec 11 22:56:47 CET 2007 Jim Meyering <meyering@redhat.com>
10652 Use a variable name as sizeof argument, not a type name.
10653 Given code like: T *var = calloc (n, sizeof (T));
10654 Convert to this: T *var = calloc (n, sizeof (*var));
10655 This first-cut change adjusts all malloc, calloc, and
10656 realloc statements.
10657 The only binary differences are in remote_internal.c
10658 (due to the bug fix) and in xmlrpc.c (due to factorization).
10659 * python/libvir.c: As above.
10660 * qemud/event.c: Likewise.
10661 * qemud/mdns.c: Likewise.
10662 * qemud/qemud.c: Likewise.
10663 * qemud/remote.c: Likewise.
10664 * src/bridge.c: Likewise.
10665 * src/buf.c: Likewise.
10666 * src/conf.c: Likewise.
10667 * src/hash.c: Likewise.
10668 * src/iptables.c: Likewise.
10669 * src/openvz_conf.c: Likewise.
10670 * src/qemu_conf.c: Likewise.
10671 * src/qemu_driver.c: Likewise.
10672 * src/test.c: Likewise.
10673 * src/xen_internal.c: Likewise.
10674 * src/xen_unified.c: Likewise.
10675 * src/xm_internal.c: Likewise.
10676 * src/xml.c: Likewise.
10677 * tests/qemuxml2argvtest.c: Likewise.
10678 * src/xmlrpc.c (xmlRpcValuePtr): Likewise, and minor factorization.
10679 * src/remote_internal.c (remoteAuthMakeCredentials): Use the right
10680 type when allocating space for an array of cred _pointers_.
10682 Tue Dec 11 22:19:22 CET 2007 Jim Meyering <meyering@redhat.com>
10684 Test libvirtd's config-processing code.
10685 And remove a minor diagnostic inconsistency.
10686 * tests/daemon-conf: New test.
10687 * tests/Makefile.am (TESTS_ENVIRONMENT): Prepend qemud/ to PATH,
10688 so we can invoke libvirtd without an absolute name.
10689 (test_scripts): Add daemon-conf.
10690 * qemud/qemud.c (remoteConfigGetAuth): Use checkType,
10691 rather than open-coding it with a different diagnostic.
10693 Mon Dec 10 19:25:22 CET 2007 Jim Meyering <meyering@redhat.com>
10695 Add gnulib-tool unit tests.
10696 * bootstrap: Re-add --with-tests, now that gnulib-tool
10697 arranges to use separate libraries for lib/ and tests/.
10698 * configure.in (AC_OUTPUT): Add gnulib/tests/Makefile.in.
10699 * Makefile.am (SUBDIRS): Add gnulib/tests.
10700 * gnulib/tests/Makefile.am: New file.
10701 * gnulib/lib/.cvsignore: Sort.
10702 * gnulib/lib/Makefile.am, gnulib/m4/getdelim.m4, gnulib/m4/getline.m4:
10703 * gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-comp.m4: Regenerate.
10704 * gnulib/tests/test-alloca-opt.c: New file, from gnulib.
10705 * gnulib/tests/test-arpa_inet.c: Likewise.
10706 * gnulib/tests/test-fseeko.c: Likewise.
10707 * gnulib/tests/test-fseeko.sh: Likewise.
10708 * gnulib/tests/test-getaddrinfo.c: Likewise.
10709 * gnulib/tests/test-getdelim.c: Likewise.
10710 * gnulib/tests/test-getline.c: Likewise.
10711 * gnulib/tests/test-lseek.c: Likewise.
10712 * gnulib/tests/test-lseek.sh: Likewise.
10713 * gnulib/tests/test-netinet_in.c: Likewise.
10714 * gnulib/tests/test-snprintf.c: Likewise.
10715 * gnulib/tests/test-stdbool.c: Likewise.
10716 * gnulib/tests/test-stdint.c: Likewise.
10717 * gnulib/tests/test-stdio.c: Likewise.
10718 * gnulib/tests/test-stdlib.c: Likewise.
10719 * gnulib/tests/test-string.c: Likewise.
10720 * gnulib/tests/test-sys_select.c: Likewise.
10721 * gnulib/tests/test-sys_socket.c: Likewise.
10722 * gnulib/tests/test-sys_stat.c: Likewise.
10723 * gnulib/tests/test-sys_time.c: Likewise.
10724 * gnulib/tests/test-unistd.c: Likewise.
10725 * gnulib/tests/test-vasnprintf.c: Likewise.
10726 * gnulib/tests/test-vasprintf.c: Likewise.
10727 * gnulib/tests/test-wchar.c: Likewise.
10728 * gnulib/tests/dummy.c: Likewise.
10729 * gnulib/tests/intprops.h: Likewise.
10730 * gnulib/tests/verify.h: Likewise.
10732 Sat Dec 8 18:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10734 * gnulib/lib/arpa/inet.h: Remove autogenerated file
10736 Fri Dec 7 10:25:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10738 * gnulib/m4/getdelim.m4, gnulib/m4/getline.m4: Remove bogus
10739 AC_PREREQ(2.60) since it works fine without this
10741 Fri Dec 7 10:16:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10743 * configure.in: ensure $prefix is quoted in conditional test
10745 Fri Dec 7 14:55:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10747 * proxy/Makefile.am: Include gnulib code when building the
10750 Fri Dec 7 14:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10752 * src/console.c, src/console.h, src/virsh.c: Disable
10753 text console on Windows.
10754 * src/libvirt.c: Use replacement getpass from Gnulib.
10755 * src/libvirt.c: Initialize Winsock before use.
10756 * src/remote_internal.c: Header file fixes for Windows.
10757 Don't fail if AI_ADDRCONFIG isn't defined. Disable
10758 unsupported stuff under Windows.
10759 * src/uuid.c: ENODATA unavailable on Windows, use EIO instead.
10760 * src/virsh.c: No uid_t / getuid on Windows.
10761 * src/virsh.c: No O_SYNC on Windows.
10763 Fri Dec 7 14:47:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10765 * src/internal.h: Use gnulib gettext library. Define
10766 INET_ADDRSTRLEN unless already defined.
10768 Fri Dec 7 14:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10770 * src/.cvsignore: Ignore *.loT files (generated under Windows).
10771 * proxy/libvirt_proxy.c: Bail out earlier --without-xen.
10772 * src/proxy_internal.c: Don't build proxy client side if
10773 configured --without-xen.
10774 * src/iptables.c, src/iptables.h: Disable this code if
10775 configured --without-qemu.
10776 * src/nodeinfo.c: If no 'uname' function, set model name to
10777 empty string (for Windows).
10778 * src/xen_unified.h, src/util.c, src/test.c: Include <winsock2.h>
10780 * src/util.c: Disable virExec* and virFileLinkPointsTo on
10783 Fri Dec 7 14:34:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10785 * src/sexpr.c: Cosmetic rearrangement of headers.
10787 Fri Dec 7 14:27:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10789 * configure.in: Extra checks for uname and some header files
10790 (for MinGW Windows port).
10792 Fri Dec 7 14:27:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10794 * bootstrap, Makefile.am, gnulib/*: Import more gnulib
10795 modules for use by MinGW Windows port.
10797 Fri Dec 7 11:06:58 CET 2007 Jim Meyering <meyering@redhat.com>
10799 Include "config.h" in remaining non-generated files.
10800 * proxy/libvirt_proxy.c: Likewise.
10801 * python/libvir.c: Likewise.
10802 * python/types.c: Likewise.
10803 * src/event.c: Likewise.
10804 * src/xm_internal.c: Likewise.
10805 * tests/reconnect.c: Likewise.
10806 * tests/testutils.c: Likewise.
10808 Fri Dec 7 09:39:41 CET 2007 Daniel Veillard <veillard@redhat.com>
10810 * python/generator.py python/libvir.c python/libvirt-python-api.xml:
10811 add a python binding for virNodeGetCellsFreeMemory
10813 Thu Dec 6 12:41:18 CET 2007 Jim Meyering <meyering@redhat.com>
10815 * qemud/qemud.c (qemudInitPaths): Remove unused code.
10817 Thu Dec 6 16:32:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10819 * src/virsh.c: The prompt should depend on readonly status,
10822 Thu Dec 6 16:30:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10824 * configure.in, qemud/Makefile.am: Added a --without-libvirtd
10827 Thu Dec 6 10:35:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10829 * libvirt.spec.in: Fix macros build on RHEL distros
10831 Thu Dec 6 15:53:41 CET 2007 Daniel Veillard <veillard@redhat.com>
10833 * docs/*: rebuilt the docs and XML files
10835 Thu Dec 6 15:42:52 CET 2007 Daniel Veillard <veillard@redhat.com>
10837 * po/*: updated the localization files
10839 Thu Dec 6 12:00:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
10841 * src/remote_internal.c: Clean up a warning if neither SASL
10842 nor PolKit are enabled.
10844 Thu Dec 6 12:41:18 CET 2007 Jim Meyering <meyering@redhat.com>
10846 Build also on systems where -lreadline requires e.g., -lncurses.
10847 * configure.in: If the test for -lreadline fails, search for a
10848 library with termcap support. If one is found (often -lncurses),
10849 rerun the test for -lreadline, linking also with the new library.
10851 Thu Dec 6 11:23:31 CET 2007 Daniel Veillard <veillard@redhat.com>
10853 * configure.in src/Makefile.am src/virsh.c: fix compilation problems
10854 when readline headers were found but not the library
10856 Wed Dec 5 23:57:53 CET 2007 Jim Meyering <meyering@redhat.com>
10858 Accommodate developers using autoconf-2.59.
10859 * configure.in (m4_foreach_w): Define if not defined.
10861 Wed Dec 5 22:38:18 CET 2007 Jim Meyering <meyering@redhat.com>
10863 Include "config.h".
10864 * qemud/event.c: Likewise.
10865 * src/buf.c: Likewise.
10866 * src/hash.c: Likewise.
10867 * src/nodeinfo.c: Likewise.
10868 * src/openvz_conf.c: Likewise.
10869 * src/proxy_internal.c: Likewise.
10870 * src/virterror.c: Likewise.
10871 * src/xmlrpc.c: Likewise.
10872 * src/xs_internal.c: Likewise.
10873 * tests/conftest.c: Likewise.
10874 * tests/xmlrpctest.c: Likewise.
10875 This fixes a mingw build failure reported by Rich Jones.
10877 Wed Dec 5 22:34:27 CET 2007 Jim Meyering <meyering@redhat.com>
10879 Add all of the files pulled in from gnulib by running ./bootstrap.
10880 Adjust some .cvsignore files.
10882 Wed Dec 5 22:30:03 CET 2007 Jim Meyering <meyering@redhat.com>
10884 Use gnulib, starting with its physmem and getaddrinfo modules.
10885 New files go into these directories:
10889 * bootstrap: A wrapper around gnulib-tool.
10890 * configure.in: Invoke gl_EARLY and gl_INIT, being careful to put
10891 gl_EARLY before any macro that uses AC_COMPILE_IFELSE.
10892 (AC_OUTPUT): Add lib/Makefile and gl-tests/Makefile. Remove m4/Makefile.
10893 * Makefile.am (SUBDIRS): Add gnulib/lib and remove m4. Add gnulib/tests
10894 early enough that those tests run before any libvirt unit tests.
10895 * m4/Makefile.am: Remove file. Not needed.
10896 * src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib
10898 (LDADDS, libvirt_la_LIBADD): Add ../gnulib/lib/libgnu.la.
10899 * src/nodeinfo.c: Include "physmem.h".
10900 * qemud/qemud.c, src/remote_internal.c: Include "getaddrinfo.h".
10901 (MEMINFO_PATH, linuxNodeInfoMemPopulate): Remove definitions.
10902 (virNodeInfoPopulate): Use physmem_total, not linuxNodeInfoMemPopulate.
10903 * tests/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib
10905 (LDADDS): Add ../gnulib/lib/libgnu.la.
10906 * qemud/Makefile.am (libvirtd_LDADD): Add ../gnulib/lib/libgnu.la.
10907 * tests/nodeinfotest.c (linuxTestCompareFiles): No longer read total
10908 memory from a file.
10909 Update expected output not to include "Memory: NNNN"
10910 * tests/nodeinfodata/linux-nodeinfo-1.txt:
10911 * tests/nodeinfodata/linux-nodeinfo-2.txt:
10912 * tests/nodeinfodata/linux-nodeinfo-3.txt:
10913 * tests/nodeinfodata/linux-nodeinfo-4.txt:
10914 * tests/nodeinfodata/linux-nodeinfo-5.txt:
10915 * tests/nodeinfodata/linux-nodeinfo-6.txt:
10916 * src/test.c [WITH_TEST]: Remove definition of _GNU_SOURCE that
10917 would conflict with the one now in "config.h".
10918 * autogen.sh: Add -I gnulib/m4.
10919 * src/conf.c, src/sexpr.c: Don't define _GNU_SOURCE.
10920 Instead, include "config.h".
10921 * qemud/qemud.c: Remove definition of _GNU_SOURCE.
10922 * src/openvz_driver.c: Likewise.
10923 * src/qemu_driver.c: Likewise.
10924 * src/remote_internal.c: Likewise.
10926 * configure.in: Use AC_CONFIG_AUX_DIR(build-aux), so that a bunch
10927 of gettextize-generated files go into build-aux/, rather than in
10928 the top-level directory.
10929 * .cvsignore: Adjust.
10930 * build-aux/.cvsignore: New file.
10932 Wed Dec 5 21:44:17 CET 2007 Daniel Veillard <veillard@redhat.com>
10934 * qemud/remote.c: rename remoteDispatchAuthPolkitInit to
10935 remoteDispatchAuthPolkit, the no-op init call when policykit
10938 Wed Dec 5 14:16:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10940 * qemud/qemud.c: Disable saslUsernameWhitelist config file
10941 handling if SASL is disabled. (Rich Jones)
10942 * src/remote_internal.c: Enable remoteDebug() API when SASL
10945 Wed Dec 5 14:16:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10947 * docs/libvir.html: Add page about authentication setup options
10948 * docs/libvirt.css: Make <pre> tag show scrollbars if content
10950 * docs/*.html: Re-generated from libvir.html
10952 Wed Dec 5 14:09:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10954 * configure.in: automatically disable Xen setuid proxy if
10955 PolicyKit is enabled
10956 * libvirt.spec.in: force disable of Xen setuid proxy for
10957 distros where PolicyKIt is enabled
10959 Wed Dec 5 14:08:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10961 * python/libvir.c, python/libvir.py: Add binding for the
10962 virConnectOpenAuth() API which generator can't handle
10964 Wed Dec 5 13:55:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10966 * qemud/qemud.c: Re-added listen_tcp & listen_tls config
10967 param handling accidentally lost in earlier refactoring
10969 Wed Dec 5 13:51:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10971 * include/libvirt/libvirt.h.in: Add virConnectAuthPtrDefault
10972 as default CLI auth callback
10973 * src/libvirt_sym.version: Export virConnectAuthPtrDefault
10974 * src/libvirt.c: Default auth callback for command line based
10976 * src/virsh.c: Use default auth callback
10977 * src/internal.h: Add STRCASEEQLEN, STRCASENEQLEN
10978 * src/remote_internal.c: Wire up callback API to SASL interaction
10981 Wed Dec 5 13:27:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10983 * Makefile.am: Put include/ before src/ in SUBDIRS
10984 * docs/*: updated for new public API
10985 * include/libvirt.h.in: Added virConnectOpenAuth and related
10986 definitions for authentication callbacks.
10987 * proxy/libvirt_proxy.c, src/openvz_driver.c, src/proxy_internal.c,
10988 src/qemu_driver.c, src/test.c, src/xen_internal.c, src/xen_unified.c,
10989 src/xend_internal.c, src/xend_internal.h, src/xm_internal.c,
10990 src/xm_internal.h, src/xs_internal.c, src/xs_internal.h,
10991 src/remote_internal.c: Update for new auth arg to the open API
10993 Wed Dec 5 13:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10995 * configure.in: do PolicyKit checks via pkg-config
10996 * libvirt.spec.in: Add dep on PolicyKit if Fedora 8 or later
10997 * qemud/Makefile.am: Add PolicyKit build flags and default
10999 * qemud/libvirtd.conf: Add comment about polkit auth option
11000 * qemud/libvirtd.policy: Default policy file
11001 * qemud/qemud.c, qemud/remote.c: Implementation of PolicyKit
11003 * qemud/remote_protocol.x: Add RPC calls for PolicyKit auth
11004 * qemud/remote_dispatch*, qemud/remote_protocol.{c.h}: update
11006 * src/remote_internal.c: Fetch credentials for PolicyKit and
11007 perform client part of auth process
11009 Wed Dec 5 18:00:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11011 * src/Makefile.am, tests/Makefile.am: Remove LIBOBJS/LTLIBOBJS
11012 which were incorrectly committed earlier.
11014 Wed Dec 5 11:24:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11016 * src/virsh.c: quit if initial conection attempt fails
11018 Wed Dec 5 10:29:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11020 * qemud/Makefile.am: Fix VPATH build for remote_generate_stubs.pl
11021 * qemud/internal.h: Add saslusername to client data & username
11022 whitelist to server data
11023 * qemud/libvirtd.conf: Add config param for whitelisting users.
11024 Remove config param for whitelisting IP addrs. Cleanup whitespace
11025 and syntax errors in default values
11026 * qemud/qemud.c, qemud/remote.c: Remove IP whitelisting. Add
11027 username whitelisting against SASL authenticated username.
11028 Makefile socket authentication schemes configurable.
11029 * qemud/remote_dispatch_prototypes.h, remote_generate_stubs.pl:
11030 Add a struct qemud_server * parameter to every dispatch function
11032 Wed Dec 5 10:25:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11034 * src/remote_internal.c, qemud/qemud.c, qemud/internal.h,
11035 qemud/remote.c: Add support for SASL SSF layer providing
11036 data encryption of the connection post-authentication.
11038 Wed Dec 5 10:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11040 * configure.in: Add checks for SASL library
11041 * include/libvirt/virterror.h: Add VIR_ERR_AUTH_FAILED
11042 * libvirt.spec.in: Add deps on cyrus-sasl & md5 plugin
11043 and add SASL config file
11044 * qemud/Makefile.am: Add SASL config file & build flags
11045 * qemud/remote_protocol.x: new RPC calls for SASL
11046 * qemud/internal.h, qemud/qemud.c, qemud/remote.c: Server
11047 side of SASL authentication support
11048 * qemud/libvirtd.init.in, qemud/libvirtd.sysconf: Set
11049 KRB5_KTNAME to tell daemon where kerberos keytab lives
11050 * qemud/libvirtd.sasl: example SASL config file
11051 * src/Makefile.am, tests/Makefile.am: add SASL build flags
11052 * src/remote_internal.c: Add support for SASL auth client
11053 * src/virterror.c: Add VOIR_ERR_AUTH_FAILED string
11055 Wed Dec 5 10:07:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11057 * src/qemu_conf.c: Strip out NIC interfaces named vnetXXX since
11058 those are auto-generated names.
11060 Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11062 * python/libvir.c, python/libvirt_wrap.h, qemud/qemud.c,
11063 qemud/remote.c, src/internal.h, src/openvz_conf.c,
11064 src/openvz_driver.c, src/proxy_internal.h, src/qemu_conf.c,
11065 src/qemu_driver.c, src/remote_internal.h, src/test.h, src/util.c,
11066 src/xen_unified.c, src/xen_unified.h, tests/nodeinfotest.c,
11067 tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c, tests/reconnect.c,
11068 tests/sexpr2xmltest.c, tests/virshtest.c, tests/xencapstest.c,
11069 tests/xmconfigtest.c, tests/xml2sexprtest.c:
11070 Change #include <> to #include "" for local includes.
11071 Removed many includes from src/internal.h and put them in
11072 the C files which actually use them.
11073 Removed <ansidecl.h> - unused.
11074 Added a comment around __func__.
11075 Removed a clashing redefinition of VERSION symbol.
11076 All limits (PATH_MAX etc) now done in src/internal.h, so we
11077 don't need to include those headers in other files.
11079 Tue Dec 4 18:25:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11081 * configure.in: Fix configure if rpcgen program is missing.
11083 Tue Dec 4 17:47:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11085 * configure.in: curses is not actually required to build libvirt
11086 * configure.in, src/virsh.c: Make readline optional. If not
11087 available then virsh is built without support for command
11090 Mon Dec 3 20:44:01 CET 2007 Jim Meyering <meyering@redhat.com>
11092 Avoid compile failure when HAVE_AVAHI is not defined.
11093 * qemud/qemud.c (remoteReadConfigFile): Remove some of the
11094 "#ifdef HAVE_AVAHI" guards around uses of mdns_name and mdns_adv.
11096 Mon Dec 3 16:15:10 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11098 * src/util.c: Fix header files for Windows builds.
11100 Mon Dec 3 9:10:10 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11102 * src/qemu_conf.c: remove qemudMakeConfigPath, qemudEnsureDir,
11103 qemudReadFile,compareFileToNameSuffix, hasSuffix, checkLinkPointsTo
11104 * src/qemu_conf.h: remove qemudEnsureDir
11105 * src/qemu_driver.c: Update to use new API names
11106 * src/util.h, src/util.c: add virFileReadAll, virFileHasSuffix,
11107 virFileMatchsNameSuffix, virFileLinkPointsTo, virFileMakePath,
11110 Mon Dec 3 10:32:10 CET 2007 Daniel Veillard <veillard@redhat.com>
11112 * src/xen_unified.[ch] src/proxy_internal.c src/xen_internal.c
11113 src/xend_internal.c src/xm_internal.c src/xs_internal.c:
11114 cleanup the xen subdriver table, remove the type entry and
11115 always return "Xen" from the unified entry point.
11117 Sat Dec 1 10:42:34 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11119 * src/hash.c: reset error object when releasing connection
11120 * src/iptables.c: don't strdup() param passed to strcmp()
11121 * src/qemu_driver.c: free TLS directory path in driver shutdown
11122 * src/remote_internal.c: don't strdup() params for virRaiseError
11123 * src/virsh.c: reset global error object at shutdown. Release
11124 connection state during abnormal shutdown
11126 Sat Dec 1 10:22:34 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11128 * src/qemu_driver.c: Fix off-by-1 buffer NULL termination in
11129 symlink comparison code
11131 Fri Nov 30 17:50:34 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11133 * src/xml.c, src/xml.h: Disable xen specific functions if
11134 Xen driver is disabled.
11135 * tests/xml2sexprtest.c: Disable if xen driver is disabled
11137 Fri Nov 30 16:36:34 CET 2007 Jim Meyering <meyering@redhat.com>
11139 Detect heap allocation failure; factor out some duplication.
11140 * qemud/qemud.c (tls_port, tcp_port, mdns_name, tls_allowed_ip_list):
11141 (tls_allowed_dn_list): Remove "const", now that we free these.
11142 (unix_sock_rw_mask): Rename from unix_sock_rw_perms, so that
11143 the latter name can be used as a local string variable, so that the
11144 variable name matches the config attribute name.
11145 (unix_sock_ro_mask): Rename from unix_sock_ro_perms, likewise.
11146 (remoteCheckDN, remoteCheckAccess): Adapt to const removal.
11147 (qemudDispatchServer): Check for heap allocation failure.
11148 (remoteConfigGetStringList): New function, based on code from
11150 (CHECK_TYPE): Remove macro.
11151 (checkType): New function.
11152 (GET_CONF_INT, GET_CONF_STR): New macros.
11153 (remoteReadConfigFile): Use new macros to avoid duplication and to
11154 check for allocation failure.
11155 * src/conf.h (virConfTypeName): New static inline function.
11157 Fri Nov 30 11:04:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
11159 * python/libvir.c, python/libvir.py: Make Python aware that
11160 the C bindings module is called cygvirtmod.dll when compiled
11162 * python/Makefile.am: Remove symlink libvirtmod.dll -> cygvirtmod.dll
11163 no longer necessary because of the above.
11164 * configure.in: Remove AM_CONDITIONAL(CYGWIN).
11166 Thu Nov 29 17:40:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
11168 * configure.in: Added CYGWIN_EXTRA_LDFLAGS, CYGWIN_EXTRA_LIBADD,
11169 CYGWIN_EXTRA_PYTHON_LIBADD, CYGWIN automake conditional.
11170 * src/Makefile.am: Extra flags required to build DLL of libvirt
11172 * python/Makefile.am: Extra flags and rule required to build
11173 Python module for Cygwin.
11175 Thu Nov 29 17:38:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
11177 * configure.in: Check for C compiler first before checking for
11179 Add AC_LIBTOOL_WIN32_DLL.
11180 Add AM_PROG_CC_STDC.
11183 Thu Nov 29 16:19:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
11185 * docs/libvir.html, docs/windows.html: Updated Windows
11186 documentation now that we have shared libraries and Python
11189 Thu Nov 29 09:15:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
11191 * src/virsh.c: Added #include <time.h> so it can compile
11192 on CentOS 4 (Carl Jones).
11194 Wed Nov 28 14:20:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
11196 * src/virsh.c: Missing comma.
11198 Wed Nov 28 14:21:47 CET 2007 Jim Meyering <meyering@redhat.com>
11200 * src/virsh.c (vshCloseLogFile): Diagnose close/write failure.
11202 Wed Nov 28 09:00:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>
11204 * src/xm_internal.c, src/xm_internal.h: Added support for
11205 pinning inactive domains for Xen 3.0.3 (Saori Fukuta).
11207 Tue Nov 27 19:16:43 CET 2007 Jim Meyering <meyering@redhat.com>
11209 When reporting errors, use "conn" whenever possible.
11210 * src/remote_internal.c: change all error (NULL, ... to error (conn, ...
11211 (check_cert_file): Add+use parameter, conn.
11213 (initialise_gnutls): The "conn" parameter *is* used, so remove
11216 Tue Nov 27 16:40:29 CET 2007 Daniel Veillard <veillard@redhat.com>
11218 * docs/site.xsl docs/libvir.html *.html: add boilerplate for
11219 a Windows support page
11221 Tue Nov 27 15:29:01 CET 2007 Daniel Veillard <veillard@redhat.com>
11223 * configure.in: when configuring with --prefix=/usr i.e. the same
11224 prefix as the installed libvirt, use the same localstatedir /var
11225 (instead of /usr/var) and sysconfdir /etc (instead of /usr/etc) to
11226 be able to connect to the system daemon, and use the system local
11228 * src/xs_internal.c: avoid error message when non-root cannot open
11230 * src/xend_internal.c: avoid error message when non-root cannot
11231 directly access xend, in those 2 cases the proxy (or remote code)
11232 should implement the access so there is no need to raise the error
11235 Mon Nov 26 15:06:19 CET 2007 Daniel Veillard <veillard@redhat.com>
11237 * doc/*: modified the python page into a bindings page,
11238 added the Ruby binding link to all pages
11240 Mon Nov 26 12:12:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11242 * configure.in, src/console.c: Replace cfmakeraw if not in
11245 Mon Nov 26 12:03:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11247 * tests/Makefile.am, tests/nodeinfotest.c, tests/qemuxml2argvtest.c,
11248 tests/qemuxml2xmltest.c, tests/sexpr2xmltest.c, tests/virshtest.c,
11249 tests/xencapstest.c, tests/xmconfigtest.c, tests/xml2sexprtest.c:
11250 Miscellaneous fixes to the tests to compile under Cygwin.
11252 Mon Nov 26 11:56:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11254 * qemud/qemud.c: If AF_INET6 not defined, don't test for it.
11256 Mon Nov 26 11:54:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11258 * qemud/internal.h: Miscellaneous header file fixes to allow
11259 libvirtd to build under Cygwin.
11261 Mon Nov 26 11:52:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11263 * configure.in, proxy/Makefile.am: Disable building of the Xen proxy
11264 if configured --without-xen.
11266 Mon Nov 26 11:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11268 * src/bridge.c, src/bridge.h, src/qemu_conf.c, src/qemu_conf.h,
11269 src/qemu_driver.c, src/qemu_driver.h, src/test.c: Disable more
11270 of qemu if configured --without-qemu.
11272 Mon Nov 26 11:47:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11274 * src/remote_internal.c: Miscellaneous header file fixes for
11277 Mon Nov 26 11:44:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11279 * configure.in, qemud/Makefile.am: Check for buggy glibc rpcgen
11280 and only run Perl fix-up script for that.
11282 Mon Nov 26 11:42:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11284 * configure.in: Check if -lrpc is needed to get XDR functions.
11286 Mon Nov 26 11:39:59 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11288 * configure.in, src/internal.h, src/xml.c: <sys/syslimits.h>
11289 is needed on Cygwin to get PATH_MAX. HOST_NAME_MAX and
11290 IF_NAMESIZE defined if not in header files.
11292 Mon Nov 26 11:39:04 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11294 * configure.in: Minimum version of GnuTLS we support is 1.0.25.
11296 Thu Nov 22 00:14:04 CET 2007 Jim Meyering <meyering@redhat.com>
11298 Fix a typo in a variable name.
11299 * qemud/qemud.c: Check crl_file, not ca_file, for revocation list,
11300 in remoteInitializeGnuTLS.
11302 Wed Nov 21 17:29:42 CET 2007 Daniel Veillard <veillard@redhat.com>
11304 * src/xm_internal.c: fix the parsing of predefined domains on
11305 xen prior to 3.1 to take into accound the fact that disk can
11308 Wed Nov 21 11:59:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11310 * docs/libvir.html, docs/site.xsl: Fix the link to OCaml
11313 Wed Nov 21 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11315 * src/bridge.c, src/qemu_driver.c: Incorrect call to
11316 brSetForwardDelay changed to brSetEnableSTP.
11318 Wed Nov 21 11:36:43 CET 2007 Daniel Veillard <veillard@redhat.com>
11320 * docs/index.html docs/libvir.html: apply english corrections
11321 suggested by Bruce Montague
11323 Tue Nov 20 10:49:28 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11325 * src/virterror.c, src/stats_linux.c, include/libvirt/virterror.h:
11326 Renamed the VIR_FROM_LINUX error as VIR_FROM_STATS_LINUX for
11329 Tue Nov 20 11:06:28 CET 2007 Daniel Veillard <veillard@redhat.com>
11331 * include/libvirt/virterror.h src/openvz_conf.c src/openvz_driver.c
11332 src/stats_linux.c src/virterror.c src/xm_internal.c: patch from
11333 Saori Fukuta cleaning up various problems in the error reporting
11336 Tue Nov 20 11:03:02 CET 2007 Daniel Veillard <veillard@redhat.com>
11338 * tests/sexpr2xmltest.c tests/xml2sexprtest.c: warn before exiting
11339 if the path environment variable is missing, add the tests for
11340 <shareable/> from/to w! ode for disk
11341 * tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.sexpr
11342 tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.xml
11343 tests/xml2sexprdata/xml2sexpr-disk-block-shareable.sexpr
11344 tests/xml2sexprdata/xml2sexpr-disk-block-shareable.xml:
11347 Sun Nov 18 11:24:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>
11349 * tests/Makefile.am: Re-add quotes around top_{src,build}dir
11352 Sat Nov 17 13:05:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>
11354 * tests/Makefile.am: Set abs_top_{build,src}dir based on 'pwd'
11355 since older automake does not provide these vars
11357 Sat Nov 17 12:10:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>
11359 * docs/Makefile.am: Added missing news.xsl to EXTRA_DIST
11361 Sat Nov 17 11:55:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>
11363 * src/stats_linux.c: Fixed overflow of left shift on 32-bit platforms
11365 Sat Nov 17 11:04:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>
11367 * qemud/Makefile.am: Remove protocol.[chx] from EXTRA_DIST.
11368 Remove protocol.h and protocol.c from libvirtd_SOURCES.
11369 Remove protocol.c dependency.
11370 * qemud/protocol.c, qemud/protocol.h, qemud/protocol.x: Remove files.
11371 * qemud/internal.h: Don't include "protocol.h".
11372 * qemud/qemud.c: Clean up qemudDispatchClientRead.
11373 s/QEMUD_PKT_HEADER_XDR_LEN/REMOTE_MESSAGE_HEADER_XDR_LEN/
11374 * qemud/remote.c: In remoteDispatchClientRequest, reflect that the
11375 client buffer no longer starts with the 4-byte XDR header length.
11376 * qemud/remote_protocol.h: Regenerate.
11377 * qemud/remote_protocol.x: Define REMOTE_MESSAGE_HEADER_XDR_LEN.
11378 * src/Makefile.am: Remove protocol.h, protocol.c from SERVER_SOURCES.
11380 Thu Nov 15 17:43:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11382 * src/stats_linux.c: Fix parsing of short interface names
11383 occurring in the /proc/net/dev file.
11384 * src/qemu_driver.c: Collect interface stats for QEMU & KVM
11387 Thu Nov 15 17:40:15 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11389 * docs/hvsupport.html, docs/libvir.html: Document HV support
11390 for virNodeGetFreeMemory and virNodeGetCellsFreeMemory.
11391 * src/libvirt.c: Add DEBUG to virNodeGetFreeMemory and
11392 virNodeGetCellsFreeMemory.
11393 * src/xen_internal.c: virXenError* functions now take an
11394 additional virConnectPtr argument, and set it where possible.
11396 Thu Nov 15 18:06:15 CET 2007 Daniel Veillard <veillard@redhat.com>
11398 * docs/libvir.html docs/uri.html: update docs about the libvirt
11399 daemon startup when using QEmu/KVM.
11401 Thu Nov 15 14:00:04 CET 2007 Jim Meyering <meyering@redhat.com>
11403 Make "make distcheck" work.
11404 * Makefile.am: Expand some "*" wildcards, and (for now) disable
11405 the relatively unimportant, distuninstallcheck target.
11406 Fix a few redirect-directly-to-target bugs.
11407 Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
11408 * docs/Makefile.am: More of the same. Split some long lines.
11409 * python/Makefile.am: Likewise.
11410 * python/tests/Makefile.am: Likewise.
11411 * qemud/Makefile.am: Likewise.
11412 * tests/Makefile.am: Remove the directories already listed in SUBDIRS.
11413 * docs/examples/index.py: Adapt to produce the desired changes in
11414 docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
11415 and emit a comment telling emacs and vi that the file is read-only.
11416 * docs/examples/Makefile.am: Regenerate.
11418 Thu Nov 15 11:54:40 CET 2007 Daniel Veillard <veillard@redhat.com>
11420 * src/stats_linux.c: patch from Jim Paris to fix compilation
11421 when Xen isn't installed
11422 * src/qemu_conf.h: small cleanup of signedness of bitfields
11425 Wed Nov 14 18:09:31 CET 2007 Daniel Veillard <veillard@redhat.com>
11427 * doc/libvir.html doc/format.html: add missing docs for
11428 <shareable/> on disk devices
11429 * src/Makefile.am: fix the tst build rule for missing libraries
11431 Wed Nov 14 17:28:31 CET 2007 Jim Meyering <meyering@redhat.com>
11433 Handle failed strdup and malloc.
11434 * src/remote_internal.c: Don't dereference NULL after
11435 failed strdup or malloc in doRemoteOpen.
11437 Wed Nov 14 11:55:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11439 * src/stats_linux.c, src/stats_linux.h, src_xen_internal.c:
11440 Abstract out the Linux-specific statistics. Fixed parsing
11442 * src/Makefile.am: Updated Makefile for new files.
11444 Wed Nov 14 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
11446 * src/libvirt.c and all internal driver interfaces: Parse the
11447 URI only once and pass it to virDrvOpen instead of the
11448 unparsed name string.
11450 Wed Nov 14 11:34:35 CET 2007 Jim Meyering <meyering@redhat.com>
11452 Parse integers more carefully, cont'd.
11453 * qemud/qemud.c: Replace uses of strtol with uses of xstrtol_i.
11454 Avoid overflow for very large --timeout=N values.
11455 * src/nodeinfo.c: In linuxNodeInfoMemPopulate and
11456 linuxNodeInfoCPUPopulate, use xstrtol_i rather than strtol.
11457 Unlike in qemud.c, here we allow trailing "isspace", and in
11458 the case of "cpuinfo cpu MHz", also allow a "." terminator,
11459 since we ignore the decimal and any following digits.
11460 * src/internal.h: Define xstrtol_ui, too.
11462 Arrange for tests to pass in a non-srcdir build.
11463 * tests/Makefile.am: Include the contents of the *data directories
11464 in the make-dist-built tarball by adding each of that *data
11465 directories to EXTRA_DIST.
11466 Also add int-overflow (via $(test_scripts)) to EXTRA_DIST.
11467 * tests/nodeinfotest.c: Prepend "$abs_top_srcdir/tests" to
11468 each input file name.
11469 * tests/qemuxml2argvtest.c: Likewise.
11470 * tests/qemuxml2xmltest.c: Likewise.
11471 * tests/sexpr2xmltest.c: Likewise.
11472 * tests/test_conf.sh: Likewise.
11473 * tests/virshtest.c: Likewise.
11474 * tests/xencapstest.c: Likewise.
11475 * tests/xmconfigtest.c: Likewise.
11476 * tests/xml2sexprtest.c: Likewise.
11478 Tue Nov 13 15:33:35 CET 2007 Jim Meyering <meyering@redhat.com>
11480 Make qemud's install-init rule work in a non-srcdir build.
11481 * qemud/Makefile.am: In the install-init, remove an unneeded
11484 Mon Nov 12 23:11:35 CET 2007 Jim Meyering <meyering@redhat.com>
11486 conftest: fix transposed size and count arguments to fwrite.
11487 * tests/conftest.c: Include <string.h> and <errno.h>.
11488 Also include strerror in diagnostic.
11490 Mon Nov 12 14:56:33 CET 2007 Daniel Veillard <veillard@redhat.com>
11492 Begin fixing uses of strtol: parse integers more carefully.
11493 Patch from Jim Meyering
11494 * src/internal.h: Include <errno.h>.
11495 Define new static inline function, xstrtol_i.
11496 * src/virsh.c: Detect integer overflow in domain ID number
11497 in vshCommandOptDomainBy. Detect overflow and invalid port
11498 number suffix in cmdVNCDisplay.
11499 * src/xend_internal.c: Parse CPU number more carefully in
11500 xenDaemonDomainGetVcpus.
11501 * tests/int-overflow: New script. Test for the above-fixed bug.
11502 * tests/Makefile.am: Add int-overflow to TESTS. Define
11503 TESTS_ENVIRONMENT, to propagate $abs_top_* variables into the
11504 int-overflow script. Adapt the "valgrind" rule not to clobber
11505 new TESTS_ENVIRONMENT.
11507 Thu Nov 8 19:06:13 CET 2007 Daniel Veillard <veillard@redhat.com>
11509 * src/virsh.c: initialize a couple of variable to avoid warnings
11510 when compiling with Fedora.
11512 Thu Nov 8 18:59:39 CET 2007 Daniel Veillard <veillard@redhat.com>
11514 * src/virsh.c: patch from Jim Meyering to use gcc's printf attribute.
11516 Thu Nov 8 17:06:50 CET 2007 Daniel Veillard <veillard@redhat.com>
11518 * src/virsh.c: patch from Jim Meyering to correct vshCommandOptInt
11521 Wed Nov 7 14:38:43 CET 2007 Daniel Veillard <veillard@redhat.com>
11523 * docs/libvir.html docs/site.xsl: small updates with references
11525 * po/*: updated translations
11527 Tue Nov 6 19:54:00 CET 2007 Jim Meyering <meyering@redhat.com>
11529 Avoid risk of format string abuse (also avoids gcc warnings).
11530 * src/util.c (ReportError): Use a literal "%s" format string.
11531 * src/remote_internal.c (server_error): Likewise.
11532 * src/qemu_conf.c (qemudReportError): Likewise.
11533 * acinclude.m4: Add -Wformat -Wformat-security to default
11534 list of warning flags, to warn about errors such as the
11537 Tue Nov 6 17:24:16 CET 2007 Daniel Veillard <veillard@redhat.com>
11539 * src/xs_internals.c: patch from Chris Lalancette, forgot to
11540 remove the domainDumpXML entry when changing the driver structure
11542 Tue Nov 6 12:42:55 CET 2007 Daniel Veillard <veillard@redhat.com>
11544 * src/xml.c src/xs_internal.c src/xs_internal.h: applied patch
11545 from Masayuki Sunou to fix xend errors when adding disk
11546 devices, due to improper device id lookup.
11548 Tue Nov 6 10:40:13 CET 2007 Daniel Veillard <veillard@redhat.com>
11550 * src/virsh.c: patch from Masayuki Sunou to fix parameter
11551 validation of virsh schedinfo parameters.
11553 Mon Nov 5 11:11:45 CET 2007 Daniel Veillard <veillard@redhat.com>
11555 * src/xml.c: patch from Beth Kon to fix a problem when the
11556 cpuset parameter for numa uses cpu maxcpu-1
11558 Thu Nov 1 14:32:07 CET 2007 Daniel Veillard <veillard@redhat.com>
11560 * src/xm_internal.c: patches from Masayuki Sunou to fix a problem
11561 when an HVM domain is started with a CD-Rom config, this should
11564 Wed Oct 31 10:36:00 CET 2007 Daniel Veillard <veillard@redhat.com>
11566 * proxy/libvirt_proxy.c src/proxy_internal.[ch] src/xen_internal.c
11567 src/xen_unified.[ch] src/xend_internal.[ch] src/xml.[ch]: last
11568 patch for the library NUMA support, allow to serialize CPU pinning
11569 to domain configs (but won't work though proxy access), includes
11570 many patches from Saori Fukuta.
11572 Fri Oct 26 21:20:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11574 * src/libvirt.c: Don't call state driver API if callback is NULL.
11575 * src/remote_internal.c: Reject open attempts if inside the daemon
11576 to avoid recursively calling self.
11578 Fri Oct 26 21:18:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11580 * src/qemu_driver.c: Support CDROM media change for KVM/QEMU
11582 Fri Oct 26 21:17:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11584 * src/qemu_driver.c: Refactor shell ecscaping function to reuse
11585 for monitor escaping
11587 Fri Oct 26 21:14:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11589 * src/qemu_conf.h, src/qemu_conf.c: Refactor device parsing code
11591 Fri Oct 26 21:10:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11593 * src/qemu_driver.c: make qemudMonitorCommand responsible for
11594 adding appropriate line ending instead of the caller
11596 Fri Oct 26 15:40:44 CEST 2007 Daniel Veillard <veillard@redhat.com>
11598 * src/xml.c: fix build when configured without Xen
11600 Wed Oct 24 16:21:02 CEST 2007 Daniel Veillard <veillard@redhat.com>
11602 * src/xml.c: applied patch from Jim Meyering fixing parseNumber
11603 to detect overflow, and also reindented the module.
11605 Wed Oct 24 10:38:38 CEST 2007 Daniel Veillard <veillard@redhat.com>
11607 * po/id.po: Remove again bogus Project-Id-Version field from merge error
11609 Tue Oct 23 17:44:12 CEST 2007 Daniel Veillard <veillard@redhat.com>
11611 * po/*: updated from translation team
11613 Tue Oct 23 17:30:52 CEST 2007 Daniel Veillard <veillard@redhat.com>
11615 * src/xml.c: fix the build of the proxy broken on previous commit
11617 Mon Oct 22 22:33:59 CEST 2007 Daniel Veillard <veillard@redhat.com>
11619 * src/xen_internal.c src/xen_unified.c src/xen_unified.h
11620 src/xend_internal.c src/xml.c src/xml.h: commited erronously
11621 the NUMA patches sent for review on the list in last commit.
11622 But that should not affect non NUMA users so early push should
11625 Mon Oct 22 22:27:40 CEST 2007 Daniel Veillard <veillard@redhat.com>
11627 * docs/format.html docs/libvir.html: documentation cleaups
11630 Mon Oct 22 15:05:30 CEST 2007 Daniel Veillard <veillard@redhat.com>
11632 * src/xend_internal.c: update to cpuset parsing code for NUMA
11634 Fri Oct 19 17:08:08 CEST 2007 Daniel Veillard <veillard@redhat.com>
11636 * src/Makefile.am: fix tst build rule
11637 * src/buf.c: fix virBufferContentAndFree to make sure the string is
11638 always 0 terminated.
11640 Fri Oct 19 11:59:39 CEST 2007 Daniel Veillard <veillard@redhat.com>
11642 * src/conf.c: fix bug on negative values in virConfParseLong()
11643 raised by Tatsuro Enokura
11645 Fri Oct 19 10:24:52 CEST 2007 Daniel Veillard <veillard@redhat.com>
11647 * src/conf.c: documentation cleanups from Jim Meyering
11648 * tests/conftest.c: Use fwrite, not printf, since the
11649 result buffer is not NUL-terminated.
11650 * tests/qemuxml2argvtest.c: Initialize vm.migrateFrom[0],
11651 to avoid "read-uninitialized" error from within
11652 qemudBuildCommandLine.
11654 Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11656 * libvirt.spec.in (BuildRequires): Add "qemu" (Jim Meyering).
11658 Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11660 * src/xend_internal.c (sexpr_get): Declare with gcc's printf
11661 attribute. (Jim Meyering)
11663 Mon Oct 15 17:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11665 * src/driver.h, src/libvirt.c, include/libvirt/libvirt.h.in,
11666 include/libvirt/libvirt.h, src/xen_unified.c, src/xend_internal.c,
11667 src/xml.c, src/xml.h: Mark XML param for attach/detach APIs 'const'
11669 Mon Oct 15 15:31:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11671 * src/test.c, include/libvirt/libvirt.h.in: Remove virDomainRestart
11672 from the public API (it was not used), and move it into the test
11673 driver where it is used for purely internal purposes.
11675 Fri Oct 12 14:57:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11677 * src/qemu.conf, src/Makefile.am: Added example config file
11679 * qemud/libvirtd.conf, qemud/Makefile.am: Added example config
11680 file for libvirt daemon
11681 * libvirt.spec.in: Added libvirtd.conf & qemud.conf files
11683 Fri Oct 12 12:05:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11685 * src/qemu_driver.c, src/qemu_conf.c, src/qemu_conf.h: Add a
11686 /etc/libvirt/qemu.conf for storing system wide QEMU driver
11687 default settings, such as VNC server options.
11689 Wed Oct 10 15:44:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11691 * src/qemu_driver.c: Reset migration source after failed attempt
11692 to start a VM. (Jim Paris)
11694 Wed Oct 10 13:48:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11696 * src/xm_internal.c: Fixed procesing of vncunused, and vncdisplay
11697 parameters in XM style config files for framebuffer config.
11699 Wed Oct 10 13:13:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11701 * src/xm_internal.c: Fix XML -> XM config file conversion to
11702 include bridge name for virtual networks
11703 * src/xml.c: Fix memory leak handling XML -> SEXPR conversion
11704 of virtual network bridge devices
11706 Mon Oct 8 17:01:53 CEST 2007 Daniel Veillard <veillard@redhat.com>
11708 * src/xend_internal.c: applied patch from Beth Kon to fix
11709 NUMA topology for cells without CPUs
11711 Thu Oct 4 21:05:59 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11713 * src/xend_internal.c: Fix error handling for NUMA topology
11714 (patch from Beth Kon)
11716 Wed Oct 3 10:13:59 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11718 * po/id.po: Remove bogus Project-Id-Version field from merge error
11720 Sun Sep 30 23:07:59 CEST 2007 Daniel Veillard <veillard@redhat.com>
11722 * configure.in libvirt.spec.in include/libvirt/libvirt.h docs/*:
11723 preparing release of 0.3.3
11724 * po/*: updated the strings localizations
11726 Sun Sep 30 22:51:11 CEST 2007 Daniel Veillard <veillard@redhat.com>
11728 * python/generator.py python/libvir.c python/libvirt-python-api.xml:
11729 provide bindings for block and interface statistics
11731 Sun Sep 30 12:27:36 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11733 * src/xend_internal.c: Don't include <bootloader/> for HVM guests
11734 * tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: revert previous
11735 change since HVM doesn't use bootloaders
11737 Sun Sep 30 15:20:36 CEST 2007 Daniel Veillard <veillard@redhat.com>
11739 * src/virsh.c: use virNodeGetFreeMemory() for freecell without
11741 * src/libvirt_sym.version: export virNodeGetFreeMemory()
11743 Sun Sep 30 14:49:27 CEST 2007 Daniel Veillard <veillard@redhat.com>
11745 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
11746 src/driver.h src/libvirt.c src/openvz_driver.c src/qemu_driver.c
11747 src/test.c src/xen_unified.c src/xend_internal.c: add new API
11748 virNodeGetFreeMemory(), extends the driver. Lacks remote and
11749 QEmu support though.
11750 * src/libvirt.c: allows to fix virNodeGetCellsFreeMemory() adding
11751 parameter check for startCell.
11752 * proxy/libvirt_proxy.c src/xend_internal.[ch]
11753 include/libvirt/libvirt.h include/libvirt/libvirt.h.in: applied
11754 vncpasswd dump patch from Mark Johnson but with the
11755 virDomainXMLFlags extension as suggested by Daniel Berrange
11756 this changed a couple of internal APIs too
11757 * tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: fix one of the
11758 tests affected by bootloader dump change.
11760 Sat Sep 29 14:30:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11762 * src/xen_internal.c, src/xs_internal.c: Solaris hypercall compat
11763 changes. (Mark Johnson)
11765 Sat Sep 29 14:23:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11767 * src/sexpr.h, src/sexpr.c, src/xml.c, src/xend_internal.c: Allow
11768 bootloader tag to be empty, to indicate use of default configured
11771 Sat Sep 29 14:05:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11773 * src/sexpr.h, src/sexpr.c, src/virsh.c, src/xend_internal.c:
11774 Remove use of anonymous union members in sexpr code.
11775 * src/internal.h: Solaris portability fix (Mark Johnson)
11777 Fri Sep 28 16:41:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11779 * src/qemu_conf.c: Fix crash processing multiple <input> tags
11781 Fri Sep 28 16:17:41 CEST 2007 Daniel Veillard <veillard@redhat.com>
11783 * include/libvirt/libvirt.h[.in] src/driver.h src/openvz_driver.c
11784 src/qemu_driver.c src/remote_internal.c src/test.c
11785 src/xen_internal.[ch] src/xen_unified.c src/xend_internal.[ch]
11786 src/libvirt.c src/libvirt_sym.version: adding NUMA support patches
11787 from Beth Kon adding new virNodeGetCellsFreeMemory entry point
11788 and extending the virConnectGetCapabilities one. Fix a couple of
11789 issues in the patch and add to exported symbols from shared lib.
11790 * docs/virsh.pod docs/virsh.1 src/virsh.c: added new command
11791 freecell to get the available memory on the node or in a NUMA cell.
11792 * docs/*: updated and regenerated the documentation
11794 Fri Sep 28 11:20:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11796 * docs/libvir.html: Clarified configuration required for
11799 Tue Sep 25 14:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11801 * src/remote_internal.c: Fix handling of usernames (thanks to
11802 Fabian Deutsch for finding and fixing this).
11804 Fri Sep 21 17:14:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11806 * src/qemu_conf.c, src/qemu_conf.h: Detect QEMU flags per-VM,
11807 not per driver, since different QEMU binaries have their own
11809 * tests/qemuxml2xmltest.c, tests/qemuxml2argvtets.c: Update
11810 to changed internal QEMU api/structs.
11812 Fri Sep 21 16:22:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11814 * src/remote_internal.c: Add a no_tty flag to stop SSH prompting
11815 for passwords on console
11816 * docs/libvir.html, docs/remote.html: Document no_tty flag
11818 Fri Sep 21 15:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11820 * acinclude.m4: Check all compiler flags link successfully
11821 instead of just compiling, to deal with broken debian linker
11822 with stack protector
11823 * configure.in: Remove redundant -fno-stack-protector workaround
11825 Fri Sep 21 15:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11827 * src/qemu_driver.c: Use libxml for parsing & checking URIs
11829 Thu Sep 20 19:37:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11831 * src/bridge.c, src/qemu_driver.c, configure.in: Try to detect
11832 the paths of dnsmasq and brctl at compile time. If found
11833 then compile them in, otherwise search $PATH at runtime.
11835 * libvirt.spec.in: BR dnsmasq and bridge-utils so we have their
11836 paths at compile time.
11838 Thu Sep 20 18:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11840 * src/qemu_driver.c, docs/libvir.html: Support virConnectGetHostname
11841 and virConnectGetURI for qemu driver.
11843 Thu Sep 20 13:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11845 * src/libvirt.c: Don't try to generate an error message with
11846 an invalid connection object.
11848 Thu Sep 20 12:59:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11850 * src/xend_internal.c: Error message if we cannot connect
11853 Wed Sep 19 17:42:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11855 * src/remote_internal.c: Fix waitpid() call to only be done
11856 in doRemoteOpen error case (merge error from previous commit)
11858 Wed Sep 19 13:39:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11860 * configure.in: Use pkg-config to locate gnutls if pkg-config
11861 is available. Add $(GNUTLS_LIBS) $(GNUTLS_CFLAGS) to all the
11862 relevant make targets
11864 Wed Sep 19 09:48:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11866 * configure.in: Make sure we use pkg-config for libxml, where
11867 available. Fix newline termination for messages printed with
11870 Tue Sep 18 22:22:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11872 * qemud/qemud.c: Allow customization of UNIX socket permissions
11873 and group ownership from config file
11874 * docs/libvir.html: Added docs on UNIX socket perms & group owner
11877 Tue Sep 18 21:34:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11879 * configure.in: Added checks for locating Avahi.
11880 * qemud/mdns.c, qemud/mdns.h, qemud/Makefile.am: Convenience API to
11881 bridge between state machine provided by Avahi APIs, and the libvirt
11883 * qemud/qemud.c, qemud/internal.h: Register the daemon as an mDNS
11884 service under _libvirt._tcp.
11885 * docs/libvir.html: Added notes on mdns config params.
11886 * libvirt.spec.in: Added avahi-devel as a BuildRequires
11888 Tue Sep 18 20:42:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11890 * src/event.h, src/event.c: Added new APIs definitions for updating
11891 of existing timers and file handlers
11892 * qemud/event.h, qemud/event.c, qemud/qemud.c: Added implementation
11893 of APIs for updating existing timers and file handlers. Allow a
11894 timeout frequency of 0. Allow frequency of -1 to indicate a disabled
11895 timer. Prefix all log messages with EVENT:
11897 Tue Sep 18 19:42:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11899 * configure.in: Re-arrange to use new style AC_INIT/AM_INIT_AUTOMAKE
11900 style calls. Pass -Wno-portability flag to automake to keep quiet about
11903 Tue Sep 18 19:36:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11905 * configure.in: Don't check for Linux bridge headers if QEMU
11908 Tue Sep 18 19:32:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11910 * configure.in: Print out summary of configuration options
11912 Mon Sep 17 23:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11914 * src/remote_internal.c: Track child pid and do waitpid to clean
11915 up zombies if running over a tunnel
11917 Thu Sep 13 17:58:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11919 * src/qemu_conf.c: Fix handling of <boot> tag for network PXE
11920 * tests/qemuxml2argvdata/qemuxml2argv-boot-network.xml: Fix test
11921 for network PXE boot element
11922 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Fixed potential
11923 SEGV crash in error case cleanup
11925 Wed Sep 12 16:35:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11927 * src/xend_internal.c, src/xml.c, src/xml.h: Properly check buffer
11928 size in virDomainXMLDevID (Hugh Brock).
11930 Wed Sep 12 11:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11932 * src/xend_internal.c, src/xen_unified.c: Removed an annoying
11933 warning when using Xen 3.0.3 and inactive domains.
11935 Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11937 * src/remote_internal.c: virDrvOpenRemoteFlags was accidentally
11938 declared as a global variable, instead of the name an enum.
11940 Mon Sep 10 17:15:29 CEST 2007 Daniel Veillard <veillard@redhat.com>
11942 * docs/architecture.html docs/errors.html docs/format.html
11943 docs/libvir.html: fixing typos spotted by Eduardo Pereira
11945 Mon Sep 10 13:46:05 CEST 2007 Daniel Veillard <veillard@redhat.com>
11947 * src/xend_internal.c: applied patch from Hugh Brock to allow
11948 CD Rom device reload by reusing virDomainAttachDevice() with
11951 Mon Sep 10 11:35:06 CEST 2007 Daniel Veillard <veillard@redhat.com>
11953 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
11954 src/libvirt.c: fixes a few problems in the documentation
11955 pointed out by Toth Istvan.
11956 * docs/*: regenerated the docs
11958 Wed Sep 5 16:31:00 CEST 2007 Daniel Veillard <veillard@redhat.com>
11960 * docs/libvir.html docs/uri.html: remove references to libvirt_qemud
11961 and replace them with libvirtd
11963 Mon Sep 3 18:29:05 CEST 2007 Daniel Veillard <veillard@redhat.com>
11965 * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: a bit
11966 of cleanup on top of previous patches.
11968 Mon Sep 3 17:35:15 CEST 2007 Daniel Veillard <veillard@redhat.com>
11970 * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c
11971 src/openvz_driver.h: Applied patch from Shuveb Hussain and Anoop
11972 Cyriac to extent OpenVZ driver capabilities, especially Create().
11974 Thu Aug 30 15:11:44 CEST 2007 Daniel Veillard <veillard@redhat.com>
11976 * src/buf.c: applied patch from Masayuki Sunou fixing a loop
11977 due to an error in growing buffers.
11979 Wed Aug 29 14:43:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
11981 * src/xen_internal.c (xenHypervisorDomainInterfaceStats): Swap
11982 TX & RX network stats so they appear correct from the point
11983 of view of the domain.
11985 Wed Aug 29 09:46:17 CEST 2007 Daniel Veillard <veillard@redhat.com>
11987 * src/virsh.c: apply patch from Masayuki Sunou to fix the exit value
11988 of vncdisplay command.
11990 Mon Aug 27 11:16:48 CEST 2007 Daniel Veillard <veillard@redhat.com>
11992 * src/xend_internal.c: applied patch from Masayuki Sunou to avoid
11993 memory corruption on very large XML dumps.
11995 Tue Aug 21 16:48:41 CEST 2007 Daniel Veillard <veillard@redhat.com>
11997 * configure.in libvirt.spec.in include/libvirt/libvirt.h docs/*:
11998 preparing release of 0.3.2
11999 * src/libvirt.c: fix a couple of comments
12000 * po/*: string localization merge/update
12002 Tue Aug 21 13:52:29 CEST 2007 Daniel Veillard <veillard@redhat.com>
12004 * src/xs_internal.c: cleanup of memory leaks from Masayuki Sunou
12005 * src/virsh.c: another memory leaks of virsh schedinfo cleanup from
12007 * po/*: string localization merge/update
12009 Tue Aug 21 10:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12011 * src/libvirt.c (virDomainBlockStats, virDomainInterfaceStats):
12012 Added block device and network interface statistics.
12013 * src/xen_internal.c: Support for stats from Xen domains.
12014 * qemud/remote.c, qemud/remote_protocol.x, qemud/remote_internal.c:
12015 Support for fetching device and network interface stats
12016 across remote connections.
12017 * src/virsh.c: Added 'virsh domblkstat' and 'virsh domifstat'
12018 commands to display stats.
12019 * docs/libvir.html, docs/hvsupport.html: Updated hvsupport
12022 Tue Aug 21 10:36:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12024 * tests/xencapsdata/*.xml: Fixed tests to include new
12025 <migration_features> element in capabilities XML.
12027 Tue Aug 21 10:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12029 * src/libvirt.c (virDomainMigrate): Added virDomainMigrate
12031 * src/xend_internal.c, src/xen_unified.c: Support for migration
12033 * src/xen_internal.c: Xen capabilities indicates level of
12034 support for migration.
12035 * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
12036 Support for migration between remote hypervisors.
12037 * src/virsh.c: Added 'virsh migrate' command.
12038 * docs/libvir.html, docs/hvsupport.html: Updated hvsupport
12041 Tue Aug 21 09:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12043 * qemud/remote.c, qemud/remote_protocol.x, src/driver.h,
12044 src/internal.h, src/libvirt.c, src/libvirt_sym.version,
12045 src/qemu_driver.c, src/remote_internal.c, src/test.c:
12046 Add a private interface so that libvirt.c coordination
12047 functions can detect the availability of features in
12048 underlying drivers, using the VIR_DRV_SUPPORTS_FEATURE
12051 Tue Aug 21 09:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12053 * src/xend_internal.c: Return the interface device name as
12054 <target dev='vifX.Y'/> in domain XML.
12055 * tests/*: Update XML in regression tests.
12057 Tue Aug 21 09:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12059 * docs/libvir.html: Updated the hvsupport page to show that
12060 KVM now supports save and restore operations.
12062 Thu Aug 16 17:41:22 CEST 2007 Daniel Veillard <veillard@redhat.com>
12064 * src/xend_internal.c: patch from Masayuki Sunou to avoid
12065 attach-disk/attach-interface when < Xen 3.0.4
12067 Thu Aug 16 15:24:30 CEST 2007 Daniel Veillard <veillard@redhat.com>
12069 * src/virsh.c: vshCommandOptInt was broken as it would not
12070 detect non-int inputs, problem raised by Masayuki Sunou
12072 Wed Aug 15 12:21:13 CEST 2007 Daniel Veillard <veillard@redhat.com>
12074 * src/virsh.c: fixed 2 small bugs in setvcpus command, after
12075 Atsushi SAKAI pointed out a value checking problem
12077 Tue Aug 14 14:32:51 CEST 2007 Daniel Veillard <veillard@redhat.com>
12079 * src/proxy_internal.c: fix the UUID lookup though proxy, by
12080 actually sending the UUID string in the request!
12082 Tue Aug 14 09:10:51 CEST 2007 Daniel Veillard <veillard@redhat.com>
12084 * src/virsh.c: patch from Atsushi SAKAI fixing schedinfo synopsis
12086 Tue Aug 14 09:04:41 CEST 2007 Daniel Veillard <veillard@redhat.com>
12088 * virsh.1 docs/virsh.pod: typo fixes from Atsushi SAKAI
12090 Tue Aug 14 07:59:21 CEST 2007 Daniel Veillard <veillard@redhat.com>
12092 * docs/apibuild.py: fix the API generator to work out of a
12093 include list instead of an exclude list
12094 * po/*: updated localization strings
12096 Mon Aug 13 21:46:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12098 * src/qemu_driver.c: Implement save & restore APIs for KVM
12099 guests using the migrate protocol. Patch from Jim Paris
12101 Mon Aug 13 21:33:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12103 * src/qemu_driver.c: added qemudEscapeShellArg() helper function
12104 for future save impl. Patch from Jim Paris
12105 * src/util.c, src/util.h: Added saferead/safewrite convenience
12106 functions for doing read/write safe from signals. Patch from
12109 Mon Aug 13 21:26:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12111 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Add support
12112 for passing -incoming option to QEMU for migration/restore. Patch
12115 Mon Aug 13 21:18:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12117 * src/util.h, src/util.c: Allow a file descriptor to be supplied
12118 for STDIN when calling virExec(), or if -1, redirect from /dev/null
12119 * src/qemu_driver.c, src/openvz_driver.c: Pass in -1 for new stdin
12120 parameter above where neccessary. Patch from Jim Paris
12122 Mon Aug 13 20:13:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12124 * src/qemu_driver.c: Use \r instead of \n for monitor commands to
12125 avoid bug where QEMU \n gets translated to \r\n,then causing QEMU
12126 to process the command twice. Patch from Jim Paris.
12128 Mon Aug 13 11:55:48 CEST 2007 Daniel Veillard <veillard@redhat.com>
12130 * src/qemu_driver.c: patch from Jim Paris removing memory leak
12131 * AUTHORS: updated with Shuveb and Jim
12133 Fri Aug 10 14:25:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12135 * src/xen_internal.c, src/xen_internal.h, src/xen_unified.c:
12136 Add impls of the DomainGetOSType, DomainLookupByID and
12137 DomainLookupByName drivers using the HV for speed
12138 * src/xs_internal.c, src/xs_internal.h: Add helper method to
12139 lookup a domain name based on its ID
12141 Thu Aug 9 14:27:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12143 * src/libvirt.c, src/openvz_conf.c, src/qemu_conf.c,
12144 src/test.c, src/xm_internal.c, src/xend_internal.c: Use
12145 virUUIDFormat() / virUUIDGenerate / virUUIDParse apis.
12146 * qemu/internal.h: Remove unused UUID_LEN constants
12147 * src/openvz_conf.h, src/qemu_conf.h: Remove duplicated
12148 UUID length constants
12149 * src/xml.c, src/xml.h: Remove virParseUUID api
12150 * src/uuid.h, src/uuid.c: Add virUUIDFormat() api.
12151 * proxy/Makefile.am: Include uuid.o
12153 Tue Aug 7 16:35:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12155 * src/Makefile.am: gnutls_1_0_compat.h to list of sources
12156 (bug reported by Jan Michael).
12158 Tue Aug 7 16:24:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12160 * src/virsh.c: Include <time.h> (bug reported by Jan Michael).
12162 Tue Aug 7 15:28:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12164 * src/remote_internal.c: Fix build bug introduced by earlier
12167 Tue Aug 7 14:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12169 * qemud/qemud.c: Fix --config/-f option to libvirtd.
12171 Tue Aug 7 13:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12173 * acinclude.m4, configure.in: ./configure option
12174 --disable-stack-protector.
12175 * src/gnutls_1_0_compat.h: Compatibility with GnuTLS 1.0.
12176 * src/bridge.c: If no bridge ioctls, give an error at runtime.
12178 Thu Aug 2 12:49:08 CEST 2007 Daniel Veillard <veillard@redhat.com>
12180 * src/xml.c: changes from Masayuki Sunou to improve error reporting
12181 on device XML errors.
12183 Tue Jul 31 10:24:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12185 * src/qemu_conf.c, src/xml.c, tests/qemuxml2argvtest.c,
12186 tests/qemuxml2xmltest.c: Fix a couple of memory leaks
12188 Mon Jul 30 14:40:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12190 * src/qemu_conf.c: Validate requested architecture and reject
12193 Mon Jul 30 12:15:43 CEST 2007 Daniel Veillard <veillard@redhat.com>
12195 * src/xen_internal.c: add report of ACPI/APIC for Xen fully virt,
12196 patch from David Lutterkort
12197 * tests/xencapsdata/xen-i686-pae-hvm.xml
12198 tests/xencapsdata/xen-ia64-be-hvm.xml
12199 tests/xencapsdata/xen-ia64-hvm.xml
12200 tests/xencapsdata/xen-x86_64-hvm.xml: this also affects a few tests
12202 Mon Jul 30 11:59:51 CEST 2007 Daniel Veillard <veillard@redhat.com>
12204 * src/qemu_conf.[ch] src/qemu_driver.c: add qemu/kvm drivers report
12205 ACPI/APIC features for i686 and x86_64, patch from David Lutterkort
12207 Fri Jul 27 19:19:31 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12209 * src/test.c: Added impl of networking APIs. Cleanup all other
12210 existing APIs. Add missing domain APIs.
12211 * src/remote_internal.c: Remove hack for network APIs + test
12212 driver now it has its own impl
12213 * src/libvirt.c, src/driver.h, src/qemu_driver.c: Added a
12214 'name' field to network driver
12215 * docs/testnode.xml, docs/testnetdef.xml, docs/testnetpriv.xml:
12216 Added example XML for network APIs
12218 Thu Jul 26 10:37:31 CEST 2007 Daniel Veillard <veillard@redhat.com>
12220 * src/virsh.c docs/virsh.pod virsh.1: added a ttyconsole command,
12221 this should fix bug #239687
12223 Wed Jul 25 19:16:43 EST 2007 Daniel P. berrange <berrange@redhat.com>
12225 * scripts/coverage-report.pl: Ignore data from inlined macros
12226 in /usr/include files
12228 Wed Jul 25 19:13:43 EST 2007 Daniel P. berrange <berrange@redhat.com>
12230 * src/nodeinfo.h, src/nodeinfo.c: Generic impl of virNodeGetInfo
12231 * src/qemu_driver.c, src/openvz_driver: Switch to generic impl
12233 * src/internal.h: Add STREQLEN STRNEQLEN
12234 * src/Makefile.am: Add nodeinfo.{c,h}
12235 * docs/apibuild.py: Ignore nodeinfo files
12236 * tests/nodeinfotest.c, tests/Makefile.am: Test case for the
12238 * tests/nodeinfodata/*: Data files for the test suite
12240 Tue Jul 24 17:32:23 CEST 2007 Daniel Veillard <veillard@redhat.com>
12242 * libvirt.spec.in NEWS docs/* po/*: preparing release 0.3.1
12243 * src/libvirt.c python/generator.py: some cleanup and warnings
12244 from Richard W.M. Jones
12246 Tue Jul 24 10:29:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12248 * src/qemu_conf.c, src/qemu_conf.h: Added support for the VNC
12249 'listen' parameter in XML. Move -nographics flag to start of
12250 command line to avoid issues with QEMU default monitor settings.
12251 * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Re-enable
12252 VNC & SDL tests now they are working correctly
12253 * tests/qemudxml2argvdata/*.args: Move -nographics arg to new
12254 location due to qemu_conf.c changes
12256 Tue Jul 24 10:24:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12258 * src/qemu_driver.c: Fixed crash when cleaning up after failed
12259 attempt to start a VM.
12261 Tue Jul 24 10:20:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12263 * qemud/remote.c: Always immediately free virDomainPtr objects
12264 to avoid them hanging around cached until client exits
12266 Tue Jul 24 11:18:11 CEST 2007 Daniel Veillard <veillard@redhat.com>
12268 * docs/network.rng docs/Makefile.am libvirt.spec.in: added Relax-NG
12269 grammar for network descriptions that David Lutterkort posted in
12270 April, it needs an update though
12272 Tue Jul 24 10:15:33 CEST 2007 Daniel Veillard <veillard@redhat.com>
12274 * po/*: update translations and regenerate .pot
12276 Mon Jul 23 13:59:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12278 * src/qemu_driver.c: keep monitor filehandle open, and set
12279 close-on-exec flag for logfiles.
12281 Mon Jul 23 11:36:12 CEST 2007 Daniel Veillard <veillard@redhat.com>
12283 * docs/virsh.pod virsh.1: update to document VIRSH_DEFAULT_CONNECT_URI
12284 environment variable as suggested by David Lutterkort
12286 Fri Jul 20 12:53:35 CEST 2007 Daniel Veillard <veillard@redhat.com>
12288 * src/xen_internal.c: and nother one again from Saori Fukuta
12290 Fri Jul 20 11:02:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
12292 * src/xen_internal.c: some error handling improvements from Saori Fukuta
12294 Thu Jul 19 18:21:47 CEST 2007 Daniel Veillard <veillard@redhat.com>
12296 * src/Makefile.am src/openvz_conf.c src/openvz_conf.h
12297 src/openvz_driver.c src/qemu_driver.c src/util.c src/util.h:
12298 cleanup patches from Shuveb Hussain, with new util module for
12299 common code shared between drivers.
12301 Thu Jul 19 16:35:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12303 * configure.in, src/xen_internal.c: Newer Xen uses
12304 <xen/sys/privcmd.h>. Added detection code for this in
12307 Thu Jul 19 15:38:44 CEST 2007 Daniel Veillard <veillard@redhat.com>
12309 * src/xen_internal.c: rewrite of range check in credit scheduler
12310 initially suggested by Atsushi SAKAI
12312 Wed Jul 18 17:45:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12314 * src/qemu_conf.c: Remove double free of XML property upon
12317 Wed Jul 18 17:15:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12319 * tests/Makefile.am: Added QEMU tests
12320 * tests/qemuxml2argvdata/*: Data files for QEMU tests
12321 * tests/qemuxml2argvtest.c: Test XML -> argv conversion
12322 * tests/qemuxml2xmltest.c: Test XML -> XML roundtrip
12324 Wed Jul 18 17:11:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12326 * src/xmlrpctest.c, src/xml2sexprtest.c: More void * to
12327 const void * conversions
12329 Wed Jul 18 16:42:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12331 * src/qemu_conf.c, src/qemu_conf.h, src/xm_internal.c,
12332 src/xend_internal.c, src/xml.c: Added support for input devices
12333 using <input type='mouse|pointer' bus='ps2|xen|usb'/> element.
12334 * tests/sexpr2xmltest.c, tests/xmconfigtest.c,
12335 tests/xml2sexprtest.c: Add new tests for input devices
12336 * tests/test_utils.c, src/test_utils.h: the virTestRun callback
12337 uses a const void * instead of void *
12338 * tests/virshtest.c, tests/xencaptest.c: Switch to const void *
12339 * tests/sexpr2xmldata/*, tests/xmconfigdata/*, tests/xml2sexprdata/*
12340 Updated data files to take account of new input device syntax
12342 Wed Jul 18 12:10:08 CEST 2007 Daniel Veillard <veillard@redhat.com>
12344 * src/test.c include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
12345 cleanup of unused virDeviceMode
12347 Tue Jul 17 16:39:18 CEST 2007 Daniel Veillard <veillard@redhat.com>
12349 * src/openvz_conf.c src/libvirt.c: cleanup, avoid some warnings,
12350 and reuse the existing uuid generation function.
12352 Tue Jul 17 15:24:27 CEST 2007 Daniel Veillard <veillard@redhat.com>
12354 * configure.in src/Makefile.am src/driver.h src/libvirt.c:
12355 applied patch from Shuveb Hussain to plug the developping
12356 OpenVZ support. Disabled by default.
12357 * src/openvz_conf.[ch] src/openvz_driver.[ch]: added new
12358 OpenVZ driver files. Avoid a redefinition of readline().
12360 Mon Jul 16 17:36:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12362 * docs/libvir.html, docs/remote.html: Re-write notes on IPV6
12363 support in the remote daemon
12365 Mon Jul 16 16:59:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12367 * src/qemu_conf.c, src/qemu_conf.h, src/xend_internal.c,
12368 src/xm_internal.c, src/xml.c: Added support for the <clock/>
12369 element to switch between UTC and localtime in guests
12370 * tests/sexpr2xmltest.c, tests/xmconfigtest.c,
12371 tests/xml2sexprtest.c, tests/sexpr2xmldata/*,
12372 tests/xml2sexprdata/*, tests/xmconfigdata/*: Added test
12373 cases for new <clock/> element, and adapted existing expected
12374 data files where needed.
12375 * docs/libvir.html, docs/format.html: Added docs about the
12376 new <clock/> element
12378 Fri Jul 13 14:25:16 CEST 2007 Daniel Veillard <veillard@redhat.com>
12380 * src/xml.c: applied modified patch from Masayuki Sunou for
12381 device hot plug description with a wrong root element.
12383 Fri Jul 13 10:28:53 CEST 2007 Daniel Veillard <veillard@redhat.com>
12385 * src/virterror.c src/xml.c include/libvirt/virterror.h:
12386 patch from Masayuki Sunou to check Ethernet MAC addresses
12388 * po/*: string update and merge
12390 Thu Jul 12 17:48:40 CEST 2007 Daniel Veillard <veillard@redhat.com>
12392 * docs/libvir.html docs/remote.html: update the remote page,
12394 * docs/pki_check.sh: shell script to check the PKI and client/server
12397 Thu Jul 12 11:15:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12399 * src/remote_internal.c: Explicitly check certificate/key files
12400 before trying to load them so we can get improved error reports
12403 Thu Jul 12 11:02:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12405 * src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Pass
12406 around the virConnectPtr when available so errors get reported
12407 against that rather than the global error location.
12409 Thu Jul 12 11:02:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12411 * qemud/qemud.c: Fix cleanup when client access checks fail
12412 so we don't accidentally register a dead client with the
12413 event loop. Force close the virConnectPtr object if it is
12414 still open when a client connection goes away
12416 Thu Jul 12 11:00:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12418 * qemud/qemud.c: Add explicit checks for existance of x509
12419 certificate & key files to get better error reporting than
12420 GNU TLS offers when it can't load a file
12422 Thu Jul 12 10:57:17 CEST 2007 Daniel Veillard <veillard@redhat.com>
12424 * src/xen_internal.c: applied patch from Christian Ehrhardt to
12425 fix Xen hypervisor alignment problems on PPC64
12426 * AUTHORS: added Christian
12428 Thu Jul 12 09:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12430 * configure.in: Removed --with-qemud-pid-file option since
12431 it is no longer used.
12433 Thu Jul 12 09:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12435 * src/libvirt.c, src/xen_unified.c: If compiled with
12436 --enable-debug=yes then we now trace libvirt calls on
12439 Wed Jul 11 10:43:25 CEST 2007 Daniel Veillard <veillard@redhat.com>
12441 * src/xml.c: patch from Masayuki Sunou fixing leaks in
12442 virDomainParseXMLDiskDesc
12444 Mon Jul 9 14:24:12 CEST 2007 Daniel Veillard <veillard@redhat.com>
12446 * configure.in libvirt.spec.in include/libvirt/libvirt.h
12447 docs/* po/*: prepared release of 0.3.0
12449 Mon Jul 9 13:23:26 CEST 2007 Daniel Veillard <veillard@redhat.com>
12451 * src/xm_internal.c src/xend_internal.c src/buf.[ch]: add
12452 new function virBufferEscapeString() to format a string while
12453 escaping its content for XML, and apply it to a couple of
12454 obvious places, should fix bug #206653
12455 * po/*: updated strings, and added new bosnian localization.
12457 Fri Jul 6 17:50:00 EST 2007 Daniel P.Berrange <berrange@redhat.com>
12459 * src/qemu_driver.c: Use virFreeDomain and virFreeNetwork
12460 instead of free(), to ensure the objects are removed from
12463 Fri Jul 6 16:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12465 * src/libvirt.c, src/qemu_driver.c: If the virNetworkLookup*
12466 functions cannot find a network, then they now throw
12467 VIR_ERR_NO_NETWORK error.
12469 Fri Jul 6 16:08:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12471 * src/proxy_internal.c, src/proxy_internal.h,
12472 src.xen_internal.c, src/xen_internal.h,
12473 src/xen_unified.c, src/xen_unified.h,
12474 src/xend_internal.c, src/xend_internal.h,
12475 src/xm_internal.c, src/xm_internal.h,
12476 src/xs_internal.c, src/xs_internal.h: The interface
12477 between xen_unified.c and its underlying driver now uses
12478 a custom structure (struct xenUnifiedDriver) instead
12479 of reusing virDriver.
12480 * src/xen_unified.c: virDomainLookup* functions in Xen
12481 now throw VIR_ERR_NO_DOMAIN if the domain does not exist.
12482 * src/xs_internal.c: Fix indentation.
12484 Fri Jul 6 17:06:52 CEST 2007 Daniel Veillard <veillard@redhat.com>
12486 * src/virsh.c: fix an error in the default help string, bug #247197
12488 Fri Jul 6 16:00:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12490 * src/hash.c, src/internal.h: Remove virGetDomainByID function
12491 as it is not used or exported.
12492 * src/proxy_internal.c, src/qemu_driver.c, src/remote_internal.c,
12493 src/test.c, src/xend_internal.c, src/xs_internal.c: Fix
12494 all callers to virGetDomain and virGetNetwork functions -
12495 the callers do not need to set virterror since it is already
12496 set inside the functions.
12498 Fri Jul 6 15:54:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12500 * include/libvirt/virterror.h, src/virterror.c, src/libvirt.c:
12501 Add VIR_ERR_NO_DOMAIN and VIR_ERR_NO_NETWORK errors, which
12502 indicate that there is no domain/network from vir*Lookup* functions.
12503 * src/qemu_driver.c: Use VIR_ERR_NO_DOMAIN in lookup functions.
12504 * src/test.c: Use VIR_ERR_NO_DOMAIN in lookup functions.
12506 Thu Jul 5 18:02:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
12508 * src/xend_internal.c: fix typo in function comment
12509 * po/*: updated the localizations
12510 * qemud/libvirtd.init.in: LSB'ization of the init script and
12513 Thu Jul 5 09:47:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12515 * src/libvirt.c, src/xen_unified.c: Move code converting NULL
12516 and 'xen' into 'xen://' from the Xen driver into the main libvirt.c
12517 entry point. We need this conversion done at the top level, so that
12518 the network driver open func gets a valid URI in Xen case
12520 Thu Jul 5 09:46:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12522 * src/remote_internal.c: Fixed typo in setting flags for network
12525 Wed Jul 4 14:17:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12527 * src/xm_internal.c: configCache not getting refilled if the
12528 connection was closed (affected the remote case mainly),
12529 and error messages added to xenXMConfigCacheRefresh.
12531 Wed Jul 4 10:14:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12533 * src/conf.c, src/test.c, src/xen_internal.c: Readd checking
12534 of errors from virBuffer functions.
12535 * src/sexpr.c: Add comment about use of _GNU_SOURCE.
12536 * src/virsh.c: Remove use of _GNU_SOURCE / isblank.
12537 * src/xml.c, tests/Makefile.am: Minor cleanup.
12539 Mon Jul 2 09:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12541 * src/qemu_driver.c: Change 'qemu' to 'QEMU' to get compatability
12542 with previous releases reporting of driver type. Allow QEMU to
12543 handle qemu:///session for root users too. Fix network lookup
12544 functions to use networkPrivateData instead of privateData
12545 * src/remote_internal.c: Add auto-spawn of daemons for networking.
12546 Make network activate for Xen / Test drivers. Make the network
12547 functions use networkPrivateData instead of privateData
12549 Fri Jun 29 15:46:34 CEST 2007 Daniel Veillard <veillard@redhat.com>
12551 * src/virsh.c: applied patch from Masayuki Sunou to remove leaks
12552 of domains references in some commands.
12554 Fri Jun 29 15:18:36 CEST 2007 Daniel Veillard <veillard@redhat.com>
12556 * docs/apibuild.py docs/newapi.xsl: fix generation of XML and
12558 * docs/*: regenerated
12559 * src/bridge.c src/bridge.h src/buf.c src/iptables.c src/libvirt.c
12560 src/qemu_driver.c src/qemu_driver.h src/uuid.c src/uuid.h: cleanup,
12561 addd comments, made functions static and fixe a few bugs
12563 Tue Jun 29 13:44:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12565 * docs/site.xsl, docs/libvir.html, docs/hvsupport.html:
12566 Document which libvirt versions supported various
12569 Tue Jun 27 18:32:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12571 * libvirt.spec.in: Remove Makefile & Makefile.in from -devel
12572 packages to avoid multilib conflicts
12574 Tue Jun 26 19:56:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12576 * qemud/driver.c, qemud/driver.h, qemud/conf.c, qemud/conf.h,
12577 qemud/bridge.c, qemud/bridge.h, qemud/uuid.c, qemud/uuid.h,
12578 qemud/iptables.c, qemud/iptables.h: Removed files now in
12580 * src/qemu_driver.c, src/qemu_driver.h, src/qemu_conf.c, src/qemu_conf.h,
12581 src/bridge.c, src/bridge.h, src/uuid.c, src/uuid.h,
12582 src/iptables.c, src/iptables.h: Add files previously in
12584 * src/qemu_internal.c, src/qemu_internal.h: Remove obsolete
12587 Tue Jun 26 19:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12589 * qemud/libvirtd.sysconf, qemud/libvirtd.init.in: Added config
12590 to turn on/off remote support in daemon
12591 * qemud/conf.c, qemud/conf.h, qemud/driver.c, qemud/driver.h
12592 Finally switch over to be an internal driver.
12593 * qemud/dispatch.c, qemud/dispatch.h: Remove obsolete files
12594 * qemud/protocol.*: Remove all except packet header.
12595 * src/xml.c: Don't compile virXMLError for libvirt_proxy
12596 * src/remote_internal.c: Pick up QEMU uris too
12598 Tue Jun 26 19:05:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12600 * src/remote_internal.c: Fix typo in checking for read only
12603 Tue Jun 26 19:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12605 * qemud/libvirtd.init.in, qemud/Makefile.am, libvirt.spec.in
12606 Rename the daemon from libvirt_qemud to libvirtd
12608 Tue Jun 26 19:02:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12610 * qemud/libvirtd.in, qemud/libvirtd.init.in, qemud/Makefile.am
12611 rename the init script to not clash with forthcoming daemon
12614 Tue Jun 26 18:57:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12616 * qemud/Makefile.am, qemud/bridge.c, configure.in, libvirt.spec.in
12617 Don't use libsysfs for bridge APIs, call brctl directly.
12618 * qemud/driver.c: Set the STP and forward-delay params if provided
12620 Tue Jun 26 18:56:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12622 * src/test.c: Don't try to handle URIs with a hostname
12624 Tue Jun 26 18:53:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12626 * src/internal.h, src/libvirt.c, src/driver.h, src/libvirt_sym.version
12627 Added internal driver API hooks for global shutdown/startup/reload
12628 * qemud/driver.c, qemud/driver.h, qemud/internal.h, qemud/qemud.c
12629 Adapt to make use of new driver API for startup/shutdown
12631 Tue Jun 26 18:47:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12633 * src/event.h, src/event.c, src/Makefile.am, src/libvirt_sym.version:
12634 Provide an internal API for drivers to register callbacks for
12635 monitoring file handles & generating timer notifications.
12636 * qemud/driver.c, qemud/event.c, qemud/event.h, qemud/qemud.c:
12637 Adapt to make use of internal driver API for events.
12639 Tue Jun 26 18:41:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12641 * qemud/conf.c, qemud/conf.h, qemud/dispatch.c, qemud/driver.c,
12642 qemud/driver.h: Move code related to looking up VMs/networks
12645 Tue Jun 26 18:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12647 * qemud/conf.c, qemud/dispatch.c, qemud/driver.c, qemud/driver.h
12648 Change API contract of all driver methods to make official
12649 internal driver API.
12651 Tue Jun 26 18:30:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12653 * qemud/buf.c, qemud/buf.h: Remove obsolete files
12654 * src/xml.c: remove virBuffer functions
12655 * src/buf.c, src/buf.c, src/Makefile.am: Re-add virBuffer functions
12656 * proxy/Makefile.am, qemud/Makefile.am, qemud/conf.c,
12657 qemud/driver.c, src/conf.c, src/test.c, src/xen_internal.c,
12658 src/xend_internal.c, src/xm_internal.c, src/xmlrpc.h,
12659 tests/xmlrpc.test: Adapt to deal with new location of headers
12660 for virBuffer functions.
12662 Tue Jun 26 18:21:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12664 * qemud/conf.c, qemud/driver.c, qemud/buf.c, qemud/buf.h:
12665 Rename the buffer functions to match those in src/ directory.
12667 Tue Jun 26 18:18:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12669 * qemud/conf.c, qemud/uuid.c, qemud/uuid.h: Rename the
12670 UUID functions to not include QEMU in name.
12672 Tue Jun 26 18:10:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12674 * qemud/conf.c, qemud/conf.h, qemud/dispatch.c, qemud/driver.c,
12675 qemud/driver.h, qemud/internal.h, qemud/qemud.c: Split the
12676 struct qemud_server into two parts, moving QEMU stuff out into
12677 struct qemud_driver. Move all QEMU related data structures
12678 and manipulation code into conf.c file
12680 Tue Jun 26 16:50:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12682 * qemud/Makefile.am, qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
12683 qemud/driver.h, qemud/internal.h, qemud/qemud.c: Switch over to
12684 use regular libvirt virError objects & APIs for QEMU error
12687 Tue Jun 26 16:43:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12689 * qemud/driver.c, qemud/driver.h, qemud/qemud.c: Move code
12690 handling global startup, shutdown & reload into driver.c
12692 Tue Jun 26 16:41:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12694 * qemud/driver.c, qemud/driver.h, qemud/internal.h,
12695 qemud/qemud.c: Move VM & network process lifecycle management
12696 out of qemud.c and into the main driver.c
12698 Tue Jun 26 15:11:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12700 * qemud/dispatch.c, qemud/driver.c, qemud/driver.h: Move
12701 code for generating capabilities XML into driver.c file
12702 alongside other driver APIs
12704 Tue Jun 26 14:52:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12706 * qemud/event.c, qemud/event.h, qemud/Makefile.am: Generic
12707 standalone event loop implementation for monitoring file
12709 * qemud/qemud.c, qemud/internal.h: Adapt to use the generic
12712 Tue Jun 26 14:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12714 * src/remote_internal.c, python/Makefile.am: Python bindings
12715 fixed, and now building virConnect.getHostname and
12716 virConnect.getURI. Fixed a problem which stopped
12717 libvirt.py from being (re-)built. Rearranged
12718 python/Makefile.am to make it cleaner and clearer.
12720 Tue Jun 26 12:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12722 * include/libvirt/libvirt.h.in, src/libvirt.c: (and numerous
12723 other files) Added support for virConnectGetHostname
12724 and virConnectGetURI calls.
12726 Mon Jun 25 16:55:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12728 * include/libvirt/libvirt.h.in, src/libvirt.c, src/libvirt_sym.version,
12729 python/generator.py: Added virDomainGetConnect and
12730 virNetworkGetConnect to allow us to get the "hidden"
12731 connection associated with each domain or network.
12733 Mon Jun 25 14:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12735 * include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
12736 src/test.c: Remove unused virDomainKernel structure.
12738 Mon Jun 25 14:03:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12740 * src/remote_internal.c: Partial revert - defining enum transport
12741 as a typedef broke the build.
12743 Mon Jun 25 09:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12745 * src/remote_internal.c: Made cosmetic changes to the code and
12746 comments to allow 'make -C docs rebuild' to succeed parsing
12749 Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12751 * docs/site.xsl: Added link to OCaml bindings.
12753 Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12755 * qemud/remote.c, src/remote_internal.c: Fix virDomainGetVcpus
12756 in the remote case.
12757 * src/libvirt.c: Allow virConnectListDomains,
12758 virConnectListDefinedDomains, virConnectListNetworks and
12759 virConnectListDefinedNetworks to work in the case where
12760 they are called with maxids/maxnames == 0.
12761 * src/remote_internal.c: Fix virDomainGetMaxVcpus in remote
12762 case so that it copies sufficient data.
12763 * src/xen_unified.c: Remove autostart functions.
12765 Fri Jun 22 14:15:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12767 * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
12768 Add support for setting scheduler parameters over remote
12771 Fri Jun 22 12:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12773 * src/internal.h: Added STREQ and STRCASEEQ macros for clearer
12774 equality testing of strings.
12775 * src/xen_internal.c: Fix handling of the scheduler parameters
12776 field string so that the field doesn't contain garbage
12779 Fri Jun 22 12:14:40 CEST 2007 Daniel Veillard <veillard@redhat.com>
12781 * qemud/driver.c: apply patch from Jim Meyering to handle realloc
12782 failure without leaking.
12784 Thu Jun 21 16:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12786 * docs/virsh.pod: Fixed a few typos and POD directives.
12788 Thu Jun 21 16:48:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12790 * src/remote_internal.c: Fix virConnectGetMaxVcpus in the
12791 remote case when type parameter is NULL.
12792 * src/xend_internal.c: Proper error reporting in
12793 xenDaemonDomainDumpXML function.
12795 Thu Jun 21 11:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12797 * src/remote_interal.c: fix marshalling of 'id' field for
12798 virDomainPtr objects on the wire
12800 Thu Jun 21 16:59:02 CEST 2007 Daniel Veillard <veillard@redhat.com>
12802 * virsh.1 docs/virsh.pod docs/Makefile.am: updated the pod file
12803 to reflect the current set of commands, added a rule in the Makefile
12804 to regenerate the man page, and regenerated.
12806 Thu Jun 21 09:38:12 CEST 2007 Daniel Veillard <veillard@redhat.com>
12808 * docs/virsh.pod: commit of original POD file for virsh man page
12809 from Andrew Puch April 2006
12811 Wed Jun 20 18:23:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12813 * src/libvirt.c, src/qemu_internal.c, src/test.c,
12814 src/xen_unified.c, src/xend_internal.c,
12815 src/libvirt.c, include/libvirt/virterror.h:
12816 VIR_ERR_NO_SUPPORT means the function is not supported by
12817 the hypervisor. VIR_ERR_NO_CONNECT means the connection
12818 failed. VIR_ERR_CALL_FAILED is deprecated. Drivers which
12819 decline a URI now no longer produce an error. Make
12820 xen_unified.c ignore naked URI strings like "foo".
12822 Wed Jun 20 18:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12824 * src/virsh.c: 'virsh help command' now works even if we could
12825 not get a connection to the hypervisor. Rearranged the list
12826 of commands to be in alphabetical order.
12828 Wed Jun 20 10:54:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12830 * src/libvirt.c src/test.c src/xen_unified.c: Fix URI processing
12831 so that local file URIs work again. Move remote driver to
12832 last in the list, and fix all drivers so they decline remote
12833 URIs (Daniel Berrange).
12835 Tue Jun 19 20:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12837 * src/xend_internal.c: Recognise xen:/// as the standard
12838 URI for connecting to a local Xen hypervisor.
12840 Tue Jun 19 17:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12842 * docs/libvir.html docs/remote.html docs/uri.html: Documented
12843 all supported URI formats.
12845 Tue Jun 19 15:42:26 CEST 2007 Daniel Veillard <veillard@redhat.com>
12847 * docs/site.xsl docs/libvirt.html docs/uri.html docs/*.html:
12848 adding a placeholder for the new URIs page, update the
12849 stylesheet to generate a new page, rebuilt.
12851 Tue Jun 19 13:12:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12853 * docs/remote.html: Check in the updated documentation file
12856 Tue Jun 19 10:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12858 * src/virsh.c: vcpupin command now documented properly and
12859 gives clearer error messages if the cpulist is wrong
12862 Tue Jun 19 11:11:18 CEST 2007 Daniel Veillard <veillard@redhat.com>
12864 * src/xend_internal.c: drop the release information as this
12865 is usually garbage ending up polluting minor and major numbers.
12866 * src/virsh.c: applied patch from Masayuki Sunou providing a pair
12867 of alternate attach/detach commands
12869 Mon Jun 18 16:59:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12871 * docs/libvir.html (Remote): Updated certificate documentation
12872 to use GnuTLS certtool instead of CA.pl / openssl.
12874 Mon Jun 18 10:32:14 CEST 2007 Daniel Veillard <veillard@redhat.com>
12876 * src/virsh.c: applied SetMem cleanup patch from Mark Johnson
12878 Fri Jun 15 16:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12880 * configure.in: Solaris header file fixes (Mark Johnson).
12882 Fri Jun 15 14:42:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12884 * src/test.c, src/virsh.c, src/xend_internal.c, src/xm_internal.c:
12885 Replace calls to deprecated {,r}index with str{,r}chr.
12887 Fri Jun 15 08:53:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12889 * src/internal.h, src/virsh.c: Replace _N with N_ so that
12890 Solaris builds work (Mark Johnson).
12891 * src/virsh.c: Add a couple of missing error messages (Mark
12893 * python/types.c: Fix NULL pointer deref on DEBUG build
12895 * src/virsh.c: Spelling fix (Mark Johnson).
12897 Thu Jun 14 21:30:28 EST 2007 Daniel Berrange <berrange@redhat.com>
12899 * libvirt.spec.in: Change way extra_release is inserted to
12900 work with Fedora 7 where %dist is always defined
12902 Thu Jun 14 21:15:28 EST 2007 Daniel Berrange <berrange@redhat.com>
12904 * src/Makefile.am: Fix generation of coverage files by
12905 excluding files for server protocol
12907 Wed Jun 13 11:30:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
12909 * src/virsh.c: patch from Saori Fukuta for messages
12910 * *.po: updated with the patch from Saori Fukuta and merge from
12913 Mon Jun 11 14:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12915 * docs/examples/index.py: Autogenerate Makefile.am and
12916 .cvsignore in this directory with corrected LDADDS and
12917 including some generated subdirectories which CVS should
12920 Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12922 * libvirt.spec.in: BuildRequires gnutls-devel and
12923 set the remote PIDfile when configuring.
12924 * qemud/Makefile.am: Distribute the Perl scripts.
12925 * qemud/qemud.c: Only use QEMUD_DEBUG when ENABLE_DEBUG
12928 Mon Jun 11 13:25:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12930 * RENAMES: Suggested list of file renames.
12932 Mon Jun 11 13:24:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12934 * docs/examples/.cvsignore: Ignore .deps and .libs subdirectories.
12936 Mon Jun 11 13:22:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12938 * docs/libvir.html, docs/remote.html: Updated docs to reflect
12939 access control lists now based on Distinguished Names.
12941 Mon Jun 11 13:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12943 * configure.in: Add '--with-remote' flag. Add compatibility
12944 code for versions of libxml2 supporting xmlURI.query_raw.
12945 Check for GnuTLS library.
12947 Mon Jun 11 12:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12949 * qemud/Makefile.am, qemud/dispatch.c, qemud/dispatch.h,
12950 qemud/internal.h, qemud/protocol.c,
12951 qemud/protocol.h, qemud/protocol.x, qemud/qemud.c:
12952 libvirt_qemud server-side modifications to use
12953 XDR-based protocol instead of homebrew (Dan Berrange).
12954 QEMUD server modified to dispatch calls from remote
12955 clients (Richard Jones). Added TLS support (Richard Jones).
12956 Added TCP & IPv6 support (Richard Jones).
12957 Additional configuration file, command-line handling, and
12958 usage (Richard Jones).
12959 * qemud/conf.c: Remove unnecessary header file.
12961 Mon Jun 11 12:48:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12963 * src/qemu_internal.c: QEMU client-side modifications to
12964 use XDR-based protocol instead of homebrew. (Dan Berrange)
12966 Mon Jun 11 12:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12968 * qemud/remote.c, qemud/remote_generate_stubs.pl,
12969 qemud/remote_dispatch_localvars.h,
12970 qemud/remote_dispatch_proc_switch.h,
12971 qemud/remote_dispatch_prototypes.h: Server side of
12972 the remote patch, deals with call dispatch.
12974 Mon Jun 11 12:41:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12976 * src/remote_internal.c, src/remote_internal.h,
12977 src/driver.h, src/libvirt.c, src/Makefile.am: Client side
12978 of the remote patch - adds a remote driver.
12980 Mon Jun 11 12:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
12982 * qemud/remote_protocol.x, qemud/rpcgen_fix.pl,
12983 qemud/remote_protocol.c, qemud/remote_protocol.h: Client/server
12984 protocol used by remote.
12986 Fri Jun 8 13:06:01 CEST 2007 Daniel Veillard <veillard@redhat.com>
12988 * configure.in libvirt.spec.in include/libvirt/libvirt.h
12989 docs/*: prepared release of 0.2.3
12991 Fri Jun 8 11:35:55 CEST 2007 Daniel Veillard <veillard@redhat.com>
12993 * po/*: new merge of localization strings
12995 Thu Jun 7 14:20:30 EST 2007 Daniel Berrange <berrange@redhat.com>
12997 * src/xm_internal.c: Fixed handling of bridge devices
12998 when converting XM configs to XML
12999 * tests/xmconfigdata/test-fullvirt-*: Added explicit
13000 bridge device to test suite
13002 Thu Jun 7 10:47:30 EST 2007 Daniel Berrange <berrange@redhat.com>
13004 * autobuild.sh: Ensure build fails if tests fail
13006 Thu Jun 7 10:08:30 EST 2007 Daniel Berrange <berrange@redhat.com>
13008 * src/xm_internal.c: Fix boot device XML -> config conversion
13009 * test/xmconfigdata/test-fullvirt-new-cdrom.xml,
13010 test/xmconfigdata/test-fullvirt-old-cdrom.xml fix syntax for
13013 Thu Jun 7 15:48:30 CEST 2007 Daniel Veillard <veillard@redhat.com>
13015 * src/xend_internal.c src/xm_internal.c src/xml.c: add support
13016 for arguments to bootloader, patch from Hugh Brock
13017 * tests/sexpr2xmltest.c tests/xml2sexprtest.c
13018 tests/sexpr2xmldata/sexpr2xml-pv-bootloader.sexpr
13019 tests/sexpr2xmldata/sexpr2xml-pv-bootloader.xml
13020 tests/xml2sexprdata/xml2sexpr-pv-bootloader.sexpr
13021 tests/xml2sexprdata/xml2sexpr-pv-bootloader.xml: add specific
13024 Thu Jun 7 15:02:44 CEST 2007 Daniel Veillard <veillard@redhat.com>
13026 * src/libvirt.c: do not die if the daemon is not running on a Xen
13027 system (shows up as root only) and emit a warning instead
13028 * src/virterror.c include/libvirt/virterror.h docs/*: add
13031 Wed Jun 6 16:37:36 CEST 2007 Daniel Veillard <veillard@redhat.com>
13033 * src/xml.c: patch from Saori Fukuta to avoid (type ioemu)
13034 on Xen-3.1 and HVM guests devices to avoid breaking paravirt
13037 Wed Jun 6 14:22:36 CEST 2007 Daniel Veillard <veillard@redhat.com>
13039 * src/virsh.c: added a logging option to a file based on
13040 Nobuhiro Itou patch
13041 * src/xen_internal.c: small TODO comment from Atsushi SAKAI
13043 Wed Jun 6 09:20:23 CEST 2007 Daniel Veillard <veillard@redhat.com>
13045 * po/*: merge all po from Red Hat/Fedora translations, and
13046 ran 'make update-po'
13048 Tue Jun 5 22:47:09 CEST 2007 Daniel Veillard <veillard@redhat.com>
13050 * src/xen_internal.c: fix from Hugh Brock to allow compiling
13051 with -Werror after the previous patch
13053 Tue Jun 5 14:03:38 CEST 2007 Daniel Veillard <veillard@redhat.com>
13055 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
13056 src/driver.h src/libvirt.c src/libvirt_sym.version
13057 src/proxy_internal.c src/qemu_internal.c src/test.c
13058 src/virsh.c src/xen_internal.c src/xen_internal.h src/xen_unified.c
13059 src/xend_internal.c src/xm_internal.c src/xs_internal.c:
13060 Applied patches from Atsushi SAKAI to add the scheduler API,
13061 with patch from Rich Jones for error handing, and a number
13062 of cleanups and more error checking from me
13064 Mon Jun 4 10:41:25 CEST 2007 Daniel Veillard <veillard@redhat.com>
13066 * src/xml.c: apply patch from Masayuki Sunou about an uninitialized
13067 string when attaching a device
13069 Fri Jun 1 16:02:12 CEST 2007 Daniel Veillard <veillard@redhat.com>
13071 * src/xml.c: added a comment about (type ioemu) not needed
13072 for interfaces on xen 3.1 as pointed by Saori Fukuta
13074 Tue May 29 15:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13076 * python/generator.py, python/libvir.c, python/libvir.py:
13077 Wrap the virGetVersion call as Python libvirt.getVersion.
13079 * src/libvirt.c: Change virGetVersion so that the driver name
13080 is case insensitive.
13082 Tue May 29 15:41:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13084 * TODO: Added a note about requiring C++ compiler because of a
13085 possible problem with libtool autoconf macros.
13086 * docs/examples/Makefile.am, proxy/Makefile.am, qemud/Makefile.am,
13087 src/Makefile.am, tests/Makefile.am: Pass $(WARN_CFLAGS) when
13088 linking, so if -fstack-protector is there, gcc will link to
13089 the stack protector library.
13090 * tests/xencapstest.c: Allow this test to compile when Xen
13091 libraries are not enabled.
13093 Tue May 29 15:54:17 CEST 2007 Daniel Veillard <veillard@redhat.com>
13095 * src/virsh.c src/xen_internal.c src/xend_internal.c: memory leaks
13096 fixed by a patch from Masayuki Sunou
13098 Wed May 23 16:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13100 * src/virsh.c: Add attach-device and detach-device commands to
13101 virsh, and tidy up the way it reads whole files. Patch from
13102 Masayuki Sunou, Mark McLoughlin, Richard Jones.
13104 Mon May 21 20:38:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13106 * src/xm_internal.c: Allow xenXMDomainDefineXML to overwrite
13107 an existing guest config to match semantics of XenD and QEMU
13108 drivers. Patch from Hugh Brock.
13110 Fri May 18 14:36:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13112 * qemud/conf.c, qemud/internal.h, qemud/qemud.c: Save VM output
13114 * libvirt.spec.in: added /var/log/libvirt/qemud directory
13116 Mon May 14 11:00:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13118 * qemud/conf.c: Fix initialization of var to prevent stack
13119 overflow. Make sure we initialize the brCtl in case there
13120 is no virtual network running
13122 Thu May 11 10:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13124 * src/xm_internal.c: Fix boot device XML syntax
13126 Thu May 11 10:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13128 * src/xend_internal.c: Ignore old style VNC config for HVM
13129 guests on Xen 3.0.5 or later
13131 Thu May 11 09:34:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13133 * libvirt.spec.in: Added dep on dnsmasq
13135 Thu May 11 13:23:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13137 * .cvsignore, qemud/uuid.c: Add some generated files to .cvsignore.
13138 Remove an unused #include from uuid.c.
13140 Thu May 10 17:00:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13142 * docs/libvir.html, docs/libvirt.css, docs/remote.html:
13143 Added documentation for TLS certificates and libvirtd.conf.
13144 CSS changes makes the tables look nicer. remote.html is
13147 Tue May 8 11:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13149 * src/hash.c, src/internal.h, src/libvirt_sym.version: Export
13150 __virGetDomain and __virGetNetwork for use by the libvirtd.
13151 The double underscores indicate that these interfaces are
13152 not officially supported parts of the libvirt API or ABI.
13154 Tue May 8 11:14:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13156 * src/hash.c, src/internal.h, src/xs_internal.c: Remove
13157 unused fields from internal _virDomain structure.
13159 Thu May 3 12:09:41 EST 2007 Daniel P. Berange <berrange@redhat.com>
13161 * qemud/conf.c, qemud/internal.c: Read upto 8k from QEMU
13162 help output. Support the <on_reboot> attribute to set the
13163 -no-reboot flag in QEMU
13165 Thu May 3 18:00:41 CEST 2007 Daniel Veillard <veillard@redhat.com>
13167 * src/virsh.c: fix help for dumpxml and net-dumpxml commands
13168 based on Chris Wright feedback
13170 Thu May 3 15:03:00 BST 2007 Richard Jones <rjones@redhat.com>
13172 * src/virterror.c, include/libvirt/virterror.h: Added
13173 VIR_FROM_REMOTE, VIR_ERR_RPC, VIR_ERR_GNUTLS_ERROR
13176 Wed May 2 18:42:00 BST 2007 Richard Jones <rjones@redhat.com>
13178 * src/libvirt.c, src/qemu_internal.c: Allow network
13179 drivers to DECLINE to take accept a call. Only fail
13180 outright if the network driver reports an error.
13181 * src/qemu_internal.c (qemuNetworkOpen): Fix path to
13182 driver used in the non-root case.
13184 Wed May 2 18:38:00 BST 2007 Richard Jones <rjones@redhat.com>
13186 * src/proxy_internal.c, src/qemu_internal.c, src/test.c,
13187 src/xen_unified.c, src/xend_internal.c, src/xs_internal.c:
13188 During virConnectOpen, be careful to call __virRaiseError
13189 with conn = NULL so that the error message is not
13192 Wed May 2 17:55:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
13194 * qemud/libvirtd.in: synchronously restart the daemon in
13195 order to avoid https://bugzilla.redhat.com/238492
13197 Wed May 2 12:16:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13199 * src/xen_unified.c: Disable xm_internal.c driver on Xen
13202 Wed May 2 11:50:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13204 * qemud/qemud.c: Use --strict-order when running dnsmasq
13206 Mon Apr 30 18:33:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13208 * src/libvirt.c, src/driver.h, src/proxy_internal.c,
13209 src/qemu_internal.c, src/test.c, src/xen_internal.c,
13210 src/xend_internal.c, src/xs_internal.c,
13211 proxy/libvirt_proxy.c: Remove VIR_DRV_OPEN_QUIET.
13213 Mon Apr 30 18:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13215 * src/proxy_internal.c (xenProxyGetCapabilities): Add support
13216 for virConnectGetCapabilities across Xen proxy.
13218 Mon Apr 30 18:00:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13220 * src/xen_unified.c: In the non-root case keep track of the
13221 Xen underlying drivers which opened correctly and only
13222 try methods on those opened drivers.
13224 Mon Apr 30 17:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13226 * src/libvirt.c (virConnectNumOfDefinedDomains): Documentation
13227 fix (thanks to Jan Michael).
13229 Thu Apr 26 12:20:35 CEST 2007 Daniel Veillard <veillard@redhat.com>
13231 * src/virsh.c: fix virshStrdup to not crash if NULL is passed.
13233 Tue Apr 24 15:43:04 CEST 2007 Daniel Veillard <veillard@redhat.com>
13235 * src/internal.h src/xend_internal.c: a better fix from Shigeki Sakamoto
13236 and raising errors on memory shortage.
13238 Mon Apr 23 09:38:16 CEST 2007 Daniel Veillard <veillard@redhat.com>
13240 * src/internal.h src/xend_internal.c src/xml.c: applied 2 bug fixes
13241 from Shigeki Sakamoto about large buffers.
13243 Thu Apr 19 12:09:15 IST 2007 Mark McLoughlin <markmc@redhat.com>
13245 * docs/libvirt.rng: fix duplicate x86_64 arch
13247 Thu Apr 19 09:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13249 * docs/libvir.html: Change to space.
13251 Thu Apr 19 09:55:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
13253 * libvir.rng: applied patch to fix regexp constructs from Robin Green
13255 Wed Apr 18 16:16:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13257 * docs/libvir.html: Documentation for the remote patch.
13259 Wed Apr 18 11:12:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13261 * src/test.c, src/libvirt.c, src/virterror.c,
13262 include/libvirt/virterror.h: Add a VIR_FROM_TEST error class
13263 and ensure that test driver errors are from this class.
13264 Tidy up the error messages generated by the test driver when
13265 user doesn't add a path to the URL and avoid open ("/").
13267 Wed Apr 18 11:57:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
13269 * docs/remote.html docs/site.html docs/*.html: added a stub for
13270 the remote page, added it to stylesheet and regenerated
13272 Tue Apr 17 11:30:46 CEST 2007 Daniel Veillard <veillard@redhat.com>
13274 * docs/* NEWS libvirt.spec.in: prepare release of 0.2.2
13275 * docs/apibuild.py: do not scan xen_unified for APIs.
13277 Mon Apr 16 09:11:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13279 * qemud/conf.c: Check for existance of QEMU binary path. Fix check
13280 for -no-kqemu flag to work with x86_64 on i386
13282 Mon Apr 16 09:09:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13284 * src/qemu_internal.c: Implement virDomainGetOSType driver method
13287 Mon Apr 16 08:30:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13289 * python/generator.py, python/libvir.py: Ensure that connection
13290 info is passed into virError object when a virNetwork or virDomain
13293 Sun Apr 15 15:57:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13295 * qemud/driver.c: Fixed integer overflow in calculating CPU time
13296 for qemu guests - use long long throughout.
13298 Fri Apr 13 10:07:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13300 * src/xend_internal.c: Back out accidental commit of code which
13301 added an <os> block for dom0.
13303 Fri Apr 13 10:00:04 CEST 2007 Daniel Veillard <veillard@redhat.com>
13305 * src/virsh.c: fixed a bad messaging mechanism preventing localization
13306 and raised by Thomas Canniot
13308 Thu Apr 12 19:51:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13310 * src/xen_internal.c: Updated structs to work with new Xen 3.0.5
13311 hypercall ABI. Mask out HVM bit when determining domain status.
13312 Limit number of iterations when counting active IDs to 65000
13313 * src/xen_unified.c: Fix checking of return value for the
13314 domainGetVCpus method.
13315 * src/xend_internal.c: Added an impl of the DomainGetOSType
13316 method which works with inactive domains too. Don't do a
13317 redundant ping test against GetVersion, since we now already
13318 fetch config file format number which serves as a ping test.
13319 Allow the kernel SEXPR field to be missing for domain0, or if
13320 using a bootloader. Mark interface as type=bridge, if there
13321 is a bridge device listed, but no explicit script to fix inactive
13322 domains. Allow multiple boot devices to be provided for HVM
13323 * src/xml.c: Allow multiple boot devices to be provided for HVM.
13324 Support new style graphics config for HVM in xen 3.0.5
13325 * src/xs_internal.c: Don't hardcode domain type of 'linux',
13326 since we now have a fallback driver with xend that can make
13327 the correct diagnosis for inactive domains.
13329 Thu Apr 12 15:18:00 BST 2007 Richard Jones <rjones@redhat.com>
13331 * src/libvirt.c: set VIR_CONNECT_RO on read-only connections.
13332 Patch by S.Sakamoto.
13334 Wed Apr 11 18:04:00 CEST 2007 Daniel Veillard <veillard@redhat.com>
13336 * src/xend_internal.c src/xml.c: applied patch from Nobuhiro Itou
13337 to handle CDRom devices with no device name
13338 * tests/sexpr2xmltest.c tests/xml2sexprtest.c
13339 tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.sexpr
13340 tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml
13341 tests/xml2sexprdata/xml2sexpr-no-source-cdrom.sexpr
13342 tests/xml2sexprdata/xml2sexpr-no-source-cdrom.xml: added regression
13343 tests for this case based on Nobuhiro Itou test inputs.
13345 Tue Apr 10 19:17:29 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13347 * qemud/conf.c, qemu/internal.h, qemud/iptables.c, qemud/iptables.h,
13348 qemud/qemud.c: Some adjustment to IPTables rules to tighten up traffic
13349 flow to/from virtual networks & avoid accidentally NAT'ing wrong packets.
13350 Fixed XML dump when using auto-generated bridge device name.
13352 Tue Apr 10 19:15:29 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13354 * python/libvir.c, python/libvirt-python-api.xml: Added manual
13355 impl of the vir*GetAutoStart API methods since generator fails.
13357 Tue Apr 10 20:39:29 CEST 2007 Daniel Veillard <veillard@redhat.com>
13359 * src/virsh.c: fixed some typos reported by translator
13360 Nikolay Sivov should fix #235904
13362 Tue Apr 10 13:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13364 * src/xen_unified.c (xenUnifiedRegister): Comment the
13365 xenUnifiedRegister function to avoid error message
13366 when building docs/. Patch from Atsushi SAKAI.
13368 Tue Apr 10 12:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13370 * src/xen_unified.h, src/xen_unified.c: Fix indentation.
13372 Fri Apr 6 17:33:13 CEST 2007 Daniel Veillard <veillard@redhat.com>
13374 * src/test.c: converted to new XPath APIs
13375 * src/xml.c: fixed a return comment
13377 Fri Apr 6 14:27:13 CEST 2007 Daniel Veillard <veillard@redhat.com>
13379 * src/xml.[ch]: first patch to clean up XPath accesses with new
13380 routines, only xml.c is cleaned up, other modules to follow.
13382 Wed Apr 4 15:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13384 * src/xen_unified.c et al: Unified Xen driver. Architecture
13386 https://www.redhat.com/archives/libvir-list/2007-March/msg00396.html
13388 Wed Apr 4 10:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13390 * configure.in, qemud/Makefile.am: Set QEMUD_PID_FILE macro
13391 correctly (expand ${prefix} in Makefile).
13392 * qemud/qemud.c: Add command line help.
13393 * ChangeLog: Remove a CVS '>>>>' conflict line which had
13394 been committed inadvertently.
13396 Mon Apr 2 13:54:17 CEST 2007 Daniel Veillard <veillard@redhat.com>
13398 * src/virsh.c: applied patch from Atsushi SAKAI to clarify
13399 that memory values are in kilobytes
13401 Wed Mar 30 17:25:33 IST 2007 Mark McLoughlin <markmc@redhat.com>
13403 * qemud/iptables.c: As suggested by danpb, make libvirt_qemud
13404 handle SIGHUP by re-loading the iptables rules.
13406 Wed Mar 30 17:24:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
13408 * qemud/iptables.c: Re-factor things a little so that we
13409 maintain the rules in memory even when we're not going
13410 to write them to disk.
13412 Wed Mar 30 17:21:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
13414 * qemud/iptables.c: Remove the target interface parameter
13415 from iptablesPhysdevForward(). This rule is intended to
13416 allow frames to be forwarded across the bridge from the
13417 supplied bridge port. In this context, the --out parameter
13418 would match the outgoing bridge port, which will never
13419 be network->def->forwardDev.
13421 Wed Mar 30 17:17:15 IST 2007 Mark McLoughlin <markmc@redhat.com>
13423 * qemud/iptables.c: ensure iptablesContext is zereod out
13424 when allocating so we don't try and free an invalid pointer.
13426 Wed Mar 28 12:23:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13428 * python/generator.py: Python bindings now throw exceptions
13429 in almost all cases where an error is encountered in the
13430 underlying libvirt code.
13432 Wed Mar 28 10:47:16 CEST 2007 Daniel Veillard <veillard@redhat.com>
13434 * src/xen_internal.c: applied patch from Masayuki Sunou fixing the
13435 erroneous value of the hypercall XEN_V2_OP_SETMAXMEM
13436 * libvirt.spec.in: applies changes from Jeremy Katz for libvirt
13437 spec and also another fix from Michael Schwendt fixing rhbz#233874
13439 Tue Mar 27 10:46:00 EDT 2007 Daniel P. Berrange <berrange@redhat.com>
13441 * qemud/conf.c: Fixed bridged config to refer to 'bridge' attribute
13442 instead of 'dev' attribte on the <source> element, thus complying
13445 Tue Mar 27 10:39:00 EDT 2007 Daniel P. Berrange <berrange@redhat.com>
13447 * src/xen_internal.c: Fix handling of PAE flags in capabilities XML
13448 generation & merge duplicate (arch,os-type) entries.
13449 * tests/xencapstest.c: Added a test suite for various Xen capabilities
13451 * tests/xencapsdata/*: Added data files for Xen capabilities tests
13452 * configure.ac, tests/Makefile.am: Added tests/xencapsdata/ directory
13454 Tue Mar 27 11:26:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
13456 * qemud/qemud.c: If using FORTIFY_SOURCE, remove warning
13457 warn_unused_result by counting errors found in signal
13458 handler and logging them in the main loop.
13460 Mon Mar 26 11:29:43 CEST 2007 Daniel Veillard <veillard@redhat.com>
13462 * acinclude.m4: applied patch from Jim Meyering to avoid clobbering
13463 user specified CFLAGS
13465 Fri Mar 23 17:14:10 CET 2007 Daniel Veillard <veillard@redhat.com>
13467 * TODO qemud/conf.c src/virsh.c src/xend_internal.c src/xs_internal.c:
13468 replaced all sprintf instances by snprintf ones
13470 Fri Mar 23 09:12:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
13472 * src/xen_internal.c: Fix detection of host PAE capabilities,
13473 nul-terminate the token in the output XML and a couple of
13474 cleanups for determining structure sizes.
13476 Thu Mar 22 19:38:38 CET 2007 Daniel Veillard <veillard@redhat.com>
13478 * qemud/iptables.c qemud/qemud.c src/conf.c src/hash.c src/libvirt.c
13479 src/virsh.c src/xm_internal.c: change malloc/memset(0) pairs to
13482 Thu Mar 22 16:25:10 CET 2007 Daniel Veillard <veillard@redhat.com>
13484 * docs/*.html: repair the damages made by Amaya on the content
13485 of documentation following feedback from Simon Hernandez
13487 Thu Mar 22 11:35:05 CET 2007 Daniel Veillard <veillard@redhat.com>
13489 * src/virsh.c: applied patch from Masayuki Sunou to avoid a bug
13490 when using a wrong CPU number in vcpupin and report the error
13492 Thu Mar 22 10:47:46 CET 2007 Daniel Veillard <veillard@redhat.com>
13494 * libvirt.spec.in: one more extra fix for autostart dir from
13495 Florian La Roche, should fix #233409
13497 Wed Mar 21 11:29:06 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13499 * qemud/buf.c: Remove redundant (and broken) call to realloc()
13500 which caused a buffer overflow
13502 Wed Mar 21 16:31:29 CET 2007 Daniel Veillard <veillard@redhat.com>
13504 * qemud/buf.c src/xml.c: clarified virBufferGrow (and bufferGrow)
13505 routines documentation and fixes a couple of places where this
13506 was misused as pointed by Daniel Berrange.
13508 Wed Mar 21 10:52:06 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13510 * acinclude.m4: Always use -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
13511 -fstack-protector --param=ssp-buffer-size=4
13512 -fasynchronous-unwind-tables if supported by the compiler. Check
13513 all warnings flags for compiler support
13515 Tue Mar 20 10:00:06 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13517 * qemud/conf.c: Fixed buffer overflow in code building up
13518 command line args for qemu networking
13520 Tue Mar 20 16:40:06 CET 2007 Daniel Veillard <veillard@redhat.com>
13522 * src/virsh.c: add error messages for negative memory size as
13523 pointed out by Masayuki Sunou
13525 Tue Mar 20 16:30:29 CET 2007 Daniel Veillard <veillard@redhat.com>
13527 * src/xen_internal.c: applied patch from Atsushi SAKAI fixing
13528 direct hypervisor calls on some recent Xen versions
13530 Tue Mar 20 15:58:10 CET 2007 Daniel Veillard <veillard@redhat.com>
13532 * libvirt.spec.in: missing /etc/libvirt/qemu/networks/autostart
13534 Mon Mar 19 15:19:06 CET 2007 Daniel Veillard <veillard@redhat.com>
13536 * src/virsh.c: applied patch from Jim Meyering to add printf-style
13537 function checking in virsh.c and fix one warning raised
13539 Mon Mar 19 15:15:51 CET 2007 Daniel Veillard <veillard@redhat.com>
13541 * qemud/protocol.h src/internal.h: applied patch from Jim Meyering
13542 removing global variables (using named enum instead).
13544 Mon Mar 19 11:13:58 CET 2007 Daniel Veillard <veillard@redhat.com>
13546 * src/libvirt.c: patch from Atsushi SAKAI, fixing virsh access
13547 as root when libvirt_qemud is not running
13550 Mon Mar 19 10:44:25 CET 2007 Daniel Veillard <veillard@redhat.com>
13552 * src/virsh.c: patch from Masayuki Sunou, checking that byte
13553 values passed to virsh memory commands are positive.
13555 Fri Mar 16 20:30:20 CET 2007 Daniel Veillard <veillard@redhat.com>
13557 * NEWS libvirt.spec.in docs/libvir.html docs/news.html: preparing
13558 release of libvirt-0.2.1
13560 Fri Mar 16 19:32:01 CET 2007 Daniel Veillard <veillard@redhat.com>
13562 * docs/*: updated the format section, augmented Networking with
13563 description provided by Daniel Berrange
13564 * po/*: regenerated
13566 Fri Mar 16 16:01:54 CET 2007 Daniel Veillard <veillard@redhat.com>
13568 * qemud/conf.c qemud/driver.h qemud/internal.h src/internal.h
13569 src/sexpr.h src/test.c src/xm_internal.c src/xml.c src/xml.h:
13570 applied patch from Richard Jones adding check to printf-like
13571 functions and fixing the problems raised
13573 Fri Mar 16 15:55:01 CET 2007 Daniel Veillard <veillard@redhat.com>
13575 * src/xml.c tests/sexpr2xmltest.c tests/xmconfigtest.c: avoid
13576 warnings when compiling without Xen
13578 Fri Mar 16 11:43:08 CET 2007 Daniel Veillard <veillard@redhat.com>
13580 * python/generator.py: patch from Tatsuro Enokura to fix
13581 virNetworkDefine binding
13583 Thu Mar 15 14:57:20 EST 2007 Daniel P Berrange <berrange@redhat.com>
13585 * src/xen_internal.c: Fixed off by one error in extracting
13586 the regex match data - the first match is the whole string.
13587 So the substrings start at position 1. Fixed indentation of
13588 <features> XML. Use memset to clear guest_archs and thus
13589 ensure no uninitialized data for valgrind to complain about.
13591 Thu Mar 15 14:14:20 EST 2007 Daniel P Berrange <berrange@redhat.com>
13593 * src/qemud_internal.c: Paranoia ensure the XML returned by
13594 the getCapabilities call is NULL terminated before strduping
13595 to protect from malicious / buggy server
13596 * qemud/dispatch.c: Packet length for getCapabilities call
13597 should be the size of the reply body, not the size of the
13600 Thu Mar 15 14:14:20 EST 2007 Daniel P Berrange <berrange@redhat.com>
13602 * src/xen_internal.c: Fix missing NULL initializer
13604 Thu Mar 15 13:20:20 EST 2007 Daniel P Berrange <berrange@redhat.com>
13606 * libvirt.spec.in: Don't include default network XML in /etc
13607 filelist. Instead only install it froma %post script. This
13608 ensure that if an admin deletes the default network it doesn't
13609 get recreated upon RPM updates.
13611 Thu Mar 15 18:20:03 CET 2007 Daniel Veillard <veillard@redhat.com>
13613 * include/libvirt/libvirt.h[.in] include/libvirt/virterror.h
13614 proxy/libvirt_proxy.c qemud/Makefile.am qemud/conf.c qemud/conf.h
13615 qemud/dispatch.c qemud/internal.h qemud/protocol.h
13616 src/driver.h src/internal.h src/libvirt.c src/libvirt_sym.version
13617 src/proxy_internal.c src/proxy_internal.h src/qemu_internal.c
13618 src/test.c src/virsh.c src/virterror.c src/xen_internal.c
13619 src/xen_internal.h src/xend_internal.c src/xm_internal.c
13620 src/xml.h src/xs_internal.c: applied patch from Richard Jones
13621 adding virConnectGetCapabilities(), plus various small little
13623 * docs/*: fixed the api extractor script and regenerated
13626 Thu Mar 15 16:21:46 CET 2007 Daniel Veillard <veillard@redhat.com>
13628 * python/generator.py: fix the python binding generation for
13629 virNetworkLookup...() functions, which were clashing with
13630 equivalent virConnLookup...() equivalents, as reported by
13633 Thu Mar 15 15:26:20 CET 2007 Daniel Veillard <veillard@redhat.com>
13635 * src/virsh.c src/xen_internal.c: applied patch from Atsushi SAKAI
13636 to better handle the case where there is no limit in the domain
13638 * docs/architecture.html docs/format.html docs/intro.html
13639 docs/libvir.html: started to update the documentation to reflect
13642 Thu Mar 15 08:40:33 CET 2007 Daniel Veillard <veillard@redhat.com>
13644 * configure.in proxy/Makefile.am proxy/libvirt_proxy.c
13645 src/Makefile.am src/libvirt.c src/qemu_internal.c src/test.c
13646 src/xen_internal.c src/xen_internal.h src/xend_internal.c
13647 src/xm_internal.c src/xml.c src/xs_internal.c
13648 tests/Makefile.am tests/sexpr2xmltest.c tests/xmconfigtest.c:
13649 allow selective compilation of Xen,QEmu/KVM and test support
13650 in or out at configure time. Also allows to compile on a system
13651 without Xen development installed. All drivers are selected by
13654 Wed Mar 14 14:12:32 CET 2007 Daniel Veillard <veillard@redhat.com>
13656 * src/xend_internal.c: applied patch from Kazuki Mizushima, an
13657 inversion between shutoff and shutdown flags
13658 * po/* doc/*: automatic update
13660 Tue Mar 13 18:04:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13662 * qemud/qemud.c: Use the --dhcp-leasefile arg to dnsmasq to
13663 ensure multiple instances of dnsmasq can co-exist without
13664 splaterring each other's leases.
13666 * qemud/bridge.c: Use a single ifname arg instead of two separate
13667 ifnameOrFmt & ifname args to simply use by callers
13669 * qemud/conf.c: Autogenerate a MAC address if none is provided.
13670 Added support for ethernet, bridge, mcast, client and server
13671 networking config types in XML parser, generator and command
13672 line args. Use the 'vlan' attribute for all QEMU nics to ensure
13673 they don't all appear on same virtual LAN. Ensure order of
13674 QEMU NICs matches order they are declared in the XML. Tweak
13675 existing XML generation of 'network' type to match syntax
13676 used by Xen for specifying tap device name. Add support for
13677 creating isolated networks, or networks forwarding to an
13678 explicit named physical device.
13680 * qemud/default-network.xml: Add <forward/> to make default network
13681 automatically forward to any active physical device.
13683 * qemud/internal.h: Added struct fields for new types of network
13684 config, and for tracking network forward device.
13686 * qemud/iptables.h, qemud/iptables.c: Allow an optional target
13687 device name to be passed in to restrict IP tables forwarding
13690 * qemud/Makefile.am: Create $sysconfdir/lib/libvirt for DHCP
13693 * libvirt.spec.in: Include %{_sysconfdir}/lib/libvirt for DHCP
13696 Mon Mar 12 23:17:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13698 * libvirt.spec.in: Don't run UUID generation on first install,
13699 instead run it if there is no <uuid> in the default network.
13700 This ensures RPM upgrades get a UUID inserted
13702 Mon Mar 12 12:32:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13704 * libvirt.spec.in: Generate a random UUID for the default network
13705 for each RPM installation. Mark /etc directories as %dir as needed
13706 and make files mode 0700 to protect passwords for VNC server
13708 Mon Mar 12 10:09:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13710 * qemud/Makefile.am: Generate a fixed, but random UUID in the default
13711 network config file when installing it
13713 Fri Mar 9 15:46:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13715 * src/libvirt_sym.version, src/conf.h, src/conf.c: Export virConf*
13716 symbols for private use by libvirt daemon. Prefixed symbols with
13717 __ to indicate privateness, and not present in any installed header
13718 files. Patch from Rich Jones.
13720 Fri Mar 9 10:41:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13722 * python/generator.py, python/libvir.c, python/libvirt_wrap.h,
13723 python/libvirt-python-api.xml, python/types.c: Added new bindings
13724 for all the virNetwork related APIs
13726 Fri Mar 9 14:43:11 CET 2007 Daniel Veillard <veillard@redhat.com>
13728 * src/virsh.c: bad pointer/int mismatch fixes from Richard Jones
13730 Thu Mar 8 22:07:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13732 * qemud/conf.c: Fix double free in XML parsing routine
13734 Thu Mar 8 18:31:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13736 * qemud/Makefile.am: Make sure to create $PREFIX/var/run/libvirt
13737 so that the system daemon can create its socket
13739 Thu Mar 8 16:32:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13741 * autobuild.sh: Make all compiler warnings fatal for automated
13742 build & test harness
13744 Thu Mar 8 16:30:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13746 * libvirt.spec.in: Add some macro magic to allow Release field
13747 to incorporate an automated build number for testing - a no-op
13748 for normal RPM builds.
13750 Thu Mar 8 10:14:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13752 * src/qemu_internal.c: Fix inverted check on file handle to
13753 avoid opening connection twice. Avoid SEGV if uri->scheme is
13754 NULL. Don't run autostart for system instance.
13756 Thu Mar 8 09:47:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13758 * src/libvirt.c: Refactored driver registration to avoid
13759 type-punning problems by casting different structs. Also
13760 fix network driver opening to open read-only when needed.
13762 Thu Mar 8 15:10:12 CET 2007 Daniel Veillard <veillard@redhat.com>
13764 * src/internal.h src/xend_internal.c src/xm_internal.c src/xml.c:
13765 add a check for minimal size of Xen Dom0, track places where we
13766 had arbitrary minimal memory requirement and use a predefined
13767 macro to clean this up.
13769 Thu Mar 8 08:45:46 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13771 * src/virsh.c: Added an explicit --readonly option to virsh
13772 to override the simple Xen-specific heuristic when running
13773 as non-root. Patch from Rich Jones
13775 Thu Mar 8 09:54:46 CET 2007 Daniel Veillard <veillard@redhat.com>
13777 * src/xml.c: applied patch from Nobuhiro Itou to allow the
13778 VNC port 5900 to be used with xend, it's an edge case.
13780 Thu Mar 8 09:22:29 CET 2007 Daniel Veillard <veillard@redhat.com>
13782 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
13783 src/driver.h src/libvirt.c src/libvirt_sym.version
13784 src/proxy_internal.c src/qemu_internal.c src/test.c src/virsh.c
13785 src/xen_internal.c src/xen_internal.h src/xend_internal.c
13786 src/xm_internal.c src/xs_internal.c: applied patch from
13787 Masayuki Sunou to add and entry point to check the maximum
13788 number of virtual CPU supported by a virtualization mechanism
13789 * doc/*.html doc/libvirt-*.xml: regenerated the interfaces descriptions
13790 and associated docs.
13792 Wed Mar 07 11:53:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
13794 * qemud/default-network.xml: add a default network
13796 * qemud/Makefile.am: install it, and the autostart symlink
13798 * libvirt.spec.in: update
13800 Tue Mar 06 17:02:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13802 * src/hash.c: virGetDomain and virGetNetwork require that both
13803 name and UUID are non-NULL. (Patch from Rich Jones)
13805 Tue Mar 06 16:52:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13807 * include/libvirt/libvirt.h.in, python/libvir.c, src/driver.h
13808 src/libvirt.c, src/qemu_internal.c, src/test.c, src/virsh.c,
13809 src/xend_internal.c, src/xm_intenral.c: Change const char **
13810 to char **const to fix compiler warnings
13811 * python/Makefile.am: Don't warn about redundant decls
13812 * python/libvirt_wrap.h: Ensure PyGILState is always initialized
13813 * tests/reconnect.c: Added ATTRIBUTE_UNUSED annotation
13814 All patches from Richard Jones
13816 Tue Mar 06 14:21:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13818 * src/xend_internal.c, src/xml.c, src/xm_internal.c: Support
13819 the 'keymap' attribute for VNC configuration. Based on patch
13820 signed off by: Takahashi Tomohiro
13821 * tests/sexpr2xmldata/, tests/xml2sexprdata/: Update to test
13822 handling of keymap attribute
13824 Tue Mar 06 11:47:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13826 * src/qemud.c: Unlink read-only socket upon startup (patch
13829 Mon Mar 05 12:19:42 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13831 * src/qemu_internal.c: Remove bogus ATTRIBUTE_UNUSED annotation
13832 from qemuOpenConnection (from Rich Jones)
13834 Mon Mar 05 12:07:42 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13836 * qemud/qemud.c: Parse QEMU stderr immediately at startup to
13837 identify monitor, and then wait for monitor prompt. Re-arrange
13838 order of file descriptor watches/processing to avoid re-entrancy
13840 * qemud/driver.c: Make handling of monitor commands slightly
13841 more robust. Added support for 'paused' CPU state in status
13842 * qemud/internal.h, qemud/conf.c: Added support for 'paused'
13845 Mon Mar 05 16:39:54 IST 2007 Mark McLoughlin <markmc@redhat.com>
13847 * qemud/qemud.c: don't try and listen to a null socket
13848 path when run as a session daemon. Noticed by Rich Jones
13850 Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
13852 * qemud/driver.c: fix a couple of invalid free() calls
13854 Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
13856 * libvirt.spec.in: BuildRequires: /sbin/iptables and
13857 run configure with the --with-init-script and
13858 --with-qemud-pid-file parameters.
13860 * configure.in: it's --with-qemud-pid-file, not
13863 Mon Mar 05 10:52:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
13865 * libvirt.spec.in: sync some of the chanes from dist-cvs
13866 so that this looks pretty much as it should do for the
13869 Fri Mar 02 15:16:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13871 * src/xend_internal.c: Change lookup by UUID to request a path
13872 of /xen/domain/[uuid] directly for new XenD, rather than iterating
13873 over domains sequentially. Derived from patch by
13874 Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>
13876 Fri Mar 02 09:21:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13878 * src/virsh.c: Fix output of VNC display in the case where
13879 there is no explicit listen attribute in the XML
13881 Thu Mar 01 18:22:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13883 * src/xend_internal.c: Instead of looking for string 'Cannot'
13884 in POST response, look for 'xend.err' which is likely to catch
13885 many more error replies from XenD. Signed-off-by: Kazuki Mizushima
13887 Thu Mar 01 16:17:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
13889 * acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
13890 GNOME but with a few more flags we'd been using.
13892 * configure.in: use that instead of setting CFLAGS
13895 * proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
13896 src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
13898 Thu Mar 01 16:00:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
13900 Fix from Richard W.M. Jones <rjones@redhat.com>
13902 * proxy/libvirt_proxy.c: include locale.h
13904 Tue Feb 27 10:49:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13906 * src/xend_internal.c: Check POST reply for 'Cannot' to detect
13907 failure of core dump on Domain-0. Signed-off-by: Kazuki Mizushima
13909 Tue Feb 27 10:35:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13911 * src/virsh.c: Fix SEGV when doing tab-completion of commands
13912 which have no arguments (eg, nodeinfo<TAB>).
13914 Tue Feb 27 10:25:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13916 * src/virsh.c: Fix command line argument parsing to make
13917 the '-t' argument work. Signed-off-by: Saori Fukuta
13919 Tue Feb 27 10:20:43 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13921 * src/xend_internal.c: Only hardcode port = 5900+domid if
13922 running against old XenD < 3.0.3, because in newer XenD
13923 port is guarenteed to be available in XenStore if the VNC
13926 Mon Feb 26 15:33:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
13928 * qemud/conf.c, qemud/uuid.[ch]: move qemudParseUUID()
13931 Mon Feb 26 15:31:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
13933 * qemud/uuid.[ch]: add uuid generation code
13935 * qemud/Makefile.am: build it
13937 * qemud/conf.c: generate a UUID if not specified in the XML
13939 Mon Feb 26 15:20:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
13941 * qemud/conf.c: qemudAutostartConfigs(): print the detailed
13942 error message from a guest/network autostart failure.
13944 Mon Feb 26 14:20:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
13946 * qemud/conf.c: check for malloc failure in GenerateXML()
13947 and GenerateNetworkXML()
13949 * qemud/driver.c: free the XML output after returning it
13950 from the DumpXML() commands.
13952 Fri Feb 23 12:14:34 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13954 * qemud/driver.c, qemud/internal.h, qemud/qemud.c, qemud/conf.c,
13955 qemud/conf.h: Added code to detect QEMU version number. Adapt
13956 command line construction code to use correct options for VNC
13957 and KQEMU based on version number
13959 Fri Feb 23 10:52:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>
13961 * qemud/Makefile.am: Fix up name of init script in EXTRA_DIST
13963 * libvirt.spec.in: Update path to libvirt_qemud and add the
13964 init script & post/pre scripts to register with chkconfig
13966 Fri Feb 23 14:32:54 IST 2007 Mark McLoughlin <markmc@redhat.com>
13968 * qemud/conf.c: don't load config files unless they have
13969 a ".xml" suffix, e.g. backup files ... we spew a warning
13972 Fri Feb 23 12:49:11 IST 2007 Mark McLoughlin <markmc@redhat.com>
13974 * qemud/libvirtd.in: add init script for libvirt_qemud
13976 * qemud/Makefile.am: install it unless we were configured
13977 with --with-init-scripts=none
13979 * configure.in: add --with-init-scripts to allow us
13980 have different flavour init scripts
13982 Fri Feb 23 12:46:44 IST 2007 Mark McLoughlin <markmc@redhat.com>
13984 * qemud/qemud.c: add --pid-file and default to writing
13985 out a PID file to /var/run/libvirt_qemud.pid in daemon
13988 * configure.in: add --with-pid-file arg
13990 Fri Feb 23 12:45:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
13992 * qemud/Makefile.am: install libvirt_qemud in /usr/sbin
13993 instead of /usr/libexec
13995 * src/Makefile.am, src/qemu_internal.c: pass the correct
13998 Fri Feb 23 10:26:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
14000 * src/virsh.c: in "start" and "net-start" use e.g.
14001 vshCommandOptDomainBy() so that we actually get an
14002 error message if the domain/network isn't found.
14004 Fri Feb 23 09:11:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
14006 * qemud/conf.c: actually autostart guests/networks at startup
14009 Fri Feb 23 09:08:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
14011 * qemud/internal.h: put the config directory paths in
14012 an array in order to make them easier to initialize,
14013 but still expose pointers to each of them as members
14014 in the server struct.
14016 * qemud/qemud.c: cleanup the config directory path
14019 Fri Feb 23 09:03:19 IST 2007 Mark McLoughlin <markmc@redhat.com>
14021 * qemud/driver.c: maintain the autostart flag on disk
14022 using symlinks from the "autostart" directories to
14023 the corresponding config files.
14025 * qemud/internal.h: add paths to the autostart links
14026 to the vm/network structures and paths to the autostart
14027 dirs to the server struct.
14029 * qemud/qemud.c: initialize the server autostart dir
14032 * qemud/conf.h: expose qemudEnsureDir()
14034 * qemud/conf.c: check the autostart symlinks when
14035 loading config files at startup.
14037 Fri Feb 23 09:00:13 IST 2007 Mark McLoughlin <markmc@redhat.com>
14039 * qemud/protocol.h: add the (domain/network)(Get/Set)Autostart
14040 requests and replies to the protocol.
14042 * src/qemu_internal.c: hookup the qemu driver autostart
14045 * qemud/dispatch.c, qemud/driver.[ch], internal.h: add
14046 the daemon side, but just set an in-memory autostart
14049 Fri Feb 23 08:51:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
14051 * src/virsh.c: add "autostart" and "net-autostart" commands
14052 and cleanup the "list" and "net-list" commands a bit.
14054 Fri Feb 23 08:49:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
14056 * include/libvirt/libvirt.h.in, src/libvirt.c add
14057 virDomainGetAutostart(), virDomainSetAutostart(),
14058 virNetworkGetAutostart() and virNetworkSetAutostart().
14060 * src/libvirt_sym.version: export the API
14062 * src/driver.h: add methods to the driver vtables.
14064 * src/proxy_internal.c, src/qemu_internal.c,
14065 src/test.c, src/xen_internal.c, src/xend_internal.c,
14066 src/xm_internal.c, src/xs_internal.c: set those
14069 Fri Feb 23 08:41:34 IST 2007 MarkMcLoughlin <markmc@redhat.com>
14071 * qemud/conf.[ch]: significantly re-factor qemudLoadConfigXML()
14072 so that "parse the XML", "assign the def to a VM" and
14073 "save the XML" operations are in separate functions.
14074 Add qemudRemoveInactiveVM() and qemudRemoveInactiveNetwork().
14075 Report errors when loading config files at startup. Check
14076 that a domain/network's name matches the config filename.
14078 * qemud/driver.c: update the Create() and Define() functions
14079 to explicitly parse/assign/save. Also, fix bug where if
14080 Create() failed, we would free the VM without removing it
14081 from the inactive list.
14083 * qemud/qemud.c: use qemudRemoveInactiveVM/Network()
14085 Fri Feb 23 08:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
14087 * qemud/driver.[ch], qemud/dispatch.c: fix the fact that
14088 qemudDispatchDomainStart() doesn't report an error if the uuid
14089 lookup fails and also move the uuid lookup into the driver
14090 so that it matches the way we do Destroy().
14092 Fri Feb 23 08:37:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
14094 * qemud/conf.c, qemud/driver.c, qemud/internal.h,
14095 qemud/qemud.c: Merge the ->activevms and ->inactivevms
14096 into a single ->vms list in order to make things
14097 easier to manage. Likewise for networks. Also add
14098 qemudIsActiveVM() and qemudIsActiveNetwork() inline
14101 Thu Feb 22 14:06:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14103 * src/xm_internal.c, src/xend_internal.c: Re-arrange VM creation
14104 commands to ensure we destroy stillborn domains if device hotplug
14105 fails to complete. Fix deletion of inactive VMs from internal
14106 cache of domain configs.
14108 Thu Feb 22 11:45:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14110 * src/xs_internal.c: Refuse to do shutdown / reboot on
14111 Dom0 guest. Signed-off-by: Kazuki Mizushima
14112 <mizushima.kazuk@jp.fujitsu.com>
14114 Thu Feb 22 10:37:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
14116 * qemud/conf.c: fix another xml property leak.
14118 Tue Feb 20 19:08:58 IST 2007 Mark McLoughlin <markmc@redhat.com>
14120 * qemud/conf.c: use strerror(errno) in some error messages
14121 to make them a bit more useful
14123 Tue Feb 20 19:07:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
14125 * qemud/conf.c: don't free active networks/vms if we
14126 fail to save the new config
14128 Tue Feb 20 18:25:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
14130 * virsh.c: cmdNetworkList() re-indent this.
14132 Tue Feb 20 17:49:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
14136 * qemud/qemud.c: qemudCleanup(): free the socket
14139 * qemud/conf.c: fix various leaks in the xml parsing
14141 * qemud/iptables.c: fix a typo causing a leak
14143 Tue Feb 20 16:49:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
14145 * qemud/conf.c, qemud/qemud.c: only create config dirs
14146 when actually trying to write out config.
14148 Tue Feb 20 09:56:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
14150 * qemud/bridge.c: change the fix for the alignment warning
14153 Tue Feb 20 09:03:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
14155 * qemud/qemud.c: clean up qemudInitialize() and qemudListen()
14156 so as to coalesce the two "system vs. user" code paths and
14157 fix up some problems noticed by dan.
14159 Mon Feb 19 16:59:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
14161 * qemud/qemud.c: don't shutdown guest and networks on
14164 Mon Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
14166 * qemud/qemud.c: handle SIGQUIT.
14168 Mon Feb 19 09:38:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14170 * qemud/bridge.c, qemud/conf.c: Fixed int -> char casts to deal
14171 with endianness / alignment issues on IA64 platforms. Patch
14172 from Atsushi SAKAI <sakaia@jp.fujitsu.com>
14174 Fri Feb 16 18:28:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
14176 * qemud/qemud.c, qemud/dispatch.c, qemud/internal.h
14177 qemud/conf.c, qemud/driver.c, configure.in: add a
14178 qemudLog() function which uses syslog() if we're in daemon
14179 mode, doesn't output INFO/DEBUG messages unless the
14180 verbose flag is set and doesn't output DEBUG messages
14181 unless compiled with --enable-debug. Also, make a first
14182 pass through fatal errors and add error messages for them.
14184 Fri Feb 16 18:26:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
14186 * qemud/internal.h, qemud/qemud.c: improve signal handling
14187 and handle SIGHUP by shutting down all guests and networks
14188 and re-loading configs, and handle SIGINT and SIGTERM
14189 by shutting down cleanly.
14191 Fri Feb 16 18:24:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
14193 * qemud/qemud.c, qemud/bridge.c, qemud/iptables.c: fix
14194 our FD_CLOEXEC usage so that all fds which should be
14195 closed on exec are marked as such and that we leave
14196 exec() to do the actual closing.
14198 Fri Feb 16 18:23:15 IST 2007 Mark McLoughlin <markmc@redhat.com>
14200 * qemud/qemud.c: fix qemudEnableIpForwarding() to not leak
14201 an fd if writing to /proc/sys/net/ipv4/ip_forward fails.
14203 Fri Feb 16 11:56:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14205 * tests/Makefile.am: Fixed linkage of test suites
14207 Fri Feb 16 11:03:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14209 * src/driver.h, src/proxy_internal.c, src/qemu_internal.c,
14210 src/test.c, src/xen_internal.c, src/xend_internal.c,
14211 src/xm_internal.c, src/xs_internal.c: Remove the unused
14212 'init' method from the internal driver API (from Rich Jones)
14214 Fri Feb 16 10:36:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14216 * qemud/internal.h, qemud/qemud.c, libvirt.spec.in: Remove
14217 mistaken references to gnutls.
14219 Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
14221 * qemud/conf.c: fix <interface type='network'> output
14223 Thu Feb 15 19:06:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
14225 * qemud/conf.c: fix the <graphics> output - we weren't
14228 Thu Feb 15 19:06:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
14230 * qemud/conf.c: fix a couple of typos
14232 Thu Feb 15 19:05:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
14234 * qemud/conf.c: fix segfault
14236 Thu Feb 15 19:04:10 IST 2007 Mark McLoughlin <markmc@redhat.com>
14238 * qemud/conf.h: move qemudFreeVMDef() down a bit
14240 Thu Feb 15 16:00:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
14242 * qemud/bridge.c: don't output bridge parameters if they
14245 Thu Feb 15 15:56:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
14247 * qemud/conf.[ch], qemud/dispatch.c, qemud/internal.h,
14248 qemud/qemud.c, qemud/driver.c: allow re-defining network
14249 configs; basically copying dan's patch for domains.
14251 Thu Feb 15 15:47:46 IST 2007 Mark McLoughlin <markmc@redhat.com>
14253 * qemud/conf.c: fix a couple of qemud_vm_def leaks
14255 * driver.c: simplify qemudDomainDefine()
14257 Wed Feb 14 17:01:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14259 * qemud/qemud.c: Ensure we create the main libvirt config
14260 directory at startup
14262 Wed Feb 14 16:47:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14264 * qemud/conf.c: Fixed generation of <features> block, and
14265 don't include ID, or VNC port in inactive XML generation
14267 Wed Feb 14 16:45:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14269 * src/qemu_internal.c: Fixed path to the libvirt_qemud
14270 daemon for auto-start
14272 Wed Feb 14 19:53:33 CET 2007 Daniel Veillard <veillard@redhat.com>
14274 * libvirt.spec.in: spec cleanup and missing BuildRequires
14275 * qemud/Makefile.am: avoid -Werror
14277 Wed Feb 14 19:06:26 CET 2007 Daniel Veillard <veillard@redhat.com>
14279 * configure.in NEWS include/libvirt/libvirt.h docs/* docs/apibuild.py:
14280 prepare release of 0.2.0, update doc, avoid console module for API.
14281 * po/*: regenerated
14283 Wed Feb 14 12:35:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14285 * libvirt.spec.in: Added dep on libsysfs-devel. Pre-create
14286 the qemu config dir & socket dir.
14288 Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14290 * src/qemu_internal.c, qemud/qemud.c: Move configs into
14291 /etc/libvirt/qemu or $HOME/.libvirt/qemu and the socket into
14292 $HOME/.libvirt/qemud-sock or /var/run/libvirt/qemud-sock
14294 Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14296 * python/generator.py: blacklist vshRunConsole method from
14297 the python bindings
14299 Wed Feb 14 12:17:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14301 * po/libvirt.pot, po/*.po: Updated the i18n strings wrt to
14302 the recent code changes
14304 Wed Feb 14 11:58:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
14306 * src/qemud.c, src/conf.c, src/internal.c, src/driver.c: Change
14307 the handling of the internal VM config to allow replacing of the
14308 config for a VM which is running.
14310 Wed Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
14312 Fix from Richard W.M. Jones <rjones@redhat.com>
14314 * virsh.c: add a colon after the connect arg to
14317 Wed Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
14319 * src/qemu_internal.c: correctly register the network
14322 Wed Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
14324 * autogen.sh: run autoheader before automake
14326 Wed Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
14328 * qemud/iptables.[ch]: add code for managing iptables
14331 * qemud/Makefile.am: add iptables.[ch].
14333 * qemud/qemud.c: add and remove iptables rules as
14336 * qemud/conf.c: when starting a guess, add a rule
14337 allowing it to forward packets across the networks
14340 * qemud/internal.h: add iptables context ptr
14342 * configure.in: add --with-iptables-dir and
14343 --with-iptables-prefix to allow us to put our rules
14344 in a chain with the given prefix and save the rules
14345 in files in the given dir so as to integrate with
14346 the proposed "service iptables restart" solution
14349 https://bugzilla.redhat.com/227011
14351 Wed Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
14353 * src/xml.c: with <interface type="network"> connect the
14354 Xen guest to the appropriate bridge.
14356 Wed Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
14358 * include/libvirt/libvirt.h.in, src/libvirt.c: add
14359 virNetworkGetBridgeName() to allow finding out what
14360 bridge to connect to in order to join a network.
14362 * src/driver.h: add networkGetBridgeName() to vtable.
14364 * qemud/protocol.h: add the request and reply to
14365 the qemud protocol.
14367 * qemud/dispatch.c, qemud/driver.[ch]: handle them
14370 * src/qemu_internal.c: implement GetBridgeName()
14371 in the qemu driver.
14373 * src/libvirt_sym.version: add new symbol.
14375 Wed Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
14377 * src/xend_internal.c, src/xm_internal.c: pass the
14378 connection to virDomainParseXMLDesc()
14380 * src/xml.[ch]: make virDomainParseXMLDesc accept
14381 a virConnectPtr so that we can use it later to
14382 lookup the bridge associated with a network
14384 * tests/xml2sexprtest.c: just pass NULL here, it's
14387 Wed Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
14389 * qemud/conf.c: add support for connecting a qemu
14390 guest to a bridge using a tap device in order to
14391 connect it to a virtual network.
14393 * qemud/internal.h: add <interface type="network">
14394 config and track tapfds so as to not close them
14397 * qemud/qemud.c: don't close tapfds on exec and
14398 disconnect the iface when the guest shuts down.
14400 Wed Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
14402 * qemud/conf.c, qemud/internal.h: add dhcp config
14404 * qemud/qemud.c: start dnsmasq to provide dns/dhcp
14405 for virtual networks.
14407 Wed Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
14409 * configure.in: add --disable-bridge-params, check
14410 for libsysfs and various kernel headers
14412 * bridge.[ch]: add code for managing bridges
14414 * qemud/Makefile.am: add bridge.[ch] and link against
14415 libsysfs if enabled.
14417 * qemud/conf.c: add support for bridge config.
14419 * qemud/internal.h: add various bridging bits
14421 * qemud/qemud.c: implement qemudStartNetworkDaemon()
14422 and qemudShutdownNetworkDaemon().
14424 Wed Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
14426 * qemud/conf.[ch]: implement parsing and saving network
14429 * qemud/driver.c: flesh out the stubs
14431 * qemud/internal.h: add networks list etc. to
14432 struct qemud_server
14434 * qemud/qemud.c: add qemudStartNetworkDaemon() and
14435 qemudShutdownNetworkDaemon() stubs.
14437 Wed Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
14439 * qemud/protocol.h: add the protocol for virtual networks
14441 * qemud/dispatch.c: implement the protocol
14443 * qemud/driver.[ch]: add stubs for the driver
14445 * qemud/internal.h: add struct qemud_network
14447 * src/qemu_internal.c: add a virtual networks driver
14449 Wed Feb 14 15:43:28 IST 2007 Mark McLoughlin <markmc@redhat.com>
14451 * src/virsh.c: add the net-* commands.
14453 Wed Feb 14 15:37:17 IST 2007 Mark McLoughlin <markmc@redhat.com>
14455 Note: potential ABI break here, but people should
14456 only really be using virError structs returned from
14459 * include/libvirt/virterror.h: add virNetwork
14462 * src/internal.h, src/virterror.c: add network param
14463 to __virRaiseError()
14465 * src/conf.c, src/hash.c, src/libvirt.c, src/proxy_internal.c,
14466 src/qemu_internal.c, src/sexpr.c, src/test.c, src/xen_internal.c,
14467 src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c,
14468 src/xs_internal.c: update.
14470 Wed Feb 14 15:33:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
14472 * include/libvirt/libvirt.h.in: add the networks APIs
14474 * include/libvirt/virterror.h: add some error codes
14476 * src/driver.h: add network driver vtable
14478 * src/hash.c: add networks hash
14480 * src/internal.h: add virNetwork
14482 * src/libvirt.c: hook up the APIs to the network
14485 * src/libvirt_sym.version: add the new APIs
14487 * src/virterror.c: handle the new error codes
14489 Wed Feb 14 15:07:26 IST 2007 Mark McLoughlin <markmc@redhat.com>
14491 * src/conf.h: fix merge error - remove the argc argument
14492 from qemudBuildCommandLine()
14494 Wed Feb 14 15:03:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
14496 * src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff
14497 to VSH_BYFOO in order to re-use it for the network stuff.
14499 Wed Feb 14 14:58:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
14501 * src/hash.c, src/internal.h: Re-name virConnect->domains_mux
14502 to virConnect->hashes_mux since it will also be used to
14503 protect the networks hash.
14505 Wed Feb 14 14:57:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
14507 * qemud/conf.c: qemudSaveConfig() will always report a
14508 more specific error, so we should avoid overwriting
14511 Wed Feb 14 14:54:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
14513 * qemud/qemud.c: Re-factor out qemudExec() so that it can
14514 be used to launch dnsmasq.
14516 * qemud/conf.c: don't return argc from qemudBuildCommandLine()
14517 as exec() doesn't need it.
14519 Wed Feb 14 14:52:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
14521 * qemud/conf.c: Re-factor bits of conf.c so that:
14523 - qemudMakeConfigPath() can be re-used given another configDir
14524 - split qemudEnsureConfigDir() out of qemudSaveConfig() so
14525 that it may be re-used to create another configDir
14526 - split qemudScanConfigDir() out so that qemudScanConfigs()
14527 can scan multiple configDirs
14529 Wed Feb 14 14:50:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
14531 * qemud/conf.c: handle an unspecified MAC address,
14532 fix the argv freeing code in qemudBuildCommandLine()
14533 and fix copy and paste error in qemudGenerateXML()
14535 Wed Feb 14 14:42:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
14537 * src/internal.h: add virConnect->qemud_fd so that
14538 xen and qemu don't share the handle member.
14540 * src/hash.c, src/qemu_internal.c: update
14542 Wed Feb 14 14:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
14544 * qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
14545 qemud/qemud.c: include autoconf's config.h
14547 Wed Feb 14 14:39:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
14549 * conf.[ch]: rename from config.[ch] so we can use
14550 autoconf's config.h
14552 * Makefile.am: update
14554 * driver.c, qemud.c: upd.
14556 Wed Feb 14 14:33:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
14558 * autogen.sh: run autoheader
14560 * config.h.in: remove
14562 Tue Feb 13 19:46:35 EST 2007 Daniel Berrange <berrange@redhat.com>
14564 * autobuild.sh: Run coverage tests during automated build
14565 * autogen.sh: Point aclocal at m4 directory explicitly
14566 * configure.in: Added command line arg to enable coverage
14567 * Makefile.am: Added scripts directory
14568 * src/Makefile.am: Build with coverage testing if requested
14569 and add target for extracting coverage data
14570 * scripts/*: Helper tools for coverage testing
14571 * tests/Makefile.am: Make tests link to object files instad
14572 of the static library to ensure single output dest for
14573 coverage data when running tests
14575 Tue Feb 13 19:29:35 EST 2007 Daniel Berrange <berrange@redhat.com>
14577 * src/qemu_internal.h, src/qemu_internal.c, src/Makefile.am,
14578 src/driver.h, src/libvirt.c: Added a new driver to talk to
14581 * src/virterror.c, include/libvirt/virterror.c: Added new
14582 error domain for QEMU.
14584 * qemud/*: Added a daemon service for managing QEMU machines
14585 via the libvirt qemu_internal driver
14587 * src/virsh.c: use a read-write connection by default for QEMU
14590 * configure.in, Makefile.am: Added qemud subdirectory.
14592 Thu Feb 8 12:59:14 EST 2007 Daniel Berrange <berrange@redhat.com>
14594 * src/xml.c, src/xend_internal.c, src/xend_internal.h: Remove
14595 obsolete / unused code.
14597 Wed Feb 7 11:30:14 EST 2007 Daniel Berrange <berrange@redhat.com>
14599 * autobuild.sh, src/Makefile.am: Added a control file for
14600 automating build and test processes
14602 Wed Feb 7 07:43:21 EST 2007 Daniel Berrange <berrange@redhat.com>
14604 * src/xml.c, tests/xml2sexprdata/*.sexpr: Also include the
14605 vcpu info in the (image (hvm)) part of the SEXPR for fully
14606 virt guests, so it gets passed on into QEMU.
14608 Wed Feb 7 07:40:21 EST 2007 Daniel Berrange <berrange@redhat.com>
14610 * configure.in, tests/Makefile.am: Only enable the low level
14611 Xen tests if XenD is actually running & accessible via the
14614 Sun Jan 28 14:44:23 EST 2007 Daniel Berrange <berrange@redhat.com>
14616 * sc/console.c, src/console.h, src/virsh.c: Rename the
14617 virRunConsole method to vshRunConsole to avoid it getting
14618 picked up in auto-generated python bindings
14620 Fri Jan 26 07:59:52 EST 2007 Daniel Berrange <berrange@redhat.com>
14622 * src/virshtest.c: Fixed up for new way test driver enumerates
14625 Fri Jan 26 06:53:52 EST 2007 Daniel Berrange <berrange@redhat.com>
14627 * src/virshc: Added 'console' and 'vncdisplay' commands to
14629 * src/console.c, src/console.h: Impl of a simple interactive
14632 Fri Jan 26 12:48:13 CET 2007 Daniel Veillard <veillard@redhat.com>
14634 * src/virsh.c: Richard W.M. Jones pointed out a missing option
14637 Fri Jan 26 12:09:49 CET 2007 Daniel Veillard <veillard@redhat.com>
14639 * autogen.sh: applied patch from Richard W.M. Jones to not
14640 output instructions if configure failed
14642 Mon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
14644 * include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and
14645 VIR_UUID_STRING_BUFLEN
14647 * libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c,
14648 libvirt/src/internal.h, libvirt/src/libvirt.c,
14649 libvirt/src/proxy_internal.c, libvirt/src/test.c,
14650 libvirt/src/virsh.c, libvirt/src/xend_internal.c,
14651 libvirt/src/xm_internal.c, libvirt/src/xml.c,
14652 libvirt/python/libvir.c: use them
14654 Mon Jan 23 12:28:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
14656 Issues pointed out by Karel Zak <kzak@redhat.com>
14658 * src/virsh.c: fix up some syntax strings, use BUFSIZ
14659 and free names returned from virConnectListDefinedDomains()
14661 Mon Jan 22 15:41:52 EST 2007 Daniel Berrange <berrange@redhat.com>
14663 * src/virsh.c: Fix crash in 'connect' command by ensuring
14664 we always strdup the connection URI string.
14666 Mon Jan 22 16:23:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
14668 * src/internal.h: virDomain.handle refers to the "id"
14669 in the API, so re-name to virDomain.id to avoid
14672 * src/hash.c, src/libvirt.c, src/proxy_internal.c, src/test.c,
14673 src/xen_internal.c, src/xend_internal.c, src/xm_internal.c,
14674 src/xml.c, src/xs_internal.c: update for rename.
14676 Mon Jan 22 16:17:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
14678 * src/driver.h: remove Free(), GetName(), GetID() and
14679 GetUUID() driver methods.
14681 * src/proxy_internal.c, src/test.c, src/xen_internal.c,
14682 src/xend_internal.c, src/xm_internal.c, src/xs_internal.c:
14683 Update driver vtables.
14685 Mon Jan 22 16:24:54 CET 2007 Daniel Veillard <veillard@redhat.com>
14687 * configure.in libvirt.spec.in docs/*.html include/libvirt/libvirt.h:
14688 preparing release of 0.1.11
14689 * docs/Makefile.am libvirt.spec.in: package libvirt.rng in
14690 * po/*: translation update
14692 Fri Jan 19 15:28:13 EST 2007 Daniel Berrange <berrange@redhat.com>
14694 * tests/xmconfigtest.c: Test suite to check conversion from
14695 XML to XM config files, and the reverse
14696 * tests/xmconfigdata/*.xml: Source XML files for the test
14698 * tests/xmconfigdata/*.cfg: Source XM config files for the
14700 * configure.ac, tests/Makefile.am: Added xmconfigdata subdir
14701 * tests/xmconfigdata/Makefile.am: Include config files when
14704 Fri Jan 19 15:23:13 EST 2007 Daniel Berrange <berrange@redhat.com>
14706 * src/xm_internal.c: Finished off the conversion from XML
14707 to XM config files, and the reverse, to deal with all known
14708 libvirt guest config options.
14710 Fri Jan 19 15:07:13 EST 2007 Daniel Berrange <berrange@redhat.com>
14712 * src/conf.c: Free stored config parameters, when free'ing
14713 the virConfPtr object. For values, only free the object
14714 corresponding to the values' type
14716 Thu Jan 18 16:12:13 EST 2007 Daniel Berrange <berrange@redhat.com>
14718 * docs/testnode.xml, docs/testdomfc4.xml: Tweak memory settings to
14719 be more realistic for testing purposes
14721 Thu Jan 18 16:05:13 EST 2007 Daniel Berrange <berrange@redhat.com>
14723 * src/test.h, src/test.c: Implement full inactive domain management
14724 support in mock hypervisor to allow testing of apps wanting inactive
14727 Thu Jan 18 13:37:02 EST 2007 Daniel Berrange <berrange@redhat.com>
14729 * src/xend_internal.c: Tweak some of the new inactive domain methods
14730 to only run when XenD is >= 3.0.4, so it falls back correctly to
14731 the src/xm_internal.c driver.
14733 Wed Jan 10 16:20:02 CET 2007 Daniel Veillard <veillard@redhat.com>
14735 * docs/libvirt.rng: udated for the upcoming KVM and QEmu support
14737 Wed Jan 10 11:06:36 CET 2007 Daniel Veillard <veillard@redhat.com>
14739 * docs/libvirt.rng: went through the existing tests with the RNG and
14740 fixed or added a number constructs
14742 Tue Jan 9 17:28:18 CET 2007 Daniel Veillard <veillard@redhat.com>
14744 * docs/libvirt.rng: first version of the Relax-NG schemas to validate
14747 Wed Dec 20 15:56:38 CET 2006 Daniel Veillard <veillard@redhat.com>
14749 * po/*: updated localization files
14750 * configure.in NEWS libvirt.spec.in docs/libvir.html docs/news.html
14751 include/libvirt/libvirt.h: preparing release of 0.1.10
14753 Tue Dec 19 12:26:53 EST 2006 Daniel P. Berrange <berrange@redhat.com>
14755 * src/xm_internal.c: Maintain hash of config filenames, separate from
14756 hash mapping domain names to config files. This deals with case of two
14757 config files specifying same named guest, which although not recommended
14758 seems to be encountered 'in the wild'.
14760 Mon Dec 18 23:11:53 CET 2006 Daniel Veillard <veillard@redhat.com>
14762 * src/xend_internal.c: Dan Berrange pointed out a ref count bug
14763 rhbz#143946 , patch applied
14765 Thu Dec 14 10:58:00 CET 2006 Daniel Veillard <veillard@redhat.com>
14767 * po/*.po po/libvirt.pot: merged new ms transations, updated
14768 with the current source.
14770 Wed Dec 13 17:24:03 EST 2006 Daniel Berrange <berrange@redhat.com>
14772 * src/xend_internal.c: Implement the ListDefinedDomains,
14773 NumOfDefinedDomains, DomainCreate ,DomainDefineXML, DomainUndefine
14774 APIs to manage inactive domains when running with Xen 3.0.4. Make
14775 GetMaxMemory, SetMaxMemory, SetMemory, GetInfo, SetVCPUs & DumpXML
14776 work with inactive domains. Cache xendConfigVersion when first
14777 connecting to Xend.
14778 * src/xend_internal.h: Prototypes for new APIs
14779 * src/xm_internal.c: Updated for new way of getting xendConfigVersion
14781 * src/internal.h: Added xendConfigVersion field for virConnect struct
14783 Tue Dec 12 09:05:03 EST 2006 Daniel Berrange <berrange@redhat.com>
14785 * src/xend_internal.c: Added support for vnclisten parameter
14787 * src/xml.c: Support new style paravirt framebuffer graphics
14788 configuration from xen 3.0.4 tree. Also add support for setting
14789 vncpasswd & vnclisten address SEXPR values, based on passwd
14790 and listen XML attributes.
14791 * tests/sexpr2xmltest.c: Whitespace cleanup.
14792 * tests/xml2sexprtest.c: Added test cases for new style paravirt
14793 framebuffer graphics configuration
14794 * tests/xml2sexprdata/xml2sexpr-pv-vfb*: Data files for new
14796 * tests/sexpr2xmldata/sexpr2xml-pv-vfb-*.xml: Added listen address
14799 Thu Dec 7 12:28:03 EST 2006 Daniel Berrange <berrange@redhat.com>
14801 * src/xend_internal.c: Add bounds checking in xenDaemonListDomains to
14802 avoid overflowing the 'ids' array.
14804 Wed Dec 6 17:46:03 EST 2006 Daniel Berrange <berrange@redhat.com>
14806 * src/xend_internal.c: Support parsing of new paravirt framebuffer
14807 graphics configuration from xen 3.0.4 tree.
14808 * test/sexpr2xmltest.c: Added test cases for new & old framebuffer
14809 config parsing in paravirt & fullyvirt.
14810 * test/sexpr2xmldata/sexpr2xml-pv-vfb-*: New test data files
14812 Wed Dec 6 17:40:03 EST 2006 Daniel Berrange <berrange@redhat.com>
14814 * test/xml2sexprdata/xml2sexpr-curmem.xml, test/xml2sexprdata/xml2sexpr-curmem.sexpr:
14815 Fix test case to reflect recent change to bootloader/image handling
14817 Wed Dec 6 15:06:28 CET 2006 Daniel Veillard <veillard@redhat.com>
14819 * src/xen_internal.c: the structure passed to the vcpuinfo hypercall
14820 had changed between version 1 and version 2 too, the leading domain
14821 field disapeared since it goes in the including op. Fixes redhat
14822 bugs #217370 and #217743
14824 Mon Dec 4 17:47:03 CET 2006 Daniel Veillard <veillard@redhat.com>
14826 * po/ca.po po/fr.po po/hi.po: merging more localizations coming
14829 Wed Nov 29 13:13:39 CET 2006 Daniel Veillard <veillard@redhat.com>
14831 * NEWS configure.in libvirt.spec.in docs/libvir.html docs/news.html
14832 include/libvirt/libvirt.h: preparing libvirt-0.1.9 release
14833 * po/*.po: more updates and fix all the .po to not barf when msgfmt
14834 tries to process them
14836 Tue Nov 28 13:15:00 CET 2006 Daniel Veillard <veillard@redhat.com>
14838 * configure.in: update for ALL_LINGUAS
14839 * po/*.po: updated with strings from Red Hat translators
14841 Mon Nov 27 23:27:26 CET 2006 Daniel Veillard <veillard@redhat.com>
14843 * src/xml.c: patch for rhbz#214741, when using pygrub
14844 do not push the os image information for domain creation
14847 Wed Nov 22 17:57:58 CET 2006 Daniel Veillard <veillard@redhat.com>
14849 * docs//*: regenerated
14850 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in src/driver.h
14851 src/libvirt.c src/proxy_internal.c src/test.c src/virsh.c
14852 src/xen_internal.c src/xend_internal.c src/xm_internal.c
14853 src/xs_internal.c: added support for dumping core of domains
14854 assuming a xend with the latest patch to do so.
14856 Tue Nov 21 18:05:33 CET 2006 Daniel Veillard <veillard@redhat.com>
14858 * src/xs_internal.c: Michel Ponceau pointed out a bug in
14859 xenStoreDomainGetNetworkID refactoring
14861 Mon Nov 20 16:51:43 CET 2006 Daniel Veillard <veillard@redhat.com>
14863 * src/xml.c src/xs_internal.c src/xs_internal.h: cleanup for the
14864 dynamic device code to isolate as a separate function
14865 xenStoreDomainGetNetworkID() the access to the XenStore
14867 Thu Nov 16 19:36:12 EST 2006 Daniel Berrange <berrange@redhat.com>
14869 * src/xm_internal.c: Add support for device_model parameter to
14870 make HVM guests work. Also support serial console in HVM, since
14871 it needs to be explicitly turned on, unlike PV.
14873 Thu Nov 16 18:16:42 EST 2006 Daniel Berrange <berrange@redhat.com>
14875 * src/xml.c: Mark 'msg' parameter in XML error handler as unused.
14876 Fix device id lookup code to use unsigned integers avoid type
14879 Thu Nov 16 13:09:42 EST 2006 Daniel Berrange <berrange@redhat.com>
14881 * src/Makefile.am: Added new xm_internal.c source file
14882 * src/libvirt.c: Call the xenXMRegister() method to activate
14884 * src/driver.h: Added a unique id for XM driver backend
14885 * src/internal.h: Increase number of drivers allowed
14886 * src/xm_internal.h, src/xm_internal.c: New driver for
14887 managing inactive domains from /etc/xen config files
14889 Thu Nov 16 18:18:12 CET 2006 Daniel Veillard <veillard@redhat.com>
14891 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
14892 src/driver.h src/libvirt.c src/libvirt_sym.version
14893 src/proxy_internal.c src/test.c src/xen_internal.c
14894 src/xend_internal.c src/xml.c src/xml.h src/xs_internal.c:
14895 intagrated patch from Michel Ponceau to add hot-plug devices
14896 support to the API, integrated in driver API and fixed
14897 a few small things. Still a TODO in src/xml.c about
14898 moving xenstore direct accesses to a new routine.
14900 Wed Nov 15 18:23:13 EST 2006 Daniel Berrange <berrange@redhat.com>
14902 * python/generator.py, python/libvir.c, python/libvirt-python-api.xml:
14903 Added binding for virConnectListDefinedDomains API.
14905 Wed Nov 15 15:08:13 EST 2006 Daniel Berrange <berrange@redhat.com>
14907 * src/xen_internal.c, src/xs_internal.c, src/xend_internal.c,
14908 src/proxy.c: Don't try to invoke APIs if domain is is < 0, letting
14909 these inactive domains be handled by other driver backend.
14910 * src/xend_internal.h: make xend_config_version() api available
14913 Wed Nov 15 14:59:13 EST 2006 Daniel Berrange <berrange@redhat.com>
14915 * src/hash.c, src/hash.h: Added three new methods for iterating
14916 over hashtable entries, virHashForEach, virHashRemoveSet &
14919 Wed Nov 15 14:52:01 EST 2006 Daniel Berrange <berrange@redhat.com>
14921 * src/conf.c, src/conf.h: Add two new APIs virConfNew() and
14922 virConfSetValue() for creating & populating new config objects
14923 in memory instead of from a file
14925 Wed Nov 15 14:42:01 EST 2006 Daniel Berrange <berrange@redhat.com>
14927 * python/libvir.c, python/libvirt_wrap.h, python/types.h: Ensure
14928 that unsigned longs are marshalled to python Long type instead
14929 of Int, to avoid 32-bit integer wraparound
14931 Tue Nov 14 18:42:01 EST 2006 Daniel Berrange <berrange@redhat.com>
14933 * src/xend_internal.c: Added support for parsing non-bridge style
14934 networking configs for guests.
14935 * src/xml.c: Ensure the <ip address> element gets serialized to
14936 the SEXPR for non-bridged networks.
14937 * tests/xml2sexprtest.c, tests/sexpr2xmltest.c: Added new tests
14938 covering different networking configs
14939 * tests/xml2sexprdata/, tests/sexpr2xmldata/: Added more data
14940 files for new test cases
14942 Mon Nov 13 17:18:00 CET 2006 Daniel Veillard <veillard@redhat.com>
14944 * src/xend_internal.c src/xml.c: fix for shareable drive support
14947 Fri Nov 10 17:53:41 EDT 2006 Daniel Berrange <berrange@redhat.com>
14949 * src/xml.c: Fix memory leak, by freeing xmlParserContextPtr object
14951 Fri Nov 10 11:19:32 CET 2006 Daniel Veillard <veillard@redhat.com>
14953 * src/xend_internal.c src/xml.c: add an extra element currentMemory
14954 to the XML description and handle its serialization back and
14955 forth between XML and S-Expr
14956 * tests/sexpr2xmltest.c tests/xml2sexprtest.c
14957 tests/sexpr2xmldata/sexpr2xml-curmem.*
14958 tests/xml2sexprdata/xml2sexpr-curmem.*: added specific regression
14959 tests for this, this didn't disturb any of the other tests.
14961 Thu Nov 9 15:39:19 CET 2006 Daniel Veillard <veillard@redhat.com>
14963 * python/generator.py: changed the generator to generate a reference
14964 from Domain class instances to the Connect they were issued from
14965 should fix rhbz#204490
14968 Thu Nov 9 10:22:43 CET 2006 Daniel Veillard <veillard@redhat.com>
14970 * tests/reconnect.c: fixed the reconnect test when running as non-root
14972 Wed Nov 8 13:03:41 EDT 2006 Daniel Berrange <berrange@redhat.com>
14974 * src/virshdata/nodeinfo-custom.txt, docs/testnode.xml: Reduce amount
14975 of RAM in test node to a sensible size to avoid integer wraparound on
14978 Wed Nov 8 13:00:56 EDT 2006 Daniel Berrange <berrange@redhat.com>
14980 * src/test.c, src/test.h: Added implementation of the virDomainGetOSType
14981 driver method to the test hypervisor backend.
14983 Wed Nov 8 16:58:56 CET 2006 Daniel Veillard <veillard@redhat.com>
14985 * include/libvirt/virterror.h src/virterror.c src/xend_internal.c
14986 src/xml.c: give proper indication of the failures raised by the
14987 XML parser on not well formed XML, should fix rhbz#208545
14989 Wed Nov 8 14:01:11 CET 2006 Daniel Veillard <veillard@redhat.com>
14991 * src/libvirt.c src/proxy_internal.c src/xs_internal.c: fix the
14992 patch for rhbz#214264 in the case of Domain 0 on Xen and push the
14993 defaulting to "linux" down to the xen specific parts.
14995 Tue Nov 7 16:17:23 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
14997 * python/generator.py: Pass in connection object when generating
14999 * python/libvir.py: Allow raw error object to be passed into the
15000 python exception object.
15001 * python/libvir.c: Added binding for virGetLastError and
15002 virConnGetLastError
15004 Tue Nov 7 15:58:43 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15006 * src/xend_internal.c: Ensure that virConnectPtr object is passed
15007 around to all functions which can throw errors, so that errors get
15008 correctly associated with the connection, rather than global error
15011 Tue Nov 7 16:33:43 CET 2006 Daniel Veillard <veillard@redhat.com>
15013 * libvirt.spec.in: libvirt-devel depends on pkgconfig
15014 * proxy/libvirt_proxy.c src/libvirt.c src/proxy_internal.[ch]
15015 src/xs_internal.[ch]: the virtGetOsType entry point was calling
15016 the xenstore directly instead of going though driver, refactored
15017 and implemented a specific new RPC with the proxy when this is
15018 called as non-root fixes rhbz#214264 .
15020 Tue Oct 31 10:31:34 CET 2006 Daniel Veillard <veillard@redhat.com>
15022 * src/xend_internal.c: when getting informations about a non
15023 existant domain, it is not a good idea to raise the HTTP
15024 404 GET error, the handling is better done somewhere up in
15027 Tue Oct 24 15:31:23 EDT 2006 Daniel P.Berrange <berrange@redhat.com>
15029 * python/generator.py, python/libvir.c: Drop python interpreter
15030 lock when calling into C functions, and re-grab when invoking
15032 * python/libvirt_wrap.h: Convenience macros for grabbing / dropping
15033 the python interpreter lock in threaded environment.
15036 Mon Oct 16 17:10:15 CEST 2006 Daniel Veillard <veillard@redhat.com>
15038 * config.h.in configure.in libvirt.spec.in docs/libvir.html
15039 docs/news.html include/libvirt/libvirt.h: preparing release of
15041 * src/xen_internal.c: fixed a compilation problem
15043 Thu Oct 12 17:31:13 CEST 2006 Daniel Veillard <veillard@redhat.com>
15045 * src/xen_internal.c: one of the fix for system with page size != 4k
15048 Thu Oct 12 13:37:24 CEST 2006 Daniel Veillard <veillard@redhat.com>
15050 * src/xen_internal.c: applied patch from Philippe Berthault
15051 fixing the vcpu number initialization
15053 Wed Oct 11 17:16:44 CEST 2006 Daniel Veillard <veillard@redhat.com>
15055 * src/xen_internal.c: applied patch from Peter Vetere so that
15056 crashed domains ain't reported as shut off.
15058 Wed Oct 11 16:23:58 CEST 2006 Daniel Veillard <veillard@redhat.com>
15060 * virsh.1: fixed some typo and unclear language pointed out by
15063 Mon Oct 9 09:34:42 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15065 * src/xml.c, src/xend_internal.c: Added support for a <driver>
15066 element in disk specification, allowing use of alternate Xen
15067 drivers such as blktap.
15068 * tests/xml2sexprtest.c, tests/sexpr2xmltest.c: Added tests for
15069 new <driver> element, and blktap driver impl.
15070 * tests/xml2sexprdata/*, tests/sexpr2xmldata/*: New / updated
15071 data files for new <driver> element
15073 Fri Oct 6 10:33:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15075 * src/xend_internal.c: Fixed memory leak in xend_get_config_version
15077 * src/xml.c: Fixed memory leaks in XML parsing routines relating
15078 to VNC port, HVM boot devices, HVM floppy & CDROM, HVM features,
15080 * tests/Makefile.am: Use --leak-check=full when running valgrind
15081 to detect all leaks, in addition to memory corruption checks
15082 * tests/sexpr2xmltest.c, tests/xml2sexprtest.c: Fixed memory leaks
15083 in test harness leading to valgrind false-positives.
15085 Mon Oct 2 23:16:06 CEST 2006 Daniel Veillard <veillard@redhat.com>
15087 * src/xen_internal.c: Daniel Berrange fixed some mlock size problem
15088 doing a bit of cleanup too
15090 Fri Sep 29 17:31:36 CEST 2006 Daniel Veillard <veillard@redhat.com>
15092 * src/virsh.c: add #include <locale.h> to be able to compile without
15095 Fri Sep 29 17:16:40 CEST 2006 Daniel Veillard <veillard@redhat.com>
15097 * src/xen_internal.c: fix for system with page size != 4k
15099 Fri Sep 29 13:05:12 CEST 2006 Daniel Veillard <veillard@redhat.com>
15101 * docs/bugs.html docs/libvir.html: added pointers on how to report
15102 bugs in bugzilla as suggested by markmc
15103 * src/xend_internal.c: first step for #208545 raise an error at the
15106 Fri Sep 29 11:27:36 CEST 2006 Daniel Veillard <veillard@redhat.com>
15108 * docs/* libvirt.spec.in configure.in NEWS: preparing release of 0.1.7
15110 Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15112 * src/xen_internal.c: Fork different version of getdomaininfo struct for
15113 Xen 3.0.2, and 3.0.3 because the shared_info_frame field is different
15114 size on between these versions on 32-bit platforms. Make callers use
15115 appropriate struct version matched to hypervisor version, hiding detail
15116 in macros to aid readability. Cleanup whitespace to remove tabs. Disable
15117 xenHypervisorGetVcpus completely in proxy since its not used.
15119 Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15121 * src/xend_internal.c: Check if the physical CPU will fit in the maplen
15122 provided by the caller when populating VCPU<->CPU mapping. This is because
15123 XenD will return data for 32 physical CPUs, even if the box only has 4
15124 CPUs. The caller of course will only have allocated a map big enough for
15125 the actual number of physical CPUs. We simply check against maplen param
15126 supplied by caller & discard info about CPUs which don't fit. Also santise
15129 Fri Sep 22 11:02:48 CEST 2006 Daniel Veillard <veillard@redhat.com>
15131 * docs/* libvirt.spec.in configure.in NEWS: preparing release of 0.1.6
15133 Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15135 * Makefile.am: Added po directory
15136 * autogen.sh: Call autopoint to install the gettext infrastructure
15137 * src/*.c, proxy/*.c: Pass all strings through gettext for translation.
15138 Set up the text domains in libvirt, proxy & virsh at startup.
15139 * libvirt.spec.in: Include compiled .po files in distro
15140 * tests/virshdata/*.txt: Tweak expected data to take account of
15143 Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15145 * docs/*.html: re-generated documentation to pull in latest
15148 Thu Sep 21 10:19:01 CEST 2006 Daniel Veillard <veillard@redhat.com>
15150 * src/Makefile.am: add a tst target to ease building test progs
15151 * src/xend_internal.c: fix the reconnection problem to xend pointed
15152 by Philippe Berthault
15153 * tests/Makefile.am tests/reconnect.c: add a specific test case
15155 Tue Sep 19 16:59:53 CEST 2006 Daniel Veillard <veillard@redhat.com>
15157 * src/xen_internal.c: applied patch from Jim Fehlig, about
15158 one of the content of the hypercall structures in 3.0.2
15160 Thu Sep 14 10:33:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
15162 * src/xml.c: Append :disk for normal disk devices being created
15163 when Xen >= 3.0.3, even though its technically optional
15164 * src/xend_internal.c: Strip the :disk trailing component when
15165 generating XML when Xen >= 3.0.3. We don't want to expose
15166 that postfix in the <target> element, since its already set in
15167 the device attribute on <disk> element.
15168 * tests/sexpr2xmldata/*, tests/xml2sexprdata/*: Update to test
15169 for handling of :disk postfix in sexpr/XML
15170 * tests/virshtest.c, tests/sexpr2xmltest.c, tests/xml2sexprtest.c:
15171 Cast size_t arg to an int to avoid format warnings from printf
15173 Tue Sep 11 20:37:28 EDT 2006 Daniel Berrange <berrange@redhat.com>
15175 * src/xml.c: Added support for setting VNC port when creating
15176 domains with new (version 2) style XenD config
15177 * tests/xml2sexprtest.c: Added test for setting VNC port
15178 * tests/xml2sexprdata/*vncunused*: Data files for new VNC test
15180 Tue Sep 11 20:23:42 EDT 2006 Daniel Berrange <berrange@redhat.com>
15182 * docs/Makefile.am: Added test XML files to EXTRA_DIST
15183 * tests/confdata/Makefile.am: Fix typo to ensure config
15184 files needed by test are distributed
15186 Tue Sep 11 20:11:05 EDT 2006 Daniel Berrange <berrange@redhat.com>
15188 * src/xend_internal.c, src/xml.c: Added support for new 3.0.3
15189 style XenD cdrom configuration for HVM guests.
15190 * configure.in, tests/Makefile.am: Added new test directories
15191 * tests/xml2sexprdata*, tests/sexpr2xmldata*: Removed config files
15193 * tests/xml2sexprdata/*, tests/sexpr2xmldata/*: New home for test
15196 Tue Sep 5 13:50:05 MYT 2006 Daniel Veillard <veillard@redhat.com>
15198 * NEWS configure.in docs//* include/libvirt/libvirt.h libvirt.specx.*:
15199 preparing release 0.1.5
15200 * proxy/libvirt_proxy.c src/xen_internal.c: tiny fixes
15202 Tue Sep 5 13:24:30 MYT 2006 Daniel Veillard <veillard@redhat.com>
15204 * src/xen_internal.c: finished to convert to the new hypervisor
15205 calls the xenHypervisorGetVcpus entry point, though it is untested
15207 Mon Sep 4 14:13:24 EDT 2006 Daniel Berrange <berrange@redhat.com>
15209 * src/xen_internal.h: Added missing return(-1) statements
15210 in xenHypervisorGetVcpus and xenHypervisorPinVcpu methods.
15211 #ifndef out the pause/resume/etc methods from proxy code
15213 Sun Sep 3 12:50:12 EDT 2006 Daniel Berrange <berrange@redhat.com>
15215 * src/conf.c: Allow '_' in variable names, and don't fail if there
15216 is a trailing ',' at the end of a list.
15217 * tests/confdata/fc4.conf, tests/confdata/fc4.out: Expand test
15218 config to include a '_' in a name, and a trailing ',' in a list.
15220 Sun Sep 3 12:47:42 EDT 2006 Daniel Berrange <berrange@redhat.com>
15222 * tests/.cvsignore, tests/confdata/.cvsignore: Ignore autogenerated
15223 files from config data testsuite.
15225 Sun Sep 3 12:34:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
15227 * src/virsh.c: use the return value of virConnectListDomains when
15228 iterating over list of ids/names, because it is not neccessarily
15229 the same as the value returned by virConnectNumOfDomains. Use qsort
15230 to sort active domains by Id, and inactive domains by name, since
15231 there is no guarenteed sort ordering when listing domains. For inactive
15232 domains display a '-' instead of '-1' to make it clear they have no
15233 sensible ID number.
15235 Sat Sep 2 22:28:18 CEST 2006 Daniel Veillard <veillard@redhat.com>
15237 * src/xen_internal.c: converting to handle the new incompatible
15238 hypercalls while still able to detect older versions, lot of
15239 work, seems okay, there is just one function not yet converted
15240 * src/xs_internal.c: dropping virConnectCheckStoreID()
15242 Wed Aug 30 09:34:45 EDT 2006 Daniel Berrange <berrange@redhat.com>
15244 * src/virsh.c: Added --all & --inactive flags to list command to control
15245 inclusion of inactive domains in listing. Added start, define, undefine
15246 commands to allow management of inactive domains.
15248 Wed Aug 30 09:30:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
15250 * src/driver.h: Defined new driver entry points for ListDefinedDomains,
15251 NumOfDefinedDomains, DomainStart, DomainUndefine, DomainDefineXML.
15252 * src/xen_internal.c, src/xend_internal.c, src/xs_internal.h,
15253 src/test.c, src/proxy_internal.c: Added NULL entries for new driver
15255 * src/libvirt.c: Hook up new driver entry points to corresponding
15257 * src/libvirt_sym.version: Added virConnectNumOfDefinedDomains and
15258 previously missing virConnectListDefinedDomains
15259 * include/libvirt/libvirt.h: Added virConnectNumOfDefinedDomains
15261 Tue Aug 29 23:48:43 CEST 2006 Daniel Veillard <veillard@redhat.com>
15263 * src/conf.c: add missing entry point virConfGetValue()
15265 Tue Aug 29 23:28:31 CEST 2006 Daniel Veillard <veillard@redhat.com>
15267 * TODO libvirt.spec.in: update
15268 * configure.in include/libvirt/virterror.h src/Makefile.am
15269 src/conf.c src/conf.h src/virterror.c src/xen_internal.c:
15270 adding a subset of Xen config file parser, and serializer
15271 * tests/Makefile.am tests/conftest.c tests/test_conf.sh
15272 tests/confdata/Makefile.am tests/confdata/fc4.conf
15273 tests/confdata/fc4.out: adding test program for config in and out
15275 Tue Aug 29 13:14:20 EDT 2006 Daniel Berrange <berrange@redhat.com>
15277 * src/xend_internal.c: Add handling of HTTP 500 error code
15278 which can be returned by XenD do indicate failure error when
15279 performing the requested operation (Identified by Pete Vetere).
15281 Tue Aug 29 15:41:46 CEST 2006 Daniel Veillard <veillard@redhat.com>
15283 * python/libvir.c: Pete Vetere pointed out a bug in string cast
15284 when handling errors in Python
15286 Sat Aug 26 16:36:15 CEST 2006 Daniel Veillard <veillard@redhat.com>
15288 * src/sexpr.c src/sexpr.h src/xend_internal.c src/xml.c: applied
15289 patch from Jeremy Katz to add graphical console for PV Xen guests
15291 Sat Aug 26 00:17:24 CEST 2006 Daniel Veillard <veillard@redhat.com>
15293 * docs/site.xsl docs/*.html: add links to virt-manager
15295 Fri Aug 25 17:42:12 EDT 2006 Daniel Berrange <berrange@redhat.com>
15297 * src/virsh.c: Allow VIRSH_DEFAULT_CONNECT_URI to be set to
15298 override the default Xen connection attempt in favour of a
15299 different backend. Fix 'virsh list' so that it doesn't assume
15300 there is always a Domain-0 (a Xen-ism).
15302 Thu Aug 24 16:43:47 EDT 2006 Daniel Berrange <berrange@redhat.com>
15304 * tests/virshtest.c: Test suite for validating output / operation
15305 of various virsh commands.
15306 * tests/virshdata/*.txt: Known good output for validating results
15308 * tests/testutils.h, tests/testutils.c: Added convenience method
15309 for forking a child process & capturing its output.
15310 * tests/Makefile.am: Enable POSIX / XOpen standards
15312 Thu Aug 24 11:03:42 EDT 2006 Daniel Berrange <berrange@redhat.com>
15314 * tests/Makefile.am: Added a 'valgrind' target which simply
15315 calls 'make check', but wrapping execution with valgrind to
15318 Thu Aug 24 10:04:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15320 * tests/xml2sexpr.c, tests/sexpr2xml.c: New tests suites for
15321 validating the SEXPR<->XML conversion
15322 * tests/*.sexpr, tests/*.xml: Data files for test suite
15323 * src/xend_internal.h, src/xend_internal.c: Expose the method
15324 for converting SEXPR -> XML to allow use by unit tests
15325 * src/xs_internal.c: Check if connection is NULL before
15326 deferencing it - test suite passes in NULL.
15328 Mon Aug 21 13:00:03 EDT 2006 Daniel Berrange <berrange@redhat.com>
15330 * src/virsh.c: check return code of virConnectListDomains in case
15331 there was a failure, and stop the 'list' command immediately
15332 rather than continuing with bogus domain ID data.
15334 Fri Aug 18 15:22:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
15336 * src/xml.c: fix networking in paravirt guests - only set the
15337 '(type ioemu)' option for HVM.
15339 Thu Aug 17 19:42:50 CEST 2006 Daniel Veillard <veillard@redhat.com>
15341 * src/xml.c: fix virParseUUID()
15343 Wed Aug 16 19:07:52 CEST 2006 Daniel Veillard <veillard@redhat.com>
15345 * NEWS configure.in doc//* include/libvirt/libvirt.h
15346 include/libvirt/libvirt.h.in: preparing release of 0.1.4,
15347 regenerated docs, fixed a few things
15348 * src/proxy_internal.c src/test.c src/xend_internal.c:
15349 a few trivial fixes
15351 Wed Aug 16 12:33:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15353 * src/virsh.c: Added 'setvcpus', 'setmem', 'setmaxmem'
15354 commands to virsh shell. Allow full read-write connection
15355 to non-Xen test hypervisor.
15357 Wed Aug 16 11:38:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15359 * src/test.c, src/test.h: Allow a hypervisor config to be
15360 loaded from an external XML file. Implement drivers for
15361 setMemory, setMaxMemory, createLinux, dumpXML, setVcpus.
15362 * docs/testnode.xml, docs/testfc4.xml, docs/testfv0.xml:
15363 Example config for using with test driver
15365 Wed Aug 16 11:36:21 EDT 2006 Daniel Berrange <berrange@redhat.com>
15367 * src/xend_internal.c, src/xml.c, src/xml.h: Refactored the
15368 sexpr_uuid method into a re-usable virParseUUID method which
15369 can be used by any backend
15371 Wed Aug 16 11:31:59 EDT 2006 Daniel Berrange <berrange@redhat.com>
15373 * src/libvirt.c: Remove some duplicated changes for VIR_DOMAIN_RO
15374 accidentally left in place from last checkin. Tell the drivers to
15375 be 'quiet' when opening a RW connection, to stop XenD driver
15376 complaining when we open the test driver.
15378 Wed Aug 16 17:24:59 CEST 2006 Daniel Veillard <veillard@redhat.com>
15380 * include/libvirt/virterror.h src/libvirt.c src/virterror.c: enforce
15381 blocking operations with side effect on read-only connections. Adds
15382 a new error code and message.
15384 Tue Aug 15 11:55:15 EDT 2006 Daniel Berrange <berrange@redhat.com>
15386 * src/xml.c, src/xend_internal.c: Added a <features> block
15387 to XML allowing enablement of guest CPU / system features.
15388 Currently support PAE, ACPI, APIC for HVM domains.
15389 * docs/libvir.html: Documented new <features> block and those
15390 features enabled for HVM guests
15392 Mon Aug 14 10:55:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15394 * docs/libvir.html, docs/format.html: Updated description of
15395 HVM boot device, and disk device configuration to match up
15396 new new behaviour from previous changes
15398 Fri Aug 11 09:37:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
15400 * src/libvirt.c: Avoid duplicated attempts to shutdown or
15401 pause a domain if the first attempt succeeded.
15402 * src/xend_internal.c, src/xml.c: When parsing UUID from
15403 SEXPR also allow for format without any embedded '-'. The
15404 ioemu: prefix is no longer required for HVM domains. It is
15405 added when generating SEXPR, and removing when parsing SEXPR
15406 never appearing in XML. CDROM & floppy devices for HVM domains
15407 are now included in XML under <devices><disk> tag. The <disk>
15408 tag now has a 'device' attribute allowing one of 'floppy',
15409 'cdrom', 'disk' to be specified. If the <console> tag is present
15410 in XML, HVM domains get a serial console activated. <boot>
15411 tag now expects one of 'fd' 'hd' or 'cdrom' when specifying
15412 boot device preference. Increased size of XML doc buffer from
15413 1k to 4k to deal with large numbers of devices
15415 Fri Aug 11 13:08:01 CEST 2006 Daniel Veillard <veillard@redhat.com>
15417 * configure.in: updated python detection code from latest libxml2 one
15418 * docs//*: rebuilt the docs
15420 Thu Aug 10 15:28:52 CEST 2006 Daniel Veillard <veillard@redhat.com>
15422 * src/xml.c: markmc pointed out that using number(xpath) could lead
15423 to NaN and following comparison would be wrong in a couple of places
15424 if the element looked at was missing.
15426 Wed Aug 9 10:17:03 EDT 2006 Daniel Berrange <berrange@redhat.com>
15428 * src/driver.h, src/libvirt.c: Made the virDomainGetXMLDesc
15429 method use the driver backends.
15430 * src/xend_internal.c: Surround all functions which are not
15431 needed for proxy with #ifndef PROXY. Refactor XML generator
15432 functions to allow calling from proxy based on domain id
15433 instead of virDomainPtr object
15434 * src/xs_internal.c, src/xs_internal.h: Change signature
15435 of method for extracting VNC port & console TTY to use domain
15436 id instead of virDomainPtr. Surround functions not used by
15437 proxy in #ifndef PROXY
15438 * src/xml.c:Surround functions not used by proxy in #ifndef PROXY
15439 * src/test.c, src/xen_internal.c: Added NULL entry for new
15440 driver method for fetching XML
15441 * src/proxy_internal.c, src/proxy_internal.h, proxy/libvirt_proxy.c:
15442 Added implmentation of virDomainGetXMLDesc driver method which
15445 Tue Aug 8 23:24:51 CEST 2006 Daniel Veillard <veillard@redhat.com>
15447 * src/driver.h src/libvirt.c src/proxy_internal.c src/test.c
15448 src/xen_internal.c src/xend_internal.c src/xend_internal.h
15449 src/xml.c src/xs_internal.c: cleanups, force the new vCPU
15450 and affinity entry point to go though the driver framework,
15451 and fix a few warning showing up in my pedantic environment.
15453 Mon Aug 7 18:33:45 EDT 2006 Daniel Berrange <berrange@redhat.com>
15455 * src/xend_internal.c: Added details of serial console TTY to XML
15456 representation of domain. Fetch VNC port from xenstore if it is
15457 available (only in xen 3.0.3 or later).
15458 * src/xs_internal.c, src/xs_internal.h: Added APIs for retrieving
15459 the serial console TTY and VNC server port from xenstore.
15460 * docs/libvir.html: Document 'port' attribute for VNC graphics,
15461 and '<console>' element for serial console.
15463 Mon Aug 7 21:57:41 CEST 2006 Daniel Veillard <veillard@redhat.com>
15465 * TODO: updated with new items
15467 Mon Aug 7 14:57:12 EDT 2006 Daniel Berrange <berrange@redhat.com>
15469 * src/xend_internal.c: Corrected string length calculation when
15470 appending a CDROM boot device element. Fixes corrupt XML structure.
15472 Mon Aug 7 11:06:20 EDT 2006 Daniel Berrange <berrange@redhat.com>
15474 * src/xend_internal.c: Added a 'port' attribute to the '<graphics>'
15475 tag when display type is VNC, providing the port number on which
15476 the VNC server is listening.
15478 Mon Aug 7 18:47:48 CEST 2006 Daniel Veillard <veillard@redhat.com>
15480 * include/libvirt/libvirt.h.in: previous change to libvirt.h should
15481 have gone on .in too
15483 Fri Aug 4 20:19:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
15485 * src/libvirt.c: Fix off-by-one in validated VCPU number (it is
15486 zero based, not one based).
15487 * include/libvirt/libvirt.h: Add some convenience macros for
15488 calculating neccessary CPU map lengths & total host CPUs
15489 * src/virsh.c: Add 'vcpuinfo' and 'vcpumap' commands
15491 Fri Aug 4 14:45:25 CEST 2006 Daniel Veillard <veillard@redhat.com>
15493 * python/generator.py: fix the generator when handling long integers
15494 Dan Berrange reported problems due to this when using
15495 virDomainSetMemory bindings
15497 Fri Aug 4 11:49:44 CEST 2006 Daniel Veillard <veillard@redhat.com>
15499 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
15500 src/libvirt.c src/libvirt_sym.version src/xen_internal.c
15501 src/xen_internal.h src/xend_internal.c src/xend_internal.h:
15502 applied patch from Michel Ponceau and Philippe Berthault for
15503 virtual CPU and affinity support plus a bit of cleanup.
15505 Tue Aug 1 16:22:52 CEST 2006 Daniel Veillard <veillard@redhat.com>
15507 * libvirt.spec.in: xen is now built for ia64, c.f. RH#199685
15509 Fri Jul 28 16:18:30 CEST 2006 Daniel Veillard <veillard@redhat.com>
15511 * src/virterror.c: Hugh Brock pointed out that error message
15512 for bad argument were wrong and incomplete, this should fix it and
15513 a few other problems in error reporting
15515 Mon Jul 24 14:34:15 IST 2006 Mark McLoughlin <markmc@redhat.com>
15517 * libvirt.spec.in: sync changes from fedora CVS
15519 Thu Jul 20 09:05:15 EDT 2006 Daniel Veillard <veillard@redhat.com>
15521 * proxy/Makefile.am src/xen_internal.c src/xend_internal.c: cleanup
15522 code when compiled for the proxy, changed the command line macro and
15525 Wed Jul 19 17:26:48 EDT 2006 Daniel Berrange <berrange@redhat.com>
15527 * src/*.c: Bulk replace 'informations' with 'information' to
15528 correct English spelling
15530 Thu Jul 13 23:33:48 CEST 2006 Daniel Veillard <veillard@redhat.com>
15532 * src/xml.c: applied patch from Peter Vetere to pass down the
15533 UUID from the XML description if present when creating the domain.
15535 Tue Jul 11 18:03:51 CEST 2006 Daniel Veillard <veillard@redhat.com>
15537 * configure.in libvirt.spec.in docs/* NEWS: preparing release of
15539 * src/xend_internal.c: uninitialized var and disable TCP slow start
15541 Mon Jul 10 14:19:52 CEST 2006 Daniel Veillard <veillard@redhat.com>
15543 * docs/format.html docs/libvir.html docs/news.html: updated the XML
15544 format documentation to cover the new HVM domains.
15546 Mon Jul 10 12:27:17 CEST 2006 Daniel Veillard <veillard@redhat.com>
15548 * src/xend_internal.c src/xml.c: patches from Jim Fehlig for HVM
15549 guests, plus XML format changes and merge from Mark McLoughlin
15551 Fri Jul 7 09:47:14 EDT 2006 Daniel Berrange <berrange@redhat.com>
15553 * src/xend_internal.c: changed xenDaemonLookupByID to simply do
15554 an sexpr GET on /xend/domain/[ID] instead of listing all names
15555 and iterating over /xend/domain/[NAME]. Reduces the running time
15556 and number of GETs from O(n^2) to O(n).
15558 Wed Jul 5 17:11:32 IST 2006 Mark McLoughlin <markmc@redhat.com>
15560 * xml.c: allow a <domain> to not have any <disk> devices - e.g.
15561 when using an NFS root.
15563 Thu Jul 6 10:32:14 CEST 2006 Daniel Veillard <veillard@redhat.com>
15565 * src/xend_internal.c: fixed xenDaemonOpen() to try both unix and
15566 http accesses by default and to use the provided URI otherwise,
15567 applied Jim Fehlig patch working around xend connection close bug
15568 * autogen.sh: fixed package name
15570 Wed Jul 5 17:11:32 IST 2006 Mark McLoughlin <markmc@redhat.com>
15572 * xml.c: make the entire <os> node optional if a bootloader
15573 is specified. If we pass an image config to xend, the
15574 bootloader gets ignored anyway.
15576 Wed Jul 5 16:51:45 IST 2006 Mark McLoughlin <markmc@redhat.com>
15578 * xml.c: only set bootloader flag when we actually get
15581 Tue Jul 4 13:50:55 CEST 2006 Daniel Veillard <veillard@redhat.com>
15583 * libvirt.spec.in proxy/Makefile.am: do the chown at the rpm packaging
15584 level, to allow build as non-root
15585 * src/xml.c: fix bug #197583 raised by markmc
15587 Mon Jul 3 15:41:58 EDT 2006 Daniel Veillard <veillard@redhat.com>
15589 * NEWS docs/* configure.in libvirt.spec.in include/libvirt/libvirt.h:
15590 preparing release of 0.1.2
15591 * src/proxy_internal.c: don't warn on open if using http and not the
15594 Mon Jul 3 13:54:03 EDT 2006 Daniel Veillard <veillard@redhat.com>
15596 * libvirt.spec.in proxy/Makefile.am src/proxy_internal.c
15597 src/xen_internal.c: fixing the proxy installation, integrate in
15598 the spec file and fix a few bugs in the proxy, seems to behave
15600 * docs/apibuild.py docs/*: fixing the doc and API generator
15602 Mon Jul 3 11:21:10 EDT 2006 Daniel Veillard <veillard@redhat.com>
15604 * proxy/libvirt_proxy.c src/proxy_internal.[ch] src/xend_internal.[ch]:
15605 finished the last entry point missing for the proxy code.
15607 Fri Jun 30 16:31:47 EDT 2006 Daniel Veillard <veillard@redhat.com>
15609 * proxy/libvirt_proxy.c src/proxy_internal.c: more bug fixes,
15610 virsh starts to work normally over the proxy. Still one entry
15611 point missing but it's minor.
15613 Thu Jun 29 23:57:35 EDT 2006 Daniel Veillard <veillard@redhat.com>
15615 * proxy/libvirt_proxy.c src/proxy_internal.c src/xen_internal.c
15616 src/xen_internal.h src/xend_internal.c src/xend_internal.h:
15617 implemented id based lookup and other cleanups, virsh starts to
15618 work, but still some TODOs
15620 Thu Jun 29 22:19:51 EDT 2006 Daniel Veillard <veillard@redhat.com>
15622 * src/proxy_internal.c src/proxy_internal.h src/driver.h src/libvirt.c
15623 src/Makefile.am: moved proxy/proxy.h and proxy/proxy_client.c as
15624 proxy_internal.[ch] and integrated them as a new driver.
15625 * proxy/Makefile.am proxy/libvirt_proxy.c src/xen_internal.c
15626 src/xen_internal.h src/xend_internal.c: various related cleanups.
15628 Thu Jun 29 14:53:01 EDT 2006 Daniel Veillard <veillard@redhat.com>
15630 * proxy/libvirt_proxy.c proxy/proxy.h proxy/proxy_client.c: more
15631 progresses on the proxy implementation.
15632 * src/xend_internal.c src/xend_internal.h: exported one routine
15634 Wed Jun 28 19:23:25 CEST 2006 Daniel Veillard <veillard@redhat.com>
15636 * configure.in Makefile.am proxy/Makefile.am proxy/libvirt_proxy.c
15637 proxy/proxy.h proxy/proxy_client.c src/internal.h src/xen_internal.c
15638 src/xend_internal.c: started working on a proxy to access xend
15639 for unpriviledged users to avoid opening xend HTTP service to
15640 serve those read-only operations.
15642 Mon Jun 26 16:05:27 CEST 2006 Daniel Veillard <veillard@redhat.com>
15644 * configure.in libvirt.spec.in docs/examples/* include/Makefile.am
15645 include/libvirt/virterror.h python/generator.py python/libvir.c
15646 python/libvirt_wrap.h src/driver.h src/internal.h src/test.h
15647 src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h
15648 src/xml.c src/xml.h: moved the includes from include/ to
15649 include/libvirt to reflect the installed include tree. This
15650 avoid using "" in the includes themselves.
15652 Wed Jun 21 14:41:04 CEST 2006 Daniel Veillard <veillard@redhat.com>
15654 * NEWS libvirt.spec.in docs/*: preparing release of 0.1.1
15656 Wed Jun 21 13:02:30 EDT 2006 Daniel Veillard <veillard@redhat.com>
15658 * src/driver.h src/libvirt.c src/test.c src/xen_internal.c
15659 src/xend_internal.c src/xs_internal.c: add driver numbers and
15660 tweak a bit suspend/resume/destroy operation to avoid doing
15661 them directly though the hypervisor if other succeeded first.
15663 Wed Jun 21 12:23:15 EDT 2006 Daniel Veillard <veillard@redhat.com>
15665 * src/xen_internal.c: try to autodetect the Xen hypervisor version
15666 used and switch automatically. A bit nasty though.
15668 Tue Jun 20 16:14:26 EDT 2006 Daniel Veillard <veillard@redhat.com>
15670 * src/xen_internal.c: fix breakage introduced in Xen changeset 10277
15672 Fri Jun 16 15:08:42 EDT 2006 Daniel Veillard <veillard@redhat.com>
15674 * src/xen_internal.c src/xen_internal.h src/xs_internal.c: fix
15675 a TODO in xs_internal.c pointed out by Philippe Berthault
15677 Fri Jun 16 12:44:02 EDT 2006 Daniel Veillard <veillard@redhat.com>
15679 * src/libvirt.c src/xen_internal.c src/xend_internal.c: more driver
15680 related cleanups, nearly finished
15682 Thu Jun 15 14:57:39 EDT 2006 Daniel Veillard <veillard@redhat.com>
15684 * src/libvirt.c src/xend_internal.c src/xend_internal.h
15685 src/xs_internal.c: more cleanups for the driver architecture
15687 Wed Jun 14 18:59:30 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15689 * src/test.h, src/test.c: Added implementation of the reboot
15690 and shutdown methods for domains.
15692 Wed Jun 14 11:20:23 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15694 * src/libvirt.c: connect virDomainDestroy, virDomainSuspend,
15695 virDomainResume, virDomainShutdown & virDomainReboot to the
15698 Wed Jun 14 15:51:00 EDT 2006 Daniel Veillard <veillard@redhat.com>
15700 * src/libvirt.c src/xend_internal.c src/xend_internal.h: cleaned up
15701 virConnectListDomains and virConnectNumOfDomains, implemented xend
15702 driver entry point for them.
15704 Wed Jun 14 13:10:03 EDT 2006 Daniel Veillard <veillard@redhat.com>
15706 * src/libvirt.c: Daniel P. Berrange pointed out a bug in virConnectOpen
15708 Tue Jun 13 14:06:01 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15710 * src/virsh.c: use 'double' instead of 'float' when calculating
15711 'CPU time' field for dominfo command, to ensure no unneccessary
15712 loss of precision converting from nanoseconds to seconds.
15714 Tue Jun 13 18:35:22 EDT 2006 Daniel Veillard <veillard@redhat.com>
15716 * src/libvirt.c src/xen_internal.c src/xend_internal.c
15717 src/xs_internal.c: fix the connection and GetType initialization.
15719 Tue Jun 13 16:37:27 EDT 2006 Daniel Veillard <veillard@redhat.com>
15721 * docs//*: rebuilt the documentation
15722 * src/driver.h src/libvirt.c src/test.c src/xen_internal.c
15723 src/xend_internal.c src/xs_internal.c: started to fix some of
15724 the driver related problem raised by Daniel Berrange, added a
15725 ver version field to drivers.
15727 Mon Jun 12 17:22:24 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15729 * src/xend_internal.c: Call 'xenDomainGetVersion' when trying
15730 to open a connection, as a sort of "ping" test to verify the
15731 Xen daemon connection - fail the open method, if the "ping" is
15734 Mon Jun 05 22:31:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15736 * src/test.c, src/test.h: New 'mock' hypervisor driver providing
15737 a way to write predictable unit tests which exercise libvirt APIs.
15738 * src/libvirt.c, src/Makefile.am: Integrate test hypervisor driver
15740 Fri May 26 11:59:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15742 * src/hash.c, src/internal.h: Switch the uuid parameter in virGetDomain
15743 to be of type 'unsigned char' since its a raw UUID we're passing in,
15744 not a printable one.
15745 * src/libvirt.c: Remove bogus "unsigned char" -> "char" type casts. Hook
15746 up the "domainLookupByID", "domainLookupByUUID", "domainLookupByName"
15747 and "domainGetInfo" driver backend functions.
15749 Mon May 29 17:02:26 CEST 2006 Karel Zak <kzak@redhat.com>
15751 * src/libvirt_sym.version: added in missing symbols referenced by python
15752 bindings (patch by Daniel P. Berrange)
15753 * tests/Makefile.am: fixed include dirs to make VPATH builds work
15754 (patch by Daniel P. Berrange)
15756 Mon May 29 16:33:39 CEST 2006 Karel Zak <kzak@redhat.com>
15758 * src/virsh.c: improved vshCommandOptDomain(), added <name> to the
15759 connect command and minor changes to Daniel B.'s patch
15761 Fri May 26 11:40:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
15763 * src/virsh.c: added 'domuuid' command to display printable UUID
15764 string for a domain. Added '--connect' argument to allow the name
15765 of the hypervisor connection passed to virConnect to be set.
15767 Mon May 22 15:34:20 CEST 2006 Karel Zak <kzak@redhat.com>
15769 * src/virsh.c: added UUID: to the dominfo command, vshPrint() refactoring,
15770 added support for domain look up by UUID
15771 * virsh.1: added information about UUID, fixed list of commands and
15773 * src/libvirt.c include/libvirt.h.in src/libvirt_sym.version: added
15774 virDomainGetUUIDString() and virDomainLookupByUUIDString()
15776 Wed May 10 15:50:32 CEST 2006 Karel Zak <kzak@redhat.com>
15778 * src/virterror.c include/virterror.h: added VIR_FROM_RPC
15779 * src/xmlrpc.c: added checks and _virRaiseError()
15781 Wed May 10 13:17:00 CEST 2006 Karel Zak <kzak@redhat.com>
15783 * src/xml.c src/xml.h: added virBufferNew() and virBufferStrcat()
15784 * tests/xmlrpctest.c: added performace tests for virBufferStrcat() and
15785 virBufferVSprintf()
15786 * src/xmlrpc.c: used virBufferStrcat()
15788 Tue May 9 16:37:22 CEST 2006 Karel Zak <kzak@redhat.com>
15790 * tests/Makefile.am tests/xmlrpctest.c tests/testutils.h: added test
15791 directory with basic test utils
15792 * tests/test_xmlrpc.sh tests/xmlrpcserver.py tests/xmlrpctest.c: added
15793 simple XML-RPC tests agains Python SimpleXMLRPCServer
15794 * src/xmlrpc.c src/xmlrpc.h: minor refactoring, fixed gcc warnings
15795 * src/xml.c src/xml.h: added virBufferFree()
15797 Fri Apr 28 18:31:49 EDT 2006 Daniel Veillard <veillard@redhat.com>
15799 * src/hash.c src/internal.h src/libvirt.c src/virterror.c
15800 src/xml.h include/libvirt.h[.in] include/virterror.h: started
15801 adding new APIs, some still TODO, and not tested yet
15803 Thu Apr 27 14:17:04 EDT 2006 Daniel Veillard <veillard@redhat.com>
15805 * src/xml.c src/xend_internal.c TODO: added uuid to the XML
15808 Wed Apr 26 08:32:38 CEST 2006 Daniel Veillard <veillard@redhat.com>
15810 * src/xml.c: applied patch from Jeremy Katz to not require a
15811 root entry in XML nor try to extract it from command line
15814 Wed Apr 26 07:45:28 CEST 2006 Daniel Veillard <veillard@redhat.com>
15816 * docs//* : fixed perl binding URL to point to CPAN as provided by
15817 Daniel P. Berrange.
15819 Tue Apr 25 17:56:32 CEST 2006 Daniel Veillard <veillard@redhat.com>
15821 * configure.in: patch for ncurses fallback from Jim Fehlig
15823 Tue Apr 25 17:10:10 CEST 2006 Daniel Veillard <veillard@redhat.com>
15825 * configure.in libvirt.spec.in docs/examples/Makefile.am
15826 docs/examples/index.py docs/examples/python/*: integrated
15827 examples for Python from David Lutterkort
15829 Tue Apr 25 13:37:22 EDT 2006 Daniel Veillard <veillard@redhat.com>
15831 * src/xend_internal.c: applied patch from Jim Fehlig when parsing
15832 domain S-Expr the kernel may not be provided (Dom0)
15834 Mon Apr 24 18:23:29 EDT 2006 Daniel Veillard <veillard@redhat.com>
15836 * src/hash.c src/internal.h: add virGetDomainByID() to speed up
15837 some processing but not used yet
15838 * src/libvirt.c src/xen_internal.c src/xen_internal.h: added domain
15839 listing and number queries entry points based on the hypervisor
15840 which should speed up some processing as root.
15842 Thu Apr 20 14:31:13 EDT 2006 Daniel Veillard <veillard@redhat.com>
15844 * src/xend_internal.c: fix an uninitialized memory access in error
15847 Thu Apr 13 17:19:25 EDT 2006 Daniel Veillard <veillard@redhat.com>
15849 * include/libvirt.h include/libvirt.h.in doc/*: added new entry point
15850 virDomainSetMemory to set up the target memory use for a domain
15851 * src/driver.h src/libvirt.c src/xen_internal.c src/xend_internal.[ch]
15852 src/xs_internal.[ch]: added a new entry point in the drivers for this,
15853 also fixed the xen store entry, as changing
15854 /local/domain/$$/memory/target affects the target memory not the max,
15855 apparently max is not visible at the xenstore level (or I missed it)
15857 Mon Apr 10 15:15:13 CEST 2006 Daniel Veillard <veillard@redhat.com>
15859 * NEWS configure.in libvirt.spec.in docs/*: documented and
15860 regenerated for release of 0.1.0
15861 * Makefile.am virsh.1: added man page from Andrew Puch
15863 Mon Apr 10 09:32:29 CEST 2006 Daniel Veillard <veillard@redhat.com>
15865 * src/xend_internal.c src/xml.c: applied patch from Jim Fehlig
15866 for lifecycle events
15867 * docs/format.html docs/libvir.html: added the associated docs for
15869 * TODO: small update
15871 Sun Apr 9 13:10:34 EDT 2006 Daniel Veillard <veillard@redhat.com>
15873 * TODO src/hash.[ch] src/internal.h src/libvirt.c src/xend_internal.c
15874 src/xs_internal.c: implementing domain pointers unification, thread
15875 safety and reference counting for domain and connections, this was
15876 the last critical change needed before making further progresses at
15877 the API level. Still a couple fo things TODO for this, unification
15878 at the Python level and adding UUID to hash. All domain/connect alloc
15879 and free routines are now centralized in hash.c
15880 * docs/APIchunk1.html docs/libvirt-api.xml docs/libvirt-refs.xml
15881 docs/html/libvirt-libvirt.html: regenerated the docs, that doesn't
15884 Thu Apr 6 11:32:46 CEST 2006 Karel Zak <kzak@redhat.com>
15886 * src/virsh.c: use stdout for standard outputs, improve
15889 Wed Apr 5 09:32:54 EDT 2006 Daniel Veillard <veillard@redhat.com>
15891 * src/hash.c: tiny fix
15892 * src/internal.h: starting to work on reentrancy
15893 * src/libvirt.c: applied patch from Jim Fehlig to fix
15894 virDomainLookupByID when run as root.
15896 Tue Apr 4 22:49:33 CEST 2006 Karel Zak <kzak@redhat.com>
15898 * src/virsh.c: rename dstate, idof and nameof to domstate,
15901 Tue Apr 4 12:41:53 CEST 2006 Karel Zak <kzak@redhat.com>
15903 * src/virsh.c: add new command "nodeinfo"
15904 * include/libvirt.h.in: fix typo (virNodeInfo.memory is in kB)
15905 * docs/FAQ.html docs/libvir.html src/virsh.c: rename command
15906 "dinfo" to "dominfo"
15908 Mon Apr 3 14:46:39 EDT 2006 Daniel Veillard <veillard@redhat.com>
15910 * include/libvirt.h[.in] src/driver.h src/libvirt.c
15911 src/libvirt_sym.version src/*_internal.[ch]: added an entry
15912 point for reboot and corresponding driver plug
15913 * src/virsh.c: added a reboot option using it
15914 * docs/*: regenerated
15916 Thu Mar 30 16:38:18 EST 2006 Daniel Veillard <veillard@redhat.com>
15918 * src/xend_internal.c: applied patch from Daniel P. Berrange,
15919 plus a bit of code cleanup
15921 Thu Mar 30 16:04:47 EST 2006 Daniel Veillard <veillard@redhat.com>
15923 * src/virsh.c: allocation check (Jim Meyering) and adding a
15925 * src/xend_internal.c src/xml.c: trying to cope with the new
15926 xvda domains states generated on FC5, but Dom0 bootloader
15927 really break the model, so that doesn't work.
15929 Thu Mar 30 12:15:46 EST 2006 Daniel Veillard <veillard@redhat.com>
15931 * src/virsh.c: catching memory allocation error and existing, as
15932 pointed by Jim Meyering
15934 Wed Mar 29 16:36:24 CEST 2006 Daniel Veillard <veillard@redhat.com>
15938 Wed Mar 29 13:34:25 EST 2006 Daniel Veillard <veillard@redhat.com>
15940 * python/libvir.c: fixed a bug in the new wrapper
15941 * python/tests/Makefile.am python/tests/node.py: added a new test for
15943 * python/tests/create.py: remove a debug
15945 Wed Mar 29 14:43:56 CEST 2006 Daniel Veillard <veillard@redhat.com>
15947 * include/libvirt.h[.in] include/virterror.h src/driver.h
15948 src/internal.h src/libvirt_sym.version src/xen_internal.c
15949 src/xs_internal.c: added a new entry point to get node hardware
15950 informations virGetNodeInfo, and associated driver hook.
15951 * src/xend_internal.c: implemented the node and version information
15952 hooks for the Xen Daemon
15953 * python/libvir.c python/libvirt-python-api.xml python/generator.py:
15954 also added Python bindings for the new call
15956 Tue Mar 28 16:40:08 CEST 2006 Daniel Veillard <veillard@redhat.com>
15958 * python/libvir.c: call the initialize entry point
15959 * src/libvirt_sym.version: add initialize entry point
15960 * src/libvirt.c: make sure we always initialize the lib
15961 * python/tests/*.py: start updating exemple for exception
15962 handling as pointed by Jim Meyering
15964 Tue Mar 28 11:49:59 CEST 2006 Daniel Veillard <veillard@redhat.com>
15966 * doc/site.xsl doc/libvir.html doc/*: added informations about
15967 the Perl bindings, regenerated
15968 * python/libvirt_wrap.h: added a missing include.
15970 Mon Mar 27 17:22:16 CEST 2006 Daniel Veillard <veillard@redhat.com>
15972 * doc/*: updated module list and rebuilt
15973 * include/libvirt.h include/libvirt.h.in: added intialization function
15974 * include/virterror.h src/virterror.c: one more error code
15975 * src/internal.h: first part of Jim's format checking
15976 * src/libvirt.c src/xen_internal.[ch] src/xend_internal.[ch]
15977 src/xs_internal.[ch]: initialization and registration of drivers
15979 Sat Mar 25 11:45:06 CET 2006 Daniel Veillard <veillard@redhat.com>
15981 * src/Makefile.am: add driver.h to SOURCES as pointed by Jim Meyering
15984 Sat Mar 25 11:38:29 CET 2006 Daniel Veillard <veillard@redhat.com>
15986 * src/virterror.c: add message as pointed by Jim Meyering
15988 Fri Mar 24 23:57:56 CET 2006 Daniel Veillard <veillard@redhat.com>
15990 * include/virterror.h: fix typos pointed by Jim Meyering
15992 Fri Mar 24 23:36:05 CET 2006 Daniel Veillard <veillard@redhat.com>
15994 * include/virterror.h: applied patch from Daniel Berrange for out of
15997 Fri Mar 24 14:17:52 CET 2006 Daniel Veillard <veillard@redhat.com>
15999 * libvirt.pc.in: applied patch from Daniel Berrange to fix --cflags
16001 Fri Mar 24 14:03:26 CET 2006 Daniel Veillard <veillard@redhat.com>
16003 * src/Makefile.am: fix out of tree build
16005 Thu Mar 23 16:40:37 CET 2006 Daniel Veillard <veillard@redhat.com>
16007 * src/xs_internal.c src/xs_internal.h include/virterror.h
16008 src/virterror.c: created a new module related to Xen Store accesses
16009 * src/libvirt.c src/xen_internal.[ch] src/xend_internal.[ch]:
16010 nearly completed the separation of the code from the different modules
16012 Wed Mar 22 14:43:16 CET 2006 Daniel Veillard <veillard@redhat.com>
16014 * python/tests/create.py: add one more image path
16015 * src/libvirt.c src/xend_internal.c src/xend_internal.h: more work
16016 on the xend refactoring
16018 Wed Mar 22 13:34:32 EST 2006 Daniel Veillard <veillard@redhat.com>
16020 * python/tests/create.py: adapt to new naming scheme in FC5
16022 Tue Mar 21 00:40:29 CET 2006 Daniel Veillard <veillard@redhat.com>
16024 * src/driver.h src/xen_internal.c: just add a driver block for
16025 the Xen hypervisor direct access module. Need to convert
16026 xend_internal.[ch] and make one for the Xenstore now ...
16028 Mon Mar 20 18:43:19 CET 2006 Daniel Veillard <veillard@redhat.com>
16030 * src/driver.h src/internal.h src/libvirt.c src/xen_internal.c
16031 src/xen_internal.h docs/apibuild.py: starting the refactoring,
16032 first the direct Xen hypervisor module. New header describing the
16033 entry points of a driver.
16035 Wed Mar 15 13:10:25 CET 2006 Daniel Veillard <veillard@redhat.com>
16037 * src/hash.c src/hash.h src/internal.h src/libvirt.c src/sexpr.c
16038 src/sexpr.h src/virsh.c src/virterror.c src/xen_internal.c
16039 src/xen_internal.h src/xend_internal.c src/xend_internal.h
16040 src/xml.c src/xml.h: applied cb/indent to homogenize the source
16041 style, as a first pass.
16043 Fri Mar 10 11:07:58 CET 2006 Daniel Veillard <veillard@redhat.com>
16045 * configure.in: applied patch for --with-xen-distdir option from
16047 * docs/site.xsl docs/*.html: added link to Bugzilla
16049 Sat Mar 4 09:59:13 CET 2006 Daniel Veillard <veillard@redhat.com>
16051 * src/xml.c: another patch from David Lutterkort fixing a typo
16052 when generating physical block devices descriptions.
16054 Sat Mar 4 09:56:18 CET 2006 Daniel Veillard <veillard@redhat.com>
16056 * libvirt.spec.in: applied patch from David Lutterkort adding
16057 missing reqs for readline.
16059 Tue Feb 28 15:21:48 CET 2006 Daniel Veillard <veillard@redhat.com>
16061 * NEWS configure.in libvirt.spec.in include/libvirt.h docs/*:
16062 preparing release 0.0.6
16064 Tue Feb 28 14:57:25 CET 2006 Daniel Veillard <veillard@redhat.com>
16066 * docs/errors.html docs/libvir.html docs/*: added a page about
16067 error handling and regenerated the docs
16069 Tue Feb 28 13:12:50 CET 2006 Daniel Veillard <veillard@redhat.com>
16072 * python/Makefile.am python/generator.py python/libvir.c
16073 python/libvir.py: improved python binding, raise exception
16074 when an instance creation or lookup fails, and add support
16075 for the global error handler, per conn handler still needed
16076 * python/tests/error.py python/tests/Makefile.am: adding a
16079 Mon Feb 27 17:36:29 EST 2006 Daniel Veillard <veillard@redhat.com>
16083 Mon Feb 27 17:33:16 EST 2006 Daniel Veillard <veillard@redhat.com>
16085 * TODO: updated, and added python hooks for error handling
16086 * include/virterror.h src/virterror.c src/xml.c: error interception
16087 and reporting should be done.
16089 Mon Feb 27 16:42:46 EST 2006 Daniel Veillard <veillard@redhat.com>
16091 * src/libvirt.c src/xen_internal.[ch]: virConnectOpenReadOnly()
16092 should not emit error when failing to open the hypervisor proc
16095 Mon Feb 27 16:32:55 EST 2006 Daniel Veillard <veillard@redhat.com>
16097 * include/virterror.h src/libvirt_sym.version: exported
16098 virDefaultErrorFunc()
16099 * src/sexpr.c src/xen_internal.c src/virterror.c include/virterror.h:
16100 adding more error reporting though the code, nearly complete.
16101 * src/sexpr.c: added specific error function to avoid an error report.
16103 Mon Feb 27 14:56:57 EST 2006 Daniel Veillard <veillard@redhat.com>
16105 * include/virterror.h src/virterror.c src/xend_internal.c: more work
16106 plugging in the error system in the code.
16108 Mon Feb 27 17:25:48 CET 2006 Daniel Veillard <veillard@redhat.com>
16111 * include/virterror.h src/internal.h src/libvirt.c src/virterror.c
16112 src/xend_internal.c: commiting a first pass at adding error handling
16113 in the code, not finished, but it starts to work, need more coverage
16116 Fri Feb 24 23:33:55 CET 2006 Daniel Veillard <veillard@redhat.com>
16118 * src/Makefile.am src/internal.h src/libvirt.c src/libvirt_sym.version
16119 src/virterror.c include/Makefile.am include/virterror.h: adding
16120 the public APIs for errors, callbacks and synchronous. The boring
16121 stuff is still left to do, plugging it. Also need to be exposed
16122 at the python level.
16125 Fri Feb 24 22:17:12 CET 2006 Daniel Veillard <veillard@redhat.com>
16127 * docs/index.py docs/search.php: fixing the search engine.
16129 Fri Feb 24 13:25:36 CET 2006 Daniel Veillard <veillard@redhat.com>
16131 * python/generator.py python/libvir.c python/libvirt-python-api.xml:
16132 UUID strings can contain zeroes, so the autogenerated conversion
16133 functions don't work.
16135 Thu Feb 23 06:24:46 EST 2006 Daniel Veillard <veillard@redhat.com>
16137 * src/libvirt.c: fixing a bug before the release of 0.0.5
16138 * python/generator.py python/libvir.c python/libvirt-python-api.xml:
16139 also fixing the binding for getting a domain UUID
16140 * python/tests/Makefile.am python/tests/uuid.py: added a test
16141 for the new UUID API
16143 Thu Feb 23 11:41:06 CET 2006 Daniel Veillard <veillard@redhat.com>
16145 * NEWS configure.in docs/libvir.html docs/news.html: preparing the
16147 * include/libvirt.h.in: fixed APIs definition
16149 Thu Feb 23 05:31:46 EST 2006 Daniel Veillard <veillard@redhat.com>
16151 * python/tests/Makefile.am: added the create.py in the regression tests
16153 Thu Feb 23 05:13:03 EST 2006 Daniel Veillard <veillard@redhat.com>
16155 * include/libvirt.h[.in] src/libvirt.c src/xend_internal.[ch]
16156 src/libvirt_sym.version: added virDomainLookupByUUID and
16157 virDomainGetUUID to be able to use the persistant UUID names
16158 * docs//*: rebuilt the docs following the API extension
16160 Wed Feb 22 11:53:45 CET 2006 Daniel Veillard <veillard@redhat.com>
16162 * configure.in libvirt.spec.in docs/Makefile.am docs/devhelp/*:
16163 added devhelp docs support, based on libxml2 stylesheets
16165 Wed Feb 22 09:57:11 CET 2006 Daniel Veillard <veillard@redhat.com>
16168 * libvirt.spec.in: package the examples in the doc
16169 * src/Makefile.am: forgot to add xml.h
16171 Tue Feb 21 22:00:11 CET 2006 Karel Zak <kzak@redhat.com>
16173 * TODO: added virsh part
16175 Tue Feb 21 09:14:07 EST 2006 Daniel Veillard <veillard@redhat.com>
16177 * Makefile.am: extended make tests to run those in docs/examples
16178 * docs/examples/suspend.c docs/examples/*: added an example of
16179 suspend/resume and regenerated
16181 Tue Feb 21 14:21:39 CET 2006 Daniel Veillard <veillard@redhat.com>
16184 * python/tests/Makefile.am: fix a small PYTHONPATH bug
16185 * docs//*: fixed the xsl a bit for toc names, added doc for
16186 the python bindings, regenerated
16188 Tue Feb 21 00:06:30 CET 2006 Daniel Veillard <veillard@redhat.com>
16190 * src/libvirt.c src/xend_internal.c src/xend_internal.h: move the
16191 XML dump function around to make sure all entry points are centralized
16192 in libvirt.c and also avoid doc generation troubles.
16193 * docs/examples/Makefile.am docs/examples/index.py: fix the makefile
16196 * docs/format.html: added a description of the XML used for the
16200 Mon Feb 20 21:48:55 CET 2006 Daniel Veillard <veillard@redhat.com>
16202 * docs/examples/examples.xsl docs/examples/index.html
16203 docs/site.xsl: integates the examples page in the web site
16204 * docs//* : fixed generator and rebuilt the docs
16205 * python/tests/basic.py python/tests/create.py: couple cleanups
16207 Mon Feb 20 12:20:32 EST 2006 Daniel Veillard <veillard@redhat.com>
16210 * include/libvirt.h include/libvirt.h.in: cleanup
16211 * src/libvirt.c: remove debugging output
16212 * src/xend_internal.c src/xml.c src/xml.h: reimplement
16213 virDomainGetXMLDesc() based on xend interface, now work as user too.
16215 Fri Feb 17 08:17:36 EST 2006 Daniel Veillard <veillard@redhat.com>
16217 * python/tests/create.py: trying to make test more generic, but it's
16218 difficult since it requires a system image
16219 * src/libvirt.c src/xend_internal.c: fixed the shutdown API which
16220 was broken due to a bad reason at the xend level.
16222 Thu Feb 16 17:47:00 EST 2006 Daniel Veillard <veillard@redhat.com>
16224 * configure.in src/Makefile.am: adding dependency to libxml2
16225 * include/libvirt.h* src/libvirt.c src/xend_internal.[ch]
16226 src/xml.[ch]: added XML parsing for Xen domain descriptions
16227 needed for creates, plugged in a converter to s-exp and
16228 xend call. Modified the virDomainCreateLinux() to reflect
16229 that XML based description. Seems to work.
16230 * python/tests/create.py: added a test case which seems to work
16231 not tested much yet
16232 * docs/*: regenerated
16234 Wed Feb 15 08:20:23 EST 2006 Daniel Veillard <veillard@redhat.com>
16236 * configure.in libvirt.spec.in include/libvirt.h.in python/Makefile.am
16237 src/Makefile.am: fix rpm packaging problems whith head, more
16238 LIBVIR -> LIBVIRT changes.
16240 Tue Feb 14 15:29:01 EST 2006 Daniel Veillard <veillard@redhat.com>
16242 * Makefile.am configure.in python/Makefile.am python/tests/Makefile.am
16243 python/tests/basic.py: added first python test script and
16244 a 'make tests' target
16246 Fri Feb 10 16:45:50 CET 2006 Daniel Veillard <veillard@redhat.com>
16248 * libvirt.pc.in: Karel pointed out the name hadn't been updated
16250 Fri Feb 10 11:30:41 EST 2006 Daniel Veillard <veillard@redhat.com>
16252 * python/libvir.c: fixed one more problem prior to 0.0.4
16254 Fri Feb 10 11:21:53 EST 2006 Daniel Veillard <veillard@redhat.com>
16256 * NEWS configure.in docs/libvir.html docs/news.html include/libvirt.h
16257 libvirt.spec.in: preparing 0.0.4 release
16259 Fri Feb 10 11:09:11 CET 2006 Daniel Veillard <veillard@redhat.com>
16261 * README TODO config.h.in libvirt.pc.in: more cleanups.
16263 Fri Feb 10 09:42:45 CET 2006 Daniel Veillard <veillard@redhat.com>
16265 * NEWS docs/*: regenerated and updated the docs post 0.0.3 release
16267 Fri Feb 10 09:39:23 CET 2006 Daniel Veillard <veillard@redhat.com>
16269 * autogen.sh configure.in: fixed snapshot autogeneration, had to
16272 Wed Feb 8 11:43:43 EST 2006 Daniel Veillard <veillard@redhat.com>
16274 * //* : renamed the project libvirt , this affects all makefiles,
16275 the specs, the icons, the docs, etc ...
16276 * configure.in: prepare for 0.0.3
16278 Fri Feb 3 15:47:32 CET 2006 Karel Zak <kzak@redhat.com>
16280 * src/virsh.c: fix order of the save command options
16282 Tue Jan 31 19:12:19 CET 2006 Daniel Veillard <veillard@redhat.com>
16284 * configure.in docs/examples/*: starting to add examples. the XSLT
16285 still need to be fixed for web site
16287 Tue Jan 31 11:22:51 CET 2006 Daniel Veillard <veillard@redhat.com>
16289 * python/*: update of the python bindings, fix names, add
16290 missing features like list of domains and domain info extraction
16292 Tue Jan 31 11:21:56 CET 2006 Daniel Veillard <veillard@redhat.com>
16294 * configure.in libvir.spec.in NEWS docs/*: commiting the state of 0.0.2
16297 Sun Jan 29 11:55:13 CET 2006 Daniel Veillard <veillard@redhat.com>
16299 * NEWS docs/news.xsl: added stylesheet to generate NEWS file
16300 * docs/*: updated docs preparing for the release
16302 Sun Jan 29 09:52:03 CET 2006 Daniel Veillard <veillard@redhat.com>
16304 * docs/site.xsl docs/*.html: credits to Diana Fong for graphics
16305 and web site design
16307 Sat Jan 28 21:24:05 CET 2006 Daniel Veillard <veillard@redhat.com>
16309 * python/libvir.c: fix a stupid bug in python bindings (DomainDestroy
16310 is still mishandled though)
16312 Fri Jan 27 09:58:31 CET 2006 Daniel Veillard <veillard@redhat.com>
16314 * src/libvir.c src/xml.c: applied patch from Anthony Liguori
16315 to remove the XenStore transactions as this is not needed
16318 Thu Jan 26 13:10:43 CET 2006 Daniel Veillard <veillard@redhat.com>
16321 * docs/search.php: use the new web site design
16322 * python/generator.py: fix a generation bug on python keyword
16324 Tue Jan 24 11:44:53 CET 2006 Karel Zak <kzak@redhat.com>
16326 * src/libvir_sym.version: add virDeomainRestore and virDomainSave
16327 * src/virsh.c: support '=' in options, fix command grammar
16328 * src/libvir.c: add conn->xshandle checks
16330 Tue Jan 24 14:09:37 CET 2006 Daniel Veillard <veillard@redhat.com>
16332 * src/libvir.c: Karel pointed out handle was lost in
16333 virConnectOpenReadOnly()
16335 Mon Jan 23 23:53:07 CET 2006 Daniel Veillard <veillard@redhat.com>
16337 * docs/site.xsl docs/*.png docs/*.html: update the images from Diana,
16338 added favicon to page.
16339 * src/libvir.c: reorganized the include imports.
16341 Mon Jan 23 14:23:16 CET 2006 Daniel Veillard <veillard@redhat.com>
16343 * docs/*: augment and try to complete the doc in its current state
16345 Sun Jan 22 17:26:20 CET 2006 Daniel Veillard <veillard@redhat.com>
16347 * docs/*: started to augment and update the documentation
16349 Sat Jan 21 23:33:46 GMT 2006 Daniel Veillard <veillard@redhat.com>
16351 * docs//*: mostly finished the revamp in the plane, starts to look good
16353 Fri Jan 20 16:48:05 CET 2006 Daniel Veillard <veillard@redhat.com>
16355 * docs/* : total revamp of the web site based on Diana Fong design
16356 but not completely integrated yet
16358 Fri Jan 20 10:57:44 CET 2006 Daniel Veillard <veillard@redhat.com>
16360 * include/libvir.h include/libvir.h.in src/libvir.c: revamped the
16361 restore API (though it would be better if it was returning
16362 a domain pointer in case of success)
16363 * src/virsh.c: added save and restore to the commands, tested,
16364 the option handling need work though
16366 Thu Jan 19 11:21:57 CET 2006 Daniel Veillard <veillard@redhat.com>
16368 * src/libvir.c src/xend_internal.c src/xend_internal.h: continue
16369 the integration of more xend based accesses, virsh seems to work
16370 without accessing the xen store now.
16372 Wed Jan 18 19:57:53 CET 2006 Daniel Veillard <veillard@redhat.com>
16374 * src/libvir.c: small change w.r.t. reboot.
16376 Wed Jan 18 11:32:04 CET 2006 Daniel Veillard <veillard@redhat.com>
16378 * include/libvir.h include/libvir.h.in src/libvir.c: more integration
16379 of libxend capabilities, including checkpointing and restoring
16381 * docs//*: regenerated the docs
16383 Tue Jan 17 17:53:43 CET 2006 Daniel Veillard <veillard@redhat.com>
16385 * include/libvir.h[.in]: added VIR_DOMAIN_CRASHED status, small
16387 * src/virsh.c: fix a integer being formatted as %s in idof
16388 * src/internal.h src/libvir.c src/xend_internal.[ch]: started to
16389 integrated the xend back-end, especially for getting informations
16392 Fri Jan 13 17:39:24 CET 2006 Daniel Veillard <veillard@redhat.com>
16394 * include/libvir.h.in include/libvir.h src/internal.h src/libvir.c
16395 src/xend_internal.c src/xend_internal.h: starting to plug the
16396 xend code in, replacing structures mostly, but not finished.
16398 Thu Jan 12 16:36:21 CET 2006 Daniel Veillard <veillard@redhat.com>
16400 * src/Makefile.am src/xend_internal.c src/xend_internal.h:
16401 added more of Anthony Liquori libxend code, commented and reformatted
16402 this still need to be plugged, it's still dead code ATM.
16404 Wed Jan 11 14:57:01 CET 2006 Daniel Veillard <veillard@redhat.com>
16406 * docs/libvir.html: grammatical fix
16407 * src/Makefile.am src/sexpr.c src/sexpr.h: starting to integrate
16408 Anthony Liquori libxend code
16409 * src/libvir.c: fix an uninitialized value
16411 Wed Dec 21 17:58:45 CET 2005 Daniel Veillard <veillard@redhat.com>
16413 * docs/architecture.* docs/*: added a section on the architecture
16414 and regenerated the docs.
16416 Mon Dec 19 19:04:11 CET 2005 Daniel Veillard <veillard@redhat.com>
16418 * NEWS docs/libvir.html docs/news.html: preparing 0.0.1 release
16420 Mon Dec 19 17:32:22 CET 2005 Daniel Veillard <veillard@redhat.com>
16422 * Makefile.am configure.in libvir.spec.in python/*: added a first
16423 version for python bindings, heavilly based on libxml2/libxslt
16424 way of doing things, maybe this need to be revisited. Added packaging
16426 * src/hash.h: fixed the Copyright notice.
16428 Fri Dec 16 19:35:29 CET 2005 Karel Zak <kzak@redhat.com>
16430 * src/xml.c src/internal.h src/libvir.c: struct checks cleanup,
16431 add macros VIS_IS_DOMAIN(), VIR_IS_CONNECT() and VIR_IS_CONNECTED_DOMAIN()
16433 Fri Dec 16 14:26:05 CET 2005 Daniel Veillard <veillard@redhat.com>
16435 * libvir.spec.in src/Makefile.am: cleaned up the spec file, removed
16436 static libraries, adding virsh as an installed program
16438 Fri Dec 16 13:59:35 CET 2005 Daniel Veillard <veillard@redhat.com>
16440 * src/libvir_sym.version: oops forgot to export the new symbol
16442 Fri Dec 16 13:15:04 CET 2005 Daniel Veillard <veillard@redhat.com>
16444 * include/libvir.h include/libvir.h.in src/internal.h src/libvir.c:
16445 adding the virDomainShutdown() API
16446 * src/virsh.c: adding a shutdown command
16447 * docs/*: regenerated
16449 Fri Dec 16 01:43:18 CET 2005 Karel Zak <kzak@redhat.com>
16451 * include/libvir.h.in: add missing declaration of virDomainGetXMLDesc()
16452 * include/libvir.h.in src/libvir.c src/virsh src/libvir_sym.version: add
16453 virDomainGetOSType()
16454 * src/internal.h src/libvir.c src/xml.c: add internal function virDomainGetVM(),
16455 move virDomainGetVMInfo() from src/xml.c
16457 Thu Dec 15 17:56:27 CET 2005 Karel Zak <kzak@redhat.com>
16459 * src/virsh.c: remove --id / --name options
16461 Wed Dec 14 16:28:24 CET 2005 Daniel Veillard <veillard@redhat.com>
16463 * src/xml.c: add dump of os/boot informations
16465 Wed Dec 14 13:35:39 CET 2005 Daniel Veillard <veillard@redhat.com>
16467 * src/xml.c: added dump of physical vbd and read-only status
16469 Wed Dec 14 12:20:06 CET 2005 Daniel Veillard <veillard@redhat.com>
16471 * src/xml.c: started to add block devices and interfaces descriptions
16474 Tue Dec 13 17:20:11 CET 2005 Daniel Veillard <veillard@redhat.com>
16476 * include/libvir.h src/Makefile.am src/internal.h src/libvir.c
16477 src/libvir_sym.version src/virsh.c src/xml.c: started working on
16478 the XML dump, added a dumpxml virsh version and a bit of
16479 infrastructure code. Found a way to detect dead ID from xenstore
16482 Mon Dec 12 14:21:18 CET 2005 Daniel Veillard <veillard@redhat.com>
16484 * src/libvir.c src/xen_internal.c src/xen_internal.h: completing the
16485 API implementation, only CreateLinux is now missing.
16487 Fri Dec 9 15:39:18 CET 2005 Daniel Veillard <veillard@redhat.com>
16489 * docs/search.php docs/index.py docs/*.xsl docs/html/*: fixed the
16490 page generation, added the search engine.
16492 Fri Dec 9 14:03:13 CET 2005 Daniel Veillard <veillard@redhat.com>
16494 * docs/*: extended the documentation
16496 Fri Dec 9 11:15:41 CET 2005 Daniel Veillard <veillard@redhat.com>
16498 * configure.in: adding --without-depends to make dist on non
16501 Fri Dec 9 00:47:12 CET 2005 Daniel Veillard <veillard@redhat.com>
16503 * Makefile.am include/libvir.h.in libvir.pc.in: various fixes.
16504 * docs/*: regenerated the docs
16506 Fri Dec 9 00:02:06 CET 2005 Daniel Veillard <veillard@redhat.com>
16508 * src/virsh.c: added support for suspend/resume/destroy, validating
16511 Thu Dec 8 18:16:20 CET 2005 Daniel Veillard <veillard@redhat.com>
16513 * src/libvir.c src/xen_internal.c src/xen_internal.h: implement
16514 Pause, Resume, Destroy, but untested yet.
16516 Thu Dec 8 17:43:11 CET 2005 Daniel Veillard <veillard@redhat.com>
16518 * include/libvir.h src/libvir.c src/libvir_sym.version: adding
16520 * docs/*: regenerated the docs
16522 Thu Dec 8 16:07:07 CET 2005 Daniel Veillard <veillard@redhat.com>
16524 * configure.in include/libvir.h.in include/libvir.h src/Makefile.am
16525 include/Makefile.am: provide/fix library versionning information
16526 include/libvir.h is now generated !
16527 * include/libvir.h.in src/libvir.c: revamp APIs and implement
16529 * src/virsh.c: finish the version command and a bit of cleanup.
16531 Thu Dec 8 15:20:57 CET 2005 Karel Zak <kzak@redhat.com>
16533 * src/virsh.c: code cleanup to prevent gcc warnings
16535 Thu Dec 8 14:25:09 CET 2005 Daniel Veillard <veillard@redhat.com>
16537 * configure.in: activate pedantic flags
16538 * src/libvir.c src/libvir_sym.version src/xen_internal.[ch]
16539 include/libvir.h: implementing hypervisor Version and Type interfaces
16540 * src/virsh.c: adding a version command, WIP
16542 Thu Dec 8 11:19:48 CET 2005 Karel Zak <kzak@redhat.com>
16544 * src/Makefile.am src/virsh.c configure.in: adding readline support,
16545 and implement basic commands to virsh.
16547 Thu Dec 8 11:12:36 CET 2005 Daniel Veillard <veillard@redhat.com>
16549 * src/libvir.c src/xen_internal.c: fixed the new Xen hypervisor call
16551 Wed Dec 7 19:09:48 CET 2005 Daniel Veillard <veillard@redhat.com>
16553 * configure.in src/Makefile.am src/libvir.c src/xen_internal.c
16554 src/xen_internal.h: removed dependancy on xenctrl library, untested
16557 Wed Dec 7 15:08:54 CET 2005 Daniel Veillard <veillard@redhat.com>
16559 * docs/*: adding missing links to API page.
16561 Wed Dec 7 14:43:28 CET 2005 Daniel Veillard <veillard@redhat.com>
16563 * configure.in libvir.spec.in docs/Makefile.am: make sure the
16564 docs are installed and packaged in the -devel RPM
16565 * docs/api.xsl docs/newapi.xsl: forgot to commit API HTML stylesheets
16567 Wed Dec 7 14:09:48 CET 2005 Karel Zak <kzak@redhat.com>
16568 * include/libvir.h src/libvir.c: adding xenConnectNumOfDomains()
16569 to returns number of active domains.
16571 Wed Dec 7 13:55:04 CET 2005 Daniel Veillard <veillard@redhat.com>
16573 * docs/ChangeLog.awk docs/ChangeLog.xsl: Changelog handling from
16574 libxml2 adapted to libvir
16575 * docs/* docs/html/libxml-libvir.html: regenerated
16577 Wed Dec 7 11:58:20 CET 2005 Daniel Veillard <veillard@redhat.com>
16579 * docs/* docs/html/*: more work on the docs generation
16580 * include/libvir.h: adding informations on the header
16582 Wed Dec 7 10:31:29 CET 2005 Daniel Veillard <veillard@redhat.com>
16584 * configure.in docs/FAQ.html docs/Libxml2-Logo-90x34.gif
16585 docs/Makefile.am docs/bugs.html docs/index.html docs/intro.html
16586 docs/libvir.html docs/redhat.gif docs/site.xsl: starting to add
16587 the web site, based on libxml2 one.
16588 * src/hash.c: add a missing include
16590 Tue Dec 6 17:47:11 CET 2005 Daniel Veillard <veillard@redhat.com>
16592 * docs/Makefile.am docs/apibuild.py docs/libvir-api.xml
16593 docs/libvir-refs.xml: fix XML API generation
16594 * include/libvir.h src/libvir.c src/virsh.c: fix the info memory
16595 API again, use KB, not bytes so that an unsigned long is sufficient.
16597 Tue Dec 6 17:12:52 CET 2005 Daniel Veillard <veillard@redhat.com>
16599 * include/libvir.h src/libvir.c src/virsh.c: adding the extraction
16600 of the number of virtual CPUs for both interfaces.
16602 Tue Dec 6 14:46:50 CET 2005 Daniel Veillard <veillard@redhat.com>
16604 * include/libvir.h src/libvir.c src/virsh.c: tweaking of the
16605 GetInfo() API, returns bytes and nanoseconds, try to fix
16606 the scales, but time on unpriviledged interfaces doesn't work.
16608 Mon Dec 5 19:14:05 CET 2005 Daniel Veillard <veillard@redhat.com>
16610 * include/libvir.h src/libvir.c src/libvir_sym.version src/virsh.c:
16611 first pass at trying to implement virDomainGetInfo() quite a bit
16612 of work left to do.
16614 Mon Dec 5 12:15:16 CET 2005 Daniel Veillard <veillard@redhat.com>
16616 * Makefile.am README TODO autogen.sh configure.in libvir.pc.in
16617 libvir.spec.in docs/Makefile.am docs/apibuild.py docs/structures.fig
16618 include/Makefile.am include/libvir.h src/Makefile.am src/hash.c
16619 src/hash.h src/internal.h src/libvir.c src/libvir_sym.version
16620 src/virsh.c: renamed to libvir
16622 Fri Dec 2 15:15:26 CET 2005 Daniel Veillard <veillard@redhat.com>
16624 * include/libxen.h src/libxen.c src/libxen_sym.version: adding
16625 xenConnectListDomains() to list active domains
16626 * src/xensh.c: integrated a basic test for xenConnectListDomains()
16628 Fri Dec 2 13:10:04 CET 2005 Daniel Veillard <veillard@redhat.com>
16630 * configure.in src/Makefile.am: more warnings from compiler and
16631 link static in work environement
16633 Thu Dec 1 18:32:43 CET 2005 Daniel Veillard <veillard@redhat.com>
16635 * Makefile.am configure.in docs/apibuild.py docs/libxen-api.xml
16636 docs/libxen-refs.xml docs/structures.fig: starting to add docs
16637 and the extraction tool
16638 * src/libxen.c: fixed comments error raised by apibuild
16640 Thu Dec 1 17:34:23 CET 2005 Daniel Veillard <veillard@redhat.com>
16642 * include/libxen.h src/libxen.c src/libxen_sym.version: add read-only
16643 connections for normal users (but need /var/run/xenstored/socket_ro
16644 to be chmoded to 666)
16645 * src/xensh.c: if not root use the RO access
16647 Thu Dec 1 11:50:16 CET 2005 Daniel Veillard <veillard@redhat.com>
16649 * include/libxen.h src/libxen.c src/libxen_sym.version src/xensh.c:
16650 changed entry points naming conventions based on feedback with
16653 Wed Nov 30 14:18:19 CET 2005 Daniel Veillard <veillard@redhat.com>
16655 * src/Makefile.am src/hash.[ch]: added hash module based on libxml2
16657 * include/libxen.h src/libxen.c src/libxen_sym.version: extend API
16658 start to access libxenctrl directly (need xen update to get includes)
16659 * src/xensh.c: access to both xenstore and hypervisor
16661 Tue Nov 22 17:09:11 CET 2005 Daniel Veillard <veillard@redhat.com>
16663 * configure.in: checking xenstore library, error out on missing libs
16664 * include/libxen.h src/libxen.c src/libxen_sym.version: adding new
16667 Thu Nov 10 17:11:03 CET 2005 Daniel Veillard <veillard@redhat.com>
16669 * src/makefile.am src/libxen.c src/xensh.c: add a small tool sensh,
16670 implement xenopenconnect and xencloseconnect.
16672 Wed Nov 9 10:57:12 CET 2005 Daniel Veillard <veillard@redhat.com>
16674 * docs/Goals: added a Goals document for the library
16676 Mon Nov 7 18:14:50 CET 2005 Daniel Veillard <veillard@redhat.com>
16679 * include/libxen.h src/libxen.c src/libxen_sym.version: extended
16680 entry points to a first minimal set.
16681 * src/internal.h: TODO macro
16683 Wed Nov 2 16:35:54 CET 2005 Daniel Veillard <veillard@redhat.com>
16685 * TODO libxen.pc.in libxen.spec.in include/Makefile.am Makefile.am
16686 config.h.in configure.in: fix make dist, add rpm packaging
16687 * src/libxen_sym.version src/Makefile.am: set a policy of no
16688 export by default of library symbols
16690 Wed Nov 2 14:17:50 CET 2005 Daniel Veillard <veillard@redhat.com>
16692 * AUTHORS NEWS README autogen.sh configure.in: allow autogen.sh and
16693 configure to start working
16694 * src/Makefile.am src/internal.h src/libxen.c: make the first compile
16696 Wed Nov 2 13:44:47 CET 2005 Daniel Veillard <veillard@redhat.com>
16698 * src/libxen.c src/Makefile.am include/libxen.h configure.in
16699 Makefile.am COPYING.LIB: creation