ChangeLog 547.1 KB
Newer Older
1 2 3 4 5
Thu Feb 26 15:35:40 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_fs.c: fix compile-error when configured without
	qemu-img

6 7 8 9 10
Thu Feb 26 14:43:48 CET 2009 Daniel Veillard <veillard@redhat.com>

	* python/Makefile.am: avoid a parallel make issue #472702
	  provided by Michael Marineau

11 12 13 14 15
Wed Feb 25 21:00:46 CET 2009 Daniel Veillard <veillard@redhat.com>

	* docs/formatnetwork.html docs/formatnetwork.html.in: patch from
	  Charles Duffy documenting static host IP assignments.

M
Mark McLoughlin 已提交
16 17 18 19 20 21 22 23 24 25 26
Tue Feb 24 14:55:28 GMT 2009 Mark McLoughlin <markmc@redhat.com>

	* tests/nodedevxml2xmltest.c: Add a test to check node
	device XML parsing by first parsing the XML, then
	re-formatting as XML and finally comparing the resulting
	XML to the original XML.

	* tests/nodedevschemadata/*.xml: strip trailing newlines.

	* tests/Makefile.am, tests/.*ignore: adminstrivia

27 28 29 30 31 32
Tue Feb 24 14:54:05 GMT 2009 Mark McLoughlin <markmc@redhat.com>

	*  src/libvirt_private.syms, src/node_device_conf.[ch]:
	Add virNodeDeviceDefParseString(), a function for
	parsing node device XML descriptions.

M
Mark McLoughlin 已提交
33 34 35 36
Tue Feb 24 14:52:58 GMT 2009 Mark McLoughlin <markmc@redhat.com>

	* src/xml.[ch]: Add virXPathULongLong()

37 38 39 40
Tue Feb 24 14:52:44 GMT 2009 Mark McLoughlin <markmc@redhat.com>

	* src/xml.[ch]: Add virXPathLongHex() and virXPathULongHex()

M
Mark McLoughlin 已提交
41 42 43 44
Tue Feb 24 14:51:32 GMT 2009 Mark McLoughlin <markmc@redhat.com>

	* docs/formatdomain.html: fix a typo in hostdev docs

45 46 47 48 49
Sun Feb 22 11:18:20 GMT 2009 Mark McLoughlin <markmc@redhat.com>

	* src/network_driver.c: networkEnableIpForwarding() now
	returns zero for success

50 51 52 53 54
Sun Feb 22 11:06:39 GMT 2009 Mark McLoughlin <markmc@redhat.com>

	* docs/formatdomain.html: commit auto-generated change as
	a result of earlier s/clock sync/clock offset/

G
Guido Günther 已提交
55 56 57 58 59
Thu Feb 19 09:14:56 CET 2009 Guido Günther <agx@sigxcpu.org>

	* src/qemu_driver.c (qemudReadMonitorOutput, qemudReadLogOutput):
	(s)size_t type cleanup

60 61 62 63 64
Tue Feb 17 20:40:51 EST 2009 Cole Robinson <crobinso@redhat.com>

	* src/qemu_driver.c: Remove the _actually_ incorrect
	ATTRIBUTE_UNUSED (Patch by Maximilian Wilhelm)

65 66 67 68 69 70
Tue Feb 17 15:44:38 +0100 2009 Jim Meyering <meyering@redhat.com>

	fix build failure due to invalid generated Makefile
	* qemud/Makefile.am (libvirtd_LDADD): Unindent "if HAVE_*" directives.
	Reported by Daniel Schwager.

C
Cole Robinson 已提交
71 72 73 74
Tue Feb 17 09:49:49 EST 2009 Cole Robinson <crobinso@redhat.com>

	* qemud/qemud.c : Fix daemon TCP listen cleanup

75 76 77 78
Tue Feb 17 09:47:05 EST 2009 Cole Robinson <crobinso@redhat.com>

	* src/qemu_driver.c : Remove incorrect ATTRIBUTE_UNUSED usage.

79 80 81 82 83 84 85 86 87
Tue Feb 17 11:41:10 +0100 2009 Maximilian Wilhelm <max@rfc2324.org>

	Build fix for 'driver.c' when building with loadable modules
	The 'asprintf' -> 'virAsprintf' transition made in
	[9e5d9950] "use virAsprintf instead of asprintf" introducted
	a build error for 'driver.c' as 'util.h' has to be included.

	Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

88 89 90 91 92 93
Tue Feb 17 11:32:01 +0100 2009 Jim Meyering <meyering@redhat.com>

	Avoid link failure when configured --with-driver-modules
	* qemud/Makefile.am (WITH_DRIVER_MODULES): Link with libvirt_driver.la
	and libvirt_util.la.  Indent for readability.

94 95 96 97 98 99 100
Tue Feb 17 11:30:23 +0100 2009 Maximilian Wilhelm <max@rfc2324.org>

	Work around 'virGetVersion' build problem
	The 'getVer' fix introducted in 02a72b42 [Allow remote://hostname/
	style URIs for automatic driver probe...] breaks compiling libvirt
	with loadable module support.  Work around this to get it building again.

101 102 103 104 105 106 107 108
Tue Feb 17 11:25:22 +0100 2009 Jim Meyering <meyering@redhat.com>

	avoid compiler warning about unused parameter
	* src/bridge.c (brProbeVnetHdr)
	[IFF_VNET_HDR && TUNGETFEATURES && TUNGETIFF]: Use a "(void)" case
	to mark the parameter as unused.  Reported by Maximilian Wilhelm in
	http://thread.gmane.org/gmane.comp.emulators.libvirt/11918/focus=11917

109 110 111 112 113 114 115
Tue Feb 17 11:21:00 +0100 2009 Jim Meyering <meyering@redhat.com>

	don't fail daemon-conf test when configured --without-qemu
	* tests/Makefile.am (TESTS_ENVIRONMENT): Define CONFIG_HEADER.
	* tests/daemon-conf: Use test-lib.sh.
	Skip this test when configured --without-qemu.

116 117 118 119 120 121 122 123 124 125
Tue Feb 17 11:21:00 +0100 2009 Jim Meyering <meyering@redhat.com>

	accommodate configuring --without-lxc --without-qemu
	* configure.in: Enable internal WITH_BRIDGE support not just for LXC or
	QEMU, but also for --with-network.  Russell Haering reported that
	compilation failed when configured with --without-lxc --without-qemu.
	Details: http://thread.gmane.org/gmane.comp.emulators.libvirt/11928
	* src/bridge.h: Use #if WITH_BRIDGE, rather than currently-equivalent
	"#if defined(WITH_QEMU) || defined(WITH_LXC)"

126 127 128 129 130 131
Tue Feb 17 11:18:39 +0100 2009 Jim Meyering <meyering@redhat.com>

	doc: fix typo in formatdomain's clock offset specification
	* docs/formatdomain.html.in: s/clock sync/clock offset/
	Patch by Jesse Lauren Farinacci <jieryn@gmail.com>.

132 133 134 135 136 137 138 139 140
Tue Feb 10 11:14:07 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Fix I/O errors in libvirtd daemon, and hang/crash in remote
	client upon I/O error.
	* qemud/event.c: Treat POLLNVAL as VIR_EVENT_HANDLE_ERROR
	* src/domain_conf.c: Initialize monitor FD to -1
	* src/remote_internal.c: Remove call object from waitDispatch
	queue upon I/O failure, since call is about to free it.

141 142 143 144 145
Mon Feb 16 17:59:04 EST 2009 Cole Robinson <crobinso@redhat.com>

	* src/virsh.c, src/Makefile.am: Don't pass flags to DumpXML
	in *-edit virsh commands

146 147 148 149 150
Mon Feb 16 17:55:50 EST 2009 Cole Robinson <crobinso@redhat.com>

	* src/storage_backend_logical.c: Remove erroneous lvm volume
	format check for backing store.

151 152
Mon Feb 16 17:53:24 EST 2009 Cole Robinson <crobinso@redhat.com>

153
	* python/generator.py: Skip bindings for virSaveLastError and
154 155
	virFreeError

156
Fri Feb 13 19:04:57 GMT 2009 Mark McLoughlin <markmc@redhat.com>
M
Mark McLoughlin 已提交
157 158 159 160 161 162

	* src/libvirt_private.syms, src/util.[ch]: add
	virFileWriteStr()

	* src/network_driver.c: use it here

163
Fri Feb 13 19:04:45 GMT 2009 Mark McLoughlin <markmc@redhat.com>
164 165 166

	* src/xml.c: fix some error strings

167
Fri Feb 13 19:04:22 GMT 2009 Mark McLoughlin <markmc@redhat.com>
168 169 170

	* src/xml.h: kill some non-existent functions

171
Fri Feb 13 19:03:58 GMT 2009 Mark McLoughlin <markmc@redhat.com>
172

173
	* docs/virsh.pod: update bugzilla link
174

175
Fri Feb 13 19:03:30 GMT 2009 Mark McLoughlin <markmc@redhat.com>
176 177 178

	* qemud/qemud.c: fix gcc-4.4 warnings

179
Fri Feb 13 19:03:25 GMT 2009 Mark McLoughlin <markmc@redhat.com>
180 181 182

	* src/bridge.c: fix gcc-4.4 warnings

J
John Levon 已提交
183 184 185 186 187 188
Fri Feb 13 16:50:35 GMT 2009 John Levon <john.levon@sun.com>

	* src/xend_internal.c: xend in 3.3 grew a couple of new options
	for the migration method. As they're ignored on older xend
	versions, always pass them.

189 190 191 192 193 194 195 196
Fri Feb 13 19:09:54 +0100 2009 Jim Meyering <meyering@redhat.com>

	test:///default driver: don't dereference NULL "def"
	* src/test.c (testNetworkCreate, testNetworkDefine): Since "def" is
	set to NULL immediately after any vir*AssignDef call (to indicate we
	no longer own it and to ensure no clean-up path mistakenly frees it),
	dereference via net->def->, not def->.

197 198 199 200 201 202 203 204 205
Fri Feb 13 12:31:03 CET 2009 Guido Günther <agx@sigxcpu.org>

	usleep to wait for domain logfile to fill up
	* src/qemu_driver.c (qemudReadLogOutput): New function to read from
	domain log file.
	(qemudWaitForMonitor): Use it.
	(qemudOpenMonitor): Pass timout in seconds.
	(qemudReadMonitorOutput): Convert timout to milliseconds.

206 207 208 209 210
Wed Feb 11 21:30:47 CET 2009 Guido Günther <agx@sigxcpu.org>

	* src/qemu_driver.c (qemudStartVMDaemon): fix return status when
	domain didn't show up

211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231
Mon Feb 9 17:26:07 +0100 2009 Jim Meyering <meyering@redhat.com>

	libvirtd: new config-file option: unix_sock_dir
	Before this change, the unix socket directory was hard-coded
	to be e.g., /var/run/libvirt for euid==0 and ~/.libvirt otherwise.
	With this change, you may now specify that directory in libvirtd's
	config file via a line like this: unix_sock_dir = "/var/run/libvirt".
	This is essential for running tests that do not impinge on any
	existing libvirtd process, and in running tests in parallel.
	* qemud/libvirtd.conf (unix_sock_dir): Add comment and example.
	* qemud/qemud.h (struct qemud_server) [logDir]: Change type
	from char[PATH_MAX] to char*.
	* qemud/qemud.c (unix_sock_dir): New global
	(remoteReadConfigFile): Set the global.
	(qemudInitPaths): Use the global, unix_sock_dir, if non-NULL.
	One minor improvement: unlink both sockets or none, never
	just one of them.
	(qemudCleanup): Free logDir.
	(main): Use the new global rather than hard-coding "/run/libvirt".
	* qemud/libvirtd.aug (sock_acl_entry): Add "unix_sock_dir".

232 233 234 235 236 237
Mon Feb 9 10:13:28 +0100 2009 Jim Meyering <meyering@redhat.com>

	don't print uninitialized in debug diagnostic
	* qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t,
	uninitialized.

238 239 240 241 242 243
Mon Feb 9 16:25:52 +0100 2009 Jim Meyering <meyering@redhat.com>

	avoid two test failures induced by today's error-reporting changes
	* tests/cpuset: Adjust expected diagnostic to match new behavior.
	* tests/undefine: Likewise.

J
John Levon 已提交
244 245 246 247 248
Mon Feb  9 14:19:02 GMT 2009 John Levon <john.levon@sun.com>

	* src/virsh.c: rather than verbosely printing every error, save
	the last error and report that only if the entire command fails.

249 250 251 252 253 254
Mon Feb  9 14:07:51 GMT 2009 John Levon <john.levon@sun.com>

	* include/libvirt/virterror.h:
	* src/libvirt_public.syms:
	* src/virterror.c: introduce virSaveLastError(), virFreeError()

255 256 257 258 259
Mon Feb  9 10:21:33 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Limit readonly history to 500 to avoid unbounded
	growth in memory usage (Jim Paris)

260 261 262 263 264 265 266
Sat Feb  7 21:46:06 CET 2009 Guido Günther <agx@sigxcpu.org>

	* src/qemu_driver.c (qemudStartVMDaemon, qemudDomainSuspend,
	qemudDomainResume, qemudDomainAttachDevice, qemudDomainDetachDevice):
	Don't ignore errors to save domain status.
	(qemudShutdownVMDaemon): Warn if we fail to remove the status file.

267 268 269 270 271 272 273 274 275 276
Fri Feb  6 14:43:10 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Fix 100% CPU bound loop when libvirtd --timeout is used
	* qemud/event.c: Don't assume pthread_t is equivalent to an
	int, explicitly track whether event loop is active with a
	flag independantly of the threadLeader variable
	* qemud/qemud.c: Don't register/unregister shutdown timer
	on each loop. Register once, and activate/deactivate when
	required

277 278 279 280 281
Thu Feb  5 19:28:10 GMT 2009 John Levon <john.levon@sun.com>

	* src/domain_conf.c: Check the last error, not the last
	connection error, which may not have been set.

282 283 284 285 286
Thu Feb  5 18:08:39 GMT 2009 John Levon <john.levon@sun.com>

	* src/xs_internal.c: Use virMacAddrCompare() for
	case-insensitive comparison

287 288 289 290 291
Thu Feb  5 17:19:24 GMT 2009 John Levon <john.levon@sun.com>

	* src/xend_internal.c: report error for some xend operations on
	shutdown domain

J
John Levon 已提交
292 293 294 295
Thu Feb  5 16:53:37 GMT 2009 John Levon <john.levon@sun.com>

	* src/xend_internal.c: robustify sexpr parser for NICs

296 297 298 299 300 301 302 303
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	syntax-check: enable prohibit_nonreentrant
	* .x-sc_prohibit_nonreentrant: Add src/console.c and virterror.c.
	* Makefile.cfg (local-checks-to-skip): Don't exempt
	sc_prohibit_nonreentrant.
	* Makefile.nonreentrant: Don't exempt strerror.

304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	remove remainder of offending strerror uses
	* qemud/qemud.c (GET_CONF_STR): Use virStrerror, not strerror.
	* qemud/remote.c (remoteDispatchDomainBlockPeek): Likewise.
	(remoteDispatchDomainMemoryPeek, remoteDispatchAuthSaslInit): Likewise.
	(remoteDispatchAuthPolkit): Likewise.
	* src/lxc_container.c (lxcContainerAvailable): Likewise.
	* src/network_driver.c (networkStartNetworkDaemon): Likewise.
	(networkShutdownNetworkDaemon): Likewise.
	* src/qemu_conf.c (qemudExtractVersion, qemudNetworkIfaceConnect):
	* src/storage_conf.c (virStoragePoolLoadAllConfigs): Likewise.
	* src/storage_driver.c (storagePoolUndefine): Likewise.
	* src/uml_driver.c (umlStartup, umlStartVMDaemon): Likewise.
	* src/util.c (virFileReadAll): Likewise.
	* src/uuid.c (virUUIDGenerate): Likewise.
	* src/xen_internal.c (get_cpu_flags): Likewise.

322 323 324 325 326 327
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	don't include raw errno in diagnostics
	* src/uml_driver.c (umlStartVMDaemon): Don't print raw errno value.
	* qemud/remote.c (remoteDispatchAuthSaslInit): Likewise.

328 329 330 331
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	qemud.c: use virStrerror, not strerror

332 333 334 335 336 337 338 339 340
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	iptables.c: Use virStrerror, not strerror.
	* src/iptables.c: Include "virterror_internal.h".
	Use virStrerror, not strerror.
	* src/iptables.c (notifyRulesUpdated): Use %s rather than
	string-concatenation that made sc_unmarked_diagnostics report
	a false-positive.

341 342 343 344 345 346 347
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	use virReportOOMError rather than more verbose equivalent
	* src/qemu_driver.c (qemudDomainSave, qemudDomainRestore)
	(qemudDomainAttachPciDiskDevice)
	(qemudDomainAttachUsbMassstorageDevice):

348 349 350 351 352 353 354
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	qemu_driver.c: s/strerror/virStrerror.../
	Perform most changs automatically, with this:
	perl -pi -e 's/\bstrerror *\((.+?)\)/virStrerror($1, ebuf, sizeof ebuf)/'
	Then, declare ebuf, as needed

355 356 357 358 359 360 361 362 363
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	remove duplicate *SetCloseExec and *SetNonBlock functions
	* src/qemu_driver.c: Use virSetCloseExec and virSetNonBlock,
	rather than qemuSet* functions.  Suggested by Daniel P. Berrange.
	* src/util.c (virSetCloseExec): Publicize.
	* src/util.h (virSetCloseExec): Declare
	* src/libvirt_private.syms: Add virSetCloseExec.

364
Thu Feb 5 17:03:35 +0100 2009 Jim Meyering <meyering@redhat.com>
365 366 367 368 369 370 371

	qemu_driver.c: use virReportSystemError in place of some qemudLog uses
	...thus eliminating many uses of strerror.
	(kvmGetMaxVCPUs): Rather than merely warning, diagnose an error
	and return -1 upon failure to open KVM_DEVICE.  Suggested by
	Daniel P. Berrange.

372
Thu Feb 5 17:03:34 +0100 2009 Jim Meyering <meyering@redhat.com>
J
Jim Meyering 已提交
373 374 375 376 377 378

	publicize virStrerror
	* src/virterror.c (virStrerror): Remove "static".
	* src/virterror_internal.h (virStrerror): Declare it.
	* src/libvirt_private.syms: Add virStrerror;

J
Jim Meyering 已提交
379 380 381 382 383 384 385 386 387 388 389 390
Thu Feb 5 17:00:17 +0100 2009 Jim Meyering <meyering@redhat.com>

	remove useless code
	* src/bridge.c (brAddTap): Remove redundant errno=ENOMEM assignment
	after failed strdup.
	* src/cgroup.c (virCgroupFree): Remove redundant *group=NULL assignment
	after VIR_FREE(*group).
	* src/lxc_driver.c (lxcShutdown): Likewise.
	* src/xen_unified.c (xenUnifiedClose): Likewise.
	* src/xm_internal.c (xenXMDomainConfigFormat): Rewrite disk-
	and net-config-setting code to be clearer.

391 392 393 394 395 396 397
Wed Feb 4 22:22:34 +0100 2009 Jim Meyering <meyering@redhat.com>

	lxc_container: Don't dereference NULL upon failure
	* src/lxc_container.c (lxcContainerPivotRoot): Free and zero
	oldroot *after* printing the diagnostic, both for virFileMakePath
	and pivot_root failure.

398
Tue Feb  3 14:06:06 +0100 2009 Jim Meyering <meyering@redhat.com>
J
Jim Meyering 已提交
399 400 401 402

	avoid a format-related warning
	* src/qemu_driver.c (qemudStartVMDaemon): Use "%s".

403
Tue Feb  3 14:06:06 +0100 2009 Jim Meyering <meyering@redhat.com>
404 405 406 407 408 409 410 411 412

	build: enable redundant-const check
	* Makefile.cfg (local-checks-to-skip): Remove sc_redundant_const.
	* src/lxc_controller.c: Remove redundant "const"(s).
	* src/storage_backend_fs.c: Likewise.
	* src/util.h: Likewise.
	* src/xen_internal.c: Likewise.
	* tests/qparamtest.c: Likewise.

413
Tue Feb  3 14:06:06 +0100 2009 Jim Meyering <meyering@redhat.com>
J
Jim Meyering 已提交
414 415 416 417 418 419 420

	syntax-check: enable more checks
	* Makefile.cfg (local-checks-to-skip): Don't skip sc_m4_quote_check.
	Don't skip sc_prohibit_nonreentrant.
	* Makefile.nonreentrant (NON_REENTRANT): Comment out until we've
	remove all remaining uses of strerror.

421
Tue Feb  3 14:06:05 +0100 2009 Jim Meyering <meyering@redhat.com>
422 423 424 425 426 427 428

	cleanup: remove useless if-before-VIR_FREE
	* Makefile.cfg (useless_free_options): Also check for VIR_FREE.
	* src/iptables.c (iptRulesFree): Remove useless if-before-VIR_FREE.
	* src/remote_internal.c (remoteAuthSASL): Likewise.
	* src/test.c (testOpenFromFile): Likewise.

429
Mon Feb  2 21:33:57 +0100 2009 Jim Meyering <meyering@redhat.com>
430 431 432 433 434 435

	tests: diagnose more open failures
	* tests/qemuxml2argvtest.c: Revert the change,
	"tests: diagnose open failure" of 2009-01-30.
	* tests/testutils.c (virtTestLoadFile): Diagnose failure here.

J
John Levon 已提交
436 437 438 439
Mon Feb  2 18:33:19 GMT 2009 John Levon <john.levon@sun.com>

	* src/libvirt.c: fix more printf("%s", NULL) cases

440 441 442 443 444
Sat Jan 31 14:45:58 CET 2009 Guido Günther<agx@sigxcpu.org>

	* src/remote_internal.c (doRemoteOpen): Don't hardcode ssh port 22,
	use VIR_FREE, initialize pointers to NULL not 0.

D
Daniel Veillard 已提交
445 446 447 448 449
Sat Jan 31 11:43:21 CET 2009 Daniel Veillard <veillard@redhat.com>

	* configure.in docs/* NEWS: release of 0.6.0
	* po/*: regenerated and updated brazilian and polish localizations

450 451 452 453 454
Sat Jan 31 10:09:08 CET 2009 Daniel Veillard <veillard@redhat.com>

	* docs/news.html*: update with infos for 0.6.0
	* docs/*: regenerated some data too

J
Jim Meyering 已提交
455 456 457 458 459 460
Fri Jan 30 22:57:34 +0100 2009 Jim Meyering <meyering@redhat.com>

	tests: diagnose open failure
	* tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Diagnose
	failure to open an input file.

461 462 463 464
Fri Jan 30 21:50:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: Fix empty decl in enum declaration

465 466 467 468 469 470
Fri Jan 30 21:44:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.args,
	tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.xml: Added
	two missing test data files from previous commit

471 472 473 474 475 476 477
Fri Jan 30 20:55:57 +0100 2009 Jim Meyering <meyering@redhat.com>

	fix qemud version reporting when qemu is not installed
	* src/qemu_conf.c (uname_normalize): New function, factored out of...
	(qemudBuildCommandLine): ...here.  Use the new function.
	(qemudExtractVersion): Use it here, rather than hard-coding "i686".

478 479 480 481 482 483 484 485
Fri Jan 30 17:16:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Fix ifname= handling for type=ethernet
	networking config to avoid literal (null)
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c,
	tests/qemuxml2argvdata/: Add test case for ethernet
	interface config

486 487 488 489 490 491 492 493 494 495 496 497 498
Fri Jan 30 17:12:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Support <driver cache='none|writeback|writethrough'/> cache
	control options
	* src/domain_conf.c, src/domain_conf.h: Add supported for
	disk caching mode options
	* src/qemu_conf.c, src/qemu_conf.h: Detect supported cache
	mode options for -drive and use them when launching QEMU
	* docs/schemas/domain.rng: Document cache mode options
	* tests/qemuxml2argvtest.c: Validate cache mode processing
	* tests/qemuxml2argvdata/: Data files for cache mode options

Fri Jan 30 17:12:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
499 500 501 502 503 504 505 506 507

	Fix crash when using bogus arch type
	* src/capabilities.c, src/capabilities.h: Add method to query
	for supported arch+ostype combo
	* src/domain_conf.c: Validate requested arch+ostype against
	supported capabilities
	* src/qemu_conf.c: Sanity check to avoid deferencing NULL
	machine type

508 509 510 511 512 513 514 515 516
Fri Jan 30 16:58:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Misc QEMU driver startup fixes
	* src/domain_conf.c: Add initialization of monitor_watch
	* src/qemud_driver.c: Fix infinite loop when QEMU quits on
	startup. Fix watch removal if watch isn't added. Fix use
	of VNC password from global driver config. Avoid zombies
	from daemonizing QEMU. Fix memory leak in monitorpath

517 518 519 520 521
Fri Jan 30 16:51:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/lxc_driver.c: Avoid probing for LXC until we know we're
	going to try opening the connection. Disable when using valgrind

522 523 524 525 526
Fri Jan 30 16:48:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_conf.c: Fix leak of volume objects when free'ing
	pool object

527 528 529 530 531
Fri Jan 30 16:46:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* qemud/remote.c: Fix memory leak after sending a libvirt
	error message back to client

532 533 534 535 536 537 538 539
Fri Jan 30 15:34:42 GMT 2009 John Levon <john.levon@sun.com>

	* src/libvirt.c: Fix yet another printf("%s", NULL) case

	* src/util.c: Fix getpwuid_r() usage

	* src/virsh.c: Fix virsh migrateuri handling

540 541 542 543 544 545 546 547 548 549 550 551
Thu Jan 29 23:01:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Misc Xen driver crash/bug fixes
	* src/remote_internal.c: Re-factor startup of secondary driver
	activation to fix missing initialization & crash.  Fix memory
	leak in error reporting
	* src/xen_unified.c: Don't activate inotify driver if non-root
	* src/xend_internal.c: Don't report errors when probing for
	XenD TCP port if unprivileged, allow caller to do it. Fix bad
	return values in open method
	* src/xs_internal.c: Fix double free

552 553 554 555 556
Thu Jan 29 17:22:53 GMT 2009 John Levon <john.levon@sun.com>

	* src/xend_internal.c: Fix xend XML generation when CPU pinning
	is used

J
Jim Meyering 已提交
557 558 559 560 561 562 563
Thu Jan 29 19:05:00 +0100 2009 Jim Meyering <meyering@redhat.com>

	maint: sync from coreutils
	* .x-sc_prohibit_have_config_h: Renamed from...
	* .x-sc_no_have_config_h: ... this.
	* .x-sc_prohibit_HAVE_MBRTOWC: New file.

564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582
Thu Jan 29 17:40:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Support VNC password setting for QEMU driver
	* qemud/Makefile.am: Add missing test of libvirt_qemud.aug file
	* qemud/libvirtd_qemu.aug: Add suport for VNC password config
	* qemud/test_libvirtd.aug: Add logging params test
	* qemud/test_libvirtd_qemu.aug: Remove bogus logging params,
	and add VNC password test
	* src/qemu.conf: Include example VNC password config
	* src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Support
	setting a VNC password on a per-VM basis, or from QEMU driver
	global config file.
	* src/uml_driver.c: Fix initialization of inotifyWatch param
	to avoid bogus watch unregister later
	* src/virsh.c: Add --security-info and --inative flags to
	dumpxml command. Ensure edit command uses SECURE & INACTIVE
	flags when changing config


583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604
Thu Jan 29 17:24:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Fix save/restore for new KVM releases
	* src/domain_conf.h, src/lxc_driver.c, src/uml_driver.c:
	Remove unused stdin_fd field from virDomainObjPtr
	* src/qemu_conf.c, src/qemu_driver.c: Support new
	migration options for save & restore, and fix deadlock
	in save code.
	* src/qemu_conf.h: Add more QEMU argv flags to various
	migration options & describe existing flags
	* src/util.c: Close original stdin file handle after
	duping it onto STDIN_FILENO
	* tests/qemuxml2argvtest.c: Test for various migrate
	syntax options
	* tests/qemuxml2argvdata/qemuxml2argv-migrate.args,
	tests/qemuxml2argvdata/qemuxml2argv-migrate.xml,
	tests/qemuxml2argvdata/qemuxml2argv-restore-v1.args,
	tests/qemuxml2argvdata/qemuxml2argv-restore-v1.xml,
	tests/qemuxml2argvdata/qemuxml2argv-restore-v2.args,
	tests/qemuxml2argvdata/qemuxml2argv-restore-v2.xml: Data
	files for testing migrate syntax options

J
John Levon 已提交
605 606 607 608
Thu Jan 29 17:15:18 GMT 2009 John Levon <john.levon@sun.com>

	* src/libvirt.c: fix another printf("%s", NULL) case

609 610 611 612 613 614
Thu Jan 29 09:03:17 PST 2009 John Levon <john.levon@sun.com>

	* src/xend_internal.c: correctly enable floppies for HVM guests.
	Refuse to directly attach disks that won't work via
	device_create.

615 616 617 618 619 620 621 622 623 624 625
Thu Jan 29 16:41:07 GMT 2009 John Levon <john.levon@sun.com>

	* src/util.c: allow strtol replacements for libvirt proxy

	* src/xend_internal.c: fix VNC port reporting when vncunused
	is set

	* tests/sexpr2xmldata/sexpr2xml-fv-autoport.sexpr:
	* tests/sexpr2xmldata/sexpr2xml-fv-autoport.xml:
	* tests/sexpr2xmltest.c: add a test

626 627 628 629
Thu Jan 29 13:07:05 +0100 2009 Jim Meyering <meyering@redhat.com>

	* Makefile.cfg: disable some new checks

630 631 632 633
Thu Jan 29 13:07:05 +0100 2009 Jim Meyering <meyering@redhat.com>

	* Makefile.maint: sync from coreutils

634 635 636 637 638 639
Thu Jan 29 13:07:05 +0100 2009 Jim Meyering <meyering@redhat.com>

	prohibit new uses of VIR_ERR_NO_MEMORY
	* Makefile.maint (sc_prohibit_VIR_ERR_NO_MEMORY): New rule.
	* .x-sc_prohibit_VIR_ERR_NO_MEMORY: New file: exceptions.

640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659
Thu Jan 29 13:06:51 +0100 2009 Jim Meyering <meyering@redhat.com>

	error-reporting calls using VIR_ERR_NO_MEMORY: use virReportOOMError instead
	* src/uml_conf.c (VIR_FROM_THIS): Define to VIR_FROM_UML.
	* src/xs_internal.c (VIR_FROM_THIS): Define to VIR_FROM_XEN.
	* src/xml.c (VIR_FROM_THIS): Define to VIR_FROM_XML.
	* src/stats_linux.c (VIR_FROM_THIS): Define to VIR_FROM_STATS_LINUX.
	* src/datatypes.c (VIR_FROM_THIS): Define to VIR_FROM_NONE.
	* src/lxc_conf.c (VIR_FROM_THIS): Define to VIR_FROM_LXC.
	* src/libvirt.c (VIR_FROM_THIS): Define to VIR_FROM_NONE.
	* src/node_device_conf.c (VIR_FROM_THIS): Define to VIR_FROM_NODEDEV.
	* src/openvz_conf.c (VIR_FROM_THIS): Define to VIR_FROM_OPENVZ.
	* src/openvz_driver.c (VIR_FROM_THIS): Define to VIR_FROM_OPENVZ.
	* src/conf.c (VIR_FROM_THIS): Define to VIR_FROM_CONF.
	Note: this loses config_filename:config_lineno diagnostics,
	but that's ok.
	* src/node_device.c (VIR_FROM_THIS): Define to VIR_FROM_NODEDEV.
	* src/sexpr.c (VIR_FROM_THIS): Define to VIR_FROM_SEXPR.
	* po/POTFILES.in: remove src/sexpr.c and src/lxc_conf.c

660 661 662 663
Thu Jan 29 12:44:15 CET 2009 Guido Günther <agx@sigxcpu.org>

	* src/virsh.c (main): don't abort when setlocale() fails

664 665 666 667
Wed Jan 28 22:05:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>

	* src/remote_internal.c: Fix typo, and tweak variable decl

668 669 670 671 672
Wed Jan 28 21:55:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>

	* src/remote_internal.c: Stop reading data off wire once
	a single complete message is available.

673 674 675 676 677 678 679 680
Wed Jan 28 21:53:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>

	Fix bogus valgrind memory leak warnings
	* tests/testutils.c: Clear global error upon exit
	* tests/.valgrind.supp: Ignore memory from thread local
	error storage

Wed Jan 28 21:33:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>
681 682 683 684 685 686 687 688 689 690 691

	Fix RPC portability to Solaris
	* configure.in: s/RPCGEN/HAVE_RPCGEN/ for automake
	conditional
	* qemud/Makefile.am: Move rpcgen rules into explicit
	rpcgen target to be manually invoked
	* qemud/remote_protocol.c, qemud/remote_protocol.h: Update
	with portability fixes
	* qemud/rpcgen_fix.pl: Replace quad_t types / functions
	with uint64_t ones and avoid GET_LONG in favour of GET_INT32

692 693 694 695 696 697
Wed Jan 28 15:45:11 +0100 2009 Jim Meyering <meyering@redhat.com>

	remote_internal.c: fix typo that would mistakenly report OOM
	* src/remote_internal.c (addrToString): Report VIR_ERR_UNKNOWN_HOST,
	not VIR_ERR_NO_MEMORY.

698 699 700 701 702 703 704
Wed Jan 28 15:45:11 +0100 2009 Jim Meyering <meyering@redhat.com>

	qparams.c: Use virReportOOMError(NULL), not qparam_report_oom()
	* src/qparams.c (VIR_FROM_THIS): Define to VIR_FROM_NONE.
	(qparam_report_oom): Remove definition.
	Replace all uses.

705 706 707 708
Wed Jan 28 14:24:45 GMT 2009 John Levon <john.levon@sun.com>

	* src/xend_internal.c: fix mis-use of PF_UNIX as a protocol

709 710 711 712 713 714 715 716
Wed Jan 28 14:27:11 +0100 2009 Jim Meyering <meyering@redhat.com>

	libvirt_proxy: avoid potential buffer overflow
	* proxy/libvirt_proxy.c (proxyReadClientSocket): Ensure that
	we've read an entire virProxyPacket before dereferencing "req".
	Analysis and patch by "Rasputin" <rasputin@email.ru>.  Details in
	<http://thread.gmane.org/gmane.comp.emulators.libvirt/11459>.

717 718 719 720
Wed Jan 28 14:53:37 +0100 2009 Jim Meyering <meyering@redhat.com>

	* po/POTFILES.in: Add src/lxc_conf.c

721 722 723 724 725
Wed Jan 28 13:31:12 GMT 2009 John Levon <john.levon@sun.com>

	* docs/examples/index.py: remove reference to non-existent *.res
	* docs/examples/Makefile.am: regenerate

726 727 728 729 730 731
Wed Jan 28 12:08:26 +0100 2009 Jim Meyering <meyering@redhat.com>

	avoid printf format-mismatch warnings
	* qemud/qemud.c (qemudClientReadBuf, qemudClientWriteBuf):
	Use %lld and a (long long int) cast to print a ssize_t value.

732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750
Tue Jan 27 18:17:07 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Support Copy-on-Write storage volumes
	* docs/formatstorage.html.in: Add notes about backingStore
	XML for storage volumes wanting copy-on-write (eg qcow,
	LVM snapshots).
	* src/libvirt_private.syms: Add virStorageVolFormatFileSystemTypeFromString
	* src/storage_backend.c, src/storage_backend.h: Refactor the
	virStorageBackendUpdateVolInfo* methods to allow re-use for
	backingStore files
	* src/storage_backend_fs.c: Extract backing store data out of
	Cow, QCow, QCow2, and VMDK file formats. Allow creation of volumes
	with a backing store
	* src/storage_backend_logical.c: Extract information about master
	volume for snapshots, and allow creation of snapshots.
	* src/storage_backend_iscsi.c: Adapt to storage_backend.h changes
	* src/storage_conf.h, src/storage_conf.c: Support new backingStore
	XML element for COW file data

751 752 753 754
Tue Jan 27 16:27:07 +0100 2009 Jim Meyering <meyering@redhat.com>

	* POTFILES.in: update: remove src/lxc_conf.c; Add src/bridge.c.

755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776
Tue Jan 27 15:18:16 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Add RNG schemas for all XML file formats used in API.
	* configure.in: Add docs/schema/Makefile.in to output files
	* libvirt.spec.in, mingw32-libvirt.spec.in: Package RNG schemas
	from $datadir/libvirt/schemas
	* docs/Makefile.am, docs/libvirt.rng, docs/network.rng: Remove
	RNGs schemas
	* docs/schemas/Makefile.am: Install RNG schemas to $datadir/libvirt
	* docs/schemas/capability.rng: Schema for host capability XML
	* docs/schemas/domain.rng: Schema for host capability XML
	* docs/schemas/network.rng: Schema for guest domain XML
	* docs/schemas/nodedev.rng: Schema for virtual network XML
	* docs/schemas/storagepool.rng: Schema for storage pool XML
	* docs/schemas/storagevol.rng: Schema for storage volume XML
	* tests/Makefile.am, capabilityschematest, networkschematest,
	nodedevschematest, storagepoolschematest, storagevolschematest:
	New test cases to validate example XML files against schemeas.
	* tests/capabilityschemadata/*.xml, tests/nodedevschemadata/*.xml,
	tests/storagepoolschemadata/*.xml, tests/storagevolschemadata/*.xml:
	New datafiles for schema validation tests.

777 778 779 780 781 782 783
Tue Jan 27 14:28:16 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* docs/index.html.in: Add link to libvirt-qpid & UML driver info
	* docs/drvopenvz.html.in, docs/drvqemu.html.in, docs/drvtest.html.in,
	docs/drvuml.html.in docs/drvxen.html.in: Add examples of local and
	remote URI formats. Also re-generate equiv .html files

784 785 786 787 788 789
Tue Jan 27 13:25:16 +0100 2009 Jim Meyering <meyering@redhat.com>

	virterror.c: don't read beyond end of buffer upon OOM
	* src/virterror.c (virReportSystemErrorFull): Fix typo in
	my previous change.  Patch by Daniel P. Berrange.

790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821
Tue Jan 27 10:48:12 IST 2009 Mark McLoughlin <markmc@redhat.com>

	kvm/virtio: Set IFF_VNET_HDR when setting up tap fds

	IFF_VNET_HDR is a tun/tap flag that allows you to send and receive
	large (i.e. GSO) packets and packets with partial checksums. Setting
	the flag means that every packet is proceeded by the same header which
	virtio uses to communicate GSO/csum metadata.

	By enabling this flag on the tap fds we create, we greatly increase
	the achievable throughput with virtio_net.

	However, we need to be careful to only set the flag when a) QEMU has
	support for this ABI and b) the value of the flag is queryable using
	the TUNGETIFF ioctl.

	It's nearly five months since kvm-74 - the first KVM release with this
	feature - was released. Up until now, we've not added libvirt support
	because there is no clean way to detect support for this in QEMU at
	runtime. A brief attempt to add a "info capabilities" monitor command
	to QEMU floundered. Perfect is the enemy of good enough. Probing the
	KVM version will suffice for now.

	* src/qemu_conf.[ch] (qemudExtractVersionInfo): detect the KVM version,
	set QEMUD_CMD_FLAG_VNET_HDR if we have kvm-74 or newer
	(qemudBuildCommandLine): if qemu support VNET_HDR and this is a
	virtio interface, then use it

	* src/bridge.[ch] (brProbeVnetHdr): only enable IFF_VNET_HDR if
	the kernel bits are available
	(brAddTap): add a @vnet_hdr arg, set IFF_VNET_HDR

822 823 824 825 826 827 828 829 830
Tue Jan 27 11:53:32 +0100 2009 Jim Meyering <meyering@redhat.com>
	and Daniel P. Berrange <berrange@redhat.com>

	fix errors in virReportSystemErrorFull
	* src/virterror.c (virStrerror): New function.
	(virReportSystemErrorFull): Don't leak "combined".
	In fact, don't even attempt allocation.
	Do include the result of formatted print in final diagnostic.

J
Jim Meyering 已提交
831 832 833 834 835 836 837 838 839 840
Tue Jan 27 10:38:09 +0100 2009 Jim Meyering <meyering@redhat.com>

	use gnulib's stpcpy module
	* bootstrap (modules): Add stpcpy, and pull in gnulib bits:
	* gnulib/lib/stpcpy.c: New file.
	* gnulib/m4/stpcpy.m4: New file.
	* gnulib/lib/Makefile.am: Update.
	* gnulib/m4/gnulib-cache.m4: Update.
	* gnulib/m4/gnulib-comp.m4: Update.

J
Jim Meyering 已提交
841 842 843 844
Tue Jan 27 10:38:09 +0100 2009 Jim Meyering <meyering@redhat.com>

	update from gnulib

J
Jim Meyering 已提交
845 846 847 848 849 850 851 852 853
Mon Jan 26 20:40:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	build: avoid format warnings
	* src/proxy_internal.c (xenProxyCommand): Mark a diagnostic.
	* src/xen_unified.c (xenUnifiedOpen, xenUnifiedAddDomainInfo):
	Fix unmarked diagnostics by removing the diagnostic altogether:
	replace each xenUnifiedError(...,VIR_ERR_NO_MEMORY call with a
	call to virReportOOMError.

854 855 856 857
Mon Jan 26 14:44:22 +0100 2009 Jim Meyering <meyering@redhat.com>

	* src/virterror.c (virErrorMsg): Correct indentation.

858 859 860 861
Fri Jan 23 11:07:42 PST 2009 John Levon <john.levon@sun.com>

	* src/xs_internal.c: fix recursive lock hang

862 863 864 865 866 867 868 869 870
Fri Jan 23 16:20:03 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Support driver format for setting disk
	file types
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c,
	tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.args,
	tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fmt-qcow.xml:
	Add tests for <driver name='qemu' type='qcow2'/>

871 872 873 874 875 876
Fri Jan 23 17:13:47 +0100 2009 Jim Meyering <meyering@redhat.com>

	.cvsignore: Add explicit list of generated files.
	* .hgignore: Regenerate.
	* m4/.gitignore: Regenerate.

877 878
Fri Jan 23 14:22:03 +0100 2009 Jim Meyering <meyering@redhat.com>

879 880 881
	fix comment typo: s/contains/continues/
	* src/libvirt.c (virStorageVolFree): Correct typo in comment.

882 883 884 885
	qemud: don't dereference NULL on failed virGetUserDirectory
	* qemud/qemud.c (qemudInitPaths): Return right away,
	upon virGetUserDirectory failure.

886 887 888 889 890 891 892
Fri Jan 23 14:30:59 +0100 2009 Jim Meyering <meyering@redhat.com>

	m4: update from gnulib to avoid warnings from cutting-edge autoconf
	* gnulib/m4/errno_h.m4
	* gnulib/m4/gnulib-comp.m4
	* gnulib/m4/multiarch.m4

893 894 895 896 897 898 899 900 901 902 903 904 905 906 907
Fri Jan 23 14:30:59 +0100 2009 Jim Meyering <meyering@redhat.com>

	correct and tighten up .*ignore files
	* .cvsignore: Don't ignore *.orig or *.rej.  They're not build products.
	Don't ignore the entire m4 directory.
	* Makefile.maint (sync-vcs-ignore-files): Correct quoting.
	Use sed rather than a for loop.
	Search only version-controled files (for reproducibility)
	* gnulib/lib/netinet/.cvsignore: Append missing newline-at-EOF,
	so that the use of sed doesn't mistakenly concatenate lines.
	* gnulib/lib/sys/.cvsignore: Likewise.
	* m4/.cvsignore: Ignore acinclude.m4 and aclocal.m4, not *.m4.
	* .hgignore: Regenerate.
	* all .gitignore files: Regenerate.

908 909 910 911 912 913 914 915 916
Fri Jan 23 12:44:44 +0100 2009 Jim Meyering <meyering@redhat.com>

	maint: update list of error function names and adapt
	* Makefile.maint (msg_gen_function): Update list.
	Remove some now-unused names, add some new ones.
	* src/hash.c (virHashError): Remove unused definition.
	* src/openvz_conf.h (openvzLog): Likewise.
	* src/xen_unified.c: Mark newly-exposed diagnostics for translation.

917 918 919 920 921 922 923 924 925 926 927
Thu Jan 22 17:42:37 PST 2009 John Levon <john.levon@sun.com>

	* src/domain_conf.c, src/domain_conf.h, src/xend_internal.c,
	src/xm_internal.c: parse IP address for bridge interfaces

	* tests/sexpr2xmltest.c, tests/xml2sexprtest.c,
	tests/sexpr2xmldata/sexpr2xml-bridge-ipaddr.sexpr,
	tests/sexpr2xmldata/sexpr2xml-bridge-ipaddr.xml,
	tests/xml2sexprdata/xml2sexpr-bridge-ipaddr.sexpr,
	tests/xml2sexprdata/xml2sexpr-bridge-ipaddr.xml: add tests

928 929 930 931 932 933 934 935 936 937
Thu Jan 21 19:44:12 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Use the GNULIB random_r function
	* Makefile.maint: print 4 lines of context when complaining
	about prohibited POSIX apis
	* src/libvirt.c: Initialize random number generator
	* src/util.c, src/util.h: Generate API for random number gen
	* src/uuid.: Use generic random number generator API

Thu Jan 21 19:41:12 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
938 939 940 941 942 943 944 945 946 947 948 949 950 951

	Remove use of non-reentrant POSIX api calls
	* configure.in: Check for  strtok_r getmntent_r getgrnam_r getpwuid_r
	* proxy/libvirt_proxy.c: Remove initialize of obsolete fields
	* qemud/qemud.c: Use virGetUserDirectory instead of getpwuid()
	* src/libvirt_private.syms, src/util.c, src/util.h: Add a generic
	virGetUserDirectory call around getpwuid()
	* src/lxc_container.c, src/storage_backend_fs.c: Use getmntent_r()
	* src/network_driver.c, src/qemu_driver.c, src/storage_driver.c,
	src/remote_internal.c, src/uml_driver.c: Use virGetUserDirectory()
	* src/openvz_driver.c: Use strtok_r()
	* src/xen_unified.c, src/xen_unified.h, src/xend_internal.c:
	Replace gethostname() with getaddrinfo()

952 953 954 955 956 957
Thu Jan 22 20:17:35 +0100 2009 Jim Meyering <meyering@redhat.com>

	xm_internal.c: fix locking bug: s/Lock/Unlock/
	* src/xm_internal.c (xenXMDomainDefineXML): Release lock, (don't
	try to acquire it) upon failure, just before returning.

J
John Levon 已提交
958 959
Thu Jan 22 10:35:03 PST 2009 John Levon <john.levon@sun.com>

960
	* gnulib/tests/.cvsignore: add test-random_r
J
John Levon 已提交
961 962 963 964
	* Makefile.maint: generate .hgignore

	* gnulib/tests/.gitignore, .hgignore, m4/.gitignore: regenerate

965 966 967 968 969
Thu Jan 22 10:30:21 PST 2009 John Levon <john.levon@sun.com>

	* src/libvirt_private.syms: Remove non-existent
	virNetworkSaveConfigXML from linker script

970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997
Thu Jan 22 09:51:29 PST 2009 John Levon <john.levon@sun.com>

	* src/domain_conf.h, src/domain_conf.c, src/xend_internal.c,
	src/xm_internal.c: Support script for bridge interface type

	* tests/sexpr2xmldata/sexpr2xml-curmem.xml,
	tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-localtime.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-parallel-tcp.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-file.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-null.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-pipe.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-pty.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-stdio.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp-telnet.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-udp.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-serial-unix.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-sound.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-usbmouse.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-usbtablet.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-utc.xml,
	tests/sexpr2xmldata/sexpr2xml-fv-v2.xml,
	tests/sexpr2xmldata/sexpr2xml-fv.xml,
	tests/sexpr2xmldata/sexpr2xml-net-bridged.xml,
	tests/sexpr2xmldata/sexpr2xml-net-e1000.xml: update tests

998
Thu Jan 22 18:18:12 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
999 1000 1001 1002 1003 1004

	Missing test case fix up from Xen threadsafety changes
	* tests/sexpr2xmltest.c, tests/Makefile.am: Pass a real
	connection object into the xenDaemonParseSxprString()
	method, since it needs to use the priv object.

J
John Levon 已提交
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016
Thu Jan 22 09:23:53 PST 2009 John Levon <john.levon@sun.com>

	Least privilege support for Solaris
	* qemud/qemud.c: init privs and refuse non-privileged
	connections
	* src/remote_internal.c: don't attempt user daemon instance on
	Solaris
	* src/xen_internal.c, src/xen_internal.h, src/xen_unified.c,
	src/xend_internal.c, src/xs_internal.c: replace UID checks
	with privilege checks. Refuse to load the Xen driver unless
	we're libvirtd

D
Daniel P. Berrange 已提交
1017 1018 1019 1020 1021 1022 1023 1024
Wed Jan 21 18:10:12 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Make Xen driver threadsafe
	* src/proxy_internal.c, src/xen_inotify.c, src/xen_internal.c,
	src/xen_unified.c, src/xen_unified.h, src/xend_internal.c,
	src/xm_internal.c, src/xs_internal.c, src/xs_internal.h: Add
	mutex locking of shared state

1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037
Wed Jan 21 10:48:12 IST 2009 Mark McLoughlin <markmc@redhat.com>

	If you un-install libvirt and re-install it, you get a warning
	from the post-install script:

	  Installing     : libvirt
	  ln: creating symbolic link `/etc/libvirt/qemu/networks/autostart/default.xml': File exists

	See https://bugzilla.redhat.com/462011

	* libvirt.spec.in: don't create networks/default.xml if it
	already exists.

1038 1039 1040 1041 1042 1043 1044 1045
Tue Jan 20 22:39:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Properly handle daemon restarts with storage driver
	* src/storage_backend_iscsi.c: Detect if already logged into
	an iSCSI target
	* src/storage_driver.c: Don't shutdown storage when daemon
	shuts down

1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060
Tue Jan 20 22:25:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Allow virtual networks to survive a daemon restart
	* libvirt.spec.in: Add conditional to allow disabling of network
	and remove mkdir of state directories now created in Makefile.am
	rules
	* src/bridge.c, src/bridge.h: Add a brHasBridge() method
	* src/libvirt_bridge.syms: Add brHasBridge
	* src/libvirt_private.syms: Add virNetworkConfigFile and
	virNetworkSaveConfigXML
	* src/network_conf.c, src/network_conf.h, src/network_driver.c:
	Write out state file containing live XML. Allow dnsmasq to
	store a PID file. Put dnsmasq in background. Remove obsolete
	dhcp-leasefile option which was a no-op

1061 1062 1063 1064 1065 1066 1067 1068 1069
Tue Jan 20 22:12:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c, src/domain_conf.h: Support ac97 soundcard
	model
	* src/xend_internal.c: Remove unused APis and restrict the
	'all' device conversion to just sb16 + es1370
	* tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml: Revert earlier
	mistaken change which added pcspk device

1070 1071 1072 1073 1074
Tue Jan 20 22:06:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* python/libvir.c, python/libvir.py: Use global thread
	local error variable for all exceptions.

1075 1076 1077 1078
Tue Jan 20 13:35:36 PST 2009 John Levon <john.levon@sun.com>

	* qemud/qemud.c: respect LIBVIRT_DEBUG when logging to syslog

1079 1080 1081 1082
Tue Jan 20 22:32:44 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/logging.c: fix openlog() ident lifetime for Solaris

1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113
Tue Jan 20 21:02:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Refresh GNULIB, adding new random_r module
	* bootstrap: Add random_r module
	* gnulib/lib/random_r.c, gnulib/m4/random_r.m4,
	gnulib/tests/test-random_r.c: New random_r module
	* gnulib/lib/.cvsignore, gnulib/lib/.gitignore, gnulib/lib/Makefile.am,
	gnulib/lib/arpa_inet.in.h, gnulib/lib/fseeko.c, gnulib/lib/gettimeofday.c,
	gnulib/lib/ioctl.c, gnulib/lib/poll.c, gnulib/lib/stdint.in.h,
	gnulib/lib/stdio.in.h, gnulib/lib/strerror.c, gnulib/lib/sys_stat.in.h,
	gnulib/lib/unistd.in.h, gnulib/lib/wchar.in.h: Refresh source
	* gnulib/m4/alloca.m4, gnulib/m4/codeset.m4, gnulib/m4/errno_h.m4,
	gnulib/m4/getaddrinfo.m4, gnulib/m4/gethostname.m4, gnulib/m4/getline.m4,
	gnulib/m4/getpass.m4, gnulib/m4/gettext.m4, gnulib/m4/gettimeofday.m4,
	gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-common.m4,
	gnulib/m4/gnulib-comp.m4, gnulib/m4/iconv.m4, gnulib/m4/inet_ntop.m4,
	gnulib/m4/inet_pton.m4,	 gnulib/m4/intldir.m4, gnulib/m4/intlmacosx.m4,
	gnulib/m4/intmax.m4, gnulib/m4/intmax_t.m4, gnulib/m4/inttypes-pri.m4,
	gnulib/m4/inttypes_h.m4, gnulib/m4/lcmessage.m4, gnulib/m4/lib-ld.m4,
	gnulib/m4/lib-link.m4, gnulib/m4/lock.m4, gnulib/m4/longlong.m4,
	gnulib/m4/lstat.m4, gnulib/m4/malloc.m4, gnulib/m4/nls.m4,
	gnulib/m4/physmem.m4, gnulib/m4/po.m4, gnulib/m4/poll.m4,
	gnulib/m4/printf-posix.m4, gnulib/m4/printf.m4, gnulib/m4/progtest.m4,
	gnulib/m4/realloc.m4, gnulib/m4/sockets.m4, gnulib/m4/sockpfaf.m4,
	gnulib/m4/stdbool.m4, gnulib/m4/stdint.m4, gnulib/m4/stdint_h.m4,
	gnulib/m4/stdio_h.m4, gnulib/m4/strdup.m4, gnulib/m4/strndup.m4,
	gnulib/m4/strnlen.m4, gnulib/m4/strsep.m4, gnulib/m4/threadlib.m4,
	gnulib/m4/uintmax_t.m4, gnulib/m4/unistd_h.m4, gnulib/m4/vasnprintf.m4,
	gnulib/m4/wchar_t.m4, gnulib/m4/wint_t.m4, gnulib/tests/Makefile.am,
	 gnulib/tests/test-unistd.c: Refresh macros

1114 1115 1116 1117 1118 1119
Tue Jan 20 20:22:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Support domain events in test driver
	* tests/read-bufsiz: Set $srcdir & $abs_srcdir if running
	standalone

1120 1121 1122 1123 1124 1125 1126 1127
Tue Jan 20 19:49:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* .x-sc_prohibit_nonreentrant: Blacklist some places where
	use of non-threadsafe APIs are not neccessary to check
	* Makefile.am, Makefile.maint, Makefile.nonreentrant: Add
	check for non-reentrant safe API calls
	* Makefile.cfg: Temporarily disable non-reentrant check

J
Jim Meyering 已提交
1128 1129 1130 1131 1132 1133 1134 1135
Tue Jan 20 20:28:07 +0100 2009 Jim Meyering <meyering@redhat.com>

	don't ignore write failure
	* src/network_driver.c (networkEnableIpForwarding): This function
	would always return 1 (success).  Now it returns 0 upon write or
	close failure, being careful to preserve any errno from a write failure.
	Add comments.

1136 1137 1138 1139 1140
Tue Jan 20 19:26:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c, qemud/qemud.h: Dynamic spawn/cleanup threads
	for processing RPC calls as number of clients changes

1141 1142 1143 1144 1145 1146 1147 1148 1149
Tue Jan 20 19:24:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c, qemud/qemud.h, qemud/remote.c: Allow the
	processing of multiple concurrent RPC calls per client
	connection.
	* qemud/libvirtd.conf, qemud/libvirtd.aug,
	qemud/test_libvirtd.aug: Add config param for controlling
	number of requests per client.

1150 1151 1152 1153 1154
Tue Jan 20 18:16:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c: Fix 2 misleading comments & potential
	NULL deference

1155 1156 1157 1158 1159
Tue Jan 20 17:46:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Remove a use of strerror() in error
	reporting missed earlier

1160 1161 1162 1163 1164 1165
Tue Jan 20 17:33:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_inotify.c, src/xen_unified.c, src/xen_unified.h,
	src/xm_internal.c, src/xm_internal.h: Move statically
	declared data from XM driver into xenUnifiedPrivatePtr

1166 1167 1168 1169 1170
Tue Jan 20 18:26:24 CET 2009 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: try to autodetect when rhel5 option should be
	  passed to configure

1171 1172 1173 1174 1175 1176
Tue Jan 20 17:15:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_inotify.c, src/xen_unified.h, src/xs_internal.c:
	Move statically declared data into xenUnifiedPrivatePtr
	struct

1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197
Tue Jan 20 16:59:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Make error reporting threadsafe by avoiding strerror()
	* autobuild.sh: Set mingw compile warnings to fail compile
	* configure.in: Check for strerror_r
	* po/POTFILES.in: Add src/xen_unified.c
	* src/virterror.c, src/virterror_internal.h,
	src/libvirt_private.syms: Add virReportSystemErrorFull and
	virReportOOMErrorFull convenience functions
	* src/domain_conf.c, src/lxc_container.c, src/lxc_controller.c,
	src/lxc_driver.c, src/network_conf.c, src/network_driver.c,
	src/nodeinfo.c, src/qemu_driver.c, src/remote_internal.c,
	src/storage_backend.c, src/storage_backend_disk.c,
	src/storage_backend_fs.c, src/storage_backend_iscsi.c,
	src/storage_backend_logical.c, src/storage_conf.c,
	src/storage_driver.c, src/test.c, src/uml_driver.c,
	src/util.c, src/xen_inotify.c, src/xen_internal.c,
	src/xen_unified.c, src/xend_internal.c, src/xm_internal.c:
	Remove use of strerror when reporting errors, in favour
	of virReportSystemError() and virReportOOMError()

1198 1199 1200 1201
Tue Jan 20 17:17:11 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: remove a warning when printing a file offset

1202 1203 1204 1205 1206 1207 1208 1209 1210
Tue Jan 20 16:36:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Make RPC call dispatch threaded
	* src/libvirt_private.syms, src/util.h, src/util.c: Add
	a general virSetNonBlock() helper with portability to
	Win32
	* src/remote_internal.c: Re-factor I/O to allow RPC calls
	from multiple threads to be handled concurrently.

1211 1212 1213 1214 1215 1216
Tue Jan 20 17:08:20 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.h src/lxc_driver.c src/uml_driver.c: virDomainObj
	  doesn't need stdout and stderr fields anymore, patch from
	  Guido Günther

1217 1218 1219 1220 1221 1222 1223
Tue Jan 20 16:48:00 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.h src/qemu_driver.c: use monitor fd for QEmu/KVM
	  domain shutdown and read saved vm status on libvirtd startup,
	  last 2 patches from Guido Günther finishing up the surviving the
	  libvirt daemon restart

1224 1225 1226 1227 1228
Tue Jan 20 16:35:24 CET 2009 Daniel Veillard <veillard@redhat.com>

	* docs/apibuild.py: fix the parser with another Win32 keyword
	* po/*: updated a couple of translations and regenerated

J
Jim Meyering 已提交
1229 1230 1231 1232 1233 1234
Tue Jan 20 14:50:58 CET 2009 Jim Meyering <meyering@redhat.com>

	fix "make syntax-check" failures
	* ChangeLog: Start with TAB, not 8 spaces.
	* src/virterror.c: Remove trailing spaces.

1235 1236 1237 1238
Tue Jan 20 12:25:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* configure.ac: Fix alignment of configuration summary output

1239 1240 1241 1242 1243
Tue Jan 20 12:08:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
	src/libvirt.c, src/libvirt_public.syms: Add new ref counting
	APIs for public objects: virConnectRef, virDomainRef,
J
Jim Meyering 已提交
1244 1245
	virNetworkRef, virStoragePoolRef, virStorageVolRef,
	virNodeDeviceRef
1246

1247 1248 1249 1250 1251 1252
Tue Jan 20 12:03:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* tests/cpuset, tests/read-bufsiz, tests/start, tests/undefine,
	tests/vcpupin: Switch order of expected vs actual data in diff
	comparison, so output on failure makes sense.

1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269
Tue Jan 20 12:01:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Thread local error handling
	* src/datatypes.c: Don't reference global error object directly
	now that it is thread-local. Avoid passing 'conn' arg to error
	routines if we just determined that the pointer is invalid
	* src/datatypes.h: Add note about rules for locking when using
	virConnectPtr members
	* src/libvirt.c: Initialize error handling routines at startup.
	Adapt driver API methods to reset last error upon entry, and
	copy the global thread local error to the per-connection error
	upon exit
	* src/virterror.c, src/virterror_internal.h: Store the global
	error object in a thread local variable. Provide a API to copy
	the global error into a per-connection error object. Add an
	initialization routine to setup the thread local

1270 1271 1272 1273 1274 1275
Tue Jan 20 11:43:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Disable event watch when doing an
	RPC call to avoid bogus event loop wakeups which would
	block on a lock

1276 1277 1278 1279 1280
Tue Jan 20 11:28:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Add locking to all public API entry
	points

G
Guido Günther 已提交
1281 1282 1283 1284 1285 1286 1287
Mon Jan 19 22:50:53 CET 2009 Guido Günther <agx@sigxcpu.org>

	daemonize qemu processes
	* src/qemu_driver.c (qemudStartVMDaemon): virExec qemu/kvm via
	  VIR_EXEC_DAEMON
	  (qemudShutdownVMDaemon): use virKillProcess, don't waitpid

1288 1289 1290 1291 1292 1293 1294 1295 1296 1297
Mon Jan 19 21:54:25 CET 2009 Guido Günther <agx@sigxcpu.org>

	save domstate as string in status file
	* src/domain_conf.c (virDomainState): add VIR_ENUM_IMPL
	* src/domain_conf.h (virDomainState): add VIR_ENUM_DECL
	* src/qemu_conf.c (qemudDomainStatusParseFile): parse state as string
	  (qemudDomainStatusFormat): write as string
	* src/libvirt_private.syms (virDomainStateTypeToString,
	  virDomainStateTypeFromString): add sympbols

1298 1299 1300 1301 1302 1303
Mon Jan 19 20:58:34 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c src/xend_internal.c: Relax NUMA checking
	  for RHEL-5 and change the detection stategy for default Xen
	  accesses, patch by Markus Armbruster

1304 1305 1306 1307 1308 1309
Mon Jan 19 20:47:18 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xm_internal.c: fix paravirt framebuffer
	  handling since it was backoprted for RHEL-5, patch by Markus
	  Armbruster

1310 1311 1312 1313 1314
Mon Jan 19 19:10:08 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xm_internal.c: fix fully virt network
	  device configuration for Xen on RHEL-5, patch by Markus Armbruster

1315 1316 1317 1318 1319
Mon Jan 19 18:31:56 CET 2009 Daniel Veillard <veillard@redhat.com>

	* configure.in: add a --with-rhel5-api configure option
	  for the Xen specific version of RHEL-5, patch by Markus Armbruster

1320 1321 1322 1323 1324 1325
Mon Jan 19 16:18:46 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/xm_internal.c: two bug fixes coming from RHEL package
	  posted by Markus Armbruster
	* AUTHORS: adding Markus

1326 1327 1328 1329
Fri Jan 16 18:44:08 +0100 2009 Jim Meyering <meyering@redhat.com>

	tests: virsh-all and virsh-synopsis were not being run
	* tests/Makefile.am (test_scripts): Add two missing backslashes.
1330 1331 1332 1333 1334

	tests: exercise a bug that could make virsh and libvirtd segfault
	* tests/define-dev-segfault: New file.
	* tests/Makefile.am (test_scripts): Add define-dev-segfault.

1335 1336 1337 1338
Fri Jan 16 11:48:41 EST 2009 Cole Robinson <crobinso@redhat.com>

	* src/domain_conf.c: Fix segfault with console device back compat.

1339 1340 1341 1342
Thu Jan 15 20:12:19 GMT 2009  Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Fix bug when fork isn't available (Win32)

1343 1344 1345 1346
Thu Jan 15 20:06:19 GMT 2009  Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Reduce number of exit paths in APIs

1347 1348 1349 1350 1351
Thu Jan 15 20:03:19 GMT 2009  Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Remove use of macros for accessing
	private data fields

1352 1353 1354 1355 1356
Thu Jan 15 20:02:19 GMT 2009  Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Fix private data field access in
	several methods

1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377
Thu Jan 15 19:54:19 GMT 2009  Daniel P. Berrange <berrange@redhat.com>

	Provide a generic internal API for threads support
	* src/Makefile.am, src/threads.c, src/threads.h: Generic internal API for threads
	* src/threads-pthread.c, src/threads-pthread.h: UNIX pthreads impl
	* src/threads-win32.c, src/threads-win32.h: Win32 threads impl
	* src/internal.h: Remove unnneccessary pthreads macros
	* src/libvirt_private.syms: Add symbols for internal threads API
	* po/POTFILES.in: Add node_device_conf.c
	* proxy/Makefile.am: Add threads.c to build
	* qemud/qemud.c, qemud/qemud.h, qemud/remote.c, src/datatypes.c,
	src/datatypes.h, src/domain_conf.c, src/domain_conf.h,
	src/libvirt.c, src/logging.c, src/lxc_conf.h, src/lxc_driver.c,
	src/network_conf.c, src/network_conf.h, src/network_driver.c,
	src/node_device.c, src/node_device_conf.c, src/node_device_conf.h,
	src/node_device_devkit.c, src/node_device_hal.c, src/openvz_conf.c,
	src/openvz_conf.h, src/openvz_driver.c, src/qemu_conf.h,
	src/qemu_driver.c, src/storage_conf.c, src/storage_conf.h,
	src/storage_driver.c, src/test.c, src/uml_conf.h, src/uml_driver.c:
	Switch over to internal threads API instead of pthreads

1378 1379 1380 1381
Thu Jan 15 19:39:19 GMT 2009  Daniel P. Berrange <berrange@redhat.com>

	* src/util.c: Implement virKill() for Win32 platform

1382 1383 1384 1385 1386
Thu Jan 15 17:29:19 GMT 2009  John Levon  <levon@movementarian.org>

	* src/internal.h:
	* src/libvirt.c: Avoid passing NULL to printf %s specifier

J
John Levon 已提交
1387 1388 1389 1390
Thu Jan 15 15:11:35 GMT 2009  John Levon  <levon@movementarian.org>

	* src/xend_internal.c: Improve xend_get error message

1391 1392 1393 1394
Thu Jan 15 01:31:45 GMT 2009  John Levon  <levon@movementarian.org>

	* src/xen_internal.c: implement capabilities parsing for Solaris

1395 1396 1397 1398 1399
Thu Jan 15 01:22:32 GMT 2009  John Levon  <levon@movementarian.org>

	* src/xs_internal.c: Fix xs_unwatch() to correctly pass the
	token

J
John Levon 已提交
1400 1401 1402 1403 1404
Thu Jan 15 01:19:02 GMT 2009  John Levon  <levon@movementarian.org>

	* src/xen_unified.c:
	* src/xs_internal.c: Fix activeDomainList handling

1405 1406 1407 1408 1409
Thu Jan 15 01:16:05 GMT 2009  John Levon  <levon@movementarian.org>

	* src/xen_unified.c: Fix ref-counting for Xen driver event
	registration

J
John Levon 已提交
1410 1411 1412 1413
Wed Jan 14 17:30:54 GMT 2009  John Levon  <levon@movementarian.org>

	* docs/devhelp/Makefile.am: Fix devhelp build dependencies

1414 1415 1416 1417
Wed Jan 14 17:25:38 GMT 2009  John Levon  <levon@movementarian.org>

	* docs/devhelp/Makefile.am: Let devhelp build in a separate objdir.

1418 1419 1420 1421 1422 1423 1424
Wed Jan 14 16:21:47 GMT 2009  John Levon  <levon@movementarian.org>

	* docs/Makefile.am:
	* docs/examples/Makefile.am:
	* docs/examples/index.py: remove references to non-existent
	files

J
John Levon 已提交
1425 1426 1427 1428 1429
Wed Jan 14 16:17:20 GMT 2009  John Levon  <levon@movementarian.org>

	* src/xend_internal.c: Add a ':cdrom' marker for PV as well as
	HVM devices.

J
John Levon 已提交
1430 1431 1432 1433 1434 1435 1436
Wed Jan 14 15:13:17 GMT 2009  John Levon  <levon@movementarian.org>

	* acinclude.m4:
	* m4/compiler-flags.m4: Some compilers (including GCC) don't set
	the return value consistently if an erroneous option is passed on
	the command line. Account for that.

1437 1438 1439 1440 1441 1442
Tue Jan 13 13:21:13 +0100 2009 Jim Meyering <meyering@redhat.com>

	qemud.c: fix error in yesterday's change: s/X_OK/R_OK/
	* qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by
	Daniel Berrange.

1443 1444 1445 1446
Tue Jan 13 11:44:32 +0100 2009 Jim Meyering <meyering@redhat.com>

	* HACKING: Clarify "bool" vs. XDR/wire-format.

D
Daniel Veillard 已提交
1447 1448 1449 1450 1451
Mon Jan 12 22:07:57 CET 2009 Daniel Veillard <veillard@redhat.com>

	* docs/index.html docs/index.html.in docs/relatedlinks.html
	  docs/relatedlinks.html.in: fix the QEmu links

R
Richard W.M. Jones 已提交
1452 1453 1454 1455 1456 1457
Mon Jan 12 19:16:00 +0000 2009 Richard W.M. Jones <rjones@redhat.com>

	Fix invocation of rpcgen.
	* qemud/Makefile.am: Fix invocation of rpcgen, and make sure
	we run the right one.

J
Jim Meyering 已提交
1458 1459 1460 1461 1462 1463
Mon Jan 12 18:55:16 +0100 2009 Jim Meyering <meyering@redhat.com>

	tests: quiet virsh-all
	* tests/virsh-all: For now, ignore diagnostics and exit status,
	when running all virsh commands.

1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475
Mon Jan 12 18:55:16 +0100 2009 Jim Meyering <meyering@redhat.com>

	diagnose "libvirtd --config=no-such-file"
	* qemud/qemud.c (remoteReadConfigFile): Don't return 0 (success)
	when the config file is unreadable or nonexistent
	Return -1, not 0, upon virConfReadFile failure.
	(main): If remote_config_file is not specified via --config(-f),
	use the default config file only if it exists.  Otherwise,
	use /dev/null.
	* src/conf.c (virConfReadFile): Don't diagnose virFileReadAll
	failure, since it already does that.

J
Jim Meyering 已提交
1476 1477 1478 1479 1480 1481 1482
Mon Jan 12 18:55:15 +0100 2009 Jim Meyering <meyering@redhat.com>

	fix non-srcdir build failure
	* qemud/Makefile.am (check-local): Prefix use of test_libvirtd.aug
	with $(srcdir)/.  Add quotes around $(AUGPARSE), in case it expands
	to something unusual.

1483 1484 1485 1486 1487 1488 1489 1490 1491
Mon Jan 12 16:07:32 CET 2009 Daniel Veillard <veillard@redhat.com>

	* docs/formatdomain.html.in docs/libvirt.rng docs/formatdomain.html:
	  document the new PCI passthrough format
	* tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c
	  tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.args
	  tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address.xml:
	  and add a regression test for it.

G
Guido Günther 已提交
1492 1493 1494 1495
Sun Jan 11 12:18:38 CET 2009 Guido Günther<agx@sigxcpu.org>

	* src/qemu_driver.c (qemudLogFD): use snprintf instead of emulating it

1496 1497 1498 1499 1500 1501
Sun Jan 11 12:16:44 CET 2009 Guido Günther <agx@sigxcpu.org>

	split out opening of the qemu logfile
	* src/qemu_driver.c (qemudLogFD): new function
	  (qemudStartVMDaemon): call qemudLogFD

1502 1503 1504 1505
Fri Jan  9 18:29:11 GMT 2009  John Levon  <levon@movementarian.org>

	* src/logging.h: fix non-debug compile

J
John Levon 已提交
1506 1507 1508 1509 1510 1511 1512
Thu Jan  8 20:28:06 GMT 2009  John Levon  <levon@movementarian.org>

	Fixups after gnulib refresh
	* configure.in: search -lnsl for xdr functions
	* qemud/Makefile.am: link in $(LIBSOCKET)
	* tests/Makefile.am: link in $(LIBSOCKET)

G
Guido Günther 已提交
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522
Thu Jan  8 20:47:26 CET 2009 Guido Günther <agx@sigxcpu.org>

	add missing flags argument
	* src/xend_internal.c (xenDaemonAttachDevice, xenDaemonDetachDevice):
	  Add missing flags argument
	* src/xm_internal.c (xenXMDomainDefineXML, xenXMDomainAttachDevice,
	  xenXMDomainDetachDevice): Likewise
	* tests/xmconfigtest.c (testCompareParseXML): Likewise
	* tests/xml2sexprtest.c (testCompareFiles): Likewise

1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543
Thu Jan  8 14:41:55 CET 2009 Guido Günther <agx@sigxcpu.org>

	pass flags argument to all virDomain*DefParse* functions
	* src/domain_conf.c (virDomainDiskDefParseXML,
	  virDomainFSDefParseXML, virDomainNetDefParseXML,
	  virDomainChrDefParseXML, virDomainSoundDefParseXML,
	  virDomainHostdevSubsysUsbDefParseXML, virDomainHostdevDefParseXML,
	  virDomainDefParseString): Add and pass on flags argument
	* src/domain_conf.h (virDomainDeviceDefParse,
	  virDomainDefParseString): Add flags argument
	* src/lxc_driver.c (lxcDomainDefine): Pass VIR_DOMAIN_XML_INACTIVE
	* src/openvz_driver.c (openvzDomainDefineXML): Likewise
	* src/qemu_driver.c (qemudDomainCreate, qemudDomainRestore,
	  qemudDomainDefine, qemudDomainAttachDevice): Likewise
	* src/test.c (testOpenDefault, testDomainCreateXML, testDomainRestore,
	  testDomainDefineXML): Likewise
	* src/uml_driver.c (umlDomainCreate, umlDomainDefine): Likewise
	* src/xend_internal.c (xenDaemonCreateXML, xenDaemonDomainCreateXML):
	  Likewise
	* tests/qemuxml2xmltest.c (testCompareXMLToXMLFiles): Likewise

J
Jim Meyering 已提交
1544 1545 1546 1547 1548 1549
Thu Jan  8 09:48:04 CET 2009 Daniel P. Berrange <berrange@redhat.com>

	poll: don't return uninitialized
	* gnulib/lib/poll.c (poll) [WIN32_NATIVE]: Initialize "rc".
	[sync from gnulib also adjusts cpp indentation to reflect nesting.]

1550 1551
Wed Jan  7 17:12:33 +0100 2009 Jim Meyering <meyering@redhat.com>

1552 1553 1554 1555 1556 1557 1558 1559
	add more files pulled in via yesterday's gnulib upgrade
	* gnulib/m4/multiarch.m4: New file.
	* gnulib/m4/hostent.m4: New file.
	* gnulib/m4/servent.m4: New file.
	* .x-sc_prohibit_gethostby: Exempt all gnulib/m4/* files, so
	hostent.m4's uses of gethostbyname and gethostbyaddr do not
	trigger a "make syntax-check" failure.

1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575
	bootstrap: pull in gnulib's ioctl module
	* bootstrap: Invoke gnulib-tool with its --no-vc-files
	option, since we version-control the files it imports.
	This tells it not to mark imported files as cvs-ignored.
	(modules): Add ioctl.
	* gnulib/lib/ioctl.c: New file.
	* gnulib/lib/sys_ioctl.in.h: New file.
	* gnulib/tests/sys_ioctl.in.h: Removed.
	* gnulib/tests/ioctl.c: Removed.
	* gnulib/lib/Makefile.am: Update.
	* gnulib/m4/gnulib-cache.m4: Likewise.
	* gnulib/m4/gnulib-comp.m4: Likewise.
	* gnulib/tests/Makefile.am: Likewise.
	* gnulib/lib/.cvsignore: Ignore sys_ioctl.h.
	* gnulib/lib/.gitignore: Regenerate.

1576 1577 1578 1579
	ignore generated libvirtd.logrotate.
	* qemud/.cvsignore: Add libvirtd.logrotate.
	* qemud/.gitignore: Regenerate.

1580 1581 1582 1583 1584 1585
Wed Jan  7 13:54:05 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.c src/qemu_conf.c: implement PCI passthrough
	  for recent KVM versions in a similar way to USB, patch by
	  Jason Krieg. Some cleanups and reformating too.

1586 1587
Wed Jan  7 11:54:06 CET 2009 Daniel Veillard <veillard@redhat.com>

1588
	* src/openvz_driver.c: fix the mac addresses generation for
1589 1590
	  OpenVZ veth devices, patch by Evgeniy Sokolov

1591 1592 1593 1594 1595 1596 1597
Wed Jan  7 11:38:04 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/libvirt_private.syms src/qemu_driver.c src/test.c
	  src/uml_driver.c src/util.c src/util.h src/xen_unified.c:
	  unify hostname lookup using virGetHostname convenience function,
	  patch by David Lutterkort

1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667
Tue Jan  6 20:38:23 +0100 2009 Jim Meyering <meyering@redhat.com>

	update from gnulib; use its time_r module for localtime_r on mingw
	* bootstrap (modules): Add time_r.
	* gnulib/m4/time_h.m4: New file.
	* gnulib/m4/time_r.m4: New file.
	* gnulib/lib/time_r.c: New file.
	* gnulib/tests/test-time.c: New file.
	* gnulib/lib/time.in.h: New file.
	* gnulib/lib/Makefile.am: Update.
	* gnulib/lib/fseeko.c: Likewise.
	* gnulib/lib/lstat.c: Likewise.
	* gnulib/lib/netdb.in.h: Likewise.
	* gnulib/lib/stdint.in.h: Likewise.
	* gnulib/lib/stdlib.in.h: Likewise.
	* gnulib/lib/sys_select.in.h: Likewise.
	* gnulib/lib/sys_stat.in.h: Likewise.
	* gnulib/lib/sys_time.in.h: Likewise.
	* gnulib/lib/unistd.in.h: Likewise.
	* gnulib/lib/wchar.in.h: Likewise.
	* gnulib/m4/codeset.m4: Likewise.
	* gnulib/m4/errno_h.m4: Likewise.
	* gnulib/m4/extensions.m4: Likewise.
	* gnulib/m4/getaddrinfo.m4: Likewise.
	* gnulib/m4/gettext.m4: Likewise.
	* gnulib/m4/glibc2.m4: Likewise.
	* gnulib/m4/glibc21.m4: Likewise.
	* gnulib/m4/gnulib-cache.m4: Likewise.
	* gnulib/m4/gnulib-comp.m4: Likewise.
	* gnulib/m4/iconv.m4: Likewise.
	* gnulib/m4/include_next.m4: Likewise.
	* gnulib/m4/intdiv0.m4: Likewise.
	* gnulib/m4/intlmacosx.m4: Likewise.
	* gnulib/m4/intmax.m4: Likewise.
	* gnulib/m4/inttypes-pri.m4: Likewise.
	* gnulib/m4/inttypes_h.m4: Likewise.
	* gnulib/m4/lcmessage.m4: Likewise.
	* gnulib/m4/lib-link.m4: Likewise.
	* gnulib/m4/lstat.m4: Likewise.
	* gnulib/m4/netdb_h.m4: Likewise.
	* gnulib/m4/nls.m4: Likewise.
	* gnulib/m4/po.m4: Likewise.
	* gnulib/m4/printf-posix.m4: Likewise.
	* gnulib/m4/printf.m4: Likewise.
	* gnulib/m4/progtest.m4: Likewise.
	* gnulib/m4/size_max.m4: Likewise.
	* gnulib/m4/sockets.m4: Likewise.
	* gnulib/m4/stdint.m4: Likewise.
	* gnulib/m4/stdint_h.m4: Likewise.
	* gnulib/m4/sys_ioctl_h.m4: Likewise.
	* gnulib/m4/threadlib.m4: Likewise.
	* gnulib/m4/uintmax_t.m4: Likewise.
	* gnulib/m4/visibility.m4: Likewise.
	* gnulib/m4/wchar.m4: Likewise.
	* gnulib/m4/wchar_t.m4: Likewise.
	* gnulib/m4/wint_t.m4: Likewise.
	* gnulib/m4/xsize.m4: Likewise.
	* gnulib/tests/Makefile.am: Likewise.
	* gnulib/tests/sockets.h: Likewise.
	* gnulib/tests/.cvsignore: Likewise.
	* gnulib/tests/.gitignore: Likewise.
	* tests/.gitignore: Likewise.
	* docs/examples/.gitignore: Likewise.
	* gnulib/lib/.cvsignore: Likewise.
	* gnulib/lib/.gitignore: Likewise.

	remove files associated with obsolete strpbrk module
	* gnulib/lib/strpbrk.c: Remove file.
	* gnulib/m4/strpbrk.m4: Remove file.

1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681
Tue Jan  6 17:52:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	Misc windows / mingw portability fixes
	* src/logging.c: Add include of unistd.h for close() prototype
	* src/logging.h: Add a VIR_ prefix on logging macros to
	avoid clash with Windows.h symbols for ERROR()
	* tests/nodeinfotest.c: Annotate unused attribute
	* src/test.c: Annotate unused attributes when missing
	pthreads
	* qemud/remote.c, qemud/qemud.c: Use VIR_ prefix on
	logging macro calls
	* qemud/remote_protocol.c, qemud/rpcgen_fix.pl: Add cast
	to workaround odd portablexdr XDR_INLINE return type

G
Guido Günther 已提交
1682 1683 1684 1685 1686 1687
Tue Jan  6 18:44:34 CET 2009 Guido Günther <agx@sigxcpu.org>

	add virKillProcess
	* src/util.[ch] (virKillProcess): new function
	* src/libvirt_private.syms: add symbol

G
Guido Günther 已提交
1688 1689 1690 1691 1692 1693 1694 1695 1696
Tue Jan  6 18:14:31 CET 2009 Guido Günther <agx@sigxcpu.org>

	trivial cleanups
	* src/qemu_driver.c (qemudGetMaxVCPUs): we have kvmGetMaxVCPUs(), so
	  the comment can go
	* src/qemu_driver.c (qemudDomainDetachDevice): fix error message
	* AUTHORS: fix spelling and suggest UTF-8 encoding
	* docs/apps.html.in: minor typo

G
Guido Günther 已提交
1697 1698 1699 1700
Tue Jan  6 18:12:38 CET 2009 Guido Günther <agx@sigxcpu.org>

	* .gitignore: ignore generated TAGS files

1701 1702 1703 1704
Tue Jan  6 17:18:10 CET 2009 Daniel Veillard <veillard@redhat.com>

	* AUTHORS: John Levon is now a commiter

1705 1706 1707 1708 1709
Tue Jan  6 16:21:24 CET 2009 Jim Meyering <meyering@redhat.com>

	fix "make dist" (from scratch) failure
	* src/Makefile.am (EXTRA_DIST): Don't distribute libvirt_sym.version,
	now that it's been removed.  Spotted by Daniel Veillard.
1710 1711 1712 1713 1714

	dist: distribute all libvirt_*.syms files, ...
	* src/Makefile.am (EXTRA_DIST): Distribute all libvirt_*.syms files,
	not just those that happen to be selected at configure time.

1715 1716 1717 1718 1719
Tue Jan  6 10:47:33 CET 2009 Jim Meyering <meyering@redhat.com>

	avoid syntax-check (po-check) failure due to FP match on gettext.m4
	* Makefile.maint (po-check): Exclude .m4 files.

1720 1721 1722 1723
Tue Jan  6 10:45:04 CET 2009 Daniel Veillard <veillard@redhat.com>

	* qemud/remote.c: fix compilation without SASL, patch by John Levon

1724 1725 1726 1727 1728
Tue Jan  6 09:46:43 CET 2009 Daniel Veillard <veillard@redhat.com>

	* po/*: updated polish and brazilian translations, regenerated
	  files, pushed new pot to translators

1729 1730 1731 1732 1733
Tue Jan  6 09:42:34 CET 2009 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_fs.c: Make mntent.h specific to the FS storage
	  backend, patch by John Levon

1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751
Mon Jan  5 2009 14:53:48 CET John Levon <john.levon@sun.com>

	split up linker script, as described below and in
	  http://thread.gmane.org/gmane.comp.emulators.libvirt/10728

	split version script into multiple files
	* src/Makefile.am (PRIVSYMFILES): Define.
	(EXTRA_DIST): Append $(PRIVSYMFILES).
	(libvirt.syms): New rule.
	Reflect renaming: s/libvirt_sym.version/libvirt.syms/.
	(BUILT_SOURCES): Depend on libvirt.syms.
	* configure.in: Define ENABLE_DEBUG as an automake conditional.
	(AC_OUTPUT): Remove src/libvirt_sym.version.
	* src/.cvsignore: s/libvirt_sym.version/libvirt.syms/.
	* src/.gitignore: Regenerate.
	* src/libvirt_public.syms: Renamed from src/libvirt_sym.version.in.
	* src/libvirt_debug.syms: New file.
	* src/libvirt_private.syms: New file.
1752 1753 1754 1755 1756

	Move --with-driver-modules symbols into a separate sym file
	* src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms.
	* src/libvirt_private.syms: Move virDriverLoadModule into...
	* src/libvirt_driver_modules.syms: ... this new file.
1757 1758 1759 1760 1761 1762 1763 1764

	Move bridge symbols into a separate syms file
	* configure.in: Provide a new --with-bridge option.
	* src/Makefile.am (PRIVSYMFILES) [WITH_BRIDGE]: Append
	libvirt_bridge.syms.
	* src/bridge.c: Test WITH_BRIDGE rather than particular drivers.
	* src/libvirt_private.syms: Move bridge-related symbols into...
	* src/libvirt_bridge.syms: ...this new file.
1765 1766 1767 1768 1769 1770

	migrate linux-specific symbol names into their own sym file
	* configure.in (WITH_LINUX): New automake conditional.
	* src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
	* src/libvirt_private.syms: Move two symbol names into...
	* src/libvirt_linux.syms: ...this new file.
1771 1772 1773 1774

	Remove storage backend symbols from version script
	* src/libvirt_private.syms: Remove virStorageBackend* symbol names.
	They're linked into qemud, not libvirt.
1775 1776
	Author: John Levon

1777 1778 1779 1780 1781
Mon Jan  5 14:22:06 CET 2009 Jim Meyering <meyering@redhat.com>

	avoid xgettext warning aboug bug-reporting address
	* po/Makevars (MSGID_BUGS_ADDRESS): Set, to avoid xgettext warning.
	* po/libvirt.pot: Set bug-reporting address.
1782

1783 1784 1785 1786
	avoid bogus descriptions due to use of gettext with the empty string
	* src/virsh.c: Use `""', not `gettext_noop("")', in numerous
	vshCmdInfo definitions.  The latter provokes a warning from gettext.

1787 1788
	Makefile.maint: sync from coreutils

1789 1790 1791 1792 1793
Mon Jan  5 12:54:21 GMT 2009 Daniel P. Berrange <berrange@redhat.com>

	* src/nodeinfo.c: s/uint64_t/unsigned long/ for the
	numa_node_to_cpus() API call.

1794 1795
Mon Jan  5 09:11:21 CET 2009 Jim Meyering <meyering@redhat.com>

1796 1797
	* Makefile.maint (msg_gen_function): Add to the list.

1798 1799 1800 1801
	mark a few diagnostics for translation
	* src/xen_inotify.c (xenInotifyXendDomainsDirLookup): Mark a diagnostic.
	(xenInotifyXendDomainsDirRemoveEntry, xenInotifyOpen): Likewise.

1802 1803
	HACKING: mention bool and other scalar types, const-correctness

G
Guido Günther 已提交
1804 1805 1806 1807 1808 1809
Fri Dec 26 14:22:04 CET 2008 Guido Günther <agx@sigxcpu.org>

	document vnc's keymap attribute
	* docs/formatdomain.html.in: document keymap attribute
	* docs/drvqemu.html.in: add keymap attribute to example

1810 1811 1812 1813 1814 1815 1816 1817
Tue Dec 23 14:44:41 CET 2008 Daniel Veillard <veillard@redhat.com>

	* docs/logging.html docs/logging.html.in: new page documenting
	  the logging system
	* docs/auth.html docs/deployment.html docs/remote.html
	  docs/sitemap.html docs/sitemap.html.in docs/uri.html
	  docs/windows.html: integration in the existing set

G
Guido Günther 已提交
1818 1819 1820 1821
Tue Dec 23 14:38:30 CET 2008 Guido Günther <agx@sigxcpu.org>

	* .x-sc_prohibit_asprintf: new file

1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835
Tue Dec 23 13:39:48 CET 2008 Guido Günther <agx@sigxcpu.org>

	use virAsprintf instead of asprintf
	* .x-sc_prohibit_asprintf, Makefile.maint (sc_prohibit_asprintf): new
	rule
	* src/cgroup.c, src/domain_conf.c, src/driver.c, src/libvirt.c,
	src/logging.c, src/lxc_container.c, src/lxc_controller.c,
	src/lxc_driver.c, src/network_conf.c, src/network_driver.c,
	src/openvz_conf.c, src/qemu_conf.c, src/qemu_driver.c,
	src/remote_internal.c, src/stats_linux.c, src/storage_backend_iscsi.c,
	src/storage_driver.c, src/uml_conf.c, src/uml_driver.c, src/util.c,
	src/veth.c, src/virsh.c, src/xm_internal.c: use virAsprintf instead of
	asprintf

1836 1837 1838 1839
Mon Dec 22 11:33:16 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/storage_driver.c: Fix storage driver null dereference.

1840 1841 1842 1843
Mon Dec 22 11:27:52 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/virsh.c: Merge xml building for virsh pool-*-as

1844 1845 1846 1847 1848 1849 1850 1851 1852
Mon Dec 22 17:13:42 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/qemud.c qemud/test_libvirtd_qemu.aug tests/Makefile.am
	  tests/daemon-conf: fix make check with the new logging support
	  the messages now carry a timestamp which need to be removed,
	  the daemon needs to exit if the log configuration informations
	  are wrong and we also look at the LIBVIRT_DEBUG environment
	  variable

1853 1854 1855 1856
Mon Dec 22 14:07:29 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/mdns.c: fix a compilation problem in the switch

D
Daniel Veillard 已提交
1857 1858 1859 1860 1861
Mon Dec 22 13:56:13 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/libvirtd.aug qemud/libvirtd.conf: document the new
	  options in the config file and augment the Augeas description

1862 1863 1864 1865 1866
Mon Dec 22 13:54:30 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/event.c qemud/mdns.c qemud/remote.c: switch other pieces
	  of the daemon to the new logging infrastructure

1867 1868 1869 1870 1871
Mon Dec 22 13:51:48 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/qemud.c qemud/qemud.h: replace the daemon old logging
	  infrastructure with the new one and parse configuration options

1872 1873 1874 1875
Mon Dec 22 11:51:29 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/uml_conf.c: another logging conversion

1876 1877 1878 1879 1880
Mon Dec 22 11:47:44 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/node_device_devkit.c src/uml_driver.c src/virterror.c:
	  convert old logging to the new API

1881 1882 1883 1884
Mon Dec 22 11:45:07 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c: convert entry points to new logging

1885 1886 1887 1888 1889
Mon Dec 22 11:43:04 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/logging.h src/logging.c: commited the more recent version
	  with function name and line number

D
Daniel Veillard 已提交
1890 1891 1892 1893 1894 1895
Mon Dec 22 11:33:07 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/logging.h src/logging.c: add the infrastructure and internal
	  APIs for logging, some of those APIs should be made public later
	* src/libvirt_sym.version.in: flag the internal APIs as such

1896 1897 1898 1899 1900
Mon Dec 22 11:31:08 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.h: remove tabs to fix make synatx-check
	  and fix the indentation

1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936
Sun Dec 21 19:50:16 +0100 2008 Jim Meyering <meyering@redhat.com>

	make NUMA-initialization code more portable and more robust
	qemudCapsInitNUMA and umlCapsInitNUMA were identical, so this change
	factors them into a new function, virCapsInitNUMA, and puts it in
	nodeinfo.c.

	In addition to factoring out the duplicates, this change also
	adjusts that function definition (along with its macros) so
	that it works with Fedora 9's numactl version 1, and makes it
	so the code will work even if someone builds the kernel with
	CONFIG_NR_CPUS > 4096.

	Finally, also perform this NUMA initialization for the lxc
	and openvz drivers.

	* src/nodeinfo.c: Include <stdint.h>, <numa.h> and "memory.h".
	(virCapsInitNUMA): Rename from qemudCapsInitNUMA and umlCapsInitNUMA.
	(NUMA_MAX_N_CPUS): Define depending on NUMA API version.
	(n_bits, MASK_CPU_ISSET): Define, adjust, use uint64 rather than long.
	* src/nodeinfo.h: Include "capabilities.h".
	(virCapsInitNUMA): Declare it.
	* examples/domain-events/events-c/Makefile.am:
	* src/Makefile.am: Add $(NUMACTL_CFLAGS) and $(NUMACTL_LIBS) to various
	compile/link-related variables.
	* src/qemu_conf.c: Include "nodeinfo.h".
	(qemudCapsInitNUMA): Remove duplicate code.  Adjust caller.
	* src/uml_conf.c (umlCapsInitNUMA): Likewise.
	Include "nodeinfo.h".
	* src/lxc_conf.c: Include "nodeinfo.h".
	(lxcCapsInit): Perform NUMA initialization here, too.
	* src/openvz_conf.c (openvzCapsInit): And here.
	Include "nodeinfo.h".
	* src/libvirt_sym.version.in: Add virCapsInitNUMA so that libvirtd
	can link to this function.

1937 1938 1939 1940
Sun Dec 21 19:46:35 +0100 2008 Jim Meyering <meyering@redhat.com>

	* src/node_device_hal.c: Include <config.h> before everything else.

1941 1942 1943 1944 1945
Sun Dec 21 00:20:51 CET 2008 Guido Günther <agx@sigxcpu.org>

	avoid "make check" failures due to localized error messages
	* tests/Makefile.am (TESTS_ENVIRONMENT): set LC_ALL=C

1946 1947 1948 1949 1950 1951 1952 1953 1954
Sat Dec 20 14:10:09 CET 2008 Guido Günther <agx@sigxcpu.org>

	save and remove kvm/qemu domain status
	* src/qemu_driver.c (qemdRemoveDomainStatus): new function
	  (qemudOpenMonitor): save monitor path
	  (qemudStartVMDaemon, qemudDomainSuspend, qemudDomainResume,
	   qemudDomainAttachDevice, qemudDomainDetachDevice): save status
	  (qemudShutdownVMDaemon): remove status

1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968
Sat Dec 20 13:53:14 CET 2008 Guido Günther <agx@sigxcpu.org>

	add XML parsing for qemu/kvm status files
	* src/domain_conf.c, src/domain_conf.h (virDomainSaveXML): new function
	* src/domain_conf.c (virDomainSaveConfig): split out XML writing into
	  virDomainSaveXML
	* src/qemu_conf.c (qemudDomainStatusParseFile): new function to parse
	  status XML
	  (qemudDomainStatusFormat): new function to format status XML
	  (qemudSaveDomainStatus): new function to write status XML, uses
	  virDomainSaveXML
	* src/libvirt_sym.version.in: add virBufferEscapeString, virDomainSaveXML,
	  virXPathNode symbols

1969 1970 1971 1972 1973
Fri Dec 19 10:41:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	* docs/formatdomain.html.in: Fix documentation typo
	  (aozturk in #virt).

G
Guido Günther 已提交
1974 1975 1976 1977 1978
Thu Dec 18 17:46:06 CET 2008 Guido Günther <agx@sigxcpu.org>

	* src/qemu_driver.c (qemudDomainAttachDevice): only
	  free dev on failure

1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Thu Dec 18 16:13:56 CET 2008 Guido Günther <agx@sigxcpu.org>

	Let qemu/kvm instances write a pid file
	* src/utilc, src/util.h (virFilePid): declare and define
	  (virFileWritePid, virFileReadPid, virFileDeletePid): use virFilePid
	* src/libvirt_symver.in: export virFilePid symbol
	* src/qemu_conf.c (qemudBuildCommandLine): pass -pidfile to qemu
	  (qemudStartup): create stateDir
	* tests/qemuxml2argvtest.c: initialize driver.stateDir
	* tests/qemuxml2argvdata/qemuxml2argv-*.args: add -pidfile argument

1990 1991 1992 1993 1994 1995
Thu Dec 18 12:18:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* examples/domain-events/events-c/event-test.c,
	python/types.c: Replace __FUNCTION__ with __func__ for
	better portability (John Levon)

1996 1997 1998 1999 2000 2001
Thu Dec 18 12:18:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Fix gcc-ism in python build (John Levon)
	* acinclude.m4: Add -Wno-redundant-decls check for compiler
	* python/Makefile.am: Remove hardcoded -Wno-redundant-decls

2002 2003 2004 2005 2006
Thu Dec 18 12:11:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Don't free event after queueing it
	unless error occurred (David Lively)

2007 2008 2009 2010 2011 2012
Thu Dec 18 12:07:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Fix error return value
	* tests/nodeinfotest.c: Disable code compile completely on
	non-linux (John Levon)

2013 2014 2015 2016 2017
Thu Dec 18 11:59:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/remote.c: Fix unused variable compile warning when polkit
	is disabled (John Levon)

2018 2019 2020 2021 2022 2023 2024
Thu Dec 18 11:56:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Use pid_t for all PID tracking variables (John Levon)
	* src/openvz_driver.c, src/proxy_internal.h, src/remote_internal.c,
	src/storage_backend.c, src/uml_driver.c, src/util.c, src/util.h:
	s/int/pid_t/

2025 2026 2027 2028 2029
Thu Dec 18 11:54:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am: Don't munge default network XML if
	uuidgen is not present (John Levon)

2030 2031 2032 2033 2034 2035
Thu Dec 18 11:50:58 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Misc daemon bug fixes (John Levon)
	* qemud/qemud.c: Fix conditional for node devices
	* qemud/remote.c: Remove unneccessary path.h include

J
Jim Meyering 已提交
2036 2037 2038 2039
Thu Dec 18 07:47:58 +0100 2008 Jim Meyering <meyering@redhat.com>

	docs/virsh.pod: typo fix

2040 2041 2042 2043
Thu Dec 18 07:44:07 +0100 2008 Jim Meyering <meyering@redhat.com>

	Makefile.maint: use $(srcdir), not $(top_srcdir)

2044 2045 2046 2047 2048
Wed Dec 17 21:49:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Fix unreachable return statement
	(John Levon)

2049 2050 2051 2052 2053 2054 2055
Wed Dec 17 21:45:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Use correct type for domain events callbacks args (John Levon)
	* src/driver.h, src/qemu_driver.c, src/remote_internal.c,
	src/xen_unified.c: s/void */virConnectDomainEventCallback/
	for domain events callbacks

2056 2057 2058 2059 2060
Wed Dec 17 21:41:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt_sym.version.in: Remove non-existant symbols
	(John Levon)

2061 2062 2063 2064 2065 2066 2067 2068 2069
Wed Dec 17 21:35:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Portability of ELF version script to Solaris (John Levon)
	* configure.ac: Check linker flag used to set versioning
	script for ELF
	* src/Makefile.am: Use platform specific linker flag for
	version script as per configure test
	* src/libvirt_sym.version.in: Switch to '#' for comments

2070 2071 2072 2073 2074 2075
Wed Dec 17 21:30:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Fix conditional checks for Solaris platform (John Levon)
	* src/xen_internal.c, src/xen_unified.c, src/xs_internal.c:
	s/__sun__/__sun/

2076 2077 2078 2079 2080 2081 2082 2083 2084
Wed Dec 17 21:17:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Fix Xen sub-drivers' 'open' method return type (John Levon)
	* src/proxy_internal.c, src/remote_internal.c, src/test.c,
	src/xen_inotify.c, src/xen_inotify.h, src/xen_internal.c,
	src/xen_internal.h, src/xen_unified.c, src/xend_internal.c,
	src/xend_internal.h, src/xm_internal.c, src/xm_internal.h,
	src/xs_internal.c, src/xs_internal.h: s/int/virDrvOpenStatus/

2085 2086 2087 2088 2089 2090 2091 2092
Wed Dec 17 21:10:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Mutex / crash fixes to openvz driver (Anton Protopopov)
	* src/openvz_driver.c: Fix crash with setting CPU value
	during define
	* src/openvz_conf.c: Initialize the domain mutex when
	loading config files

2093 2094
Wed Dec 17 20:53:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

2095 2096
	* src/domain_conf.c, src/node_device_conf.c, src/node_device_conf.h,
	src/storage_conf.c, src/storage_conf.h: Remove trailing semi-colon
2097 2098 2099
	causing empty statement compile warnings on solaris (John
	Levon).

2100 2101 2102
Wed Dec 17 18:10:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Anonymous union fixes for non-GCC compilers (John Levon)
2103
	* src/domain_conf.c, src/qemu_conf.c, src/qemu_driver.c: Remove use
2104
	of anonymous union
2105
	* src/domain_conf.h: Give a name to the anonymous union for
2106
	host devices. Add 'dummy' field to avoid empty struct
2107
	* src/remote_internal.c: Remove gcc-ism in empty "x ? : y"
2108

2109 2110 2111 2112 2113 2114 2115
Wed Dec 17 19:06:53 +0100 2008 Jim Meyering <meyering@redhat.com>

	portability: don't include <endian.h> or <byteswap.h>
	* src/storage_backend_fs.c: Don't include <endian.h> or <byteswap.h>.
	(LV_BIG_ENDIAN, LV_LITTLE_ENDIAN): Define.
	Use those instead of __BIG_ENDIAN and __LITTLE_ENDIAN.

2116 2117 2118 2119 2120 2121
Wed Dec 17 18:03:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c, src/util.c, tests/testutils.c: Remove use
	of _PATH_DEVNULL in favour of "/dev/null" for portability
	(John Levon)

2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133
Wed Dec 17 18:10:51 +0100 2008 Jim Meyering <meyering@redhat.com>

	enforce the "include <config.h> first" rule
	* qemud/Makefile.am: Ensure that the generated remote_protocol.c
	includes <config.h> first.
	* Makefile.maint (sc_require_config_h_first): New rule, so that
	"make syntax-check" enforces this.
	* .x-sc_require_config_h_first: New file.
	* Makefile.am (.x-sc_require_config_h_first): Add it.
	* qemud/remote_protocol.x: Don't include <config.h> here.
	* qemud/remote_protocol.c: Regenerate.

2134 2135 2136 2137 2138 2139 2140
Wed Dec 17 18:10:51 +0100 2008 Jim Meyering <meyering@redhat.com>

	let gcc's -Wformat do its job; avoid "make syntax-check" failure
	* src/util.c (virAsprintf): Remove trailing space.
	* src/util.h (virAsprintf): Use ATTRIBUTE_FORMAT.
	* HACKING (Printf-style functions): New section.

2141 2142 2143 2144 2145
Wed Dec 17 16:43:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: Add missing checks for read-only connection
	flag (CVE-2008-5086)

D
Daniel Veillard 已提交
2146 2147 2148 2149
Wed Dec 17 17:07:39 CET 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in: detect syslog.h

2150 2151 2152 2153
Wed Dec 17 09:28:15 CET 2008 Guido Günther <agx@sigxcpu.org>

	* Makefile.maint: use $(top_srcdir) for m4/ and $(VC_LIST)

2154 2155 2156 2157 2158 2159 2160 2161 2162 2163
Wed Dec 17 08:02:01 +0100 2008 Jim Meyering <meyering@redhat.com>

	fix numa-related (and kernel-dependent) test failures
	This change is required on some kernels due to the way a change in
	the kernel's CONFIG_NR_CPUS propagates through the numa library.
	* src/qemu_conf.c (qemudCapsInitNUMA): Pass numa_all_cpus_ptr->size/8
	as the buffer-length-in-bytes in the call to numa_node_to_cpus, since
	that's what is required on second and subseqent calls.
	* src/uml_conf.c (umlCapsInitNUMA): Likewise.

C
Cole Robinson 已提交
2164 2165 2166 2167
Tue Dec 16 17:26:49 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/qemu_driver.c: Sanitize qemu monitor reads.

G
Guido Günther 已提交
2168 2169 2170 2171 2172 2173
Mon Dec 15 21:05:56 CET 2008 Guido Günther <agx@sigxcpu.org>

	Add virAsprintf as safer asprintf helper
	* src/util.c, src/util.h (virAsprintf): new function
	* src/libvirt_symver.in: export symbol

2174 2175 2176 2177
Mon Dec 15 16:33:25 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_driver.c: fix a segfault, patch by Miloslav TrmaC

2178 2179 2180 2181 2182
Mon Dec 15 10:59:19 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: Unlock domain object after fetching
	it to avoid deadlock when re-loading configs

J
Jim Meyering 已提交
2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224
Fri Dec 12 17:41:19 +0100 2008 Jim Meyering <meyering@redhat.com>

	remove redundant optname arguments
	This is the second part of the change mentioned here:

	  http://thread.gmane.org/gmane.comp.emulators.libvirt/10331

	It removes the essentially redundant "optname" parameter
	from each of the vshCommandOptNetworkBy and vshCommandOptDomainBy
	functions as well as the correspond macros (without "By" suffix).
	Now, instead of always passing the optname, "domain", to
	vshCommandOptDomainBy, that function requires that its command
	argument refer to an opts array containing a "domain" option.

	This normalization makes one more help-related change:
	it renames the net-start "name" argument to the more
	sensible and consistent "network".
	* src/virsh.c (VSH_BYNAME, vshCommandOptDomain)
	(cmd_has_option): New function, used in vshCommandOptDomainBy
	and vshCommandOptNetworkBy.
	(vshCommandOptDomainBy, vshCommandOptNetworkBy): Remove the optname
	parameter, it's always "domain" ("network").  Update all callers.
	Call cmd_has_option.
	(vshCommandOptNetwork, cmdAutostart, cmdConsole, cmdDomstate)
	(cmdDomblkstat, cmdDomIfstat, cmdSuspend, cmdUndefine, cmdStart)
	(cmdSave, cmdSchedinfo, cmdDump, cmdResume, cmdShutdown)
	(cmdReboot, cmdDestroy, cmdDominfo, cmdVcpuinfo, cmdVcpupin)
	(cmdSetvcpus, cmdSetmem, cmdSetmaxmem, cmdDumpXML, cmdDomname)
	(cmdDomid, cmdDomuuid, cmdMigrate, cmdNetworkAutostart)
	(cmdNetworkDestroy, cmdNetworkDumpXML, cmdNetworkName)
	(opts_network_start, cmdNetworkStart, cmdNetworkUndefine)
	(cmdNetworkUuid, cmdVNCDisplay, cmdTTYConsole, cmdAttachDevice)
	(cmdDetachDevice, cmdAttachInterface, cmdDetachInterface)
	(cmdAttachDisk, cmdDetachDisk, cmdEdit)
	* src/Makefile.am (virsh-pool-edit.c): This code is generated
	from cmdEdit, and cmdEdit uses the vshCommandOptDomain macro which
	now, with the changes above, has only 3 (was 4) arguments, yet the
	macro use is mapped to vshCommandOptPool, which still requires 4
	arguments.  So this change adjusts the sed code to reinsert the
	just-removed argument -- we're not changing pool-related code right
	now, because it's not as straight-forward.

2225 2226 2227 2228 2229 2230 2231 2232 2233
Fri Dec 12 18:50:20 +0100 2008 Jim Meyering <meyering@redhat.com>

	syntax-check: enforce the no-cvs-keywords prohibition
	* Makefile.maint (sc_prohibit_cvs_keyword): New rule.
	Suggested by Daniel Veillard.
	The new test exposed two uses of $\Date$.
	* docs/Goals: Don't use $\Date$.
	* python/TODO: Likewise.

2234 2235 2236 2237 2238 2239
Fri Dec 12 17:08:08 +0100 2008 Jim Meyering <meyering@redhat.com>

	avoid a spurious test failure on non-numa systems
	* tests/daemon-conf: Ignore a spurious libnuma warning.
	Reported by Daniel Veillard.

2240 2241 2242 2243 2244
Fri Dec 12 14:57:17 CET 2008 Daniel Veillard <veillard@redhat.com>

	* Makefile.maint: fix tabs in C source error message based on
	  Dave Allan feedback

J
Jim Meyering 已提交
2245 2246
Fri Dec 12 13:41:31 +0100 2008 Jim Meyering <meyering@redhat.com>

2247
	remove cvs $\Id$ strings
J
Jim Meyering 已提交
2248 2249 2250 2251 2252 2253 2254
	* po/id.po: Likewise.
	* qemud/remote_generate_stubs.pl: Likewise.
	* src/virsh.c: Likewise.
	* tests/testutils.c: Likewise.
	* tests/testutils.h: Likewise.
	* RENAMES: Likewise.

J
Jim Meyering 已提交
2255 2256 2257 2258 2259
Fri Dec 12 13:16:05 +0100 2008 Jim Meyering <meyering@redhat.com>

	libvirtd: plug a nominal leak
	* qemud/qemud.c (qemudRunLoop): Free server->workers.

J
Jim Meyering 已提交
2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272
Fri Dec 12 12:19:56 +0100 2008 Jim Meyering <meyering@redhat.com>

	remove unused xmlrpc-related files
	* src/xmlrpc.h: Remove file.
	* src/xmlrpc.c: Likewise.
	* tests/test_xmlrpc.sh: Likewise.
	* tests/xmlrpctest.c: Likewise.
	* tests/xmlrpcserver.py: Likewise.
	* tests/Makefile.am (EXTRA_DIST): Remove xmlserver.py.
	(noinst_PROGRAMS): Remove xmlrpctest, along with associated variables.
	* po/POTFILES.in: Remove src/xmlrpc.c.
	* tests/.cvsignore: Remove xmlrpctest.

2273 2274 2275 2276 2277 2278
Fri Dec 12 11:37:16 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.c src/uml_conf.c: fix a couple of places where
	  we were requesting 8 times the required amount of memory,
	  patch by Dave Allan

G
Guido Günther 已提交
2279 2280 2281 2282
Fri Dec 12 10:45:17 CET 2008 Guido Günther <agx@sigxcpu.org>

	* docs/devhelp/Makefile.am: look for devhelp.xsl in $(srcdir)

2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293
Fri Dec 12 10:28:41 CET 2008 Guido Günther <agx@sigxcpu.org>

	Fix serial/parallel virtual devices over tcp, unix and telnet
	* src/qemu_conf.c (qemudBuildCommandLineChrDevStr): use
	"server,nowait" instead of "listen" for tcp and unix sockets. Use
	"nowait" for telnet too.
	* tests/qemuxml2argvdata/qemuxml2argv-parallel-tcp.args: adjust
	testcase accordingly.
	* tests/qemuxml2argvdata/qemuxml2argv-serial-tcp-telnet.args:
	likewise.

2294 2295 2296 2297 2298 2299
Fri Dec 12 08:54:40 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/qemud.c: add --version support to libvirtd, patch by
	  Dave Allan
	* AUTHORS: add Dave Allan

2300 2301 2302 2303 2304
Fri Dec 12 08:34:47 CET 2008 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: fix a conditional bug in spec file #460510,
	  patch by Dave Allan

2305 2306 2307 2308
Fri Dec 12 08:27:44 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/util.c: retry poll() in EINTR failures, patch by Dave Allan

2309 2310 2311 2312 2313 2314 2315 2316
Thu Dec 11 19:10:46 +0100 2008 Jim Meyering <meyering@redhat.com>

	build: avoid libvirtd link failure with CFLAGS=-g
	* qemud/Makefile.am (libvirtd_LDADD): Add gnulib's libgnu.la last.
	Otherwise, building with -g (no inlining) would fail due to a use
	of c_isspace in libvirt_driver_qemu.a, which used to followed
	libgnu.a in the link command.

2317 2318 2319 2320 2321 2322
Thu Dec 11 16:13:08 +0100 2008 Jim Meyering <meyering@redhat.com>

	syntax-check: prohibit all new uses of gethostby* functions
	* Makefile.maint (sc_prohibit_gethostby): New rule.
	* .x-sc_prohibit_gethostby: Exempt the few existing uses.

2323 2324 2325 2326
Thu Dec 11 10:03:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/test.c: Fix locking issue in test driver VolLookupByPath

2327 2328 2329 2330
Thu Dec 11 10:00:54 EST 2008 Cole Robinson <crobinso@redhat.com>

	* libvirt.spec.in: Fix rpm build by installing logrotate config

2331 2332 2333 2334
Thu Dec 11 09:58:49 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/storage_driver.c : Fix a locking issue in PoolGetAutostart

2335 2336
Thu Dec 11 09:55:23 EST 2008 Cole Robinson <crobinso@redhat.com>

2337
	* src/network_driver.c src/qemu_conf.c: Fix segfault if virtual
2338 2339
	network does not have a bridge name.

2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350
Thu Dec 11 12:39:20 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.c src/domain_conf.h src/qemu_conf.c
	  tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c
	  tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.args
	  tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml:
	  slightly modified patch for SDL fullscreen from Itamar Heim
	* docs/formatdomain.html docs/formatdomain.html.in docs/libvirt.rng:
	  update the schemas and docs about the sdl graphic element attributes
	* AUTHORS: add Itamar Heim

2351 2352 2353 2354 2355 2356 2357 2358
Wed Dec 10 20:18:36 +0100 2008 Jim Meyering <meyering@redhat.com>

	avoid a new "make distcheck" failure
	Distribute the new file, libvirtd.logrotate.in, and make
	distclean remove the build product, libvirtd.logrotate.
	* qemud/Makefile.am (EXTRA_DIST): Add libvirtd.logrotate.in.
	(DISTCLEANFILES): Initialize, and append libvirtd.logrotate.in.

J
Jim Meyering 已提交
2359 2360 2361 2362 2363 2364
Wed Dec 10 17:33:49 +0100 2008 Jim Meyering <meyering@redhat.com>

	avoid format string warnings
	* src/openvz_conf.c (openvzGetNodeCPUs): Add "%s" arg before _(...).
	* src/uml_driver.c (umlDomainBlockPeek): Likewise.

2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376
Tue Dec  9 2008 22:35:43 +0100 Jim Meyering <meyering@redhat.com>

	fix just-broken "virsh start" and "virsh pool-start" commands
	* src/virsh.c (cmdPoolStart, cmdStart): Change hard-coded
	vshCommandOptDomainBy string argument to match just-changed
	option name.  Cole Robinson reported that "virsh start" was
	broken and provided that part of the fix.
	Bug introduced by yesterday's "virsh.c: tweak options to produce
	more accurate help".
	* tests/start: New file.  Test for the above fix.
	* tests/Makefile.am (test_scripts): Add start.

G
Guido Günther 已提交
2377 2378 2379 2380 2381 2382 2383 2384
Tue 9 Dez 2008 21:08:43 CET Guido Günther <agx@sigxcpu.org>

	logrotate qemu monitor logs
	* src/qemu_driver.c: open logfile O_APPEND instead of O_TRUNC when
	running as root
	* qemud/Makefile.am: install logrotate configuration (by Harald Sraub)
	and create logdir

2385 2386
Mon Dec  8 13:22:06 +0100 2008 Jim Meyering <meyering@redhat.com>

2387 2388 2389 2390
	virsh.c: tweak options to produce more accurate help
	* src/virsh.c: Adjust some vshCmdOptDef command option flags
	to improve auto-generated help command syntax.

2391 2392 2393
	virsh.c: remove all "syntax" vshCmdInfo entries.
	* src/virsh.c: ... now that info is generated.

2394 2395 2396
	virsh.c: add missing (yet empty) "desc" strings
	* src/virsh.c: Now, every command must have a "desc" string,
	even if it has zero length.  Mark these, so they'll be filled in.
2397 2398 2399 2400

	virsh.c: generate each "virsh help COMMAND"s synopsis
	* src/virsh.c: Also, diagnose extra arguments after --help (-h).

2401 2402 2403 2404 2405
Mon Dec  8 12:00:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am: Fix mixup between _LDFLAGS & _LDADD
	variables to make compilation work in certain configs.

2406 2407 2408 2409 2410
Mon Dec  8 11:28:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_conf.c: Workaround missing ULLONG_MAX in
	Debian etch's limits.h

2411 2412 2413 2414 2415 2416
Mon Dec  8 11:17:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c, src/uml_driver.c: Fix guest autostart
	to have a virConnect object available to allow query of
	virtual networks

2417 2418 2419 2420
Sun Dec  7 20:44:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Fix integer long long overflow. Fix NULL defernce

2421 2422 2423 2424
Sun Dec  7 20:20:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Remove bogus refresh call causing deadlock

2425 2426 2427 2428
Sun Dec  7 14:03:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Fix return value in testStoragePoolBuild

2429 2430 2431 2432 2433
Fri Dec  5 16:03:53 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/node_device_hal.c configure.in: fix a compilation problem
	  with old dbus versions

D
Daniel P. Berrange 已提交
2434 2435 2436 2437 2438
Thu Dec  5 10:10:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: Disable a few more functions for proxy
	build which should not be used

2439 2440 2441 2442 2443
Thu Dec  4 22:20:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Remove unused driver argument from
	all monitor handling APIs.

2444 2445 2446 2447 2448 2449 2450 2451 2452 2453
Thu Dec  4 22:18:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Read number of threads for RPC dispatch
	from config. Allow a limit on total client connection
	count.
	* qemud/libvirtd.conf: Add max_clients and max_workers
	and min_workers config vars
	* qemud/libvirtd.aug, qemud/test_libvirtd.aug: Augeas
	support for new config params

2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465
Thu Dec  4 22:16:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Make daemon use a thread pool for handling RPC calls
	from multiple clients.
	* qemud/THREADING.txt: Describe threading rules
	* qemud/qemud.h, qemud/qemud.c, src/remote.c: Add a pool
	of threads for handling RPC call processing. Use main
	thread only for event loop
	* qemud/remote_generate_stubs.pl: Pass virConnectPtr object
	into dispatch stubs to avoid need to access client struct
	* qemud/remote_dispatch_prototypes.h: Re-generated

2466 2467 2468 2469 2470 2471 2472
Thu Dec  4 22:14:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/event.c, src/event.h: Make all event handling thread
	safe and re-entrant safe, and allow poll() to be woken up
	by other threads.
	* src/qemud.c, src/qemud.h: Initialize event loop explicitly

2473 2474 2475 2476 2477 2478 2479 2480 2481
Thu Dec  4 22:12:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c, qemud/qemud.h, qemud/remote.c: Make all
	error reporting the responsibility of the RPC handler
	methods
	* qemud/remote_generate_stubs.pl: Add remote_error *
	arg to all RPC handlers
	* qemud/remote_dispatch_prototypes.h: Re-generated

2482 2483 2484 2485 2486
Thu Dec  4 22:09:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.h, qemud/qemud.c: Change client linked list into
	an array for easier thread safety

2487 2488 2489 2490 2491 2492 2493 2494
Thu Dec  4 22:01:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/remote.c: Change from a giant switch() on RPC number
	into a simple array lookup of RPC handler function
	* qemud/Makefile.am, qemud/remote_generate_stubs.pl: Change
	generator to produce a union of data types for O(1) dispatch
	* qemud/remote_dispatch_*: Re-generate files

2495 2496 2497 2498 2499 2500 2501 2502 2503 2504
Thu Dec  4 21:49:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Per object locking implementation
	* src/domain_conf.c, src/domain_conf.h, src/network_conf.c,
	src/network_conf.h, src/node_device_conf.c,
	src/node_device_conf.h, src/storage_conf.c
	src/storage_conf.h: Add implementation of locking APIs,
	and make object lookup / creation methods return locked
	objects

2505 2506 2507 2508 2509 2510 2511
Thu Dec  4 21:48:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt_sym.version.in, src/node_device.c,
	src/node_device.h, src/node_device_conf.h,
	src/node_device_devkit.c, src/node_device_hal.c: Add
	locking for thread safety of driver APIs

2512 2513 2514 2515 2516 2517 2518 2519
Thu Dec  4 21:46:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c, src/datatypes.h, src/datatypes.c: Cache
	device parent string to workaround need to keep public
	virNodeDeviceGetParent API returning a const string
	* src/node_device.c: Merge all return paths from node
	device driver APIs

2520 2521 2522 2523 2524
Thu Dec  4 21:43:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_conf.h: Add driver lock
	* src/openvz_driver.c: Add locking for thread safety

2525 2526 2527 2528 2529
Thu Dec  4 21:41:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_driver.c: Merge all return paths from openvz
	driver APIs

2530 2531 2532 2533 2534
Thu Dec  4 21:40:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_conf.h: Add driver lock
	* src/storage_driver.c: Add locking for thread safety

2535 2536
Thu Dec  4 21:39:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

2537 2538
	* src/storage_driver.c: Merge all return paths from storage
	driver APIs
2539

2540 2541 2542 2543
Thu Dec  4 21:38:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/network_driver.c: Add locking for thread safety

2544 2545 2546 2547
Thu Dec  4 21:37:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/network_driver.c: Merge all return paths from driver APIs

2548 2549 2550 2551 2552
Thu Dec  4 21:14:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/uml_conf.h: Add driver lock variable
	* src/uml_driver.c: Add locking for thread safety

2553 2554 2555 2556 2557
Thu Dec  4 21:13:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* Makefile.maint: Add umlError function
	* src/uml_driver.c: Merge all return paths from driver APIs

2558 2559 2560 2561 2562
Thu Dec  4 21:11:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/lxc_conf.h: Add driver lock variable
	* src/lxc_driver.c: Add locking for thread safety

2563 2564 2565 2566
Thu Dec  4 21:10:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/lxc_driver.c: Merge all return paths from driver APIs

2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581
Thu Dec  4 21:09:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	QEMU domain events thread safety
	* src/domain_event.c, src/domain_event.h: Add convenient
	methods for dispatching a list of events, and a single
	event to a list of callbacks. Change signature of push
	method to take a pre-allocated virDomainEventPtr object
	* src/libvirt_sym.version.in: Export new event methods
	to daemon code / drivers
	* src/qemu_conf.h, src/qemu_driver.c: Make event dispatch
	threadsafe by doing asynchronously
	* src/remote_internal.c, src/xen_inotify.c, src/xen_unified.c,
	src/xen_unified.h, src/xs_internal.c: Update for changes in
	domain event APIs

2582 2583 2584 2585 2586
Thu Dec  4 21:05:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.h: Add a driver lock variable
	* src/qemu_driver.c: Add locking for thread safety

2587 2588 2589 2590
Thu Dec  4 21:01:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Merge all return paths from driver APIs

2591 2592 2593 2594 2595
Thu Dec  4 21:00:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Stub out node device APIs to avoid activating
	the daemon

2596 2597 2598 2599 2600 2601
Thu Dec  4 20:58:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Add locking for thread safety
	* tests/virsh-all: Set variables to allow direct invocation
	of test

2602 2603 2604 2605
Thu Dec  4 20:57:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Merge all return paths from driver APIs

2606 2607 2608 2609
Thu Dec  4 20:55:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Remove macros for accessing internal state

D
Daniel P. Berrange 已提交
2610 2611 2612 2613 2614 2615 2616 2617
Thu Dec  4 20:47:41 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Thread locking API stubs
	* src/domain_conf.c, src/domain_conf.h, src/libvirt_sym.version.in,
	 src/network_conf.c, src/network_conf.h, src/node_device_conf.c,
	 src/node_device_conf.h, src/storage_conf.c, src/storage_conf.h:
	Define API stubs for locking and unlocking objects

D
Daniel Veillard 已提交
2618 2619 2620 2621 2622 2623
Thu Dec  4 16:51:41 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/libvirt_sym.version.in configure.in NEWS docs/*: release
	  of 0.5.1
	* po/*: updated and regenerated

2624 2625 2626 2627 2628
Thu Dec  4 16:20:20 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_conf.c: fix crash and regression when defining
	  a storage volume without a format (Cole Robinson)

2629 2630 2631 2632 2633 2634
Thu Dec  4 09:45:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* docs/formatstorage.html.in docs/storage.html.in : Fix some
	documentation copy and paste errors.
	* src/virsh.c : Fix a typo

2635 2636 2637 2638
Thu Dec  4 09:42:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/qemu_driver.c: Increase timeout for initial monitor poll

2639 2640 2641 2642 2643
Thu Dec  4 15:36:42 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/bridge.c: patch setting MTU on tap interface to be the same
	  as the value for the bridge (Eduardo Habkost)

J
Jim Meyering 已提交
2644
Thu 4 Dec 2008 12:46:01 CET Guido Günther <agx@sigxcpu.org>
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661

	Differentiate between active and inactive configs by honoring the
	VIR_DOMAIN_XML_INACTIVE flag.
	* src/domain_conf.c (virDomainDefParseXML): add and pass on flags arg
	(virDomainDefParseFile): Likewise
	(virDomainDefParseNode): Likewise
	(virDomainGraphicsDefParseXML): Likewise
	* src/domain_conf.c (virDomainDefParseXML): only restore domain id if
	!VIR_DOMAIN_XML_INACTIVE
	* src/domain_conf. (virDomainGraphicsDefParseXML): only restore vnc
	port if !VIR_DOMAIN_XML_INACTIVE
	* src/lxc_driver.c (lxcStartup): pass 0 flag since we restore life
	config
	* src/lxc_controller.c: pass VIR_DOMAIN_XML_INACTIVE
	* src/test.c: pass VIR_DOMAIN_XML_INACTIVE
	* tests/qemuxml2argvtest.c: pass VIR_DOMAIN_XML_INACTIVE

J
Jim Meyering 已提交
2662
Thu 4 Dec 2008 11:41:12 CET Guido Günther <agx@sigxcpu.org>
G
Guido Günther 已提交
2663 2664 2665

	* src/qemu_driver.c: also look for /usr/bin/kvm

J
Jim Meyering 已提交
2666
Tue 2 Dec 2008 16:58:16 +0100 Jim Meyering <meyering@redhat.com>
2667 2668 2669 2670 2671 2672

	fix inadequate initialization in storage and test drivers
	* src/storage_driver.c (storageListPools): Set all "names" entries to 0.
	(storageListDefinedPools, storagePoolListVolumes): Likewise.
	* src/test.c (testStoragePoolListVolumes): Likewise.

2673 2674 2675 2676 2677 2678
Tue Dec 2 13:45:00 CET 2008 Chris Lalancette <clalance@redhat.com>
	* configure.in, src/storage_backend.c: Older distributions (i.e.
	RHEL-5) don't have udevadm at all, but they do have udevsettle.  So
	change our tests to prefer udevadm if it exists, but to fall back to
	udevsettle if it does not.

2679 2680 2681 2682 2683 2684
Tue Dec 2 11:34:22 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Registering network, storage & nodedev drivers
	before any domain drivers, so domain autostart can rely on
	network/storage autostarted objects. Patch from Gerd von Egidy

2685 2686 2687 2688 2689 2690
Tue Dec 2 11:21:22 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/uml_driver.c: Fix recording of watch number to make
	inotify actually work.

Mon Dec 1 16:01:54 +0100 2008 Jim Meyering <meyering@redhat.com>
2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707

	tests: daemon-conf: accommodate numeric-valued config params
	This test would hang when failing to perturb the soon-to-be-
	added numeric (and non-boolean) valued parameters, max_clients,
	max_workers, min_workers.
	* tests/daemon-conf: Require that all commented-out settings
	in libvirtd.conf have the same form.  Before, two parameters
	were not being tested, since a space had snuck between the
	leading "#" and the "param = value" parts.
	Apply each RHS-value-perturbing transformation
	separately, not in series.
	Let VERBOSE=yes turn on debugging.
	Be more verbose by default, since this is a relatively
	long-running test.
	* qemud/libvirtd.conf: Normalize the spacing around each setting
	that is to be perturbed by tests/daemon-conf.

2708
Mon Dec 1 10:30:10 +0100 2008 Jim Meyering <meyering@redhat.com>
2709 2710 2711 2712 2713

	uml: don't free an uninitialized variable
	* src/uml_driver.c (umlDomainShutdown): Initialize "info".
	Patch and bug report from Ron Yorston <rmy@tigress.co.uk>.

2714 2715 2716 2717 2718
Sun Nov 30 18:36:33 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_inotify.c: Close directory handle once done
	processing files

2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729
Fri Nov 28 16:16:54 CET 2008 Guido Günther <agx@sigxcpu.org>

	Prefer xenstore driver for listDomains, since xen HV reports ghost ids
	of already shutdown domains in some xen versions
	* src/proxy_internal.c, src/proxy_internal.h: declare
	xenProxyListDomains non static
	* src/xend_internal.c, src/xend_internal.h: declare
	xenDaemonListDomains non static
	* src/xen_unified.c: prefer xenStoreListDomains over
	xenHypervisorListDomains for xenUnifiedListDomains

2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745
Fri Nov 28 11:58:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Allow generic remote://hostname/ URI for automatic probe
	of hypervisor driver.
	* docs/uri.html, docs/uri.html.in: Document remote://hostname/ style
	URI syntax
	* src/driver.h: Remove version field
	* src/libvirt.c: Directly impl virGetVersion() instead of calling out
	to individual drivers
	* src/lxc_driver.c, src/openvz_driver.c, src/qemu_driver.c,
	src/remote_internal.h, src/test.c, src/uml_driver.c,
	src/xen_unified.c, src/xen_unified.h: Remove version from
	driver tables.
	* src/remote_internal.c: Allow 'remote' as a URI scheme for
	automatically probing on remote server

2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756
Fri Nov 28 11:21:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Fix XM driver disk parsing with no source CDROMs
	* src/domain_conf.c: Translate "" into NULL for disk source
	path to deal with broken apps
	* src/xm_internal.c: Fix disk source parsing to work with
	no-source disk definitions (eg CDROM without media)
	* tests/xmconfigdata/test-no-source-cdrom.cfg,
	tests/xmconfigdata/test-no-source-cdrom.xml,
	tests/xmconfigtest.c: Add test case for no-src CDROM

2757 2758 2759 2760 2761 2762 2763 2764
Fri Nov 28 11:17:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Add missing numa-ctl BuildRequires
	* qemud/Makefile.am: Fix libvirtd_DEPENDANCIES to include all libs
	* src/qemu_conf.c, src/qemu_driver.c, src/uml_conf.c,
	src/uml_driver.c: Define NUMA_VERSION1_COMPATIBILITY and
	fix size of array used to get node mapping

2765 2766 2767 2768
Fri Nov 28 08:40:00 CET 2008 Chris Lalancette <clalance@redhat.com>
	* src/storage_backend.c: Wait up to 5 seconds for
	/dev/disk/by-{id,path} to exist in virStorageBackendStablePath

2769 2770 2771 2772 2773
Thu Nov 27 17:15:10 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/xen_unified.c: use preferably xend method to update
	  the maximum memory of a xen guest (Jim Fehlig)

2774 2775 2776 2777
Wed Nov 26 15:46:07 CET 2008 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: cleanups and missing dep for hal

D
Daniel Veillard 已提交
2778 2779 2780 2781 2782 2783 2784
Tue Nov 25 16:29:09 CET 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in docs/* NEWS: release of 0.5.0
	* po/*: updated from the translators and merged
	* docs/apibuild.py src/libvirt.c: avoid some warnings at doc
	  generation time

2785 2786 2787 2788
Tue Nov 25 16:34:10 +0100 2008 Jim Meyering <meyering@redhat.com>

	* configure.in: avoid the following diagnostic when running ../configure
	cp: cannot stat `COPYING.LIB': No such file or directory
J
Jim Meyering 已提交
2789 2790 2791 2792 2793

	don't silently skip a test
	* tests/Makefile.am (EXTRA_DIST): Distribute domainschemadata/.
	* tests/domainschematest: Fail the test if find invocation fails.

2794 2795 2796 2797
Tue Nov 25 11:27:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* mingw32-libvirt.spec.in: Disable UML driver for mingw build

D
Daniel P. Berrange 已提交
2798 2799 2800 2801
Tue Nov 25 11:17:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c: Add missing _(...) calls to diagnostics

2802 2803 2804 2805 2806 2807 2808 2809 2810
Tue Nov 25 10:49:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/Makefile.am: Remove unneccessary $(builddir) usage which
	breaks on older automake. Remove duplicate CFLAGS from merge
	error
	* src/xen_unified.c: Wire up XM driver for autostart
	* src/xm_internal.h, src/xm_internal.c: Implement domain
	autostart functions for /etc/xen/auto

2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831
Tue Nov 25 10:43:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	Xen domain lifecycle events (Ben Guthro & Daniel Berrange)
	* configure.in: Probe for inotify availability
	* examples/domain-events/events-c/event-test.c: Default to NULL
	connection URI to allow probing
	* include/libvirt/virterror.h, src/virterror.c: Add error code
	for xen inotify driver
	* po/POTFILES.in: Add xen_inotify.c
	* python/libvir.c: Add bogus const cast for python2.4 brokeness
	* src/Makefile.am: Add xen_inotify.c
	* src/util.c: Fix file descriptor leak in virRun
	* src/xen_inotify.c, src/xen_inotify.h: Monitor /etc/xen and
	/var/lib/xen/domains for new/old configs
	* src/xen_unified.c, src/xen_unified.h: Wire in inotify driver
	for events
	* src/xm_internal.c, src/xm_internal.h: Refactor to allow inotify
	monitoring of config files
	* src/xs_internal.c, src/xs_internal.h: Use xenstore watch to
	check for domain start/destroy events

2832 2833 2834 2835 2836 2837 2838
Tue Nov 25 10:36:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/node_device_conf.c, src/node_device_conf.h,
	src/node_device_devkit.c, src/node_device_hal.c: Change
	'interface' to 'ifname' in struct to avoid clash with
	symbols in MinGW/Win32 headers

2839 2840 2841
Tue Nov 25 11:29:19 +0100 2008 Jim Meyering <meyering@redhat.com>

	* src/virterror.c (virReportErrorHelper): Sync doc to code.
2842 2843 2844 2845 2846

	libvirt.c: document the virState* functions
	* src/libvirt.c (virStateActive, virStateCleanup, virStateReload):
	(virStateActive): Add per-function comments.

2847
Mon Nov 24 19:32:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
2848 2849 2850 2851 2852

	* src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c:
	Default vCPUs to equal host pCPU count if not set in config
	(patch from Evgeniy Sokolov)

2853
Mon Nov 24 19:27:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
2854 2855 2856 2857 2858 2859

	* examples/domain-events/events-python/event-test.py,
	python/libvir.c, python/libvir.py, python/libvirt_wrap.h,
	python/types.c, python/virConnect.py: Fixes to python
	bindings for changes in public event API (David Lively)

2860
Mon Nov 24 19:22:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
2861 2862 2863 2864 2865 2866 2867 2868

	* tests/Makefile.am, tests/sexpr2xmltest.c,
	tests/testutilsxen.c, tests/xencapstest.c,
	tests/xmconfigtest.c, tests/xml2sexprtest.c: Disable all
	Xen tests when Xen driver build is disabled. Remove unneccessary
	WITH_XEN conditionals from source, since the entire build
	is disabled in Makefile.am

2869
Mon Nov 24 16:49:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
2870 2871 2872

	* autobuild.sh: Disable UML driver on mingw32 biuld

2873 2874 2875 2876
Mon Nov 24 16:01:40 CET 2008 Guido Günther <agx@sigxcpu.org>

	* src/Makefile.am: look for libvirt_sym.version in builddir

2877 2878
Mon Nov 24 08:10:49 +0100 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
2879 2880 2881 2882 2883
	tests: new test: virsh-synopsis
	* tests/virsh-synopsis: new file
	* tests/Makefile.am (test_scripts): Add virsh-synopsis.
	* src/virsh.c: Correct help SYNOPSIS for each of seven commands.

J
Jim Meyering 已提交
2884 2885 2886 2887
	tests: virsh-all: new script
	* tests/virsh-all: New script.
	* tests/Makefile.am (test_scripts): Add virsh-all.

2888 2889 2890 2891 2892 2893 2894 2895 2896 2897
	Move the expected output data from virshdata/*.txt into virshtest.c.
	* tests/virshtest.c: Embed literal, expected output here, rather than
	using virshdata/*.txt file names.
	Factor out some common constructs.
	(testCompareOutputLit): New function.
	(testCompareOutput): #ifdef-out, not that it's unused.
	* tests/Makefile.am (SUBDIRS): Remove virshdata/ and all files in it.
	* docs/testnode.xml: Fix typo in a comment.
	* configure.in (AC_OUTPUT): Remove tests/virshdata/Makefile.

2898 2899 2900 2901 2902 2903
Fri Nov 21 23:51:19 +0100 2008 Jim Meyering <meyering@redhat.com>

	* gnulib/tests/test-EOVERFLOW: Remove.
	* gnulib/tests/.cvsignore: Add test-EOVERFLOW, then...
	Run "make sync-vcs-ignore-files" to Update .gitignore files.

D
Daniel P. Berrange 已提交
2904 2905 2906 2907 2908
Fri Nov 21 12:54:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/*.html: Re-generate website docs for sitemap change
	with UML driver. Fix syntax error in HTML for news.html.in

D
Daniel P. Berrange 已提交
2909 2910 2911 2912 2913
Fri Nov 21 12:51:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* libvirt-api.xml, libvirt-refs.xml, html/libvirt-libvirt.html,
	html/libvirt-virterror.html: Regenerate for new APIs

2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924
Fri Nov 21 12:46:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Misc tweaks to node device impl
	* src/libvirt.c: Log registration of new node device driver impls
	* src/node_device_conf.h, src/node_device.c: Merge block capability
	into storage. Print vendor/product IDs in hex
	* src/node_device_devkit.c: Change block to storage
	* src/node_device_hal.c: Merge block cap into storage. Skip
	devices without any capabilities listed
	* src/virsh.c: Sort device list alphabetically

2925 2926 2927 2928 2929 2930
Fri Nov 21 12:40:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Python binding for node device APIs (David Lively)
	* python/generator.py, python/libvir.c, python/libvirt-python-api.xml,
	python/libvirt_wrap.h, python/types.c: Bindings for node device APis

2931 2932 2933 2934 2935
Fri Nov 21 12:38:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Node device support in virsh (David Lively)
	* src/virsh.c: Add nodedev-list and nodedev-dumpxml commands

2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946
Fri Nov 21 12:30:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Remote protocol support for node devices (David Lively)
	* src/remote_internal.c: driver impl for node device APIs
	* qemud/remote_protocol.x: Define wire protocol for node device
	APIs
	* qemud/remote_dispatch*, qemud/remote_protocol.{c,h}: Update
	for new APIs
	* qemud/remote.c: server dispatch functions for node device
	APIs

2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963
Fri Nov 21 12:23:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Primary internal driver for node devices with HAL (default)
	and DeviceKit (optional, unfinished) (David Lively)
	* configure.in: Probe for HAL & DeviceKit libraries
	* po/POTFILES.in: Add new source files
	* qemud/Makefile.am: Link to node device driver
	* qemud/qemud.c: Load node device driver implementation
	* src/Makefile.am: Buid node device drivers
	* src/libvirt_sym.version.in: Export internal symbols needed
	by node device driver
	* src/node_device.c, src/node_device.h: Common driver
	routines
	* src/node_device_hal.c: HAL specific device routines
	* src/node_device_devkit.c: DeviceKit specific routines
	* src/node_device_conf.h: Add dbusWatch handle field

2964 2965 2966 2967 2968 2969
Fri Nov 21 12:20:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/Makefile.am, src/node_device_conf.c, src/node_device_conf.h:
	Internal APIs for handling node device XML configuration
	(David Lively)

2970 2971
Fri Nov 21 12:19:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

2972
	Public API for node device enumeration (David Lively)
2973 2974 2975 2976 2977 2978 2979 2980 2981
	* include/libvirt/libvirt.h.in, include/libvirt/virterror.h:
	New public APIs for node device enumeration
	* src/datatypes.c, src/datatypes.h: Internal impl of public
	data types for node devices
	* src/driver.h, src/libvirt.c: Stubs for node device APIs
	* src/libvirt_sym.version.in: Export new node device API
	symbols
	* src/virterror.c: Error codes for node device drivers

2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003
Fri Nov 21 12:03:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Optional (disabled by default) dlopen support
	* configure.in: Probe for dlopen
	* qemud/Makefile.am: Don't link to drivers when dlopen is used
	* qemud/qemud.c: Load external driver modules at startup
	* src/Makefile.am: Don't link to drivers when dlopen is used
	* src/driver.c, src/driver.h: Add API for dlopen'ing modules
	* src/libvirt.c: Load external driver modules at startup
	* src/libvirt_sym.version.in: Export more internal symbols
	needed for external driver modules
	* src/qemud_driver.c, src/qemu_driver.h, src/xen_unified.c,
	src/xen_unified.h: Sanitize driver registration methodname
	to match module name
	* tests/Makefile.am: Set LIBVIRT_DRIVER_DIR when running
	tests with dlopen enabled. Link to driver modules in Xen
	test cases
	* tests/testutils.c: Set LIBVIRT_DRIVER_DIR when running
	external programs
	* tests/xmconfigtest.c: Don't open test driver during xen
	tests.

3004 3005 3006 3007 3008 3009
Fri Nov 21 11:43:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt_sym.version.in: Add export of domain event
	API virDomainEventCallbackListRemoveConn missed from earlier
	commit

3010 3011 3012 3013 3014 3015
Fri Nov 21 11:37:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: Fix two memory leaks in virDomainLoadConfig
	* src/lxc_driver.c: Fix leak of capabilities object in driver
	shutdown code

3016 3017 3018 3019 3020 3021 3022
Fri Nov 21 10:20:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Return VIR_NO_SUPPORT if requested
	to register event callbacks when no eventloop is present.
	Deal with failure to register handles/timers correctly.
	(David Lively)

3023 3024 3025 3026 3027 3028 3029 3030
Fri Nov 21 10:14:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Fix crash due to failure to unregister event callbacks on
	connection close (David Lively)
	* src/domain_event.c, src/domain_event.h: Helper for unregistering
	all callbacks
	* src/qemu_driver.c: Unregister all callbacks on connection close

3031 3032 3033 3034 3035
Fri Nov 21 10:10:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/Makefile.am: Include Xen compile flags for libvirt_driver.la
	build for stats_linux.c code.

3036 3037 3038
Fri Nov 21 10:07:14 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Add conditional to allow UML driver to be
3039
	disabled (Ben Guthro)
3040

3041 3042 3043 3044 3045
Fri Nov 21 11:05:14 CET 2008 Daniel Veillard <veillard@redhat.com>

	* po/POTFILES.in src/uml_conf.h src/uml_driver.c: fixes syntax
	  check errors, reported by Ben Guthro

D
Daniel P. Berrange 已提交
3046 3047 3048 3049
Thu Nov 20 14:31:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	* src/remote_internal.c: Avoid crash on NULL URI scheme

3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066
Wed Nov 19 16:51:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Add User Mode Linux driver
	* src/uml_driver.c, src/uml_driver.h, src/uml_conf.c,
	src/uml_conf.h: Core UML driver code
	* src/domain_conf.c, src/domain_conf.h: Add UML disk
	bus type. Fix paravirt console handling for non-HVM domains
	* src/driver.h: Add UML driver number
	* src/virterror.h: Add error code for UML driver
	* src/qemu_conf.c: Add disk bus enum entry for UML
	* src/Makefile.am: Build UML driver
	* qemud/qemud.c: Initialize UML driver
	* qemud/Makefile.am: Link to UML driver library
	* docs/drvuml.html.in: Basic docs for the UML driver
	* configure.in: Flag for enabling UML driver
	* include/libvirt/virterror.h: Add constant for UML driver

3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078
Wed Nov 19 16:22:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Add virFreeCallback to event loop APIs.
	* include/libvirt/libvirt.h.in: Add a virFreeCallback arg
	to the virEventAddHandle and virEventAddTimeout methods.
	* qemud/event.c: Invoke the virFreeCallback when releasing
	a handle/timer event
	* qemud/event.h, qemud/qemud.c, qemud/mdns.c,
	src/event.h, src/event.c, src/lxc_driver.c,
	src/qemu_driver.c, src/remote_internal.c: Update to pass
	around the virFreeCallback where needed

3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089
Wed Nov 19 16:15:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	* include/libvirt/libvirt.h.in: Change semantics of AddHandle
	to allow for same FD to be registered more than once with
	varying flags.
	* qemud/event.c, qemud/event.h, qemud/mdns.c, qemud/qemud.c,
	qemud/qemud.h, src/domain_conf.h, src/event.c, src/event.h,
	src/lxc_driver.c, src/qemu_driver.c, src/remote_internal.c:
	Update to track file handle events via the watch number
	as per new public API contract

3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102
Wed Nov 19 15:25:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Add a callback for freeing the user data for callbacks
	(patch from David Lively)
	* include/libvirt/libvirt.h.in: Add a virFreeCallback type
	and add it to virDomainEventRegister
	* qemud/remote.c, src/domain_event.h, src/domain_event.c,
	src/driver.h, src/qemu_driver.c, src/remote_internal.c,
	python/libvirt.c: Update to call the virFreeCallback where
	needed
	* examples/domain-events/events-c/event-test.c: use the
	virFreeCallback for releasing data

3103 3104 3105 3106 3107 3108 3109
Mon Nov 18 12:24:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	* src/Makefile.am: Fix build on MinGW where linker flags
	must be listed in LDFLAGS variable
	* tests/Makefile.am: Fix build when QEMU is disabled, by
	skipping QEMU tests

3110 3111 3112 3113 3114 3115 3116 3117 3118 3119
Mon Nov 17 16:45:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Generate domain events for QEMU driver config files
	* src/qemu_driver.c: Generate events when config is defined
	and undefined
	* src/domain_conf.c, src/domain_conf.h: Add a callback for
	notifications of each loaded config file
	* src/lxc_driver.c: Pass NULL for config file notification
	callback parameter

3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142
Mon Nov 17 16:42:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Include an event 'detail' field providing the cause of
	each emitted domain event.
	* docs/ Re-generate API refernece
	* examples/domain-events/events-c/event-test.c: Print out
	event detail info
	* include/libvirt/libvirt.h.in: Rename ADDED/REMOVED events
	to DEFINED/UNDEFINED. Remove SAVED/RESTORED events replaced
	by event detail info. Add enums providing details for each
	domain event type.
	* python/libvir.c: Pass through event detail to python layer
	* qemud/remote_protocol.x: Add event detail field for domain
	events.
	* qemud/remote_protocol.c, qemud/remote_protocol.h: Regenerate
	* qemud/remote.c: Pass event detail value onto the wire
	* src/domain_event.h, src/domain_event.c: Store event detail
	* src/remote_internal.c: De-serialize event detail off the
	wire
	* src/qemu_driver.c: Generate event detail information, and
	fix migration API to honour VIR_MIGRATE_LIVE flag, pausing
	the VM if it isn't set

3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158
Mon Nov 17 11:57:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Push stateful driver code into daemon binary
	* src/Makefile.am: Don't build QEMU, LXC, Network & Storage
	drivers into libvirt.so
	* src/libvirt.c: Don't call into QEMU, LXC, network & storage
	driver register methods
	* src/libvirt_sym.version.in: Export a bunch of internal
	symbols to libvirtd for use by drivers
	* tests/Makefile.am: Link to driver modules which are not
	in libvirt.so
	* qemud/Makefile.am: Directly link to QEMU, LXC, network
	and storage drivers
	* qemud/qemud.c: Initialize QEMU, LXC, network & storage
	drivers at startup

3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180
Mon Nov 17 11:40:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Push URI probing down into individual drivers' open methods
	* qemud/remote.c: Implement virConnectGetURI dispatcher
	* qemud/remote_protocol.x: Add API definition for virConnectGetURI
	* qemud/remote_dispatch_localvars.h, qemud/remote_dispatch_proc_switch.h,
	qemud/remote_dispatch_prototypes.h, qemud/remote_protocol.c,
	qemud/remote_protocol.h: Re-generate from protocol definition
	* src/datatypes.c, src/datatypes.h: Store connection name as a
	xmlURIPtr object instead of char *
	* src/driver.h: Remove explicit URI parameter to open function
	* src/libvirt.c: Delegrate URI probing into drivers
	* src/lxc_driver.c, src/network_driver.c, src/openvz_driver.c,
	src/proxy_internal.c, src/qemu_driver.c, src/remote_internal.c,
	src/storage_driver.c, src/test.c, src/xen_internal.c,
	src/xen_internal.h, src/xen_unified.c, src/xend_internal.c,
	src/xend_internal.h, src/xm_internal.c, src/xm_internal.h,
	src/xs_internal.c, src/xs_internal.h: Refactor open driver
	methods to deal with automatic URI probing as required
	* proxy/libvirt_proxy.c: Remove extra args to xs/xen driver
	open calls

3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194
Mon Nov 17 11:19:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Refactor storage backend to remove dependancy from
	storage config parser.
	* src/Makefile.am: Build storage_backend as part of storage
	driver instead of general config
	* src/storage_backend.c, src/storage_backend.h,
	src/storage_backend_disk.c, src/storage_backend_fs.c,
	src/storage_backend_iscsi.c, src/storage_backend_logical.c,
	src/storage_conf.c, src/storage_conf.h, src/storage_driver.c:
	Move per-pool type parser options & format enums into the
	main storage_conf.c file, so parser is independant of the
	backend impl code.

D
Daniel P. Berrange 已提交
3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212
Mon Nov 17 10:50:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	Switch to fully versioned linker script for exported ABI
	* configure.in: Generate src/libvirt_sym.version
	* qemud/Makefile.am: Remove use of util-lib.c
	* qemud/remote.c: Remove underscore in migrate API calls
	* src/.cvsignore: Ignore generated libvirt_sym.version
	* src/Makefile.am: Remove util-lib.c and util-lib.h
	* src/buf.c, src/buf.h, src/conf.c, src/conf.h, src/console.c,
	src/datatypes.c, src/datatypes.h, src/driver.h, src/libvirt.c,
	src/libvirt_internal.h, src/memory.c, src/memory.h, src/virsh.c:
	Remove use of __ prefix on all exported methods
	* src/util.c, src/util.h: Re-add saferead/write APIs
	* src/util-lib.c, src/util-lib.h: Remove obsolete files
	* src/libvirt_sym.version: Remove obsolete file
	* src/libvirt_sym.version.in: Master template for symbol
	versioning data

3213 3214 3215 3216
Mon Nov 17 10:43:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	* src/Makefile.am: Build drivers as libtool convenience libs

3217 3218 3219 3220 3221 3222 3223 3224
Mon Nov 17 10:23:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	* docs/libvirt-api.xml: Re-generate
	* include/libvirt/libvirt.h.in: Set explicit values for
	domain events enums to avoid API generator bug
	* python/libvir.c: Add missing python thread safety calls
	to domain events APIs

3225 3226 3227 3228 3229
Mon Nov 17 09:55:00 GMT 2008 Daniel Berrange <berrange@redhat.com>

	* src/openvz_conf.c: Fix updating of config file params
	(Evgeniy Sokolov)

3230 3231 3232 3233 3234
Fri Nov 14 09:40:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/storage_backend_logical.c: Use different separator for lvs
	command to unbreak parsing for encrypted devices.

J
Jim Meyering 已提交
3235 3236 3237 3238 3239 3240 3241
Fri Nov 14 13:22:36 +0100 2008 Jim Meyering <meyering@redhat.com>

	avoid format string warnings
	* src/openvz_driver.c (ADD_ARG_LIT): Add "%s" arg before _(...).
	* src/qemu_driver.c (PCI_ATTACH_OK_MSG): Likewise.
	* src/util.c (virExec, virRun): Likewise.

D
Daniel Veillard 已提交
3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255
Fri Nov 14 09:38:22 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/remote.c qemud/remote_dispatch_localvars.h
	  qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
	  qemud/remote_protocol.c qemud/remote_protocol.h
	  qemud/remote_protocol.x src/driver.h src/libvirt.c
	  src/libvirt_internal.h src/libvirt_sym.version src/lxc_driver.c
	  src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
	  src/remote_internal.c src/test.c src/virsh.c: large patch to
	  add migration support for KVM/QEmu, based on the work of Rich Jones
	  and Chris Lalancette. This introduce a new version of the prepare
	  and finish steps of the migration, so changes the driver API and
	  a lot of code.

3256 3257 3258 3259 3260 3261 3262
Wed Nov 12 16:33:42 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/drvopenvz.html, docs/drvopenvz.html.in: Introductory
	docs for openvz driver
	* src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c:
	Support bridged network configuration for containers

3263 3264 3265 3266 3267
Wed Nov 12 16:13:42 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_backend.c, src/storage_backend.h, src/storage_driver.c:
	Revert previous patch which breaks "test" driver's storage APIs.

3268 3269 3270 3271 3272 3273
Tue Nov 11 15:51:42 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_backend.c, src/storage_backend.h, src/storage_driver.c:
	Decouple backend impls from generic backend code, by making driver
	register backends at startup

3274 3275 3276 3277 3278
Mon Nov 10 12:05:42 GMT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_conf.c: Read filesytem template name from config
	files. Increase buffer size when parsing vzctl version number

J
Jim Meyering 已提交
3279 3280
Thu Nov  6 20:45:42 CET 2008 Jim Meyering <meyering@redhat.com>

3281 3282 3283 3284 3285 3286
	tweak lstat.c to avoid mingw link failure
	* gnulib/lib/lstat.c: Include <sys/stat.h> *before* the use of stat in
	orig_stat.  Otherwise, on mingw (which lacks lstat), any program using
	the lstat module would not get the redefinition-to-stat provided by
	gnulib's sys/stat.h.  Reported by Daniel P. Berrange.

3287 3288 3289 3290 3291 3292 3293
	mark a few diagnostics for translation
	* src/lxc_conf.c (lxcLoadDriverConfig): Mark a diagnostic.
	* src/lxc_driver.c (lxcDomainStart): Likewise.
	* po/POTFILES.in: Add src/lxc_conf.c.
	* Makefile.maint (msg_gen_function): Add virReportErrorHelper
	and lxcError.

J
Jim Meyering 已提交
3294 3295 3296 3297 3298 3299
	always compile iptables.c
	Avoid a build error when configuring --without-xen --without-qemu.
	* src/iptables.c [WITH_QEMU]: Don't #ifdef-out.
	* src/iptables.h [WITH_QEMU]: Don't #ifdef-out.
	* src/util.c (virRun) [__MINGW32__]: Define a stub that always fails.

3300 3301 3302 3303 3304 3305 3306 3307 3308 3309
Thu Nov  6 17:33:34 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/logging.c src/logging.h proxy/Makefile.am proxy/libvirt_proxy.c
	  src/Makefile.am src/cgroup.c src/datatypes.c src/domain_event.c
	  src/internal.h src/libvirt.c src/lxc_container.c src/lxc_controller.c
	  src/lxc_driver.c src/proxy_internal.c src/qemu_driver.c
	  src/remote_internal.c src/storage_backend_disk.c src/util.c
	  src/veth.c src/xen_internal.c src/xen_unified.c src/xend_internal.c:
	  add new logging module, and move existing definitions there

C
Cole Robinson 已提交
3310 3311 3312 3313
Wed Nov  5 13:56:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/util.c: Log stdout and stderr in virRun

3314 3315 3316 3317
Wed Nov  5 13:39:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/util.c: Log the argv passed to virExec and virRun

3318 3319 3320 3321 3322
Wed Nov  5 13:19:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/iptables.c, src/util.c, src/util.h: Move local argvToString to
	virArgvToString.

J
Jim Meyering 已提交
3323 3324 3325 3326 3327 3328 3329
Wed Nov  5 15:22:12 CET 2008 Jim Meyering <meyering@redhat.com>

	plug two leaks and fix a diagnostic
	* src/qemu_conf.c (qemudLoadDriverConfig): Don't leak ->vncListen.
	Fix an erroneous copy-and-pasted diagnostic.
	* src/qemu_driver.c (qemudShutdown): Don't leak another ->vncListen.

3330
Wed Nov  5 12:41:00 CET 2008 Chris Lalancette <clalance@redhat.com>
J
Jim Meyering 已提交
3331

3332 3333 3334 3335
	* configure.in, src/storage_backend_logical.c: Call vgscan before
	attempting to scan logical volumes.  This makes sure we've "touched"
	any logical volumes, so they appear in the subsequent "pvs" call.

3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346
Tue Nov  4 23:33:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Set WITH_XXXX conditionals for drivers in
	config.h instead of compiler args, and auto-disable stateful
	drivers if daemon is disabled
	* src/libvirt.c: Remove now redundant WITH_LIBVIRTD condition
	* tests/Makefile.am, src/Makefile.am, qemud/Makefile.am: Remove
	LIBVIRT_FEATURES args, now set via config.h instead. Add
	explicit XEN_LIBS/CFLAGS instead of relying on setting via
	global flags.

3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360
Tue Nov  4 23:33:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>

	Move domain events helpers into domain_events.c
	* qemud/event.c: Remove __ prefix on poll event
	convertors
	* qemud/event.h: Add virEventHandleTypeToPollEvent and
	virPollEventToEventHandleType declarations
	* src/Makefile.am, src/domain_event.c, src/domain_event.h:
	Add dedicated file for internal domain events helpers
	* src/internal.h, src/libvirt.c: Remove domain events
	helpers
	* src/qemu_conf.h, src/remote_internal.c: Add includs
	of domain_event.h

3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385
Tue Nov  4 23:08:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>

	Move internal API declarations from generic internal.h file
	* src/Makefile.am, src/datatypes.c, src/datatypes.h: Add
	internal struct definitions for public objects, and helper
	methods.
	* src/hash.c: Remove helper methods for public objects
	* src/libvirt_internal.h: Add definition of semi-secret
	public APIs for migration & stateful drivers.
	* src/internal.h: Remove internal API declarations for
	migration & stateful drivers.
	* po/POTFILES.in, proxy/libvirt_proxy.c, qemud/qemud.c,
	qemud/remote.c, src/domain_conf.c, src/domain_conf.h,
	src/driver.h, src/libvirt.c, src/lxc_driver.c,
	src/network_conf.c, src/network_conf.h, src/network_driver.c,
	src/openvz_driver.c, src/proxy_internal.c,
	src/proxy_internal.h, src/qemu_driver.c, src/qparams.c,
	src/remote_internal.c, src/stats_linux.c, src/storage_conf.c,
	src/storage_conf.h, src/storage_driver.c, src/test.c,
	src/uuid.c, src/veth.c, src/virterror.c, src/xen_internal.c,
	src/xen_internal.h, src/xen_unified.c, src/xen_unified.h,
	src/xend_internal.c, src/xend_internal.h, src/xm_internal.c,
	src/xs_internal.c, tests/xmconfigtest.c: Add includes for
	libvirt_internal.h and datatypes.h where required

3386 3387 3388 3389 3390 3391
Tue Nov  4 22:52:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c, src/driver.h, src/internal.h, src/libvirt.c
	src/network_driver.c: Remove unused virStateSigDispatcher()
	internal API

3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415
Tue Nov  4 22:20:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>

	Move internal error API declarations into their own file
	* src/Makefile.am, src/virterror_internal.h: Add file for
	internal error reporting APIs.
	* src/internal.c: Remove virRaiseError/virReportError API
	declarations
	* src/conf.c, src/domain_conf.c, src/hash.c,
	src/libvirt.c, src/lxc_conf.c, src/lxc_conf.h,
	src/lxc_container.c, src/lxc_controller.c, src/lxc_driver.c,
	src/network_conf.c, src/network_driver.c, src/nodeinfo.c,
	src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c,
	src/proxy_internal.c, src/qemu_conf.c, src/qemu_conf.h,
	src/qemu_driver.c, src/qparams.c, src/remote_internal.c,
	src/sexpr.c, src/stats_linux.c, src/storage_backend.c,
	src/storage_backend_disk.c, src/storage_backend_fs.c,
	src/storage_backend_iscsi.c, src/storage_backend_logical.c,
	src/storage_conf.c, src/storage_conf.h, src/storage_driver.c,
	src/test.c, src/util.c, src/virterror.c, src/xen_internal.c,
	src/xen_unified.c, src/xend_internal.c, src/xm_internal.c,
	src/xml.c, src/xmlrpc.c, src/xs_internal.c: Add includes
	of new virterror_internal.h file where required, and remove
	leading __ from virRaiseError api calls

3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426
Tue Nov  4 22:14:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>

	Support passing UUID and ID to qemu/xenner
	* src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Detect
	availability of -uuid and -domid args in QEMU, and use them if
	available
	* tests/qemuxml2argvtest.c,
	tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.args,
	tests/qemuxml2argvdata/qemuxml2argv-misc-uuid.xml: Add test
	case for -uuid and -domid args

3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440
Tue Nov  4 21:50:31 UTC 2008 Daniel P. Berrange <berrange@redhat.com>

	Remove use of virStringList
	* src/internal.h, src/libvirt.c: Remove virStringList code
	* src/storage_backend_fs.c: Replace use of virStringList
	with virStoragePoolSourceList
	* src/storage_backend_logical.c: Set format to LVM2 and
	source type to LOGICAL
	* src/storage_conf.c: Refactor pool source XML formating
	into virStoragePoolSourceFormat and make both users call
	the common code
	* src/storage_conf.h:  Include pool source type in
	virStoragePoolSourceList struct

3441 3442 3443 3444 3445 3446 3447
Tue Nov  4 14:58:31 CET 2008 Jim Meyering <meyering@redhat.com>

	don't print an uninitialized integer in a diagnostic
	* src/virterror.c (__virErrorMsg) [VIR_ERR_XEN_CALL]:
	Use a format with only one % directive.

Tue Nov  4 14:58:30 CET 2008 Jim Meyering <meyering@redhat.com>
J
Jim Meyering 已提交
3448 3449 3450 3451 3452

	add a test for today's fix
	* tests/cpuset: New script.  Test for today's fix.
	* tests/Makefile.am (test_scripts): Add cpuset.

3453 3454 3455 3456 3457
Mon Nov  3 17:12:21 CET 2008 Daniel Veillard <veillard@redhat.com>

	* AUTHORS: added Guido Günther as new commiter, Dan Smith was missing
	  too

3458 3459 3460 3461 3462
Mon Nov  3 16:54:39 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.c: switch off cache if disk is shared and not read-only
	  patch by Charles Duffy

3463 3464 3465 3466
Mon Nov  3 16:52:12 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: oops trailing blanks

3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477
Mon Nov 03 12:37:00 CET 2008 Chris Lalancette <clalance@redhat.com>
	* src/storage_backend.c src/storage_backend.h
	src/storage_backend_disk.c src/storage_backend_iscsi.c
	src/storage_driver.c: Give iSCSI and disk storage backend drivers the
	ability to resolve any kind of volume path to the pool target volume
	path.  For instance, if the pool was defined with a
	<target><path>/dev/disk/by-id</path></target> section, and one of the
	volumes is /dev/disk/by-id/scsi-S_beaf11, then you would be able to
	call virStorageVolLookupByPath("/dev/sdc"), and get the correct volume
	back.

3478 3479 3480 3481 3482
Fri Oct 31 14:55:46 CET 2008 Daniel Veillard <veillard@redhat.com>

	* python/virConnect.py: needed for events from the python bindings
	  by Ben Guthro

3483 3484 3485 3486 3487 3488
Fri Oct 31 14:04:52 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/xm_internal.c: add minimum domain memory size check for Xen
	  patch by Shigeki Sakamoto
	* AUTHORS: add Shigeki Sakamoto

3489 3490 3491 3492 3493 3494 3495 3496 3497 3498
Fri Oct 31 11:11:30 CET 2008 Daniel Veillard <veillard@redhat.com>

	* python/Makefile.am python/generator.py python/libvir.c
	  python/libvir.py python/libvirt_wrap.h python/types.c:
	  adds support for events from the python bindings, also
	  improves the generator allowing to embbed per function
	  definition files, patch by Ben Guthro
	* examples/domain-events/events-python/event-test.py: also
	  adds a programming example

C
Cole Robinson 已提交
3499 3500 3501 3502
Thu Oct 30 13:39:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/test.c: Add a test storage driver.

3503 3504 3505 3506 3507
Wed Oct 29 16:33:16 CET 2008 Daniel Veillard <veillard@redhat.com>

	* docs/relatedlinks.html docs/relatedlinks.html.in: add link
	  for AMQP/QPid bindings

3508 3509 3510 3511 3512
Wed Oct 29 15:25:28 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.h src/qemu_driver.c: patch adding hor removal of
	  scsi/virtio disks for KVM, patch by Guido Günther

3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525
Tue Oct 28 19:17:20 +0100 2008 Jim Meyering <meyering@redhat.com>

	remove src/socketcompat.h;  no longer needed
	* src/socketcompat.h: Remove file.
	* src/remote_internal.c: Don't include socketcompat.h.
	* qemud/qemud.h: Likewise.
	* qemud/remote_protocol.x: Likewise, but do include <arpa/inet.h>
	for htonl.
	* src/remote_internal.c: Likewise, but do include <errno.h>.
	* qemud/remote_protocol.c: Regenererate.
	* qemud/remote_protocol.h: Regenererate.
	* src/Makefile.am (REMOTE_DRIVER_SOURCES): Remove socketcompat.h.

3526 3527 3528 3529 3530 3531 3532
Tue Oct 28 13:46:50 +0100 2008 Jim Meyering <meyering@redhat.com>

	make generated qemud/*.[ch] files read-only
	* qemud/Makefile.am (.x.c): Rewrite not to write directly to $@,
	and to make generated files read-only.
	(.x.h): Likewise.

3533 3534 3535 3536 3537 3538 3539
Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>

	avoid compiler warning when all storage backends are disabled
	* src/storage_backend.c (backends): Add a NULL terminator.
	(virStorageBackendForType): Use NULL terminator rather than
	warning-provoking (possibly 0) array size.

J
Jim Meyering 已提交
3540 3541 3542 3543 3544 3545 3546
Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>

	avoid many mingw-specific warnings
	* tests/virshtest.c (mymain): Use only one definition of this function.
	[WIN32]: Call exit(77) to skip the test.
	* tests/nodeinfotest.c: Likewise.

3547 3548 3549 3550
Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>

	cvsignore mingw build artifacts: *.exe

3551 3552 3553 3554
Tue Oct 28 13:29:14 +0100 2008 Jim Meyering <meyering@redhat.com>

	include netinet etc #ifndef HAVE_WINSOCK2_H

3555 3556 3557 3558
Tue Oct 28 13:29:13 +0100 2008 Jim Meyering <meyering@redhat.com>

	* src/remote_internal.c (remoteFindDaemonPath) [!WIN32]: Don't compile.

J
Jim Meyering 已提交
3559 3560 3561 3562 3563 3564
Tue Oct 28 13:29:05 +0100 2008 Jim Meyering <meyering@redhat.com>

	use errno, not socket_errno()
	* remote_internal.c: s/socket_errno()/errno/, now that gnulib's
	socket module ensures errno is useful in those cases.

3565 3566 3567 3568 3569
Tue Oct 28 12:12:41 +0100 2008 Jim Meyering <meyering@redhat.com>

	socketcompat.h: simplify, to match latest gnulib
	Now, sys/socket.h is always available, and errno works.

J
Jim Meyering 已提交
3570 3571 3572 3573
Tue Oct 28 12:07:46 +0100 2008 Jim Meyering <meyering@redhat.com>

	updates from gnulib

J
Jim Meyering 已提交
3574 3575 3576 3577 3578 3579
Tue Oct 28 10:22:45 +0100 2008 Jim Meyering <meyering@redhat.com>

	use more gnulib modules
	* bootstrap: use more gnulib modules: close, connect, perror, recv,
	send, socket setsockopt, gethostname.

J
Jim Meyering 已提交
3580 3581 3582 3583 3584 3585
Tue Oct 28 10:22:44 +0100 2008 Jim Meyering <meyering@redhat.com>

	adapt to API change in gnulib
	* qemud/qemud.c: Include <netdb.h>, not "getaddrinfo.h"
	* src/remote_internal.c: Likewise.

3586 3587 3588 3589
Tue Oct 28 10:22:22 +0100 2008 Jim Meyering <meyering@redhat.com>

	* src/network_conf.c: Include <string.h> for declaration of memcmp.

J
Jim Meyering 已提交
3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602
Mon Oct 27 17:14:56 +0100 2008 Jim Meyering <meyering@redhat.com>

	use ARRAY_CARDINALITY more
	* tests/nodeinfotest.c: Include "util.h".
	* src/xen_internal.c: Likewise.
	* src/qemu_conf.c (qemudCapsInit): Use ARRAY_CARDINALITY.
	* src/storage_backend.c (virStorageBackendForType): Likewise.
	* src/storage_backend_fs.c (virStorageBackendProbeFile): Likewise.
	* src/xen_internal.c (xenHypervisorMakeCapabilitiesInternal): Likewise.
	* src/xend_internal.c (xenDaemonParseSxpr): Likewise.
	* tests/nodeinfotest.c (mymain): Likewise.
	* tests/qparamtest.c (DO_TEST): Likewise.

3603 3604 3605 3606
Mon Oct 27 17:14:56 +0100 2008 Jim Meyering <meyering@redhat.com>

	exempt gnulib from write-avoidance syntax check

3607 3608 3609 3610
Mon Oct 27 11:17:32 +0100 2008 Jim Meyering <meyering@redhat.com>

	exempt gnulib from ctype-macros prohibition

3611 3612 3613 3614 3615 3616 3617 3618
Fri Oct 24 14:09:23 BST Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Add check for sys/poll.h
	* examples/domain-events/events-c/event-test.c: Stub out
	no-op main() on platforms without sys/poll.h
	* src/libvirt.c, src/remote_internal.c: Remove redundant
	include of sys/poll.h breaking mingw

D
Daniel P. Berrange 已提交
3619 3620 3621 3622 3623
Fri Oct 24 13:04:23 BST Daniel P. Berrange <berrange@redhat.com>

	* src/storage_conf.c: Remove <tab> character
	* include/libvirt/libvirt.h.in: Remove trailing whitespace

3624 3625 3626 3627 3628 3629
Fri Oct 24 12:32:23 BST Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_conf.c, src/openvz_conf.h: Extract version
	info from vzctl tool
	* src/openvz_driver.c: Implement the getVersion API call.

3630 3631 3632 3633 3634
Fri Oct 24 12:30:23 BST Daniel P. Berrange <berrange@redhat.com>

	Fix mingw build
	* src/Makefile.am: Add windows icon files to EXTRA_DIST

3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647
Fri Oct 24 12:17:23 BST Daniel P. Berrange <berrange@redhat.com>

	* src/capabilities.c, src/capabilities.h: Record MAC address
	prefix info for hypervisor
	* src/domain_conf.c, src/domain_conf.h: Use capabilities to
	find MAC address prefix when generating MAC addrs
	* src/lxc_conf.c, src/lxc_driver.c, src/openvz_conf.c,
	src/qemu_conf.c, src/qemu_driver.c, src/xen_internal.c,
	src/xend_internal.c, src/xm_internal.c: Provide vendor
	MAC address prefix to capabilities
	* src/util.c, src/util.h: Generic method for generating
	mac addresses.

J
Jim Meyering 已提交
3648 3649 3650 3651 3652
Fri Oct 24 10:54:23 CEST Jim Meyering <meyering@redhat.com>

	fix mingw compilation warning
	* src/libvirt.c (winsock_init) [HAVE_WINSOCK2_H]: Always return a value.

3653 3654 3655 3656 3657 3658
Thu Oct 23 15:20:00 CEST 2008 Chris Lalancete <clalance@redhat.com>
	* src/storage_conf.c: brown paper bag bug.  I didn't preserve the
	<sources> tags properly, and I didn't put the <source> tag into the
	proper place, so I totally changed the output of the discovery XML.
	Fix this up to do the right thing.

3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679
Thu Oct 23 15:11:03 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
	  src/libvirt.c src/libvirt_sym.version: new libvirt event entry
	  points, big patch provided by Ben Guthro
	* Makefile.am configure.in src/driver.h src/event.c src/event.h
	  src/internal.h src/libvirt.c src/libvirt_sym.version src/lxc_driver.c
	  src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
	  src/remote_internal.c src/storage_backend_fs.c src/test.c
	  qemud/event.c qemud/event.h qemud/mdns.c qemud/qemud.c
	  qemud/qemud.h qemud/remote.c qemud/remote_dispatch_localvars.h
	  qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
	  qemud/remote_protocol.c qemud/remote_protocol.h
	  qemud/remote_protocol.x proxy/Makefile.am python/generator.py:
	  Not much is left untouched by the patch adding the events support
	* docs/libvirt-api.xml docs/libvirt-refs.xml
	  docs/html/libvirt-libvirt.html: regenerated the docs
	* examples/domain-events/events-c/Makefile.am
	  examples/domain-events/events-c/event-test.c: a test example
	* AUTHORS: added Ben Guthro

3680 3681 3682 3683
Thu Oct 23 13:41:49 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/apps.html docs/apps.html.in: update monitoring apps section

3684 3685 3686 3687 3688
Thu Oct 23 13:38:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* src/storage_backend_logical.c src/storage_conf.c
	src/storage_conf.h: Add <device> tags to the XML returned by
	virConnectFindPoolSources for storage_backend_logical.

3689 3690 3691 3692 3693 3694 3695 3696 3697 3698
Thu Oct 23 13:31:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* src/storage_backend.h src/storage_backend_disk.c
	src/storage_backend_fs.c src/storage_backend_logical.c
	src/storage_conf.c: Fix up a regression caused by the transition of
	the storage backends to VIR_ENUM_IMPL.  Before, we would accept
	no format type, which would then use whatever the default for the pool
	was.  But the conversion caused this to instead cause a SEGFAULT,
	which isn't good.  Introduce a .defaultFormat parameter so that we
	restore the previous behavior, although in a more generic format.

3699 3700 3701 3702
Wed Oct 22 09:53:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* configure.in: Fix syntax error which was breaking RPM builds.

3703 3704 3705 3706 3707 3708
Tue Oct 21 19:22:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* src/storage_conf.c: Make logical pool dumpXML more idempotent with
	  defineXML by outputting <device name='/dev/sdb' /> when we are
	  dumping XML.  We only use the longer <device
	  name='/dev/sdb'>foo</device> when a pool has .nfreeExtent defined.

3709 3710 3711 3712
Tue Oct 21 19:18:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* src/storage_conf.c: Make sure to set errors on paths where
	  ->formatToString() or ->formatFromString() fail.

3713 3714 3715 3716 3717 3718
Tue Oct 21 19:13:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* src/qemu_driver.c src/storage_conf.c src/network_driver.c
	  src/storage_driver.c: Shore up the uses of virGetLastError() so that
	  if a path forgets to set a virError, we don't crash while trying
	  to dereference the NULL pointer to print out.

3719 3720 3721 3722 3723
Tue Oct 21 09:19:24 PDT 2008 Dan Smith <danms@us.ibm.com>
	* src/cgroup.c src/cgroup.h: Add function to allow major device range
	* src/lxc_container.h src/controller.c: Fix cgroup initialization
	  order and fix /dev/pts cgroup permission

3724 3725 3726 3727 3728 3729
Tue Oct 21 16:25:22 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* HACKING: update with some rules for commiters
	* docs/apps.html docs/apps.html.in: add a section on monitoring
	  support

3730 3731 3732 3733 3734
Tue Oct 21 15:08:02 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: cleanup patch for usb masstorage hotadd
	  by Guido Günther

3735 3736 3737 3738 3739
Mon Oct 20 09:45:42 CEST Jim Meyering <meyering@redhat.com>

	ALL_LINGUAS: set unconditionally, using $srcdir/po
	* configure.in: Remove hard-coded list altogether.

3740 3741 3742 3743 3744
Sun Oct 19 11:40:49 CEST Jim Meyering <meyering@redhat.com>

	ALL_LINGUAS: remove "no", now that it's superseded by np.po
	* configure.in: Remove "no" from hard-coded list.

3745 3746 3747 3748 3749
Fri Oct 17 14:30:48 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: add scsi/virtio hotplug support for KVM
	  patch by Guido Günther

3750 3751
Fri Oct 17 11:58:31 +0200 Jim Meyering <meyering@redhat.com>

3752 3753 3754 3755
	Makefile.maint (sync-vcs-ignore-files): avoid risk of abuse
	* Makefile.maint (sync-vcs-ignore-files): Rewrite rule so that
	it won't misbehave even with maliciously-named sub-directories.

3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787
	generate .gitignore files from .cvsignore ones
	* Makefile.maint (sync-vcs-ignore-files): New target.
	Prompted by a patch from James Morris.
	http://thread.gmane.org/gmane.comp.emulators.libvirt/8619/focus=8773
	Add all (now-generated) .gitignore files.
	* .gitignore: New file.
	* build-aux/.gitignore: New file.
	* docs/.gitignore: New file.
	* docs/devhelp/.gitignore: New file.
	* docs/examples/.gitignore: New file.
	* docs/examples/python/.gitignore: New file.
	* gnulib/lib/.gitignore: New file.
	* gnulib/lib/arpa/.gitignore: New file.
	* gnulib/lib/netinet/.gitignore: New file.
	* gnulib/lib/sys/.gitignore: New file.
	* gnulib/tests/.gitignore: New file.
	* include/.gitignore: New file.
	* include/libvirt/.gitignore: New file.
	* po/.gitignore: New file.
	* proxy/.gitignore: New file.
	* python/.gitignore: New file.
	* python/tests/.gitignore: New file.
	* qemud/.gitignore: New file.
	* src/.gitignore: New file.
	* tests/.gitignore: New file.
	* tests/confdata/.gitignore: New file.
	* tests/sexpr2xmldata/.gitignore: New file.
	* tests/virshdata/.gitignore: New file.
	* tests/xencapsdata/.gitignore: New file.
	* tests/xmconfigdata/.gitignore: New file.
	* tests/xml2sexprdata/.gitignore: New file.

3788 3789 3790 3791 3792
Fri Oct 17 11:25:43 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: use qemudDiskDeviceName to determine the block
	  device name in qemudDomainBlockStats(), patch by Guido Günther

3793 3794 3795 3796 3797
Fri Oct 17 11:20:48 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: fix qemudDiskDeviceName to handle disk devices
	  too, patch by Guido Günther

3798 3799 3800 3801 3802
Fri Oct 17 11:16:30 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.c: fix virDiskNameToBusDeviceIndex() to allow 0
	  patch by Guido Günther

3803 3804 3805 3806 3807 3808 3809 3810
Thu Oct 16 19:17:25 +0200 Jim Meyering <meyering@redhat.com>

	build: when po-check fails, say why and suggest a fix
	* Makefile.maint (po-check): Before, when this check failed, it just
	spat out a diff mentioning two temporary files.  Now, it tells you
	what's wrong and suggests a fix with a patch using the name of the
	affected file (rather than temporary file names) in the diff output.

3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821
Thu Oct 16 17:02:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* Add support for detecting the partition table type when scanning
	iSCSI volumes.  This is implemented in the
	virStorageBackendUpdateVolInfoFD function, so all future callers will
	automatically benefit.  This is a somewhat large patch because the
	conversion of the virStorageBackendPartTableTypeToString necessitated
	a change to the formatToString and formatFromString function pointers,
	which caused fallout in other places in the storage stuff.  The good
	news is that most of these callers are now converted over to the
	VIR_ENUM_IMPL, which means a lot of redundant code is now gone.

3822 3823 3824 3825 3826
Thu Oct 16 15:41:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* Compiling with -Werror showed a possible use before initialization
	in src/qemu_driver.c.  Make sure to initialize the origdisk ptr to
	NULL.

3827 3828 3829 3830 3831
Thu Oct 16 15:04:36 +0200 Jim Meyering <meyering@redhat.com>

	build: exempt *.ico files from the trailing blank check
	* .x-sc_trailing_blank: Add \.ico$ to the list.

3832 3833 3834 3835 3836 3837
Wed Oct 16 14:03:00 CEST 2008 Chris Lalancette <clalance@redhat.com>

	* "make syntax-check" was complaining that network_driver.c was
	missing from POTFILES.in.  Add it, and then fix up one warning about
	included c-ctypes.h that wasn't being used.

3838 3839 3840 3841 3842
Wed Oct 15 19:38:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, src/Makefile.am, src/virsh_win_icon.rc:
	Add a Windows icon resource.

3843 3844 3845 3846 3847 3848
Wed Oct 15 11:28:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c: Register the remote driver even when we are
	configured --without-libvirtd.  Also adds debugging of
	registration events.

J
Jim Meyering 已提交
3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918
Mon Oct 13 18:45:43 CEST 2008 Jim Meyering <meyering@redhat.com>

	avoid many format string warnings

	Building with --disable-nls exposed many new warnings like these:
	virsh.c:4952: warning: format not a string literal and no format ...
	util.c:163: warning: format not a string literal and no format arguments
	All but one of the following changes add a "%s" argument before
	the offending _(...) argument.

	This was the only manual change:
	* src/lxc_driver.c (lxcVersion): Use %s and strerror(errno)
	rather than %m, to avoid a warning from gcc -Wformat-security.

	Add "%s" before each warned about format-string-with-no-%-directive:
	* src/domain_conf.c (virDomainHostdevSubsysUsbDefParseXML)
	(virDomainDefParseString, virDomainDefParseFile):
	* src/hash.c (virGetConnect, __virGetDomain, virReleaseDomain)
	(__virGetNetwork, virReleaseNetwork, __virGetStoragePool)
	(virReleaseStoragePool, __virGetStorageVol, virReleaseStorageVol):
	* src/lxc_container.c (lxcContainerChild):
	* src/lxc_driver.c (lxcDomainDefine, lxcDomainUndefine)
	(lxcDomainGetInfo, lxcGetOSType, lxcDomainDumpXML)
	(lxcSetupInterfaces, lxcDomainStart, lxcDomainCreateAndStart)
	(lxcVersion, lxcGetSchedulerParameters):
	* src/network_conf.c (virNetworkDefParseString)
	(virNetworkDefParseFile):
	* src/openvz_conf.c (openvzReadNetworkConf, openvzLoadDomains):
	* src/openvz_driver.c (openvzDomainDefineCmd)
	(openvzDomainGetInfo, openvzDomainDumpXML, openvzDomainShutdown)
	(openvzDomainReboot, ADD_ARG_LIT, openvzDomainDefineXML)
	(openvzDomainCreateXML, openvzDomainCreate, openvzDomainUndefine)
	(openvzDomainSetAutostart, openvzDomainGetAutostart)
	(openvzDomainSetVcpus):
	* src/qemu_driver.c (qemudDomainBlockPeek, qemudDomainMemoryPeek):
	* src/remote_internal.c (remoteDomainBlockPeek)
	(remoteDomainMemoryPeek, remoteAuthPolkit):
	* src/sexpr.c (sexpr_new, _string2sexpr):
	* src/storage_backend_disk.c (virStorageBackendDiskMakeDataVol)
	(virStorageBackendDiskCreateVol):
	* src/storage_backend_fs.c
	(virStorageBackendFileSystemNetFindPoolSources):
	* src/storage_backend_logical.c (virStorageBackendLogicalFindLVs)
	(virStorageBackendLogicalFindPoolSources):
	* src/test.c (testOpenDefault, testOpenFromFile, testOpen)
	(testGetDomainInfo, testDomainRestore)
	(testNodeGetCellsFreeMemory):
	* src/util.c (virExec):
	* src/virsh.c (cmdAttachDevice, cmdDetachDevice)
	(cmdAttachInterface, cmdDetachInterface, cmdAttachDisk)
	(cmdDetachDisk, cmdEdit):
	* src/xend_internal.c (do_connect, wr_sync, xend_op_ext)
	(urlencode, xenDaemonDomainCreateXML)
	(xenDaemonDomainLookupByName_ids, xenDaemonDomainLookupByID)
	(xenDaemonParseSxprOS, xend_parse_sexp_desc_char)
	(xenDaemonParseSxprChar, xenDaemonParseSxprDisks)
	(xenDaemonParseSxpr, sexpr_to_xend_topology, sexpr_to_domain)
	(xenDaemonDomainFetch, xenDaemonDomainGetAutostart)
	(xenDaemonDomainSetAutostart, xenDaemonDomainMigratePerform)
	(xenDaemonDomainDefineXML, xenDaemonGetSchedulerType)
	(xenDaemonGetSchedulerParameters)
	(xenDaemonSetSchedulerParameters, xenDaemonDomainBlockPeek)
	(xenDaemonFormatSxprChr, virDomainXMLDevID):
	* src/xm_internal.c (xenXMConfigCacheRefresh, xenXMDomainPinVcpu)
	(xenXMDomainCreate, xenXMDomainDefineXML)
	(xenXMDomainAttachDevice, xenXMDomainDetachDevice):
	* src/xml.c (virXPathString, virXPathNumber, virXPathLong)
	(virXPathULong, virXPathBoolean, virXPathNode, virXPathNodeSet):
	* src/xs_internal.c (xenStoreOpen):

3919 3920 3921 3922 3923 3924
Mon Oct 13 16:24:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Documentation for NIC model selection.
	* docs/formatdomain.html.in, docs/formatdomain.html: Add the
	documentation for NIC model selection.

R
Richard W.M. Jones 已提交
3925 3926 3927 3928 3929
Mon Oct 13 16:22:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Build failure fixed.
	* src/domain_conf.c: Fix build failure of the Xen proxy.

3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962
Sat Oct 11 09:23:18 CEST 2008 Jim Meyering <meyering@redhat.com>

	testError format strings: explicitly include domain and network names
	This repairs the "make check" failure of tests/undefine.
	* src/test.c (testResumeDomain, testPauseDomain): Likewise.
	(testShutdownDomain, testGetDomainInfo, ): Likewise.
	(testSetMemory, testSetVcpus, testDomainCreate, testDomainUndefine)
	(testDomainGetSchedulerType, testDomainGetSchedulerParams): Likewise.
	(testDomainSetSchedulerParams, testNetworkUndefine): Likewise.
	(testNetworkStart, testNetworkGetBridgeName): Likewise.
	(testDomainCoreDump, testDomainSave): Likewise, and...
	Name the file upon failed open or write.
	Use strerror(errno) in diagnostics.
	* tests/undefine: Adjust expected output.

	test.c (testError): Remove now-ignored dom and net parameters.
	This is a sytnax-only change: removing the two unused parameters
	and updating all callers:
	* src/test.c (GET_DOMAIN, GET_NETWORK, testError)
	(testBuildCapabilities, testOpenDefault, testOpenFromFile)
	(testOpen, testGetHostname, testGetURI, testGetCapabilities)
	(testLookupDomainByID, testLookupDomainByUUID)
	(testLookupDomainByName, testResumeDomain, testPauseDomain)
	(testShutdownDomain, testGetDomainInfo, testDomainSave)
	(testDomainRestore, testDomainCoreDump, testGetOSType)
	(testSetMemory, testSetVcpus, testListDefinedDomains)
	(testNodeGetCellsFreeMemory, testDomainCreate)
	(testDomainUndefine, testDomainGetSchedulerType)
	(testDomainGetSchedulerParams, testDomainSetSchedulerParams)
	(testLookupNetworkByUUID, testLookupNetworkByName)
	(testListNetworks, testListDefinedNetworks, testNetworkUndefine)
	(testNetworkStart, testNetworkGetBridgeName): Update callers.

3963 3964 3965 3966 3967
Fri Oct 10 19:16:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/memory.c: If size*count== 0, then virRelloc must not
	return a failure, it is same as virFree.

3968 3969 3970 3971 3972 3973 3974 3975 3976 3977
Fri Oct 10 17:51:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/libvirt.rng: Document SDL attributes in schema
	* src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Support
	SDL display configuration
	* tests/qemuxml2argvtest.c: Set predictable env vars for SDL
	tests.
	* tests/qemuxml2argvdata/*.args: Add new env vars now set
	explicitly

3978 3979 3980 3981 3982 3983 3984 3985 3986
Fri Oct 10 17:03:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c, src/domain_conf.h, src/lxc_container.c,
	src/lxc_controller.c, src/lxc_driver.c, src/openvz_conf.c,
	src/openvz_driver.c, src/qemu_conf.c, src/qemu_driver.c,
	src/xend_internal.c, src/xend_internal.h, src/xminternal.c:
	Switch to using arrays instead of linked lists for devices
	* tests/sexpr2xmldata/sexpr2xml-fv-v2.xml: Fix device ordering

3987 3988 3989 3990 3991 3992 3993
Fri Oct 10 15:39:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_conf.c, src/storage_conf.h, src/storage_driver.c,
	src/storage_backend_disk.c, src/storage_backend_fs.c,
	src/storage_backend_iscsi.c, src/storage_backend_logical.c:
	Switch storage objects to array instead of linked list

3994 3995 3996 3997 3998 3999
Fri Oct 10 15:39:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/network_conf.c, src/network_conf.h, src/network_driver.c,
	src/test.c: Switch to using array instead of linked list for
	network objects

4000 4001 4002 4003 4004 4005 4006 4007 4008
Fri Oct 10 15:19:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c, src/domain_conf.h: Switch to using
	array instead of linked list for domain objects
	* src/lxc_conf.h, src/lxc_driver.c, src/openvz_conf.c,
	src/openvz_conf.h, src/openvz_driver.c, src/qemu_conf.h,
	src/qemu_driver.c test.c: Update to manage domain objects
	in array instead of linked list

4009 4010 4011 4012 4013 4014 4015 4016 4017 4018
Fri Oct 10 14:56:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: option to enable/disable network driver
	* src/Makefile.am: Add network_driver.c/.h files
	* src/libvirt.c: Import network_driver.h file
	* src/qemu_conf.c, src/qemu-conf.h, src/qemu_driver.c: Remove
	all network driver support
	* src/network_driver.c, src/network_driver.h: Add standalone
	network driver

4019 4020 4021 4022 4023
Fri Oct 10 13:30:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xml.c, src/xen_internal.c: Cast some args to unsigned
	long to avoid printf format specifier warnings on 32-bit

R
Richard W.M. Jones 已提交
4024 4025 4026 4027 4028 4029 4030 4031 4032 4033
Fri Oct 10 12:30:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Updated MinGW spec file.
	* .cvsignore, Makefile.am, autobuild.sh, configure.in,
	  mingw32-libvirt.spec.in: Import the latest MinGW libvirt spec
	  file.  Note that the file has been renamed to conform to
	  new Fedora packaging guidelines.
	* autobuild.sh: Fix a bug in the generation of the $EXTRA_RELEASE
	  field when autobuilding.

4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044
Fri Oct 10 11:17:59 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h[.in] include/libvirt/virterror.h
	  qemud/remote* src/driver.h src/libvirt.c src/libvirt_sym.version
	  src/lxc_driver.c src/openvz_driver.c src/proxy_internal.c
	  src/qemu_driver.c src/remote_internal.c src/test.c src/virsh.c
	  src/xen_internal.c src/xen_unified.c src/xen_unified.h
	  src/xend_internal.c src/xend_internal.h src/xm_internal.c
	  src/xs_internal.c docs/*: cleanup virDomainCreateLinux into
	  virDomainDefineXML, and a few additional cleanups

D
Daniel Veillard 已提交
4045 4046 4047 4048 4049
Fri Oct 10 10:33:29 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.c src/util.c: fix index creation for disks >
	  {sd,hd,xvd,vd}z (Sanjay Rao and Chris Wright)

4050 4051 4052 4053 4054 4055 4056 4057 4058 4059
Thu Oct  9 11:30:00 EST Cole Robinson <crobinso@redhat.com>

	* src/domain_conf.c src/hash.c src/internal.h src/lxc_conf.c
	  src/lxc_conf.h src/network_conf.c src/openvz_conf.c src/openvz_conf.h
	  src/proxy_internal.c src/qemu_conf.c src/qemu_conf.h src/qparams.c
	  src/sexpr.c src/storage_conf.c src/storage_conf.h src/test.c
	  src/util.c src/virterror.c src/xen_internal.c src/xen_unified.c
	  src/xend_internal.c src/xm_internal.c src/xml.c src/xs_internal.c:
	  Centralize majority of error reporting logic.

D
Daniel P. Berrange 已提交
4060 4061 4062 4063 4064
Thu Oct  9 15:49:25 BST Daniel P Berrange <berrange@redhat.com>

	* src/lxc_driver.c: Annotate unused parameter
	* src/virsh.c: Fix scanf format specifier

4065 4066 4067 4068 4069
Wed Oct  8 08:29:25 PDT 2008 Dan Smith <danms@us.ibm.com>
	* src/cgroup.c src/cgroup.h: Add cpu shares manipulation
	* src/lxc_driver.c: Add scheduler parameters interface for cpu shares
	* src/virsh.c: Add generic scheduler parameter interface

D
Daniel Veillard 已提交
4070 4071 4072 4073 4074
Wed Oct  8 15:42:44 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/cgroup.c: use safewrite()
	* src/qemu_driver.c: missing VIR_FREE pojnted out by Eduardo Habkost

J
Jim Meyering 已提交
4075 4076 4077 4078 4079
Tue Oct  7 23:08:51 CEST 2008 Jim Meyering <meyering@redhat.com>

	avoid "make syntax-check" failure
	* src/cgroup.c (virCgroupSetValueStr): Use safe_write, not write.

4080 4081 4082 4083
Tue Oct  7 18:33:39 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: another OOM handling cleanup (Guido Günther)

4084 4085 4086 4087 4088
Tue Oct  7 17:59:59 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: don't print and extra OOM error on top of
	  getpwuid error (Guido Günther)

4089 4090 4091 4092 4093 4094 4095 4096
Mon Oct  6 15:47:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* qemud/remote.c src/hash.c src/internal.h src/lxc_conf.c
	  src/lxc_container.c src/lxc_controller.c src/lxc_driver.c
	  src/remote_internal.c src/storage_backend_disk.c src/veth.c
	  src/xen_internal.c src/xen_unified.c src/xend_internal.c:
	  Move DEBUG and DEBUG0 macros to central location.

4097 4098 4099 4100 4101
Mon Oct  6 15:32:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/qemu_conf.c: Fix possible segfault if starting a qemu guest with
	  with an inactive virtual network.

4102 4103 4104 4105
Mon Oct  6 15:23:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* tests/domainschematest: Slim down schema test result output

4106 4107 4108 4109 4110 4111
Mon Oct  6 17:39:12 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/lxc_driver.c src/qemu_driver.c src/remote_internal.c
	  src/storage_driver.c: use C99 initializers for virState (Guido
	  Gunther)

D
Daniel P. Berrange 已提交
4112 4113 4114 4115
Mon Oct  6 11:23:40 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am: Fix VPATH build (Guido Gunther)

4116 4117 4118 4119
Mon Oct  6 12:08:40 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* po/no.po: removed it's obsoleted by np.po, fixes #335211

4120 4121 4122 4123 4124 4125 4126 4127
Thu Oct  3 09:32:42 PDT 2008 Dan Smith <danms@us.ibm.com>
	* src/lxc_container.h src/lxc_container.c
	  src/lxc_controller.c src/lxc_driver.c: Use internal cgroup
	  API to manipulate cgroups for LXC resource control

Thu Oct  3 09:32:42 PDT 2008 Dan Smith <danms@us.ibm.com>
	* src/cgroup.c src/cgroup.h: Add internal cgroup manipulation API

4128 4129 4130 4131
Thu Oct  2 17:01:32 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: fix bug #465274 to build on RHEL

4132 4133 4134 4135
Thu Oct  2 10:06:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/qemu_driver.c: Fix startup timeout with multiple pty devices.

4136 4137 4138 4139 4140 4141
Wed Oct  1 17:28:47 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: fix ordering when parsing multiple Xen
	  interfaces, patch by Jim Fehlig
	* python/Makefile.am: fix parallel build

4142 4143 4144 4145 4146
Thu Sep 25 13:37:42 IST 2008 Mark McLoughlin <markmc@redhat.com>

	* docs/virsh.pod: fixup some minor issues - e.g. bogus
	references to "xm"

4147 4148 4149 4150 4151 4152
Tue Sep 23 22:45:47 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in NEWS docs/*: release of libvirt-0.4.6
	* src/storage_backend_logical.c: re-add the -f flag to vgremove
	* po/*: rebuilt

4153 4154 4155 4156
Tue Sep 23 12:17:22 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* po/pt_BR.po: updated brazilian translation

4157 4158 4159 4160 4161 4162
Mon Sep 22 22:18:16 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_logical.c: enable stop pool in logical backend
	  improve portability when deleting a pool and also call pvremove
	  patch by Chris Lalancette

4163 4164 4165 4166 4167
Mon Sep 22 21:55:55 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_conf.c: fixes parsing to allow no sources for a pool
	  fix by Dan and Chris Lalancette

4168 4169 4170 4171 4172
Mon Sep 22 18:00:39 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/remote_internal.c src/storage_driver.c: structure init fixes
	  by Chris Lalancette

4173 4174 4175 4176 4177
Mon Sep 22 17:14:25 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c: patch from Evgeniy Sokolov to read
	  network config in OpenVZ driver.

D
Daniel P. Berrange 已提交
4178 4179 4180 4181 4182
Thu Sep 18 11:19:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Remove commands which were deleting
	development files mistakenly

R
Richard W.M. Jones 已提交
4183 4184 4185 4186 4187 4188 4189 4190
Thu Sep 18 09:55:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Documentation cleanups.
	* docs/bindings.html.in: Clean up the bindings page, and add
	  C# and Java.
	* docs/windows.html.in: Remove old bogus information and add
	  placeholder.

4191 4192 4193 4194 4195
Thu Sep 18 09:52:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c, configure.in, libvirt.spec.in: Remove
	trailing whitespace & fix diagnostic string translation.

4196 4197 4198 4199 4200
Wed Sep 17 17:02:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/openvz_driver.c: Fix segfault in OpenVZ driver
	  (Evgeniy Sokolov).

4201 4202 4203 4204 4205 4206 4207
Wed Sep 17 16:38:00 BST 2008 Daniel P berrange <berrange@redhat.com>

	* tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml,
	 tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml,
	 tests/xml2sexprdata/xml2sexpr-pv-vfb-new-auto.sexpr: Remove
	redundant emulator tags which broke test cases.

4208 4209 4210 4211
Wed Sep 17 15:26:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/storage_backend_disk.c: Missing include file.

4212 4213 4214 4215
Wed Sep 17 15:18:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/qemu_driver.c: Remove some deadcode (Nguyen Anh Quynh).

4216 4217 4218 4219
Wed Sep 17 15:14:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: Change name of "blocked" state to "idle" (John Levon).

4220 4221 4222 4223 4224 4225
Wed Sep 17 15:10:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* include/libvirt/libvirt.h.in, src/libvirt.c: Fix comments
	  which incorrectly referred to non-existent 'virDomainFlags'
	  type (Anton Protopopov).

4226 4227 4228 4229
Wed Sep 17 15:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/conf.c: Improved error messages in XM conf module.

4230 4231 4232 4233 4234
Wed Sep 17 15:03:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* libvirt.spec.in: Specfile enhancements for minimal
	  "client only" build (Ben Guthro).

4235 4236 4237 4238 4239
Wed Sep 17 15:03:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, src/qemu_driver.h, src/qemu_driver.c: KVM
	  can determine max VCPUs at runtime (Guido Günther).

C
Cole Robinson 已提交
4240 4241 4242 4243
Tue Sep 16 12:43:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/storack_backend_disk.c: Implement disk volume delete

4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256
Tue Sep  9 09:50:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/xend_internal.c: fix reading vncdisplay from xend domain
	* tests/sexpr2xmldata/sexpr2xml-pv-vfb-new-vncdisplay.sexpr
	  tests/sexpr2xmldata/sexpr2xml-pv-vfb-new-vncdisplay.xml,
	  tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.cfg,
	  tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.xml,
	  tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.cfg,
	  tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.xml,
	  tests/xml2sexprdata/xml2sexpr-pv-vfb-new-auto.sexpr,
	  tests/xml2sexprdata/xml2sexpr-pv-vfb-new-auto.xml:
	  Add tests for various xen vnc cases.

4257 4258 4259 4260 4261
Tue Sep  9 09:42:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/qemu_conf.c : fix a segfault if no qemu emulator is passed
	  when defining a domain.

4262 4263 4264 4265 4266 4267
Mon Sep  8 16:28:30 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in docs/*: preparing release of
	  libvirt-0.4.5
	* po/*: rebuilt and updated de.po

4268 4269 4270 4271 4272 4273 4274 4275
Mon Sep  8 14:42:23 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/network_conf.c src/network_conf.h src/qemu_driver.c: add
	  support for a domain name in network configurations, patch by
	  JJ Reynolds with bugfix raised by Dan
	* src/openvz_conf.c: fix to small bug in openvzReadConfigParam
	  by Evgeniy Sokolov

4276 4277 4278 4279
Mon Sep  8 13:14:17 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_driver.c: Fix potential NULL dereference

4280 4281 4282 4283 4284
Mon Sep  8 09:18:17 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_logical.c: finish applying initialization
	  from Jim Fehlig patch for logical storage backend

4285 4286 4287 4288 4289
Fri Sep  5 15:59:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_conf.c, src/openvz_driver.c: Fix trailing
	whitespace mistakes

4290 4291 4292 4293 4294
Fri Sep  5 15:09:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c,
	src/openvz_driver.h: Convert to generic domain XML apis

D
Daniel P. Berrange 已提交
4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316
Fri Sep  5 13:02:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Fully support mingw builds
	* .cvsignore: Ignore mingw-libvirt.spec
	* autobuild.sh: Perform mingw build if toolchain is available
	* Makefile.am: Add mingw-libvirt.spec to EXTRA_DIST
	* configure.in: Add check for getuid/getgit. Add gettext()
	check against libintl. Disable storage drivers if libvirtd
	is disabled
	* mingw-libvirt.spec.in: Specfile for mingw cross compile
	* qemud/remote_protocol.{c,x,h}: Add socketcompat.h include
	for htons() methods
	* src/Makefile.am: Don't wrap storage driver conditionals in
	a  libvirtd conditional
	* src/storage_backend.c: Add no-op implementations of
	virStorageBackendRunProgRegex and virStorageBackendRunProgNul
	functions for mingw
	* src/storage_conf.c: Fix typo in getgid() call. Avoid
	not-literal in format string.
	* src/util.c: Fix signature of virExec() for mingw build
	* src/util.h: Add stub impl of getuid/getgid calls

4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333
Fri Sep  5 12:50:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Fix starting of Xen domains without PVFB console, by not
	setting emulator path in SEXPR unless asked for
	* src/domain_conf.c, src/domain_conf.h, src/xm_internal.c: Don't
	set emulator path with a default value
	* src/lxc_driver.c, src/qemu_conf.c, src/qemu_driver.c: Find a
	default emulator path if no explicit path is provided in config
	* tests/xmconfigdata/test-paravirt-net-e1000.xml,
	tests/xmconfigdata/test-paravirt-new-pvfb.xml,
	tests/xmconfigdata/test-paravirt-old-pvfb.xml,
	tests/xml2sexprdata/xml2sexpr-fv-kernel.xml: Remove default
	emulator path
	* tests/xml2sexprdata/xml2sexpr-pv-vfb-new.sexpr: Remove
	emulator path

Fri Sep  5 12:33:26 BST 2008 Daniel P. Berrange <berrange@redhat.com>
4334 4335 4336 4337 4338

	* src/xen_unified.c, src/xen_internal.c, src/xen_internal.h,
	tests/xencapstest.c: Pass connection object into capabilities
	constructor since it needs to talk to XenD

4339 4340 4341 4342 4343
Thu Sep  4 15:33:26 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_fs.c: fix a signed/unsigned issue breaking
	  virStorageBackendProbeFile(), patch by Cole Robinson

4344 4345 4346 4347
Thu Sep  4 15:18:00 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: fix an error message, patch by Nguyen Anh Quynh

4348 4349 4350 4351 4352
Thu Sep  4 14:16:20 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am: Fix make check when augparse is not
	available

4353 4354 4355 4356 4357
Thu Sep  4 15:05:34 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_logical.c: fix a miscalculation of command line
	  size for vgcreate, patch from Jim Fehlig

4358 4359 4360 4361 4362 4363 4364 4365 4366
Thu Sep  4 11:43:20 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Augeas config file support
	* configure.in: Check for augparse tool for test suite
	* libvirt.spec.in, qemud/Makefile.am, qemud/libvirtd.aug,
	qemud/libvirtd_qemu.aug, qemud/test_libvirtd.aug,
	qemud/test_libvirtd_qemu.aug: Augeas lens for processing
	libvirtd.conf and qemu.conf

4367 4368 4369 4370 4371
Thu Sep  4 11:09:20 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: patch from John Levon shutting down a live
	  domain is just more hazardous

4372 4373 4374 4375 4376
Thu Sep  4 11:05:59 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xs_internal.c: use poweroff instead of halt
	  when shutting down a xen domain, patch by John Levon

4377 4378 4379 4380 4381
Thu Sep  4 10:13:43 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: switch flags to unsigned by James Morris
	* AUTHORS: add James Morris

D
Dan Smith 已提交
4382
Wed Sep  3 10:14:00 PDT 2008 Dan Smith <danms@us.ibm.com>
4383

D
Dan Smith 已提交
4384 4385 4386
	* src/lxc_driver.c:
	  Add hypervisor version implementation

4387 4388 4389 4390 4391 4392
Wed Sep  3 11:52:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/domain_conf.c src/domain_conf.h src/qemu_driver.c:
	  Fix qemu media connect/eject to work with latest syntax. Add support
	  for ejecting floppy devices and scsi cdroms.

4393 4394 4395 4396 4397
Wed Sep  3 10:57:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/domain_conf.c src/domain_conf.h src/qemu_driver.c:
	  Update domain xml after usb device hotplug.

4398 4399 4400 4401
Wed Sep  3 10:42:00 EST 2008 Cole Robinson <crobinso@redhat.com>

	* src/qemu_driver.c: scrape media eject output to determine failure

4402
Wed Sep  3 09:58:00 EST 2008 Cole Robinson <crobinso@redhat.com>
4403

4404 4405 4406 4407
	* src/domain_conf.c: fix disk device ordering when parsing domain
	  xml. check for disk target duplicates as well.
	* tests/xml2sexprdata/xml2sexpr-fv-v2.sexpr: fix for disk ordering
	* tests/xml2sexprdata/xml2sexpr-fv-vncunused.sexpr: fix for disk ordering
4408

4409 4410 4411 4412 4413
Wed Sep  3 14:51:03 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: patch from Cole Robinson to avoid a segfault
	  on KVM CD eject

4414 4415 4416 4417 4418
Wed Sep  3 14:37:06 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Cole Robinson to add output on attach
	  and detach success

4419 4420 4421 4422
Wed Sep  3 14:23:48 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* AUTHORS: add Cole Robinson as commiter

4423 4424 4425 4426
Wed Sep  3 09:08:01 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_conf.c: add one missing check in virStoragePoolDefParseDoc

4427 4428 4429 4430 4431
Tue Sep  2 17:30:50 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.c: fix a parsing error for input devices
	  patch by Cole Robinson

4432 4433 4434 4435 4436 4437 4438
Tue Sep  2 16:55:01 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.c: patch from Cole Robinson to report in the
	  capabilities only the ones where the emulators is actually found
	* po/libvirt.pot: regenerated
	* src/libvirt.c: small typo fix

4439 4440 4441 4442 4443 4444 4445 4446 4447
Tue Sep  2 16:12:20 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend.h src/storage_backend_logical.c
	  src/storage_conf.c src/storage_conf.h src/virsh.c:
	  Applied patches from David Lively to add storage source
	  elements needed for storage pool
	* docs/formatstorage.html docs/formatstorage.html.in: associated
	  documentation

4448 4449
Tue Sep  2 12:28:54 CEST 2008 Jim Meyering <meyering@redhat.com>

4450 4451 4452 4453
	qemu_conf.c: use new function, virFileReadLimFD
	* src/qemu_conf.c (qemudExtractVersionInfo): Use virFileReadLimFD
	and VIR_FREE in place of an open-coded loop and a static buffer.

4454 4455 4456 4457 4458 4459 4460
	util.c: add a file-descriptor-based wrapper for fread_file_lim
	* src/util.c (virFileReadLimFP): New function.
	(__virFileReadLimFD): New function.
	* src/util.h (__virFileReadLimFD): Declare.
	(virFileReadLimFD): Define.
	(virFileReadAll): Rewrite to use virFileReadLimFP.

4461 4462 4463 4464 4465 4466
Fri Aug 29 08:04:15 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/bridge.c, src/proxy_internal.c, src/qemu_conf.c,
	src/qemu_conf.h, src/qemu_driver.c, src/remote_internal.c:
	Switch over to using virExec() function

4467 4468 4469 4470 4471 4472
Thu Aug 28 23:39:15 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.c: Fix off-by-one to allow making of paths at root
	* src/lxc_container.c: Allow for a private root filesystem
	using pivot_root.

4473 4474 4475 4476 4477
Thu Aug 28 12:58:15 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Fix lookup of Xen VMs after define
	(patch from Cole Robinson)

J
Jim Meyering 已提交
4478 4479 4480 4481 4482 4483 4484 4485
Thu Aug 28 11:08:15 CEST 2008 Jim Meyering <meyering@redhat.com>

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

4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503
Wed Aug 27 20:50:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Storage pool source discovery from David Lively

	* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
	src/libvirt_sym.version, src/libvirt.c, src/driver.h: Add
	the virConnectFindStoragePoolSources() API
	* src/remote_internal.c, qemu/remote.c, src/remote_protocol.{c,h,x}
	Implement remote protocol support for virConnectFindStoragePoolSources
	* src/remote_dispatch_*.h: Re-generate from remote_protocol.x
	* libvirt.spec.in:Add dep on nfs-utils
	* configure.in: Check for showmount binary
	* src/storage_backend.h, src/storage_driver.c: Generic impl
	of storage discovery
	* src/storage_backend_fs.c, src/storage_backend_logical.c: Add
	specific impl of storage discovery for NFS and LVM
	* src/virsh.c: Add command to discover storage pools

4504 4505 4506 4507 4508 4509 4510
Wed Aug 27 12:40:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.h, src/util.c: Allow virExec to take set of FDs
	to preserve in child.
	* src/lxc_driver.c, src/qemu_driver.c, src/storage_backend.c:
	Preserve FDs as needed

4511 4512 4513 4514 4515
Wed Aug 27 12:20:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_conf.c: Fix handling of EOF when reading list
	of domains

4516 4517 4518 4519 4520 4521 4522 4523
Wed Aug 27 12:14:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_driver.c: Remove incorrect usage of virState
	driver internal apis only intended for drivers within the
	daemon.
	* src/Makefile.am: No need to disable openvz if the
	daemon is disabled.

4524
Fri Aug 22 08:30:00 PDT 2008 Dan Smith <danms@us.ibm.com>
4525

4526 4527
	* src/lxc_driver.c: Make sure we cleanup veth devices at shutdown

4528 4529 4530 4531 4532
Fri Aug 22 11:49:42 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* python/libvir.py: Use libvirt error message as exception
	message for improved diagnostics

4533 4534 4535 4536 4537 4538 4539 4540 4541
Fri Aug 22 10:30:42 CEST 2008 Jim Meyering <meyering@redhat.com>

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

4542 4543 4544 4545 4546 4547 4548 4549
Thu Aug 21 21:29:28 CEST 2008 Jim Meyering <meyering@redhat.com>

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

4550 4551 4552 4553 4554
Wed Aug 21 11:14:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Clarify error messages from various
	failures while opening a connection

4555 4556 4557 4558 4559
Wed Aug 21 11:09:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: Propagate error from virConnect to global
	error object for virConnectOpen() failures

4560 4561 4562 4563 4564 4565 4566 4567 4568
Wed Aug 21 10:28:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Add libvirt_lxc to spec file and conditionals
	for lxc/openvz drivers which are now on by default

Wed Aug 21 09:52:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/lxc_controller.h: Remove now unused file

4569 4570 4571 4572 4573 4574 4575 4576 4577
Wed Aug 20 21:50:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: Include PTY name if available
	* src/Makefile.am: Add lxc_controller binary
	* src/lxc_conf.c, src/lxc_conf.h, src/lxc_controller.c,
	src/lxc_controller.h, src/lxc_driver.c: Move LXC controller
	into a properly exec'd binary, instead of fork'd child of
	libvirtd daemon

4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596
Wed Aug 20 21:05:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in, qemud/Makefile.am, src/Makefile.am: Use automake
	conditions when deciding which files to include in build
	* src/bridge.c, src/bridge.h, src/conf.h, src/console.h,
	src/driver.h, src/hash.h, src/internal.h, src/libvirt.c,
	src/lxc_conf.c, src/lxc_conf.h, src/lxc_container.c,
	src/lxc_container.h, src/lxc_driver.c, src/lxc_driver.h,
	src/nodeinfo.h, src/openvz_conf.c, src/openvz_driver.c,
	src/proxy_internal.c, src/proxy_internal.h, src/qemu_conf.c,
	src/qemu_conf.h, src/qemu_driver.c, src/qemu_driver.h,
	src/remote_internal.h, src/test.c, src/test.h, src/veth.c,
	src/xen_internal.c, src/xen_internal.h, src/xen_unified.c,
	src/xen_unified.h, src/xend_internal.c, src/xend_internal.h,
	src/xm_internal.c, src/xs_internal.c, src/xs_internal.h
	tests/testutils.h: Remove preprocessor conditions for driver
	compilation. Remove unneccessary "extern C" declarations.

Wed Aug 20 20:42:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
4597 4598 4599 4600 4601 4602 4603 4604

	* src/util.c, src/util.h: Add convenience APIs for stripping
	a file extension
	* src/domain_conf.c, src/domain_conf.h, src/lxc_driver.c,
	src/qemu_driver.c: Remove fixed configfile/autostartlink
	fields in virDomainObjPtr. Generate paths on-demand at time
	of use

4605 4606 4607 4608 4609
Wed Aug 20 15:42:09 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
	  to limit the number of CPUs used by OpenVZ domains.

4610 4611 4612 4613 4614 4615
Wed Aug 20 15:31:47 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_logical.c: Patch from Cole Robinson, fix
	  creating and cleaning up logical volumes if a target path is
	  specified.

4616 4617 4618 4619 4620
Wed Aug 20 15:18:54 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/parthelper.c: Patch from Cole Robinson, fix size reporting for
	  disks without partitions.

4621 4622 4623 4624 4625 4626
Wed Aug 20 15:11:57 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in docs/Makefile.am: fix the problem
	  of HTML generation in the absence of XHTML1 DTDs in the system
	  catalog.

4627 4628 4629 4630 4631
Wed Aug 20 14:49:29 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/network_conf.c src/network_conf.h src/qemu_driver.c: allow to
	  add static host definition for dnsmasq

4632 4633 4634 4635 4636 4637 4638
Wed Aug 20 10:16:54 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.c, src/util.h: Allow flags to be passed to specify
	non-blocking, or daemon mode
	* src/qemu_driver.c, src/openvz_driver.c, src/storage_backend.c:
	Switch to virExec() with VIR_EXEC_NONBLOCK flag

4639 4640 4641 4642 4643 4644 4645
Wed Aug 20 09:59:54 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.c: Allow a pre-opened FD to be passed in for childs
	stdout/err
	* src/openvz_driver.c, src/qemu_driver.c: Initialize FDs to
	-1 before calling virExec()

4646 4647 4648 4649 4650 4651 4652 4653 4654
Wed Aug 20 09:35:33 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Avoid signal race in virExec()
	* src/util.c: Block signals when forking and clear child's
	signal handlers.
	* src/remote_protocol.{c,h,x}: Add config.h include file
	* src/internal.h: define pthread_sigmask interms of sigprocmask
	for non-pthreads systems

4655 4656 4657 4658
Wed Aug 20 09:28:33 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.c: Re-arrange virExec() to improve error reporting

4659 4660 4661 4662 4663
Mon Aug 18 10:22:33 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: Remove duplicate call to virInitialize() in
	virStateInitialize spotted by Nguyen Anh Quynh

M
Mark McLoughlin 已提交
4664 4665 4666 4667 4668 4669 4670 4671
Fri Aug 15 11:00:38 IST 2008 Mark McLoughlin <markmc@redhat.com>

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

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

4672 4673 4674 4675 4676
Fri Aug 15 10:34:24 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>

	* src/virsh.c: fix typo from John Levon
	* src/domain_conf.c, src/openvz_driver.c, src/qemu_driver.c:fix typos

4677 4678 4679 4680
Thu Aug 14 10:06:36 BST 2008 Daniel Berrange <berrange@redhat.com>

	* po/POTFILES.in: Add lxc_controller.c, remove lxc_conf.c

4681 4682 4683 4684 4685 4686 4687 4688 4689
Wed Aug 13 13:40:36 BST 2008 Daniel Berrange <berrange@redhat.com>

	* src/lxc_conf.c, src/lxc_conf.h: Remove all domain XML
	parsing / formatting methods, and all helpers for loading
	and saving files on disk. Added capabilities data object
	* src/lxc_container.c, src/lxc_container.h, src/lxc_driver.c,
	src/lxc_controller.h, src/lxc_controller.c: Switch over
	to use generic domain XML processing APIs.

4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710
Wed Aug 13 11:48:36 BST 2008 Daniel Berrange <berrange@redhat.com>

	* configure.in: Add check for termios.h
	* src/util.h, src/util.c: Add virFileOpenTty and helpers
	for creating/deleting/reading PID files
	* src/lxc_conf.h, src/lxc_conf.c, src/lxc_container.c,
	src/lxc_container.h, src/lxc_controller.c,
	src/lxc_controller.h, src/lxc_driver.c: Re-arrange
	container launch process so that the I/O helper is
	a direct parent of the container process. Daemonize
	container so it survives restarts of libvirtd.

Wed Aug 13 11:23:36 BST 2008 Daniel Berrange <berrange@redhat.com>

	Re-arrange code between LXC driver files
	* src/lxc_container.c, src/lxc_container.h,
	src/lxc_controller.h, src/lxc_container.c,
	src/lxc_driver.c: Move code for I/O handling into
	a seprate lxc_controller module, and move code for
	creating containers into lcx_container module.

4711 4712 4713 4714 4715 4716 4717
Wed Aug 13 10:55:36 BST 2008 Daniel Berrange <berrange@redhat.com>

	* src/lxc_conf.h, src/lxc_conf.c, src/lxc_container.h,
	src/lxc_container.c, src/lxc_driver.c: Don't store socket
	or tty state in lxc_vm_t struct. Pass it around as args
	to functions when needed

4718 4719 4720 4721 4722
Wed Aug 13 11:43:36 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/storage.html[.in] src/storage_backend_disk.c: revert previous
	  msdos patch and apply new one from Cole Robinson

J
Jim Meyering 已提交
4723 4724 4725 4726 4727 4728
Tue Aug 12 19:37:23 CEST 2008 Jim Meyering <meyering@redhat.com>

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

4729 4730 4731 4732 4733
Tue Aug 12 13:28:09 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_disk.c: make sure parted doesn't ask
	  confirmation,  patch by Cole Robinson

4734 4735 4736 4737 4738
Tue Aug 12 13:20:07 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/storage.html[.in] src/storage_backend_disk.c: patch from
	  Cole Robinson to rename the disk type from 'dos' to 'msdos'

4739 4740 4741 4742 4743
Tue Aug 12 17:30:50 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>

	* src/domain_conf.h src/qemu_driver.c: name changing of
	  stdin, stdout, stderr to add _fd for compilation on MinGW

A
Atsushi SAKAI 已提交
4744 4745 4746 4747 4748
Tue Aug 12 17:20:36 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>

	* src/domain.conf.c src/network_conf.c src/util.c src/virsh.c
	  tests/testutilsxen.c: fix compilation for MinGW

4749 4750 4751 4752 4753
Tue Aug 12 10:09:23 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* python/generator.py: patch from Cole Robinson trying to fix
	  problem of connection lookup when creating storage instances

4754 4755 4756 4757
Tue Aug 12 10:04:33 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* po/*: regeneration of pot file, updates of .po

4758 4759 4760 4761 4762
Tue Aug 12 09:27:03 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/formatdomain.html docs/formatdomain.html.in: documentation
	  for the USB format option by Guido Günther

J
Jim Meyering 已提交
4763
Mon Aug 11 14:29:02 CEST 2008 Jim Meyering <meyering@redhat.com>
4764 4765 4766 4767 4768 4769 4770 4771

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

4772 4773 4774 4775 4776 4777 4778 4779 4780 4781
Fri Aug  8 16:41:24 BST 2008 Daniel Berrange <berrange@redhat.com>

	* src/iptables.c, src/lxc_driver.c, src/openvz_driver.c,
	src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c,
	src/storage_backend.c, src/storage_backend_disk.c,
	src/storage_backend_fs.c, src/storage_backend_iscsi.c,
	src/storage_backend_logical.c, src/util.c, src/util.h,
	src/veth.c, tests/qemuxml2argvtest.c: Fix const-correctness
	of virRun and virExec, and remove unneccessary casts in callers

4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792
Fri Aug  8 16:53:24 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.c src/domain_conf.h src/qemu_conf.c
	  src/qemu_driver.c: patch from Guido Günther allowing to add
	  disk as USB devices
	* docs/libvirt.rng: extend the schemas for the new value
	* tests/qemuxml2argvdata/qemuxml2argv-disk-usb.args
	  tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
	  tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c: add a specific
	  test to the regression suite

4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806
Fri Aug  8 16:15:55 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.c src/domain_conf.h src/qemu_conf.c
	  src/qemu_driver.c: Patch from Guido Günther allowing to pass
	  usb devices to qemu/kvm
	* docs/libvirt.rng: add the new functionality to the grammar
	* tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.args
	  tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
	  tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.args
	  tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml
	  tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c: adding examples
	  to the regression tests
	* libvirt.spec.in: fix the licence tag

A
Atsushi SAKAI 已提交
4807 4808 4809 4810 4811
Fri Aug  8 19:18:43 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>

	* docs/formatdomain.html docs/formatdomain.html.in
	docs/java.html docs/java.html.in: fix typos

4812 4813 4814 4815 4816
Thu Aug  7 19:47:40 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* tests/domainschematest: patch from Guido Günther to fix RNG checking
	  in out of tree builds.

D
Dan Smith 已提交
4817 4818 4819 4820
Thu Aug  7 06:32:05 PDT 2008 Dan Smith <danms@us.ibm.com>

	* src/veth.c: Fix assigned device name clash

4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840
Wed Aug  7 15:02:06 CEST 2008 Jim Meyering <meyering@redhat.com>

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

4841 4842 4843 4844
Thu Aug  7 12:21:31 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/bridge.c: fix a build failure on RHEL4

4845 4846
Wed Aug  7 13:30:44 CEST 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876
	update from gnulib: portability and bug fixes
	* build-aux/mktempd:
	* build-aux/useless-if-before-free:
	* build-aux/vc-list-files:
	* gnulib/lib/.cvsignore:
	* gnulib/lib/Makefile.am:
	* gnulib/lib/poll.c:
	* gnulib/lib/stdbool.in.h:
	* gnulib/lib/stdio-impl.h:
	* gnulib/lib/stdio.in.h (vasprintf, obstack_printf)
	(obstack_vprintf):
	* gnulib/lib/vasnprintf.c (_GNU_SOURCE, sprintf, IF_LINT, exp)
	(remainder, scale10_round_decimal_long_double)
	(scale10_round_decimal_double, pad_ourselves):
	* gnulib/m4/gnulib-cache.m4:
	* gnulib/m4/gnulib-common.m4 (gl_MODULE_INDICATOR):
	* gnulib/m4/gnulib-tool.m4 (gl_LOCAL_DIR, gl_M4_BASE, gl_PO_BASE)
	(gl_DOC_BASE, gl_TESTS_BASE, gl_WITH_TESTS, gl_LIB, gl_LGPL)
	(gl_MAKEFILE_NAME, gl_MACRO_PREFIX, gl_PO_DOMAIN, gl_VC_FILES):
	* gnulib/m4/lock.m4 (gl_LOCK_EARLY_BODY, gl_PREREQ_LOCK)
	(gl_DISABLE_THREADS):
	* gnulib/m4/onceonly.m4:
	* gnulib/m4/posix-shell.m4 (gl_POSIX_SHELL):
	* gnulib/m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS):
	* gnulib/tests/test-getaddrinfo.c (ENABLE_DEBUGGING, dbgprintf)
	(simple):
	* gnulib/tests/test-stdint.c (UINTMAX_MAX, or):
	* gnulib/tests/test-vc-list-files-cvs.sh:
	* gnulib/tests/test-vc-list-files-git.sh:

4877 4878 4879 4880
	complete the MinGW inet_pton portability fix
	* gnulib/m4/inet_pton.m4: New file.  Required for MinGW.
	* gnulib/m4/gnulib-comp.m4: Regenerate via gnulib-tool.

4881 4882
Tue Aug  6 13:30:44 CEST 2008 Jim Meyering  <meyering@redhat.com>

J
Jim Meyering 已提交
4883 4884 4885
	fix failing "make syntax-check"
	* src/stats_linux.c: Don't include <c-ctype.h> no longer used.

4886 4887 4888 4889 4890 4891 4892
	work around MinGW build failure due to its lack of inet_aton
	Use inet_pton instead; pull in gnulib's module by the same name.
	* src/network_conf.c (virNetworkDefParseXML): Use inet_pton,
	rather than inet_aton.
	* bootstrap (modules): Add inet_pton.
	* gnulib/lib/inet_pton.c: New file, from gnulib.

4893 4894 4895 4896 4897
Wed Aug  6 13:36:29 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/formatdomain.html docs/formatdomain.html.in: fix memory unit
	  as pointed out by matthew chan it's kilobytes

4898 4899 4900 4901 4902 4903
Wed Aug  6 13:24:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* src/xend_internal.c: Oops.  My bug fix from yesterday broke the
	  regressions suite.  We do actually need "(device" on the front of
	  the sexpr, but only if we are first creating the domain, not when
	  we are attaching a new disk.  This patch fixes it by adding a flag
	  that we check, and allows the regression suite to pass.
4904

4905
Tue Aug  5 18:43:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
4906
	* src/xend_internal.c: Fix three bugs related to virsh attach-disk:
4907 4908 4909 4910 4911
	  a) make sure to break in the xenDaemonAttachDevice() in the switch
	  b) convert a stray fprintf to a virXendError()
	  c) remove an additional "(device" on the front of the sexpr
	  expression passed to xend.  This actually fixes virsh attach-disk
	  and virsh attach-interface work with Xen again
4912

4913 4914 4915 4916 4917
Tue Aug  5 18:36:00 CEST 2008 Chris Lalancette <clalance@redhat.com>
	* src/stats_linux.c tests/statstest.c: Update the parsing of disks for
	  xen block statistics.  In particular, add support for > 16 xvd devices
	  recently put into upstream Xen, and fix up the test suite to fix some
	  wrong tests and add a couple more.
4918

4919 4920 4921 4922 4923 4924
Tue Aug  5 12:51:11 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: patch
	  from Evgeniy Sokolov saving the UUID when creating or defining
	  a domain.

4925 4926 4927 4928 4929 4930
Tue Aug  5 10:43:42 CEST 2008 Jim Meyering  <meyering@redhat.com>

	make distclean: remove generated source files
	* src/Makefile.am (DISTCLEANFILES): Define to $(BUILT_SOURCES)
	so "make distcheck" passes.

4931 4932 4933 4934
Mon Aug  4 15:30:02 JST 2008 Atsushi SAKAI      <sakaia@jp.fujitsu.com>

	* src/xend_internal.c: Replace TAB to space.

R
Richard W.M. Jones 已提交
4935
Fri Aug  1 15:28:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
4936 4937 4938 4939 4940 4941 4942 4943 4944 4945

	'virsh edit' and related commands
	* src/virsh.c: Implement 'virsh edit', 'virsh net-edit' and
	  'virsh pool-edit' commands.  These edit the XML for domains,
	  networks and storage pools respectively, and are the
	  equivalent of doing 'virsh dumpxml; vi foo.xml; virsh define'
	* src/Makefile.am, src/.cvsignore: Auto-generate the net-edit
	  and pool-edit commands.
	* docs/virsh.pod: Updated the documentation.

D
Daniel P. Berrange 已提交
4946 4947 4948 4949 4950
Fri Aug  1 15:15:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: Ensure new VM state is initialized to
	be SHUTOFF, rather than NOSTATE.

4951 4952 4953
Fri Aug  1 15:51:04 CEST 2008 Jim Meyering  <meyering@redhat.com>

	* virsh.c: more const-correctness fixes
4954
	* xend_internal.c, sexpr.c: Likewise.
4955

4956 4957 4958 4959 4960 4961 4962 4963 4964 4965
Fri Aug  1 13:57:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.h, src/domain_conf.c, docs/libvirt.rng: Add
	support for an <init> element in <os> block, and <filesystem>
	device type, and 'exe' OS type.
	* tests/domainschematest: Check domainschemadata directory for
	XML files
	* tests/domainschemadata/domain-lxc-simple.xml: Simple example
	for LXC driver to validate

4966 4967 4968 4969 4970
Fri Aug  1 13:54:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Always set forward-delay even if zero because
	the kernel defaults to 15 seconds which is too long

4971 4972 4973 4974 4975
Fri Aug  1 13:19:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Const-correctness fixes in virsh.c
	* src/virsh.c: Const-correctness.

4976 4977 4978 4979 4980 4981
Fri Aug  1 12:24:44 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Link to "how to contribute to open source"
	* HACKING: Link to external document which describes how to
	  contribute to open source projects.

4982 4983 4984 4985 4986
Fri Aug  1 13:20:44 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: patch from Chris Lalancette adding missing
	  carriage returns to logs

4987 4988 4989 4990 4991 4992 4993
Fri Aug  1 11:50:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/libvirt.rng: Add missing xenfv machine type
	* tests/Makefile.am, tests/domainschematest: Added test
	case to validate all domain XML files in tests/ directory
	against RNG schema

4994 4995 4996 4997 4998 4999 5000 5001
Fri Aug  1 10:38:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Improve error messages when XML is not well-formed.
	* src/domain_conf.c, src/network_conf.c, src/storage_conf.c:
	  Improve error messages from commands such as 'virsh define'
	  when the XML is not well-formed by passing libxml2 errors
	  back out through virterror.

5002 5003 5004 5005 5006 5007 5008
Fri Aug  1 08:40:48 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/formatdomain.html docs/formatdomain.html.in docs/libvirt-api.xml
	  docs/libvirt-refs.xml docs/html/libvirt-libvirt.html src/libvirt.c:
	  fixed somedocs and API entry point descriptions as suggested by
	  Charles Duffy and regenerated the API descriptions.

5009 5010 5011 5012 5013
Fri Aug  1 08:22:08 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: apply patch from Charles Duffy fixing erro
	  messages when trying to crate a domain already defined.

5014 5015 5016 5017 5018 5019
Thu Jul 31 15:37:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: fix previous patch to ensure port number
	is kept as '-1' when autoport is set, and the domain is not
	running.

C
Chris Lalancette 已提交
5020 5021 5022 5023 5024
Thu Jul 31 14:27:00 CEST 2008 Chris Lalancette <clalance@redhat.com>

	* src/domain_conf.c: patch from Charles Duffy to make sure we print
	the "real" vncport if it exists instead of -1.

5025 5026 5027 5028 5029
Wed Jul 30 11:18:50 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: patch from Guido Günther, interface stats should
	  not crash on interfaces without an ifname.

5030 5031 5032 5033 5034
Wed Jul 30 10:51:12 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_logical.c: patch from David Lively fixing
	  small differences of behaviour for 'lvs' and 'vgs' on SLES

5035 5036 5037 5038 5039
Wed Jul 30 10:45:41 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/qemud.c: patch from Guido Günther fixing the place where
	  config file check is done.

5040 5041 5042 5043 5044 5045 5046
Tue Jul 29 14:08:00 CEST 2008 Chris Lalancette <clalance@redhat.com>

	* src/qemu_conf.c: fix empty CD-ROM source device section
	* tests/qemuxml2argvtest.c,
	tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.xml,
	tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.args: Add test
	for empty source CD-ROM device section
5047

5048 5049 5050 5051 5052 5053
Tue Jul 29 10:41:30 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c: fix compilation with new XPath interface
	  signatures
	* configure.in: build OpenVZ and LXC support by default

D
Daniel Veillard 已提交
5054 5055 5056 5057 5058 5059 5060
Mon Jul 28 16:04:58 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/domain_conf.[ch] src/openvz_conf.[ch] src/openvz_driver.c:
	  patch from Evgeniy Sokolov doing the OpenVZ xml refactoring,
	  still needs to be ported to the new XML parsing code but
	  implements the new format.

5061 5062 5063 5064 5065
Mon Jul 28 14:50:55 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: patch from Guido Günther to make sure create
	  doesn't override an existing domain definition or UUID

5066 5067 5068 5069 5070
Fri Jul 25 17:21:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: Fix typos in comments, and the dummy
	filename passed to xmlReadDoc (patch from Chris Lalancette)

5071 5072 5073 5074
Fri Jul 25 17:17:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xml.c: Remove now unused c-ctype.h include

5075 5076 5077 5078 5079 5080 5081 5082
Fri Jul 25 15:21:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xml.c, src/xml.h: Take a virConnectPtr object as param
	for all methods to allow proper error reporting.
	* src/lxc_conf.c, src/domain_conf.c, src/network_conf.c,
	src/storage_conf.c, src/test.c: Pass virConnect object
	to XML routines

5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094
Fri Jul 25 15:03:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c, src/xend_internal.h: Expose the
	xenDaemonFormatSxprChr and xenDaemonFormatSxprSound()
	methods to the XM driver
	* src/xm_internal.c, src/xm_internal.h: Switch to use
	new domain APIs for the XML -> config formatter
	* src/xml.h, src/xml.c: Remove unused Xen specific
	APIs which now live in xend_internal.c
	* tests/xmconfigdata/test-fullvirt-usb*.cfg: Add an
	explicit 'usb=1' config setting

5095 5096 5097 5098 5099 5100 5101 5102
Fri Jul 25 14:48:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c, src/xend_internal.h: Remove the
	sound_string_to_xml() and make xenDaemonParseSxprChar
	non-static
	* src/xm_internal.c: Switch config -> XML parser to use
	the new domain APIs

5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114
Fri Jul 25 14:29:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Prepare xm_internal driver for new domain XML apis.

	* src/xm_internal.c, src/xm_internal.h: Track internal
	domain objects as virDomainDefPtr instead of virConfPtr
	objects, and start to use generic domain APIs
	* tests/xmconfigdata/*: Update to follow XML ordering
	for new APIs
	* tests/xmconfigtest.c: Fixup to comply with new internal
	APIs.

5115 5116 5117 5118 5119 5120
Fri Jul 25 14:00:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Increment dom ID tracker when setting up
	default domain. Reset dom ID when destroying domain. Fix
	listing of defined domains

5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141
Fri Jul 25 14:00:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Convert XenD XML->SEXPR conversion to new domain XML APIs

	* proxy/Makefile.am: no longer need to link xml.c
	* proxy/libvirt_proxy.c: Adapt to use new domain XML
	API contract
	* src/xen_internal.c, src/xen_internal.h: Don't pass a
	connection object when building capabilities.
	* src/xen_unified.c, src/xen_unified.h:  Initialize
	a virCapsPtr object when opening the connection
	* src/xend_internal.c, src/xend_internal.h: Add code
	for converting from XML to SEXPR.
	* src/xml.h, src/xml.c: Remove code for generating SXPR
	* src/xm_intenral.c: Adapt to new SXPR generation
	* tests/xml2sexprdata/*: Update to match new ordering
	for XML / SXPR generation
	* tests/xencapstest.c, tests/xml2sexprtest.c: Fix up
	to work with new internal APIs
	* src/domain_conf.c: Back compat workaround for Xen

5142 5143 5144 5145 5146
Fri Jul 25 14:35:47 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* python/generator.py: skip generation for virDomainBlockPeek and
	  virDomainMemoryPeek as they break the build

5147 5148
Fri Jul 25 11:45:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

5149
	Convert XenD SEXPR->XML conversion to new domain XML APIs
5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161

	* proxy/Makefile.am: Link to domain XML formatting APIs
	* src/domain_conf.c, src/domain_conf.h: Disable XML parsing
	routines when used by proxy
	* src/sexpr.c, src/sexpr.h: Added sexpr_node_copy() API
	* src/xend_internal.c, src/xend_internal.h: Convert the
	SEXPR -> XML conversion routines to use the generic domain
	XML APIs
	* tests/sexpr2xmltest.c: Adapt for API changes
	* tests/sexpr2xmldata/*.xml: Update to take account of
	re-ordering of XML due to new APIs

5162 5163 5164 5165 5166 5167 5168 5169 5170 5171
Fri Jul 25 10:44:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Remove unused/no-op code from xen drivers
	* src/proxy_internal.c: Remove no-op xenProxyInit()
	* src/xen_unified.c: Remove calls to no-op init functions
	in sub-drivers.
	* src/xend_internal.c, src/xend_internal.h: Remove misc
	unused methods
	* src/xs_internal.c: Remove no-op xenStoreInit()

5172 5173 5174 5175 5176
Fri Jul 25 10:41:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* autobuild.sh: Force enable OpenVZ, LXC and Xen proxy for
	automated build testing

D
Daniel P. Berrange 已提交
5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188
Fri Jul 25 10:29:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Miscellaneous minor bug fixes
	* src/openvz_driver.c: Remove unused convCmdbufExec function
	* src/qemu_conf.c: Use global default VNC listen address if
	no domain specific address is available
	* src/qemu_driver.c: Set CPU affinity to all CPUs if no domain
	specific mask is provided
	* src/test.c: Initialize variable to avoid crash on cleanup
	* tests/.valgrind.supp: Suppress some valgrind warnins from
	global variables not intended to be free'd

5189 5190 5191 5192 5193
Fri Jul 25 11:00:27 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: some uuid to string conversion were missing
	  patch from Guido Günther

5194 5195 5196 5197 5198 5199 5200 5201
Fri Jul 25 10:46:25 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
	  remove Xen centric comments patch from Guido Günther
	* docs/apibuild.py: ignore VIR_DEPRECATED
	* docs/libvirt-*.xml docs/html/libvirt-*.html: regenerated the
	  documentation for the API

D
Daniel Veillard 已提交
5202 5203 5204 5205 5206
Fri Jul 25 10:39:54 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: Guido Trotter pointed out a wrong open() failure
	  detection

5207 5208 5209 5210
Fri Jul 25 08:36:18 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/libvirt.rng: patch from John Levon fixing various patterns

5211 5212 5213 5214 5215
Thu Jul 24 09:26:51 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: another patch from Guido Günther checking
	  for an already running domain on create

5216 5217 5218 5219 5220
Thu Jul 24 09:08:32 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: patch from Guido Günther checking for
	  unsupported migrate command

5221 5222 5223 5224 5225
Tue Jul 22 19:48:51 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/java.html docs/java.html.in: added documentation for the
	  java bindings

5226 5227 5228 5229 5230 5231 5232 5233
Tue Jul 22 18:11:13 CEST 2008 Jim Meyering <meyering@redhat.com>

	better diagnostic when failing to undefine a running domain via ID
	* src/virsh.c (cmdUndefine): Tell user to shutdown and then use name
	or UUID.
	* tests/undefine: New test.  Exercise virsh's undefine command.
	* tests/Makefile.am (test_scripts): Add undefine.

5234 5235 5236 5237 5238
Mon Jul 21 15:31:52 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/openvz_driver.c: patch from Evgeniy Sokolov
	  cleaning up integer string parsing.

5239 5240 5241 5242
Mon Jul 21 11:47:08 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/xen_unified.c: fix a leak in xenUnifiedOpen

D
Daniel Veillard 已提交
5243 5244 5245 5246 5247
Mon Jul 21 10:07:08 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_driver.c: patch from Evgeniy Sokolov to get OpenVZ
	  domain cpu time consumption.

5248 5249 5250 5251 5252
Mon Jul 21 10:01:36 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in: patch from David Lively to try to detect the xen
	  libs when using --with-xen-distdir= on 64bit arches.

5253 5254 5255 5256 5257
Mon Jul 21 09:29:22 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_driver.c: patch from Evgeniy Sokolov avoiding domain
	  lookups based on ID as this doesn't work for a stopped domain.

5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268
Sat Jul 19 09:41:53 CEST 2008 Jim Meyering <meyering@redhat.com>

	remove unnecessary "V = NULL;" stmts after VIR_FREE(V)
	* src/domain_conf.c (virDomainChrDefParseXML)
	(virDomainNetDefParseXML): Likewise.
	* src/iptables.c (iptRuleFree): Likewise.
	* src/storage_backend.c (virStorageBackendRunProgRegex): Likewise.
	* src/test.c (testOpenFromFile): Likewise.
	* src/xmlrpc.c (xmlRpcCallRaw): Likewise.

Fri Jul 18 13:01:38 CEST 2008 Jim Meyering <meyering@redhat.com>
5269 5270 5271 5272 5273 5274

	enable format-safety checks for virDomainReportError
	* src/domain_conf.c (virDomainReportError): Declare using
	ATTRIBUTE_FORMAT(printf, 3, 4).
	* Makefile.maint (msg_gen_function): Add virDomainReportError.

5275 5276
Thu Jul 17 17:18:24 CEST 2008 Daniel Veillard <veillard@redhat.com>

5277
	* src/storage_backend_fs.c: patch from Cole Robinson fixing
5278 5279
	  pool-create for netfs format 'auto'

5280 5281 5282 5283 5284
Thu Jul 17 13:47:56 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Evgeniy Sokolov for the undefine command
	  which can't take an id

D
Daniel Veillard 已提交
5285 5286
Wed Jul 16 22:36:43 CEST 2008 Daniel Veillard <veillard@redhat.com>

5287
	* src/libvirt.c src/openvz_driver.c: fix the description of the ID
D
Daniel Veillard 已提交
5288 5289
	  domain lookup and fix the OpenVZ routine

5290 5291 5292 5293 5294
Wed Jul 16 17:25:02 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_driver.c: fix the lookup by ID function and error
	  reporting in OpenVZ, fix by Evgeniy Sokolov

5295 5296 5297 5298 5299
Wed Jul 16 16:44:27 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_driver.c: another cleanup patch from Evgeniy Sokolov
	  cleaning up the exec calls to OpenVZ binaries

D
Daniel P. Berrange 已提交
5300 5301 5302 5303
Sat Jul 12 14:52:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Remove unneccessary c-ctype.h include

5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314
Fri Jul 11 20:32:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Switch
	over to generic domain APIs
	* src/bridge.c, src/bridge.h: Allocate tap device string on
	demand.
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Update
	to new APIs
	* tests/qemuxml2argvdata/: Update data files to match new
	XML generation format

5315 5316 5317 5318 5319
Fri Jul 11 20:28:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/domain_conf.c: Set state to SHUTOFF when loading domain
	config

5320 5321 5322 5323 5324
Fri Jul 11 18:58:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/network_conf.c, src/domain_conf.c: Use full path when
	opening XML files

5325 5326 5327 5328 5329
Fri Jul 11 18:32:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/bridge.c, src/bridge.h, src/qemu_conf.c, src/qemu_conf.h,
	src/qemu_driver.c: Switch over to generic network APIs

5330 5331 5332 5333 5334 5335 5336
Fri Jul 11 17:39:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c, src/test.h: Convert to the new domain XML apis
	* docs/testdomfc4.xml: Update for new syntax
	* docs/testnodeinline.xml: Demo of inline domain & network XML
	* tests/read-non-seekable: Update to have OS block

5337 5338 5339 5340
Fri Jul 11 17:37:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Convert to the new network XML apis

5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353
Fri Jul 11 15:49:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Generic APIs for domain XML configuration
	* include/libvirt/virterror.h, src/virterror.c: Added new
	scope VIR_FROM_DOMAIN
	* src/Makefile.am, po/POTFILES.in: Added domain_conf.{c,h}
	* src/xml.c, src/xml.h: Added virXPath{Int,UInt} and
	virXMLPropString functions
	* src/network_conf.c, src/network_conf.h: Added generic
	APIs for domain XML configuration
	* src/util.h: Re-write verify() hook for enums, to allow
	multiple enum declarations per file.

D
Daniel Veillard 已提交
5354 5355 5356 5357
Fri Jul 11 13:08:13 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_driver.c: fix from Evgeniy Sokolov to the probe function

5358 5359 5360 5361 5362 5363 5364 5365 5366 5367
Fri Jul 11 11:35:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	Generic APIs for network XML configuration
	* include/libvirt/virterror.h, src/virterror.c: Added new
	scope VIR_FROM_NETWORK
	* src/Makefile.am, po/POTFILES.in: Added network_conf.{c,h}
	* src/xml.c, src/xml.h: Added virXPathULong function
	* src/network_conf.c, src/network_conf.h: Added generic
	APIs for network XML configuration

5368 5369 5370 5371 5372 5373 5374
Fri Jul 11 10:55:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Fix booting off CDROM devices
	* tests/qemuxml2argvdata/qemuxml2argv-disk-drive-boot-*,
	tests/qemuxml2argvtest.c: New test cases for booting off
	CDROM with QEMU

5375 5376 5377 5378 5379 5380 5381
Fri Jul 11 10:50:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in, qemud/Makefile.am: Rename installed polkit
	policy file to org.libvirt.unix.policy
	* qemud/libvirtd.policy: Default to admin auth instead of
	user auth.

5382 5383 5384 5385 5386
Fri Jul 11 10:48:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Don't default to polkit auth when running
	as non-root

5387 5388 5389 5390 5391
Fri Jul 11 10:46:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Fix parsing of QEMU stdout looking for
	serial device PTY with Xenner

5392 5393 5394 5395 5396
Fri Jul 11 10:53:59 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c: cleanup OpenVZ config file accesses, patch
	  from Evgeniy Sokolov

D
Daniel Veillard 已提交
5397 5398 5399 5400 5401
Thu Jul 10 17:28:19 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c: Evgeniy Sokolov found a driver open bug
	  in do_open()

D
Daniel Veillard 已提交
5402 5403 5404 5405 5406 5407
Thu Jul 10 14:18:51 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c
	  Makefile.maint: patch from Evgeniy Sokolov cleaning up the
	  error function used and format check based on Jim's fedback.

D
Daniel Veillard 已提交
5408 5409 5410 5411 5412
Thu Jul 10 09:58:42 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/libvirt.rng: domain name validation fix by John Levon
	* AUTHORS: add John Levon

5413 5414 5415 5416 5417
Thu Jul 10 09:50:39 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: new
	  patch from Evgeniy Sokolov adding OpenVZ autostart get and set support

5418 5419 5420 5421 5422
Wed Jul  9 13:53:25 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: applied
	  patch from Evgeniy Sokolov fixing error diagnostic when exec'ing
	  OpenVZ commands.
D
Daniel Veillard 已提交
5423
	* AUTHORS: add Evgeniy
5424

5425 5426 5427 5428 5429 5430 5431
Wed Jul  9 11:25:44 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/testutils.c: Ensure VIR_TEST_DEBUG is used even when
	OOM testing is not compiled in
	* tests/.valgrind.supp: Supress some bogus warnings caused by
	global data we don't expect to ever free.

D
Daniel P. Berrange 已提交
5432 5433 5434 5435
Wed Jul  9 11:16:44 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/virshtest.c: Remove legacy debugging output

5436 5437 5438 5439 5440
Wed Jul  9 09:19:44 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/qemuxml2argvdata/qemuxml2argv-input-xen.args: Fix to
	match previous change to XML

5441 5442 5443 5444 5445
Wed Jul  9 09:19:31 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xml.c: Preserve the XPath context node to allow relative
	XPath queries to be used

5446 5447 5448 5449 5450 5451
Wed Jul  9 07:23:31 CEST 2008 Jim Meyering <meyering@redhat.com>

	give a more useful diagnostic for tap-add failure w/ENOTSUP
	* src/qemu_conf.c (qemudNetworkIfaceConnect):
	Suggestion from Daniel P. Berrange.

5452 5453 5454 5455 5456
Tue Jul  8 18:47:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xs_internal.c: Fix typo in domain state constant (Toth
	István)

5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468
Tue Jul  8 18:42:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/drvqemu.html.in, docs/formatnetwork.html.in: Fix three
	typos pointed out by Anton Protopopov

Tue Jul  8 13:02:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/libvirt.rng: Updated schema to follow latest XML syntax
	supported by drivers. Based off work by John Levon
	* tests/qemuxml2argvdata/qemuxml2argv-input-xen.xml: Fix boot
	syntax to comply with schema

D
Daniel P. Berrange 已提交
5469 5470 5471 5472 5473
Mon Jul  7 12:46:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_driver.c: Don't cast pointers to ints, and fix
	the return value to be -1, not 0.

5474 5475 5476 5477 5478
Mon Jul  7 11:34:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/testutils.c: Remove bogus return statement which
	prevented viewing of differences

5479 5480 5481 5482 5483
Mon Jul  7 11:02:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/testutils.c: Allow OOM testing to be parallelized by
	setting VIR_TEST_MP=1

5484 5485 5486 5487 5488
Mon Jul  7 11:59:07 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* proxy/libvirt_proxy.c: fix a compilation problem without Xen
	* libvirt.spec.in: add %{release] to BuildRoot

5489 5490 5491 5492 5493
Mon Jul  7 10:39:56 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/capabilities.c: Refactor to avoid memory leak when in
	cleanup from OOM condition

5494 5495 5496 5497 5498
Mon Jun 30 14:07:56 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>

	Compilation fix for MinGW
	* src/veth.c: add WITH_LXC ifdef

5499 5500 5501 5502
Fri Jun 27 15:05:31 PDT 2008 Dan Smith <danms@us.ibm.com>
	Fix compiler warnings in LXC
	* src/veth.c: remove unused and fix uninitialized variable

5503
Thu Jun 26 19:51:19 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>
A
Atsushi SAKAI 已提交
5504 5505 5506 5507

	fix make syntax-check
	* src/xm_internal.c: replace tabs to spaces

A
Atsushi SAKAI 已提交
5508 5509 5510 5511 5512 5513 5514 5515 5516
Thu Jun 26 18:25:25 JST 2008  Atsushi SAKAI <sakaia@jp.fujitsu.com>

	Compilation fix for MinGW
	* src/driver.h src/internal.h src/libvirt.c src/qemu_driver.c
	  src/remote_internal.c: add WITH_LIBVIRTD flag consideration
	* tests/Makefile.am tests/testutils.c tests/testutilsqemu.c
	  tests/virshtest.c: add WITH_LIBVIRTD flag consideration
	* qemud/Makefile.am: Pass $(LIBVIRT_FEATURES) to consider WITH_LIBVIRTD

5517 5518 5519 5520 5521 5522 5523
Thu Jun 26 16:09:48 PDT 2008 Dan Smith <danms@us.ibm.com>

	Add NETNS support for LXC
	* src/veth.c src/veth.h: Support for managing veth pairs
	* src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
	  src/lxc_driver.c: Add interface parsing and setup for LXC

J
Jim Meyering 已提交
5524 5525 5526 5527 5528 5529
Wed Jun 25 16:21:12 CEST 2008 Jim Meyering <meyering@redhat.com>

	quiet "make syntax-check"
	* Makefile.maint (strftime-check): Add "@" prefix.
	(po-check): Likewise.

5530 5531 5532 5533 5534
Wed Jun 25 13:40:25 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* python/types.c: patch from Ryan Scott to remove misplaced verbosity
	  when compiling in debug mode.

5535 5536 5537 5538 5539 5540 5541 5542 5543
Wed Jun 25 10:52:05 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.4
	  release
	* src/xm_internal.c: fix xm driver serialization escapes
	* tests/xmconfigtest.c tests/xmconfigdata/test-escape-paths.cfg
	  tests/xmconfigdata/test-escape-paths.xml: add test for previous
	  problem

5544 5545 5546 5547 5548
Wed Jun 25 10:48:39 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* po/*: updated a couple of localizations and regenerated the
	  files

5549 5550 5551 5552 5553
Tue Jun 24 15:59:33 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.h, src/util.c: Added helpers for managing enumerations
	and conversion to/from string vs integer format

5554 5555 5556 5557 5558
Tue Jun 24 15:29:33 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_backend.h, src/storage_backend.c: Fix const-ness
	of virStorageBackendRunProgRegex()

5559 5560 5561 5562 5563
Thu Jun 19 16:29:33 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c src/xend_internal.c: fix a couple of issues
	  for List functions where max given is 0

5564 5565 5566 5567 5568 5569 5570 5571
Thu Jun 19 13:50:41 CEST 2008 Jim Meyering <meyering@redhat.com>

	virsh fails to read files larger than BUFSIZ bytes
	* src/util.c (fread_file_lim): Use VIR_REALLOC_N, not VIR_ALLOC_N.
	Bug introduced in d3470efcda15f59549ac0aaa76cd25df319c217b.
	* tests/Makefile.am (test_scripts): Add read-bufsiz.
	* tests/read-bufsiz: New test for the above.

5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603
Thu Jun 19 13:47:00 CEST 2008 Chris Lalancette <clalance@redhat.com>

	* src/memory.c: the new memory API changed the semantics of ALLOC,
	  such that calling VIR_ALLOC(0) returned NULL.  This differed from
	  glibc semantics for malloc().  Remove the offending code to restore
	  glibc semantics.

Thu Jun 19 12:38:00 CEST 2008 Chris Lalancette <clalance@redhat.com>

	* src/qemu_conf.c: fix a bug where we were calling VIR_ALLOC_N
	  in the qemu driver instead of VIR_REALLOC_N, which was causing
	  libvirt to not start domains with multiple networks properly.

Tue Jun 17 14:43:00 CEST 2008 Chris Lalancette <clalance@redhat.com>

	* src/storage_backend.c,src/storage_backend.h,
	  src/storage_backend_iscsi.c, src/storage_backend_logical.c: Change
	  virStorageBackendRunProgRegex to return the exit status instead of
	  reporting an error with non-zero return code.
	* src/util.c: add carriage returns to all virLog() calls since they
	  really just map to fprintf(stderr)
	* src/storage_backend_iscsi.c: Change the call to
	  "iscsiadm --mode session -P 0" to "iscsiadm --mode session"; this
	  will work on all iscsiadm version back to Fedora Core 6.
	* src/storage_backend_iscsi.c: Move the iscsiadm sendtargets discovery
	  mechanism to only be called during --login; we don't need it in
	  --logout.
	* src/storage_backend_iscsi.c: Rewrite the findLuns function to only
	  use sysfs to find LUNs.  Use sysfs "type" parameter to determine if
	  this is a valid LUN or not.  Fix a race condition between sysfs
	  scanning and udev.  Constify all of the "iscsiadm" strings.

5604 5605 5606 5607
Fri Jun 13 11:07:52 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* Makefile.am: adding autogen.sh to EXTRA_DIST

5608 5609 5610 5611 5612
Fri Jun 13 09:55:17 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.c: patch from Kaitlin Rupert, dynamic devices
	  for network should be defined in an 'interface' node not 'net'

5613 5614 5615 5616 5617
Thu Jun 12 17:49:23 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.3
	  release

D
Daniel P. Berrange 已提交
5618 5619 5620 5621 5622 5623 5624
Thu Jun 12 14:46:08 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/lxc_driver.c, src/openvz_driver.c: Add missing driver
	entry points
	* src/lxc_conf.c: Re-arrange headers to comply with standard
	* tests/testutils.c: Fix use of signed/unsigned ints

5625 5626 5627 5628
Thu Jun 12 14:46:08 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Fix saving of iptables rules

5629 5630 5631 5632 5633
Thu Jun 12 11:18:08 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Deal with failure due to inactive virtual
	network when creating domain.

5634 5635 5636 5637 5638 5639
Thu Jun 12 10:53:08 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: patch from Kaitlin Rupert, changing vcpu or
	  memory of an active domain is a NO_SUPPORT not INTERNAL_ERROR

Wed Jun 11 17:21:13 CEST 2008 Daniel Veillard <veillard@redhat.com>
D
Daniel Veillard 已提交
5640 5641 5642

	* po/*: update and regenerated

D
Daniel P. Berrange 已提交
5643 5644 5645 5646
Wed Jun 11 12:25:57 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/Makefile.am: Tweak install rule to fix RPM build

5647 5648 5649 5650 5651
Wed Jun 11 09:42:57 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* python/libvir.py python/libvirt-python-api.xml: more python
	  cleanups by Cole Robinson

5652 5653 5654 5655 5656
Tue Jun 10 17:34:12 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in: patch  from Cole Robinson to reactivate storage
	  support

5657 5658 5659 5660 5661
Tue Jun 10 17:10:31 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* python/generator.py python/libvir.c python/libvirt-python-api.xml:
	  Apply patch from Cole Robinson fixing UUIDString for python

5662 5663 5664 5665 5666 5667 5668
Tue Jun 10 15:33:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Pass syntax check for XM block devices over to XenD
	* src/xm_internal.c: Pass responsibility for checking syntax
	  of XM block devices over the XenD (see also Xen cset 17617).
	  (Hiroyuki Kaguchi).

R
Richard W.M. Jones 已提交
5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685
Tue Jun 10 11:34:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	virDomainMemoryPeek API
	* include/libvirt/libvirt.h.in, src/libvirt.c, src/driver.h,
	  src/libvirt_sym.version: New virDomainMemoryPeek API.
	* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
	  Support for remote.
	* src/qemu_driver.c: QEMU driver implementation of API.
	* src/test.c: Test driver (null) implementation of API.
	* docs/hvsupport.html.in: Document API.
	* libvirt.spec.in: New path /var/cache/libvirt for temporary
	  storage of memory images.
	* qemud/libvirtd.init.in: Remove any old temp files in
	  /var/cache/libvirt on restarts.
	* src/Makefile.am: make install creates /var/cache/libvirt.
	* configure.in: Detect mkdir -p.

5686 5687 5688 5689 5690 5691
Mon Jun  9 15:42:34 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>

	* src/lxc_driver.c: Console element is output only.  Always open new
	PTY when starting a container.
	Fix string overrun when storing console name in VM def struct

5692 5693 5694 5695 5696 5697
Mon Jun  9 13:14:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Better error messages in xend driver.
	* src/xend_internal.c: Change virXendError function to take
	varargs.  Better error messages throughout.

5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709
Fri Jun  6 12:01:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/bridge.c, src/conf.c, src/iptables.c, src/lxc_conf.c,
	src/lxc_container.c, src/lxc_driver.c, src/openvz_conf.c,
	src/openvz_driver.c, src/proxy_internal.c, src/remote_internal.c,
	src/sexpr.c, src/storage_backend.c, src/storage_backend_disk.c,
	src/storage_backend_fs.c, src/storage_backend_iscsi.c,
	src/storage_backend_logical.c, src/storage_conf.c,
	src/storage_driver.c, src/xen_internal.c, src/xen_unified.c,
	src/xend_internal.c, src/xmlrpc.c: Switch over to use the
	internal memory allocation APIs.

5710 5711 5712 5713 5714 5715 5716
Fri Jun  6 11:41:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/event.c, qemud/mdns.c, qemud/qemud.c, qemud/remote.c:
	Switch over to use internal memory allocation APIs.
	* src/libvirt_sym.version, src/memory.c, src/memory.h: Export
	virAlloc/Realloc/Free to use by libvirtd daemon

5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732
Thu Jun  5 22:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	virDomainBlockPeek QEMU and remote support
	* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
	  Remote support.
	* qemud/remote_dispatch_localvars.h,
	  qemud/remote_dispatch_proc_switch.h,
	  qemud/remote_dispatch_prototypes.h,
	  qemud/remote_protocol.c,
	  qemud/remote_protocol.h:
	  Generated files for remote support.
	* src/xen_unified.c, src/driver.h, src/libvirt.c: Small fix -
	  pass flags around internally.
	* src/qemu_driver.c: Support for QEMU.
	* src/xend_internal.c: Remove redundant fstat call from Xen.

R
Richard W.M. Jones 已提交
5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747
Thu Jun  5 14:10:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	virDomainBlockPeek call
	* configure.in: Document AC_SYS_LARGEFILE.
	* docs/hvsupport.html.in: Document HV support for virDomainBlockPeek.
	* include/libvirt/libvirt.h.in, src/driver.h, src/libvirt.c,
	src/libvirt_sym.version: Add virDomainBlockPeek infrastructure.
	* src/qemu_driver.c, src/test.c: Null versions of this call.
	* src/xen_unified.c, src/xend_internal.c, src/xend_internal.h,
	src/xm_internal.c, src/xm_internal.h: Xen implementation.
	* tests/sexpr2xmldata/sexpr2xml-curmem.xml,
	tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: XML output
	has been reordered slightly in the Xen driver, but should be
	functionally the same.

5748 5749
Wed Jun  4 23:02:21 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>

5750
	* src/lxc_driver.c: Add sanity check of tty pid before kill()
5751 5752 5753 5754 5755 5756 5757 5758 5759
	Ignore ECHILD errors during VM cleanup
	Call functions to store tty pid and cleanup tty pid file
	* src/lxc_conf.h: Add function to verify container process exists
	Add facilities to manage storing the tty forward process pid
	* src/lxc_conf.c: Add function to verify container process exists
	Call function to verify container process during config load
	Add facilities to manage storing the tty forward process pid
	Call function to load tty pid during load config

5760 5761 5762 5763 5764 5765
Tue Jun  3 08:58:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/xm_internal.c: If vcpu cpuset attribute is invalid
	then display an error instead of silently ignoring it
	(Hiroyuki Kaguchi).

5766 5767 5768 5769 5770 5771
Mon Jun  2 12:52:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	General tips for contributing patches
	* HACKING: Added section "general tips for contributing patches"
	to this file.

5772 5773 5774 5775
Thu May 29 16:43:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* autobuild.sh: Only run converage tests if lcov is installed

D
Daniel P. Berrange 已提交
5776 5777 5778 5779 5780
Thu May 29 16:09:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am: Change internal.h to qemud.h to fix
	'make dist'

5781 5782 5783 5784
Thu May 29 15:41:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/testutils.c: Fix warning when OOM testing is disabled

5785 5786 5787 5788 5789 5790 5791
Thu May 29 15:25:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in, scripts/*: Remove all coverage helper scripts
	in favour of using lcov
	* src/Makefile.am, Makefile.am: Switch to use lcov for pretty
	code coverage reports

5792 5793 5794 5795 5796 5797 5798
Thu May 29 15:17:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: Don't register storage API if daemon is
	disabled.
	* configure.in: Fix check for parted to deal with missing
	devel package correctly

5799 5800 5801 5802 5803 5804 5805
Thu May 29 15:17:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/conf.c, src/conf.h, src/qemu_conf.c, src/qemu_driver.c,
	src/test.c, src/util.c, src/xend_internal.c, src/xm_internal.c,
	src/xml.c, tests/virshtest.c: Switch over to using new memory
	allocation APIs.

5806 5807 5808 5809 5810
Thu May 29 14:46:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/memory.h, src/memory.c, tests/testutils.c: Pass allocation
	number to hook callback

5811 5812 5813 5814
Thu May 29 14:45:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/buf.c: Convert to use new memory allocation APIs

5815 5816 5817 5818
Thu May 29 14:44:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Fix missing check for failure

5819 5820 5821 5822 5823 5824 5825 5826 5827 5828
Thu May 29 11:29:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/nodeinfotest.c, tests/qemuxml2argvtest.c,
	tests/qemuxml2xmltest.c, tests/qparamtest.c,
	tests/sexpr2xmltest.c, tests/statstest.c,
	tests/xencapstest.c, tests/xmconfigtest.c,
	tests/xml2sexprtest.c: Convert over to new test suite
	infrastructure to enable OOM testing. Avoid use of
	the abs_top_srcdir variable in favour of abs_srcdir

5829 5830 5831 5832 5833 5834 5835 5836
Thu May 29 11:23:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Misc memory handling / cleanup fixes
	* src/capabilities.c: Avoiding deferencing NULL pointer in
	cleanup code
	* src/qemu_conf.c: Free sound structs on cleanup
	* src/qparams.c: raise a libvirt error upon OOM

5837 5838 5839 5840 5841 5842 5843
Thu May 29 11:12:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/testutils.c, tests/testutils.h: Add generic main()
	impl for test programs to leverage OOM testing
	* tests/Makefile.am, tests/oomtrace.pl: post-processor for
	generating file/line number backtraces from OOM reports.

D
Daniel P. Berrange 已提交
5844 5845 5846 5847 5848
Thu May 29 11:12:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/memory.c, src/memory.h, configure.ac: Add generics hooks
	for out-of-memory testing

5849 5850 5851 5852
Thu May 29 10:55:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Don't add trailing blanks in dominfo output

5853 5854 5855 5856 5857
Thu May 29 10:41:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* python/libvirt-python-api.xml: Add API overrides for functions
	where the generator doesn't produce correct python wrappers

5858 5859 5860 5861 5862
Thu May 29 13:26:40 JST 2008 Atushi SAKAI <sakaia@jp.fujitsu.com>

	Fix make syntax-check caused by trailing blank(s)
	* test/virshdata/dominfo-fc4.txt: remove trailing blanks

R
Richard W.M. Jones 已提交
5863 5864 5865 5866 5867 5868
Tue May 27 14:50:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Fix virsh dominfo test.
	* tests/virshdata/dominfo-fc4.txt: 'virsh dominfo' test
	matches actual output with autostart status.

5869 5870 5871 5872 5873 5874
Tue May 27 10:40:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Display autostart status in virsh dominfo command.
	* src/virsh.c: Display autostart status in virsh dominfo
	command (Shigeki Sakamoto).

5875 5876 5877 5878 5879 5880
Tue May 27 09:54:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Fix use of header files in disk storage backend.
	* src/storage_backend_disk.c: Include internal.h to resolve use
	of header files.

5881 5882 5883 5884 5885 5886 5887 5888 5889
Fri May 23 09:23:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Deprecate the conn, dom and net fields in the _virError structure.
	* include/libvirt/libvirt.h.in: Add VIR_DEPRECATED macro.
	* src/internal.h: Internal code is allowed to use deprecated
	features, so override VIR_DEPRECATED here.
	* include/libvirt/virterror.h: Deprecate the conn, dom and net
	fields in the _virError structure.

5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908
Fri May 23 08:56:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Standardize use of header files, making internal.h primary.
	* qemud/internal.h, qemud/qemud.h: Rename this file so it
	doesn't conflict with src/internal.h.
	* HACKING: Document how header files should be used.
	* qemud/Makefile.am: Add src/ directory to includes.
	* qemud/event.c, qemud/mdns.c, qemud/qemud.c, qemud/remote.c,
	qemud/remote_protocol.c, qemud/remote_protocol.h,
	qemud/remote_protocol.x, src/buf.c, src/libvirt.c,
	src/nodeinfo.c, src/qemu_conf.c, src/qemu_driver.c,
	src/stats_linux.c, src/storage_backend.c, src/storage_backend_fs.c,
	src/storage_backend_iscsi.c, src/storage_backend_logical.c,
	src/storage_conf.c, src/storage_driver.c, src/util.c,
	src/util.h, src/virsh.c, src/virterror.c, src/xend_internal.c,
	src/xml.c, tests/reconnect.c, tests/xmlrpctest.c,
	tests/qparamtest.c: Standardize	use of header files.
	* docs/*, po/*: Rebuild docs.

5909 5910 5911 5912 5913 5914
Fri May 23 08:54:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Fix type-punning warning in remote code.
	* qemud/rpcgen_fix.pl: Case-insensitive string match on identifiers.
	* qemud/remote_protocol.c: Update this generated file.

5915 5916 5917 5918 5919 5920 5921
Thu May 22 19:47:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qparams.c: Support ; as a param separator. Misc memory
	leaks
	* tests/qparamtest.c, tests/Makefile.am: Add test suite for
	qparams code

5922 5923 5924 5925 5926
Thu May 22 19:44:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Refactor qemudBuildCommandLine to use a
	macro for readability

5927 5928 5929 5930 5931 5932 5933 5934 5935 5936
Thu May 22 12:22:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Apply CPU pinning at startup if requested for QEMU
	* src/qemu_conf.h: Store global CPU pinning data
	* src/qemu_conf.c: Parse and format CPU set mask for vCPUs
	* src/qemu_driver.c: Apply CPU pinning at startup
	* tests/qemuxml2argvdata/*.args: Add in -S arg which is now
	always used
	* src/xml.c, xml.h: Allow use of CPU set functions from QEMU

5937 5938 5939 5940 5941 5942 5943 5944
Thu May 22 12:20:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Add support for VCPU pinning in QEMU driver
	* configure.in: Add checks for sched.h/sched_getaffinity
	* src/qemu_conf.h: Add mapping of vcpu -> pids
	* src/qemu_driver.c: Detect vcpu -> pid mapping at startup
	of VMs. Support vcpu info and vcpu pinning driver APIs

5945 5946 5947 5948
Thu May 22 12:18:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/testutilsqemu.c: Added missing config.h include

5949 5950 5951 5952
Thu May 22 11:49:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Fix removal of iptables forwarding rules

5953 5954 5955 5956
Thu May 22 11:38:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Remove some duplicated error messages

5957 5958 5959 5960
Thu May 22 11:35:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Fix misleading comment about numactl

5961 5962 5963 5964
Thu May 22 11:31:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Quote all args to macros

5965 5966 5967 5968 5969 5970 5971 5972 5973
Thu May 22 11:24:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Support for NUMA info in the QEMU driver
	* configure.in: check for libnuma
	* libvirt.spec.in: add requirement on libnuma-devel at build
	* src/Makefile.am: add NUMA compiler / linker flags
	* src/qemu_conf.c: populate capabilities data with NUMA topology
	* src/qemu_driver.c: implement free memory APIs

5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986
Thu May 22 11:15:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Support the free memory API calls in the remote driver/daemon
	* qemud/Makefile.am: Remove tabs from generated RPC header
	* qemud/qemud/remote_generate_stubs.pl: Remove tabs from
	generated C file
	* qemud/remote_dispatch_*.h: Re-generated with for RPC calls
	* qemud/remote_protocol.x: Added NUMA free memory apis
	* qemud/remote_protocol.{c,h}: Re-generated with new RPC calls
	* qemud/remote.c: Implement dispatcher for free memory APIs
	* src/remote_internal.c: Implement functions for free
	memory APIs

D
Daniel P. Berrange 已提交
5987 5988 5989 5990 5991 5992 5993 5994 5995
Thu May 22 11:06:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Fix misc memory leaks
	* qemud/remote.c: Fix memory leaks in stats/migration APIs
	* src/libvirt.c: Fix use of uninitialized memory & memory
	leak in default auth helper
	* src/qparams.c: Fix memory leak, and convert to use new
	style memory allocation APIs

D
Daniel Veillard 已提交
5996 5997 5998 5999 6000
Thu May 22 16:56:12 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/formatdomain.html docs/formatdomain.html.in: Anton Protopopov
	  pointed out a few "copy-paste" errors

6001 6002 6003 6004
Wed May 21 17:13:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Fix exit status check when using -help arg

6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016
Wed May 21 16:24:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Fix up misc memory leaks / incorrect docs (Cole Robinson)
	* qemud/remote.c: Free the virDomainPtr object in the
	virDomainDestroy handler to avoid leak
	* src/hash.c: Added more ref count debug
	* src/libvirt.c: Clarified docs on virXXXDestroy to
	match reality
	* src/remote_internal.c: Free virDomain/Network objects
	after dispatching RPC error
	* src/virsh.c: Added some more virDomainFree calls

6017 6018 6019 6020 6021 6022
Wed May 21 15:42:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* python/generator.py: Don't free the underlying virDomainPtr
	object after the virDomainDestroy call. Same for virNetworkPtr
	From Cole Robinson.

6023 6024 6025 6026 6027
Wed May 21 15:42:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Run qemu with -help and don't pollute
	libvirtd environment

6028 6029 6030 6031 6032 6033 6034
Tue May 20 12:15:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Re-factor daemon startup code to avoid
	initializing the drivers if the pidfile is already claimed
	by another daemon instance. Always claim pidfile when running
	as root, even in non-daemon mode

6035 6036 6037 6038 6039
Tue May 20 17:53:29 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/remote.html docs/remote.html.in: patch from Kenneth Nagin
	  with Notes on the use of listen_tls/listen_tcp

J
Jim Meyering 已提交
6040 6041 6042 6043 6044
Fri May 16 18:53:12 CEST 2008 Jim Meyering <meyering@redhat.com>

	plug two leaks
	* src/qemu_conf.c (qemudParseXML): Free "obj" unconditionally.

6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056
Fri May 16 12:50:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Make QEMU test cases independant of QEMU capabilities on
	the host OS.
	* src/qemu_conf.c, src/qemu_driver.c: Move stat() check on
	qemu binary out of qemudBuildCommandLine() and into caller.
	* tests/Makefile.am: Add testutilsqemu.{c,h} to qemu tests
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: use
	stable capability set in tests, independant of host OS.
	* tests/testutilsqemu.c, tests/testutilsqemu.h: Define a
	stable capability set for test suites

J
Jim Meyering 已提交
6057 6058
Fri May 16 11:29:30 CEST 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
6059 6060
	* src/xml.c: Include "c-ctype.h".

J
Jim Meyering 已提交
6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097
	start using c-ctype functions
	Up to now, we've been avoiding ctype functions like isspace, isdigit,
	etc.  because they are locale-dependent.  Now that we have the c-ctype
	functions, we can start using *them*, to make the code more readable
	with changes like these:

	-        /* This may not work on EBCDIC. */
	-        if ((*p >= 'a' && *p <= 'z') ||
	-            (*p >= 'A' && *p <= 'Z') ||
	-            (*p >= '0' && *p <= '9'))
	+        if (c_isalnum(*p))

	-    while ((*cur >= '0') && (*cur <= '9')) {
	+    while (c_isdigit(*cur)) {

	Also, some macros in conf.c used names that conflicted with
	standard meaning of "BLANK" and "SPACE", so I've adjusted them
	to be in line with the definition of e.g., isblank.
	In addition, I've wrapped those statement macros with do {...} while (0),
	so that we can't forget the ";" after a use.  There was one like that
	already (fixed below).  The missing semicolon would mess up automatic
	indenting.
	* src/buf.c (virBufferURIEncodeString):
	* src/conf.c (IS_EOL, SKIP_BLANKS_AND_EOL, SKIP_BLANKS)
	(virConfParseLong, virConfParseValue, virConfParseName)
	(virConfParseSeparator, virConfParseStatement, IS_BLANK, IS_CHAR)
	(IS_DIGIT, IS_SPACE, SKIP_SPACES):
	* src/nodeinfo.c:
	* src/qemu_conf.c (qemudParseInterfaceXML):
	* src/qemu_driver.c (qemudDomainBlockStats):
	* src/sexpr.c:
	* src/stats_linux.c:
	* src/util.c (virParseNumber, virDiskNameToIndex):
	* src/uuid.c (hextobin, virUUIDParse):
	* src/virsh.c:
	* src/xml.c (parseCpuNumber, virParseCpuSet):

J
Jim Meyering 已提交
6098 6099 6100 6101 6102
	avoid a double-free bug
	* src/qemu_conf.c (qemudParseXML): Ensure that "obj" is either
	NULL or a valid malloc'd pointer before we might "goto error"
	where it is freed.

D
Daniel P. Berrange 已提交
6103 6104 6105 6106
Thu May 15 16:06:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Remove use of strcmp()

6107 6108 6109 6110
Thu May 15 12:21:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Fix default disk bus selection logic

D
Daniel P. Berrange 已提交
6111 6112 6113 6114 6115 6116 6117 6118 6119 6120
Thu May 15 12:16:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Support xenner bootloader capability
	* src/qemu_conf.c, src/qemu_conf.h: Add support for specifying a
	bootloader for paravirt xen guests
	* tests/qemuxml2argv-bootloader.{args,xml}: Test case data
	files for xen bootloader
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add
	test case for xen bootloader

6121 6122 6123 6124 6125 6126 6127
Thu May 15 12:11:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h: Pass the -name flag to QEMU
	if available.
	* tests/qemuxml2argvdata/qemuxml2argv-minimal.args,
	tests/qemuxml2argvtest.c: Test for launching with -name flag

6128 6129 6130
Thu May 15 12:08:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Support paravirt framebuffer input configuration for xenner guests
6131
	* src/qemu_driver.c, src/qemu_conf.c, src/qemu_conf.h: Add support
6132 6133 6134 6135 6136 6137
	 for 'xen' input device type for Xenner PVFB
	* tests/qemuxml2argv-input-xen.{args,xml}: Test case data
	files for xen input devices
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add
	test case for xen input devices

6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148
Thu May 15 11:57:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Support paravirt disk configuration for xenner guests
	* src/qemu_conf.c, src/qemu_conf.h: Add support for 'xen' disk
	bus and 'xvd' disk device names for Xenner
	* src/util.c: Support parsing 'xvd' disk names
	* tests/qemuxml2argv-disk-xenvbd.{args,xml}: Test case data
	files for xvd disks.
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add
	test case for xvd disk / xen bus type

6149 6150
Thu May 15 09:12:08 CEST 2008 Jim Meyering <meyering@redhat.com>

6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163
	Avoid using STREQLEN with a literal; use STRPREFIX instead
	Likewise for STRNEQLEN -> !STRPREFIX.
	* src/nodeinfo.c (linuxNodeInfoCPUPopulate):
	* src/qemu_conf.c (qemudNetworkIfaceConnect):
	(qemudParseInterfaceXML):
	* src/qemu_driver.c (qemudDomainBlockStats):
	* src/remote_internal.c (call):
	* src/stats_linux.c (xenLinuxDomainDeviceID):
	* src/xend_internal.c (xend_parse_sexp_desc):
	(xend_get, sexpr_to_xend_topology):
	* src/xm_internal.c (xenXMConfigCacheRefresh)
	(xenXMDomainFormatXML):

6164 6165
	* Makefile.maint (sc_prohibit_strcmp): Also prohibit strncmp.

6166 6167 6168 6169 6170 6171 6172 6173 6174
Thu May 15 15:07:49 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>

	* qemud/libvirtd.init.in: change libvirtd description
	which supports various guest not only Qemu
	* docs/*: typo fixes
	* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
	qemud/event.c, qemud/qemud.c, qemud/remote.c,
	src/event.c, src/proxy_internal.c: typo fixes in comment

6175 6176 6177 6178 6179 6180
Wed May 14 23:17:55 CEST 2008 Jim Meyering <meyering@redhat.com>

	exempt gnulib/ from "make syntax-check" strcmp prohibition
	* .x-sc_prohibit_strcmp: New file.
	* Makefile.am (EXTRA_DIST): Add .x-sc_prohibit_strcmp.

6181 6182 6183 6184 6185 6186 6187
Wed May 14 15:34:43 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Add 'listen_addr' config param to control
	the IP address the daemon listens on (Stefan de Konink)
	* qemud/libvirtd.conf: Added example listen_addr config param
	* src/remote_internal.h: #define constant for default IP addr

6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200
Wed May 14 15:34:43 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* proxy/libvirt_proxy.c, src/conf.c, src/hash.c,
	src/iptables.c, src/libvirt.c, src/openvz_conf.c,
	src/qemu_conf.c, src/remote_internal.c, src/sexpr.c,
	src/test.c, src/util.c, src/virsh.c, src/xen_unified.c,
	src/xend_internal.c, src/xm_internal.c, src/xml.c,
	src/xmlrpc.c, tests/virshtest.c, tests/xml2sexprtest.c,
	tests/xmlrpctest.c: Replace all use of strcmp, strncmp,
	etc with STREQ/STREQLEN/STRPREFIX macros.
	* Makefile.cfg: Enable strcmp syntax check
	* .x-sc_prohibit_strcmp: Blacklist gnulib module

6201 6202 6203 6204 6205 6206
Tue May 13 10:55:43 CEST 2008 Jim Meyering <meyering@redhat.com>

	avoid "not a string literal..." warnings
	* src/qemu_conf.c (qemudParseInterfaceXML): Add "%s".
	(qemudBuildCommandLine, qemudGenerateXML): Likewise.

6207 6208 6209
Mon May 12 23:32:21 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>

	* qemud/qemud.c: get siginfo with signals, distribute to drivers that
6210
	registers a handler
6211 6212 6213 6214 6215
	* src/driver.h: add sighandler function to state driver table
	* src/internal.h: define virStateSigDispatcher functions
	* src/libvirt.c: add __virStateSigDispatcher function
	* src/libvirt_sym.version: add __virStateSigDispatcher
	* src/lxc_driver.c: add sig handler function, cleanup vm when sigchld
6216
	received from container process
6217 6218 6219 6220
	* src/qemu_driver.c: NULL for sig handler (no handler) in state driver
	* src/remote_internal.c: NULL for sig handler (no handler) in state driver
	* src/storage_driver.c: NULL for sig handler (no handler) in state driver

6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235
Thu May  9 12:40:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* bootstrap: Added verify module
	* gnulib/lib/.cvsignore, gnulib/lib/Makefile.am: New verify module
	* gnulib/lib/c-ctype.c, gnulib/lib/c-ctype.h: Refreshed
	* gnulib/lib/verify.h: Refreshed upstream
	* gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-comp.m4,
	  gnulib/tests/Makefile.am: Refreshed with upstream
	* gnulib/tests/verify.h: Removed
	* src/qemu_conf.c, src/qemu_conf.h: Support -drive syntax and
	support virtio, and add bus attribute
	* src/util.c, src/util.h: helper for drive name to index convertor
	* tests/qemuxml2argvtest.c: Added virtio test
	* tests/qemuxml2argvdata/*.xml: Updated with bus attribute

6236 6237
Fri May  9 15:45:39 CEST 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
6238 6239 6240 6241 6242 6243 6244
	Add new files from gnulib.
	* gnulib/lib/c-ctype.c: New file.
	* gnulib/lib/c-ctype.h: Likewise.
	* gnulib/tests/test-c-ctype.c: Likewise.
	* gnulib/tests/test-vc-list-files-git.sh: Likewise.
	* gnulib/tests/test-vc-list-files-cvs.sh: Likewise.

6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264
	Use gnulib's c-ctype.h, not <ctype.h>.
	# Convert uses of isspace to c_isspace, isdigit to c_isdigit, etc.
	re=$(man isspace|grep is.....,.is|sed 's/ -.*//' \
	  |tr -s ', \n' \||sed 's/^|//;s/|$//')
	git grep -l -E "$re"|grep -Ev 'Chan|gnulib' \
	  |xargs perl -pi -e 's/\b('"$re"')\b/c_$1/g'
	# Remove all uses of to_uchar
	git grep -l to_uchar|xargs perl -pi -e 's/to_uchar\((.*?)\)/$1/g'
	* src/util.h (to_uchar): Remove definition.
	(TOLOWER): Remove definition.
	(__virMacAddrCompare): Use c_tolower, not TOLOWER.
	Globally:
	  Where needed, change <ctype.h> to <c-ctype.h>.
	  Remove unnecessary inclusion of <ctype.h>.
	Ensure the global changes are never needed again:
	* Makefile.maint (sc_avoid_ctype_macros): Prohibit use of ctype
	macros.   Recommend c-ctype.h instead.
	(sc_prohibit_c_ctype_without_use): New rule.
	(sc_prohibit_ctype_h): New rule.  Disallow use of <ctype.h>.

6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278
	Prepare to use gnulib's c-type module.
	* bootstrap: Move module list into separate variable w/less syntax.
	(modules): Add c-ctype.
	Update the following from gnulib:
	* build-aux/useless-if-before-free:
	* build-aux/vc-list-files:
	* gnulib/lib/Makefile.am:
	* gnulib/lib/getaddrinfo.h:
	* gnulib/m4/gnulib-cache.m4:
	* gnulib/m4/gnulib-comp.m4:
	* gnulib/m4/inet_ntop.m4:
	* gnulib/tests/Makefile.am:
	* gnulib/tests/test-getaddrinfo.c:

6279 6280 6281 6282 6283
Fri May  9 10:10:28 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/xen_unified.c src/xend_internal.c src/xend_internal.h: patch
	  from Cole Robinson implementing autostart for running Xen domains

6284 6285
Fri May  9 10:01:34 EST 2008 Jim Meyering <meyering@redhat.com>

6286 6287 6288
	sytnax-check: add a check for risky ctype macro use
	* Makefile.maint (sc_risky_ctype_macros): New rule.

6289 6290 6291
	avoid one more ctype vs. sign-extension problem
	* src/util.c (TOLOWER): Also convert tolower argument.

6292 6293 6294 6295 6296 6297 6298 6299 6300 6301
	add "const" and "static" attributes to file-scoped globals
	* src/storage_backend_fs.c (fileTypeInfo): Add "static" and two
	"const" attributes.
	(FileTypeInfo): Name the previously anonymous struct,
	so the declaration of fileTypeInfo looks more conventional.
	* src/xend_internal.c (sound_models): Mark as static, and
	as an array of "const" entries.
	These were relatively new additions to the list from here:
	nm src/*.o|grep ' D '

D
David L. Leskovec 已提交
6302 6303 6304 6305 6306
Thu May  9 00:07:34 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>

	* src/lxc_driver.c: use epoll in tty process to avoid consuming the
	cpu when the slave side disconnects

6307 6308 6309 6310
Thu May  8 10:36:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* HACKING: Added notes on string/memory/buffer internal APIs

6311 6312 6313 6314 6315 6316 6317 6318
Thu May  8 10:36:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c, src/xend_internal.c: Added 'bus' attribute
	to disk target.
	* tests/sexpr2xmldata/*.xml, tests/xmconfigdata/*.xml: Update
	to add bus attribute to disks
	* tests/sexpr2xmltest.c: Fix XenD config version for 2 test cases

D
Daniel P. Berrange 已提交
6319 6320 6321 6322 6323 6324
Thu May  8 10:19:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/page.xsl: Fix detection of sub-headings
	* docs/domain.html, docs/domain.html.in: Re-write content to
	reflect current domain XML format

D
Daniel P. Berrange 已提交
6325 6326 6327 6328 6329
Thu May  8 07:51:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/auth.html.in, src/auth.html: Fix policykit config docs
	(Cole Robinson)

6330 6331 6332 6333 6334
Wed May  7 14:49:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c, src/xml.c: Disable certain sound functions
	when built into proxy

6335 6336 6337 6338 6339
Wed May  7 18:12:11 CEST 2008 Daniel Veillard <veillard@redhat.com>

	*  src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: another patch
	   from Cole Robinson adding SetVcpus and DomainGetMaxVcpus for QEmu

6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353
Wed May  7 16:42:59 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* tests/qemuxml2argvdata/qemuxml2argv-sound.args
	  tests/qemuxml2argvdata/qemuxml2argv-sound.xml
	  tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr
	  tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
	  tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr
	  tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
	  tests/xmconfigdata/test-fullvirt-sound.cfg
	  tests/xmconfigdata/test-fullvirt-sound.xml
	  tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr
	  tests/xml2sexprdata/xml2sexpr-fv-sound.xml: other regression
	  tests from previous commit

D
Daniel Veillard 已提交
6354 6355 6356 6357 6358 6359 6360 6361 6362
Wed May  7 16:02:07 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.c src/qemu_conf.h src/xend_internal.c
	  src/xend_internal.h src/xm_internal.c src/xml.c src/xml.h:
	  Patch from Cole Robinson adding sound support for QEmu and Xen
	* tests/qemuxml2argvtest.c tests/sexpr2xmltest.c
	  tests/xmconfigtest.c tests/xml2sexprtest.c:
	  Associated regression tests

6363 6364 6365 6366
Mon May  6 17:43:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/memory.c: Add missing stddefs.h for ptrdiff_t type

6367 6368 6369 6370 6371
Tue May  6 23:20:12 EST 2008 Jim Meyering <meyering@redhat.com>

	* build-aux/vc-list-files: Add support for bzr.
	Patch by Soren Hansen.

6372 6373 6374 6375 6376
Mon May  5 15:57:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Check in /usr/sbin for iptables too, for SUSE
	distros (Jim Fehlig)

6377 6378 6379 6380 6381
Thu May  1 14:10:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Cope with NULL from qparam_get_query
	by removing unncessary check. (Dave Leskovec)

6382 6383 6384 6385 6386
Tue Apr 29 12:32:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Remove compatability macros AC_CHECK_*_ONCE for
	now part of onceonly.m4 in gnulib/m4/

J
Jim Meyering 已提交
6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397
Wed Apr 29 18:10:00 CEST 2008 Jim Meyering <meyering@redhat.com>

	update from gnulib, again
	* gnulib/m4/onceonly.m4: New file.
	* gnulib/m4/printf.m4: New file.
	* build-aux/useless-if-before-free: Update.
	* build-aux/vc-list-files: Update.
	* gnulib/lib/arpa_inet.in.h: Update.
	* gnulib/lib/stdio-impl.h: Update.
	* gnulib/m4/inet_ntop.m4: Update.

6398 6399 6400 6401 6402
Tue Apr 29 11:54:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Add compatability macros AC_CHECK_*_ONCE for
	older autoconf (RHEL-5 vintage)

6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416
Tue Apr 29 08:13:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h, src/xend_internal.c,
	src/xm_internal.c, src/xml.c: Added support for network
	interface model type setting
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c,
	tests/sexpr2xmltest.c, tests/xmconfigtest.c,
	tests/xml2sexprtest.c: Added test cases for NIC model type
	* tests/qemuxml2argvdata/qemuxml2argv-net-virtio.{xml,args},
	tests/sexpr2xmldata/sexpr2xml-net-e1000.{sexpr,xml},
	tests/xml2sexprdata/xml2sexpr-net-e1000.{sexpr,xml},
	tests/xmconfigdata/test-paravirt-net-e1000.{cfg,xml}: Added
	new data files for test cases

6417 6418
Tue Apr 29 21:43:28 CEST 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
6419 6420 6421
	Fix build errors.
	* proxy/Makefile.am (libvirt_proxy_LDADD): Add ../gnulib/lib/libgnu.la.
	* gnulib/lib/arpa_inet.in.h: Add new file from gnulib.
6422
	* gnulib/tests/test-EOVERFLOW.c: Likewise.
6423
	* gnulib/lib/stdio-impl.h: Likewise.
J
Jim Meyering 已提交
6424

J
Jim Meyering 已提交
6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475
	update from gnulib
	* gnulib/lib/inet_ntop.h: Remove file.
	* gnulib/m4/onceonly_2_57.m4: Remove file.
	* build-aux/useless-if-before-free: Update.
	* build-aux/vc-list-files: Update.
	* gnulib/lib/.cvsignore: Update.
	* gnulib/lib/Makefile.am: Update.
	* gnulib/lib/fseeko.c: Update.
	* gnulib/lib/getaddrinfo.c: Update.
	* gnulib/lib/getdelim.c: Update.
	* gnulib/lib/inet_ntop.c: Update.
	* gnulib/lib/inet_ntop.h: Update.
	* gnulib/lib/poll.c: Update.
	* gnulib/lib/snprintf.c: Update.
	* gnulib/lib/stdlib.in.h: Update.
	* gnulib/lib/string.in.h: Update.
	* gnulib/lib/sys_socket.in.h: Update.
	* gnulib/lib/sys_stat.in.h: Update.
	* gnulib/lib/vasnprintf.c: Update.
	* gnulib/lib/vasprintf.c: Update.
	* gnulib/lib/wchar.in.h: Update.
	* gnulib/m4/arpa_inet_h.m4: Update.
	* gnulib/m4/extensions.m4: Update.
	* gnulib/m4/gnulib-common.m4: Update.
	* gnulib/m4/gnulib-comp.m4: Update.
	* gnulib/m4/include_next.m4: Update.
	* gnulib/m4/inet_ntop.m4: Update.
	* gnulib/m4/netinet_in_h.m4: Update.
	* gnulib/m4/onceonly_2_57.m4: Update.
	* gnulib/m4/physmem.m4: Update.
	* gnulib/m4/snprintf.m4: Update.
	* gnulib/m4/stdint.m4: Update.
	* gnulib/m4/stdio_h.m4: Update.
	* gnulib/m4/stdlib_h.m4: Update.
	* gnulib/m4/string_h.m4: Update.
	* gnulib/m4/strndup.m4: Update.
	* gnulib/m4/sys_select_h.m4: Update.
	* gnulib/m4/sys_socket_h.m4: Update.
	* gnulib/m4/sys_stat_h.m4: Update.
	* gnulib/m4/vasnprintf.m4: Update.
	* gnulib/tests/Makefile.am: Update.
	* gnulib/tests/test-fseeko.c: Update.
	* gnulib/tests/test-getaddrinfo.c: Update.
	* gnulib/tests/test-getdelim.c: Update.
	* gnulib/tests/test-getline.c: Update.
	* gnulib/tests/test-lseek.c: Update.
	* gnulib/tests/test-snprintf.c: Update.
	* gnulib/tests/test-sys_stat.c: Update.
	* gnulib/tests/test-vasnprintf.c: Update.
	* gnulib/tests/test-vasprintf.c: Update.

6476 6477 6478 6479 6480 6481 6482 6483 6484 6485
	remove useless tests before xmlFree
	* src/qemu_conf.c (qemudParseDiskXML, qemudParseInterfaceXML):
	(qemudParseInputXML, qemudParseDhcpRangesXML):
	* src/remote_internal.c (doRemoteOpen):
	* src/storage_conf.c (virStoragePoolDefParseDoc):
	* src/xm_internal.c (xenXMParseXMLDisk, xenXMParseXMLVif):
	(xenXMParseXMLToConfig, xenXMAttachInterface):
	* src/xml.c (virDomainParseXMLDiskDesc, virDomainParseXMLIfDesc):
	(virDomainXMLDevID):

6486 6487 6488 6489 6490
Tue Apr 29 11:36:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/Makefile.am: Explicitly tell gcov to look in .libs for
	coverage data files

6491 6492 6493 6494 6495
Tue Apr 29 10:10:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_internal.c: Fix array out of bounds access in parsing
	capabilities data from Xen

D
Daniel P. Berrange 已提交
6496 6497 6498 6499 6500
Tue Apr 29 10:06:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/formatnetwork.html, docs/formatnetwork.html.in: Added
	docs on XML format for networks

6501 6502 6503 6504 6505
Tue Apr 29 09:46:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/hash.c: remove bogus test code accidentally added in
	previous commit

J
Jim Meyering 已提交
6506 6507
Tue Apr 29 15:20:12 CEST 2008 Jim Meyering <meyering@redhat.com>

6508 6509 6510
	also check for useless test-before-xmlFree
	* Makefile.cfg (useless_free_options): Add --name=xmlFree.

6511 6512 6513
	Recognize more uses of strcmp.
	* Makefile.maint (sc_prohibit_strcmp): Relax regexp.

6514 6515 6516 6517
	Avoid "make syntax-check" failures.
	* src/memory.c: Include "config.h".
	Remove trailing blanks.

J
Jim Meyering 已提交
6518 6519 6520 6521
	Avoid in-function #if directives.
	* src/parthelper.c [!PED_PARTITION_PROTECTED]: Define to 0.
	Remove in-function #ifdefs.

6522 6523 6524 6525 6526 6527
Tue Apr 29 09:15:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/parthelper.c: Don't fail if PED_PARTITION_PROTECTED
	  is not defined because of ancient libparted
	  (Soren Hansen).

6528 6529 6530 6531 6532 6533 6534 6535 6536 6537
Mon Apr 28 17:24:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/memory.h, src/memory.c: Added safer APIs for dealing
	with low level memory allocation.
	* src/hash.c, src/capabilities.c: Convert to new memory
	allocation APIs
	* src/internal.h: Define ATTRIBUTE_RETURN_CHECK and fix
	type in virDebug no-op impl
	* proxy/Makefile.am: Build and link against memory.c

6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548
Mon Apr 28 10:24:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/buf.c, src/buf.h: Change API to move errors checks to
	a single place
	* src/capabilities.c, src/conf.c, src/lxc_conf.c, src/qemu_conf.c,
	src/qparams.c, src/storage_conf.c, src/test.c, src/virsh.c,
	src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c,
	src/xmlrpc.h, tests/xmlrpctest.c: Update to conform with new
	virBuffer API
	* src/libvirt_sym.version: Add new virBuffer APIs for virsh

J
Jim Meyering 已提交
6549 6550 6551 6552 6553 6554
Mon Apr 28 16:11:22 CEST 2008 Jim Meyering <meyering@redhat.com>

	fix typo in bootstrap script
	* bootstrap: Fix typo: s/gnulib/.gnulib/.  Reported by
	Daniel P. Berrange.

6555 6556 6557 6558 6559
Mon Apr 28 09:32:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/.valgrind.supp, tests/Makefile.am: Ignore bash bugs when
	running valgrind

J
Jim Meyering 已提交
6560 6561 6562 6563 6564 6565
Mon Apr 28 11:08:58 CEST 2008 Jim Meyering <meyering@redhat.com>

	avoid format-related warnings
	* qemud/qemud.c (main): Fix a bogus format string reported as unmarked.
	* src/virsh.c (cmdVcpupin): Non-literal with no args.

6566 6567 6568 6569 6570 6571 6572
Mon Apr 28 10:26:17 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/Makefile.am docs/et.png docs/libvirt.css docs/page.xsl
	  docs/*.html docs/html/*.html: removed footer, added sponsor logo
	  regenerated the html pages also fixed 'make distcheck' as
	  pointed by Jim.

6573 6574 6575 6576 6577 6578 6579 6580 6581 6582
Sat Apr 26 10:21:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c, src/xml.c, src/xml.h, src/xend_internal.c,
	src/xend_internal.h: Added support for serial and parallel
	devices
	* tests/sexpr2xmltest.c, tests/xml2sexprtest.c, tests/xmconfigtest.c:
	added tests for serial and parallel devices
	* tests/sexpr2xmldata/*, tests/xml2sexprdata/*, tests/xmconfigdata/*:
	updated for new test cases

6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595
Fri Apr 25 16:45:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/internal.c: Convenience macros for fixed arrays
	* src/qemu_driver.c: Extract TTY paths for serial and parallel
	devices too
	* src/qemu_conf.c, src/qemu_conf.h: Support arbitrary serial
	and parallel devices.
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add tests
	for serial and parallel devices
	* tests/qemuxml2argvdata/*: Updated and added data files for
	new test cases

Fri Apr 25 12:21:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
6596 6597 6598 6599 6600 6601 6602

	* docs/page.xsl, docs/libvir.css: Re-arrange layout to workaround
	IE6 bugs
	* docs/site.xsl, docs/newapi.xsl, docs/ChangeLog.xsl: Switch to
	HTML strict to avoid layout bugs in transitional mode
	* docs/*.html: Re-generate files with new layout

6603 6604 6605 6606 6607
Fri Apr 25 17:44:28 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/qemud.c: applied patch from Anton Protopopov to change
	  group ownership of /var/run/libvirt/ to unix_sock_gid.

6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618
Fri Apr 25 16:51:58 CEST 2008 Jim Meyering <meyering@redhat.com>

	avoid problems with sign-extended "char" operand to is* functions
	* src/util.h (to_uchar): Define function.
	* src/sexpr.c (_string2sexpr): Apply to_uchar to is* operand.
	* src/nodeinfo.c (linuxNodeInfoCPUPopulate): Likewise.
	* src/qemu_driver.c (qemudExtractMonitorPath): Likewise.
	* src/stats_linux.c (xenLinuxDomainDeviceID): Likewise.
	* src/util.c (TOLOWER, __virMacAddrCompare, virParseMacAddr): Likewise.
	* src/virsh.c (cmdVcpupin, vshCommandGetToken): Likewise.

D
Daniel Veillard 已提交
6619 6620 6621 6622 6623
Thu Apr 24 17:18:18 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/page.xsl docs/redhat.gif docs/*.html: using the shadowman
	  logo to indicate Red Hat sponsoring, regenerated.

6624 6625 6626 6627
Thu Apr 24 14:34:37 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* AUTHORS: update, list people with commit access

D
Daniel Veillard 已提交
6628 6629 6630 6631
Thu Apr 24 11:42:53 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* libvirt.css search.php: fix the search box and PHP output

6632 6633
Thu Apr 24 18:00:21 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>

D
Daniel Veillard 已提交
6634
	* proxy/libvirt_proxy.c docs/*: fixing typos
6635

D
Daniel Veillard 已提交
6636 6637 6638 6639 6640
Thu Apr 24 09:54:19 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* AUTHORS: indicate that the Logo is by Diana Fong
	* docs/index.py: modify to also index subprojects pages

D
Daniel P. Berrange 已提交
6641 6642 6643 6644
Wed Apr 23 15:38:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/Makefile.am, docs/news.xsl: Fix generation of NEWS file

D
Daniel P. Berrange 已提交
6645 6646 6647 6648 6649
Wed Apr 23 13:43:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/page.xsl: Fix link to wiki when href_base is set
	* docs/html/*.html: Regnerate to fix wiki link

6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663
Wed Apr 23 12:18:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/libvir.html, docs/*.html.in: Removed merged HTML docs
	and replaced with one file per page
	* docs/*.html: Re-generated with new page layout
	* docs/page.xsl: New master page template and navigation
	* docs/site.xsl, docs/newapi.xsl, docs/ChangeLog.xsl: Updated
	to use new page.xsl templates
	* libvirt-net-*.{fig,png}: Added diagrams illustrating some
	ways of using virtual networking
	* docs/*.css: New styles for site
	* docs/html/*: Re-generated for new page layout & removed
	unused files

6664 6665 6666 6667 6668 6669 6670
2008-04-21  Jim Meyering  <meyering@redhat.com>

	Enable 'make syntax-check's sc_changelog rule.
	* Makefile.maint (sc_changelog): Adapt to work with legacy
	ChangeLog entry header lines.
	* Makefile.cfg (local-checks-to-skip): Remove sc_changelog.

D
Daniel P. Berrange 已提交
6671 6672 6673 6674 6675 6676
Fri Apr 18 14:30:12 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Work around Python.h name-space pollution.
	* python/types.c (HAVE_PTHREAD_H): #undef.
	Without this, we'd get a redefinition warning.

6677 6678 6679 6680 6681 6682
Fri Apr 18 20:07:12 CEST 2008 Jim Meyering <meyering@redhat.com>

	Work around Python.h name-space pollution.
	* python/libvir.c (HAVE_PTHREAD_H): #undef.
	Without this, we'd get a redefinition warning.

6683 6684 6685 6686 6687 6688 6689 6690 6691
Fri Apr 18 11:26:24 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/Makefile.am: Add abs_srcdir and abs_builddir to test
	environment
	* tests/test_conf.sh: Refactor to pretty print
	* tests/statstest.c, tests/xencapstest.c, tests/xmconfigtest.c:
	Use new virtTestDifference for display. Autoset abs_srcdir if
	not in environment. Refactor common code into macros

6692 6693 6694 6695 6696
Fri Apr 18 11:04:24 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* tests/testutils.h, tests/testutils.c: Add virtTestDifference
	for printing out trimmed string differences

6697 6698 6699 6700 6701
Fri Apr 18 11:24:24 CEST 2008 Jim Meyering <meyering@redhat.com>

	avoid compile error when <pthread.h> is absent
	* src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".

R
Richard W.M. Jones 已提交
6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713
Fri Apr 18 09:27:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Fixes for MinGW.
	* configure.in: Fix pkg-config detection of libxml2,
	  add -lgcrypt to gnutls lib.
	* src/Makefile.am: If compiling --without-libvirtd then
	  don't compile any part of the storage driver.
	* configure.in, src/hash.c, src/internal.h: Detect availability
	  of pthread library and compile out mutex code if not available.
	* src/storage_driver.c, src/util.c: Ignore some missing
	  headers on MinGW.

6714 6715 6716 6717 6718
Tue Apr 15 17:19:16 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* virsh.1 docs/virsh.pod: fix missing entries and small cleanups
	  in the man page, should fix #442429

6719 6720 6721 6722
Mon Apr 14 13:44:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* po/POTFILES.in: Added src/lxc_container.c entry

6723 6724 6725 6726 6727
Thu Apr 10 18:33:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Remove unused uid field in virsh control structure.
	* src/virsh.c: Remove unused uid field in virsh control structure.

6728 6729
Thu Apr 10 18:54:03 CEST 2008 Jim Meyering <meyering@redhat.com>

6730 6731
	HACKING: New file: begin to describe contributor/coding guidelines

6732 6733 6734
	ensure that no C source file uses TABs for indentation
	* Makefile.maint (sc_TAB_in_indentation): New rule.

6735 6736 6737 6738
	Convert TAB-based indentation in C sources to use only spaces.
	Done using this command (also includes .c.in and .h.in files):
	for i in $(g ls-files|grep -E '\.[ch](\.in)?$'|grep -v gnulib); do
	  expand -i $i > j && mv j $i;done
6739 6740 6741 6742 6743 6744 6745 6746

	Remove Vim and Emacs variable settings from C source files.
	Done with these commands:
	git grep -l Local.variab|xargs \
	  perl -0x3b -pi -e 's,\n+/\*\n \* vim:(.|\n)*,\n,'
	git grep -l Local.variab|xargs \
	  perl -0x3b -pi -e 's,\n+/\*\n \* Local variables:\n(.|\n)*,\n,'

D
Daniel Veillard 已提交
6747 6748 6749 6750 6751 6752
Thu Apr 10 15:28:36 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* AUTHORS: adding Dave Leskovec and Ryan Scott to the authors list
	* po/*: rebuilt

Thu Apr 10 15:24:40 CEST 2008 Daniel Veillard <veillard@redhat.com>
6753 6754 6755 6756

	* src/xend_internal.c: applied a patch from Ryan Scott to ask
	  xend to save the change in the config file

D
Daniel Veillard 已提交
6757
Thu Apr 10 09:28:31 CEST 2008 Daniel Veillard <veillard@redhat.com>
6758 6759 6760 6761 6762 6763

	* src/Makefile.am src/lxc_conf.c src/lxc_conf.h src/lxc_container.c
	  src/lxc_container.h src/lxc_driver.c: Applied second set of
	  linux container patches from Dave Leskovec adding start/stop
	  of domains

R
Richard W.M. Jones 已提交
6764 6765 6766 6767 6768
Wed Apr  9 16:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Add virsh.pod to EXTRA_DIST
	* docs/Makefile.am: Add virsh.pod to EXTRA_DIST.

6769 6770 6771 6772 6773 6774
Wed Apr  9 15:00:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Core code contains Xen-ism UUID of dom0 = 0..0
	* src/libvirt.c: Remove a Xen-ism from the core code, the
	  assumption that dom0's UUID is all zeroes.

6775 6776 6777 6778 6779 6780
Wed Apr  9 14:56:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Warn about conn, dom and net fields in virterror
	* include/libvirt/virterror.h: Warn about the use of
	  conn, dom and net fields in virterror.

6781 6782 6783 6784 6785 6786
Wed Apr  9 14:46:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Remove extraneous underscore
	* src/openvz_conf.c: Remove extraneous underscore which stopped
	  file from compiling (Anton Protopopov).

D
Daniel Veillard 已提交
6787
Tue Apr  8 18:44:27 CEST 2008 Daniel Veillard <veillard@redhat.com>
D
Daniel Veillard 已提交
6788 6789 6790

	* configure.in NEWS doc/* po/*: making libvirt-0.4.2 release

6791 6792
Mon Apr  8 17:32:07 CET 2008 Jim Meyering <meyering@redhat.com>

6793 6794
	* configure.in (ALL_LINGUAS): Fix typo: s/Latn/latin/.

6795 6796 6797 6798 6799 6800 6801 6802
	Don't fail to read a file because it's non-seekable (e.g., a pipe).
	* src/util.c (fread_file_lim): New function.
	(__virFileReadAll): Use fread_file_lim, rather than requiring
	that stat.st_size provide a usable file size.
	* tests/read-non-seekable: New test, for the above.
	* tests/Makefile.am (test_scripts): Add read-non-seekable.
	* tests/test-lib.sh (mkfifo_or_skip_): New helper function.

6803 6804 6805 6806 6807
Tue Apr  8 13:24:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/qemu_driver.c: Handle errors from fork(2) and pipe(2)
	  system calls when creating qemu subprocess.

D
Daniel Veillard 已提交
6808
Tue Apr  8 11:50:42 CEST 2008 Daniel Veillard <veillard@redhat.com>
6809 6810 6811 6812

	* po/sr.po po/sr@Latn.po po/sr@latin.po: fix/update serbian
	  translations.

D
Daniel Veillard 已提交
6813
Tue Apr  8 11:24:28 CEST 2008 Daniel Veillard <veillard@redhat.com>
6814 6815 6816 6817

	* src/test.c: patch from Cole Robinson adding xen and hvm guest types
	  to the test driver's capabilities.

D
Daniel Veillard 已提交
6818
Tue Apr  8 10:19:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
6819 6820 6821

	* python/generator.py: fix an infinite loop bug

6822 6823 6824 6825
Mon Apr  7 14:36:56 CET 2008 Jim Meyering <meyering@redhat.com>

	* tests/vcpupin: Add a test for the 2008-04-04 virsh.c bugfix.

D
Daniel Veillard 已提交
6826 6827 6828 6829 6830
Mon Apr  7 12:53:01 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs/bugs.html docs/libvir.html: update the page bugzilla URIs
	  depending on the set the user is running.

6831 6832 6833 6834 6835 6836
Fri Apr  4 11:00:08 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: Don't run polkit-auth if running as root
	* qemud/qemud.c, qemud/remote.c, qemud/internal.h: Don't
	ask client for polkit auth if they are running as root

D
Daniel Veillard 已提交
6837 6838 6839 6840
Fri Apr  4 13:19:08 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Shigeki Sakamoto adding message on vcpupin

D
Daniel Veillard 已提交
6841 6842 6843 6844 6845
Fri Apr  4 10:04:23 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs//* po/*: regenerated the documentation and reextracted the
	  full set of localization strings to push to the translation team.

D
Daniel Veillard 已提交
6846 6847 6848 6849 6850 6851 6852
Fri Apr  4 09:56:42 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* docs//* src/conf.c src/hash.c src/libvirt.c src/proxy_internal.c
	 src/remote_internal.c src/virsh.c src/xen_internal.c
	 src/xend_internal.c src/xml.c: applied patch from Atsushi SAKAI
	 fixing a lot of typos

6853 6854 6855 6856 6857
Fri Apr  4 09:29:08 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/test.c: patch from Cole Robinson to add
	  virNodeGetCellsFreeMemory to the test driver

6858 6859 6860 6861 6862 6863
Wed Apr  2 17:19:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	C99 initializer on __lastErr
	* src/virterror.c: Use C99 initializers to make initialization
	  of __lastErr clearer (Guido Günther).

6864 6865 6866 6867 6868
Tue Apr  1 15:00:03 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/lxc_conf.c: patch from Dave Leskovec fixing an freed memory
	  access I introduced yesterday

6869 6870 6871 6872 6873 6874
Mon Mar 31 16:35:47 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/hash.c src/internal.h src/virterror.c: remove dandling
	  domain/net/conn pointers from error data when released.
	* src/lxc_driver.c: fix a NULL/0 return error mismatch

6875 6876 6877 6878 6879
Mon Mar 31 14:12:42 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in: small patch from Mike Gerdts to avoid problems with
	  older awk implementations, fixes #439649

6880 6881 6882 6883 6884 6885 6886 6887
Mon Mar 31 13:58:25 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* src/lxc_conf.c src/lxc_conf.h: cleanup patch for the conf driver
	  of linux countainers, reuse XPath helpers, make string fields dynamic
	  and remove a memory leak.
	* src/lxc_driver.c: avoid some problems when the config directory is
	  not accessible and for regression tests

6888 6889 6890 6891 6892 6893 6894 6895
Fri Mar 28 16:34:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/network.rng: Add new routed networking schema
	* src/iptables.c, src/iptables.h: Add iptablesAddForwardAllowRelatedIn
	and iptablesRemoveForwardAllowRelatedIn
	* src/qemu_conf.h: Add attribute for routed networking
	* src/qemu_conf.c: Parse / format new networking attributes
	* src/qemu_driver.c: Support routed networking config
6896 6897
	  (patches from Mads Chr. Olesen)

6898
Fri Mar 28 13:55:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
6899 6900 6901 6902

	* src/storage_conf.c: Fix XML output tag for FS storage pools
	directory path

6903 6904 6905 6906 6907 6908
Thu Mar 27 20:59:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/iptables.c: Ensure masquering rule only catches traffic
	leaving the virtual network, and not traffic inside it
	(patch from Charles Duffy)

6909 6910
Thu Mar 27 14:36:56 CET 2008 Jim Meyering <meyering@redhat.com>

6911 6912 6913 6914
	lxcError: mark a string and add to the list of nearly-checked functions
	* Makefile.maint (msg_gen_function): Add, but commented-out.
	* src/lxc_conf.c (lxcParseXML): Mark a diagnostic for translation.

6915 6916 6917 6918 6919
	testError: mark most string arguments for translation
	* Makefile.maint (msg_gen_function): Add testError
	* src/test.c (testDomainSave, testDomainRestore): Mark strings.
	(testDomainCoreDump): Likewise.

6920 6921 6922 6923 6924 6925 6926
	openvzLog: mark its string arguments for translation
	* Makefile.maint (msg_gen_function): Add openvzLog.
	* src/openvz_conf.c (openvzAssignVMDef, openvzParseXML): Mark strings.
	* src/openvz_driver.c (openvzDomainShutdown, openvzDomainReboot):
	(openvzDomainDefineXML, openvzDomainCreateLinux):
	(openvzDomainCreate, openvzDomainUndefine): Likewise.

6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940
	error: mark most string arguments for translation
	Also mark some arguments to __virRaiseError.
	* Makefile.maint (msg_gen_function): Add error.
	* po/POTFILES.in: Add src/openvz_conf.c and src/openvz_driver.c.
	* src/openvz_conf.c (openvzParseXML, openvzGetVPSInfo): Mark strings.
	* src/openvz_driver.c (openvzDomainLookupByID): Likewise.
	(openvzDomainLookupByUUID, openvzDomainLookupByName): Likewise.
	(openvzDomainGetInfo, openvzDomainShutdown, openvzDomainReboot)
	(openvzDomainCreate, openvzDomainUndefine): Likewise.
	* src/remote_internal.c (check_cert_file): Likewise.
	(negotiate_gnutls_on_connection, verify_certificate): Likewise.
	(remoteAuthenticate, addrToString, remoteAuthSASL): Likewise.
	(remoteAuthPolkit, call, really_read_buf): Likewise.

6941 6942 6943 6944 6945 6946 6947
	Convert diagnostics like "VAR > MAX_VAR" to translatable messages.
	* src/remote_internal.c (errorf): New function.
	(remoteListDomains, remoteDomainPinVcpu, remoteDomainGetVcpus):
	(remoteListDefinedDomains, remoteListNetworks):
	(remoteListDefinedNetworks): Convert strings to be translatable,
	and also to include offending and maximum values.  Use errorf.

6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962
	qemudReportError: mark for translation string args to this function
	* Makefile.maint (msg_gen_function): Add qemudReportError.
	* src/qemu_conf.c (qemudLoadDriverConfig)
	(qemudExtractVersion, qemudParseDiskXML, qemudParseInterfaceXML)
	(qemudParseInputXML, qemudParseXML, qemudNetworkIfaceConnect)
	(qemudBuildCommandLine, qemudSaveConfig, qemudParseVMDeviceDef)
	(qemudAssignVMDef, qemudSaveVMDef, qemudSaveNetworkConfig)
	(qemudParseDhcpRangesXML, qemudParseNetworkXML)
	(qemudAssignNetworkDef, qemudSaveNetworkDef, qemudGenerateXML)
	(qemudGenerateNetworkXML, qemudDeleteConfig): Mark strings.
	* src/qemu_driver.c (qemudBuildDnsmasqArgv, qemudAddIptablesRules)
	(qemudGetCapabilities, qemudDomainGetOSType)
	(qemudListDefinedDomains, qemudListNetworks)
	(qemudListDefinedNetworks, qemudNetworkGetBridgeName): Mark strings.

6963 6964 6965 6966
	ReportError: mark for translation string args to this function
	* Makefile.maint (msg_gen_function): Add ReportError.
	* src/util.c (_virExec): Mark strings.

6967 6968 6969 6970 6971
	xenXMError: mark for translation string args to this function
	* Makefile.maint (msg_gen_function): Add xenXMError.
	* src/xm_internal.c (xenXMParseXMLToConfig, xenXMDomainDefineXML):
	(xenXMDomainAttachDevice, xenXMDomainDetachDevice): Mark strings.

6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033
	Mark many more strings for translation.
	* Makefile.maint (err_func_re): Add to the list and make it readable.
	* po/POTFILES.in: Add src/util.c and src/xm_internal.c, and sort.
	* src/storage_backend.c: Fix comment.
	* src/util.c (virFileLinkPointsTo): Mark a string.
	* qemud/remote.c (remoteDispatchClientRequest): Mark strings.
	(remoteDispatchOpen, CHECK_CONN, remoteDispatchGetType): Likewise.
	(remoteDispatchDomainGetSchedulerType): Likewise.
	(remoteDispatchDomainGetSchedulerParameters): Likewise.
	(remoteDispatchDomainSetSchedulerParameters): Likewise.
	(remoteDispatchDomainBlockStats): Likewise.
	(remoteDispatchDomainInterfaceStats): Likewise.
	(remoteDispatchDomainAttachDevice, remoteDispatchDomainCreate):
	(remoteDispatchDomainDestroy, remoteDispatchDomainDetachDevice):
	(remoteDispatchDomainDumpXml, remoteDispatchDomainGetAutostart):
	(remoteDispatchDomainGetInfo, remoteDispatchDomainGetMaxMemory):
	(remoteDispatchDomainGetMaxVcpus, remoteDispatchDomainGetOsType):
	(remoteDispatchDomainGetVcpus): Likewise.
	(remoteDispatchDomainMigratePerform): Likewise.
	(remoteDispatchListDefinedDomains, remoteDispatchDomainPinVcpu):
	(remoteDispatchDomainReboot, remoteDispatchDomainResume):
	(remoteDispatchDomainSave, remoteDispatchDomainCoreDump):
	(remoteDispatchDomainSetAutostart): Likewise.
	(remoteDispatchDomainSetMaxMemory, remoteDispatchDomainSetMemory):
	(remoteDispatchDomainSetVcpus, remoteDispatchDomainShutdown):
	(remoteDispatchDomainSuspend, remoteDispatchDomainUndefine):
	(remoteDispatchListDefinedNetworks, remoteDispatchListDomains):
	(remoteDispatchListNetworks, remoteDispatchNetworkCreate):
	(remoteDispatchNetworkDestroy, remoteDispatchNetworkDumpXml):
	(remoteDispatchNetworkGetAutostart, remoteDispatchNetworkGetBridgeName):
	(remoteDispatchNetworkSetAutostart, remoteDispatchNetworkUndefine):
	(addrToString, remoteDispatchAuthSaslInit, remoteDispatchAuthSaslStart):
	(remoteDispatchAuthSaslStep, remoteDispatchListDefinedStoragePools):
	(remoteDispatchListStoragePools, remoteDispatchStoragePoolCreate):
	(remoteDispatchStoragePoolBuild, remoteDispatchStoragePoolDestroy):
	(remoteDispatchStoragePoolDelete, remoteDispatchStoragePoolRefresh):
	(remoteDispatchStoragePoolGetInfo, remoteDispatchStoragePoolDumpXml):
	(remoteDispatchStoragePoolGetAutostart): Likewise.
	(remoteDispatchStoragePoolSetAutostart):
	(remoteDispatchStoragePoolListVolumes):
	(remoteDispatchStoragePoolNumOfVolumes):
	(remoteDispatchStoragePoolUndefine, remoteDispatchStorageVolCreateXml):
	(remoteDispatchStorageVolDelete, remoteDispatchStorageVolGetInfo):
	(remoteDispatchStorageVolDumpXml, remoteDispatchStorageVolGetPath):
	(remoteDispatchStorageVolLookupByName): Likewise.
	* src/qemu_driver.c (qemudOpenMonitor, qemudStartVMDaemon):
	(dhcpStartDhcpDaemon, qemudStartNetworkDaemon):
	(qemudDomainSuspend, qemudDomainResume, qemudDomainShutdown):
	(qemudDomainGetOSType, qemudDomainSetMaxMemory):
	(qemudDomainSetMemory, qemudDomainGetInfo, qemudDomainSave):
	(qemudDomainRestore, qemudDomainDumpXML, qemudDomainStart):
	(qemudDomainUndefine, qemudDomainChangeCDROM):
	(qemudDomainAttachDevice, qemudDomainGetAutostart):
	(qemudDomainSetAutostart, qemudDomainInterfaceStats):
	(qemudNetworkLookupByUUID, qemudNetworkLookupByName):
	(qemudNetworkUndefine, qemudNetworkStart, qemudNetworkDestroy):
	(qemudNetworkDumpXML, qemudNetworkGetAutostart):
	(qemudNetworkSetAutostart): Likewise.
	* src/virsh.c (cmdVcpupin, cmdAttachDevice, cmdDetachDevice): Likewise.
	* src/xm_internal.c (xenXMConfigCacheRefresh, xenXMDomainPinVcpu):
	Likewise.

7034 7035 7036 7037 7038 7039 7040
Thu Mar 27 10:30:12 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/lxc_conf.c src/lxc_conf.h src/lxc_driver.c src/remote_internal.c:
	  applied patch from Dan Berrange to change the way the lxc driver
	  works, migrating the support in the daemon, it also removes some
	  compilation issues and teh way the configuration files are named.

7041 7042 7043 7044 7045
Thu Mar 27 09:09:34 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/storage_backend_iscsi.c: patch from Chris Lalancette to improve
	  support with older versions of iscsiadm.

7046 7047 7048 7049 7050
Wed Mar 26 14:00:47 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c proxy/libvirt_proxy.c: fix Xen hypercall for
	  Xen-3.2, and merged its debugging with the general library facility

7051 7052 7053 7054
Wed Mar 26 12:57:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	* po/lt.po: Fixed typo (Beth Kon).

7055 7056 7057 7058 7059
Tue Mar 25 10:23:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: Additional error messages for missing
	  parameters (Shigeki Sakamoto).

7060 7061 7062 7063 7064
Mon Mar 24 11:56:58 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: remove trailing newlines from error messages
	  patch from Guido Günther

7065 7066 7067 7068 7069
Mon Mar 24 11:47:47 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: applied patch from Guido Günther to make error
	  strings as translatable

J
Jim Meyering 已提交
7070 7071
Mon Mar 24 11:16:58 CET 2008 Jim Meyering <meyering@redhat.com>

7072 7073
	* Makefile.maint (err_func_re): Add lxcError.

7074 7075
	* qemud/remote.c: Don't include <getopt.h>. Not used.

7076 7077 7078 7079
	Sync Makefile rules from coreutils.
	* Makefile.maint: Merge.
	* GNUmakefile: Update from coreutils.

7080 7081 7082 7083 7084 7085 7086 7087 7088
	Add new testing framework and the first test to use it.
	* tests/Makefile.am (test_scripts): Add vcpupin.
	(EXTRA_DIST): Add test-lib.sh.
	* tests/test-lib.sh: Testing framework, from coreutils.
	* tests/vcpupin: New file.
	* build-aux/mktempd: New file, from gnulib.
	* bootstrap: Add posix-shell and mktempd to the list of imported modules.
	* gnulib/m4/posix-shell.m4: New file, from gnulib.

J
Jim Meyering 已提交
7089 7090 7091 7092 7093 7094
	Fix bugs in tests/Makefile.am.
	* tests/Makefile.am (TESTS_ENVIRONMENT): Correct invalid
	settings of abs_top_builddir and abs_top_srcdir.
	Also prepend src/ to PATH, so we test the just-built virsh,
	not whatever happens to be in the original $PATH.

7095 7096 7097 7098 7099 7100
Mon Mar 24 10:20:21 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: applied patch from Saori Fukuta adding the
	  scheduler API for the Xen daemon driver
	* po/POTFILES.in: add the two new linux container modules

D
Daniel Veillard 已提交
7101 7102 7103 7104 7105 7106 7107 7108
Fri Mar 21 15:59:53 CET 2008 Daniel Veillard <veillard@redhat.com>

	* configure.in include/libvirt/virterror.h src/Makefile.am
	  src/driver.h src/lxc_conf.[ch] src/lxc_driver.[ch] src/virterror.c:
	  Applied 3 patches from Dave Leskovec for intial support of
	  Linux containers, configured off by default, work in progress.
	* src/libvirt.c: improve virDomainCreateLinux xmlDesc description

7109 7110 7111 7112 7113 7114
Thu Mar 20 12:23:03 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/util.c src/util.h src/xml.c: applied patch from Hiroyuki Kaguchi
	  fixing Ethernet MAC addresses parsingand separating as an util
	  function, with added comments from Jim Meyering

7115 7116 7117 7118 7119
Wed Mar 19 15:31:34 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.c src/qemu_conf.h src/qemu_driver.c: applied patch
	  from Cole Robinson implementing memory operations for qemu driver

7120 7121 7122 7123 7124
Tue Mar 18 23:31:26 CET 2008 Jim Meyering <meyering@redhat.com>

	Avoid "make syntax-check" failure.
	* src/xen_unified.c: Remove trailing blank.

7125 7126 7127 7128 7129 7130 7131 7132 7133
Mon Mar 17 13:24:22 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Add WITH_PROXY to config.h file
	* src/remote_internal.c: Handle local Xen URIs if Xen drivers
	declines them
	* src/xen_unfied.c: Use explicit logic for opening sub-drivers
	rather than a hacked loop.
	* src/xend_internal.c: Don't complain about failing to open
	xend when non-root read-only.
7134

7135 7136 7137 7138 7139 7140
Mon Mar 17 17:55:56 CET 2008 Jim Meyering <meyering@redhat.com>

	Treat ENOTSUP like ENODATA, after failed fgetfilecon.
	* src/storage_backend.c (virStorageBackendUpdateVolInfoFD): Treat a
	failed fgetfilecon with errno == ENOTSUP the same as for ENODATA.

7141 7142 7143 7144 7145
Mon Mar 17 17:40:12 CET 2008 Daniel Veillard <veillard@redhat.com>

	* libvirt.c: fixed DefinedDomains function comments c.f. 437216
	* docs/libvirt-*.xml docs/*/libvirt-libvirt.html: regenerated

7146 7147 7148 7149 7150 7151
Mon Mar 17 11:10:22 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_driver.c: Don't crash if backend is missing the
	startPool operation, and run refreshPool when creating an
	unmanaged pool

7152 7153 7154 7155 7156
Mon Mar 17 11:09:22 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/storage_backend.c: Cope with missing SELinux context
	data by ignoring the error

7157 7158 7159 7160 7161
Mon Mar 17 11:46:09 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c docs/libvirt-*.xml docs/html/libvirt-libvirt.html:
	  fixed a few missing argument descriptions and regenerated.

7162 7163 7164 7165
Mon Mar 17 11:23:32 CET 2008 Daniel Veillard <veillard@redhat.com>

	* NEWS virsh.1 docs//* include/libvirt/libvirt.h[.in] qemud/mdns.h
	  src/libvirt.c src/qemu.conf src/remote_internal.c src/xend_internal.c
7166
	  tests/confdata/libvirtd.conf tests/confdata/libvirtd.out: patch from
7167 7168
	  Atsushi SAKAI fixing a ot more typo

7169 7170 7171 7172 7173 7174 7175
Fri Mar 14 16:38:34 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/bridge.c, src/bridge.h: Don't set MAC address on TAP
	device.
	* src/qemu_conf.c: Pass ifname= param along with TAP file
	handle for Xenner

D
Daniel Veillard 已提交
7176 7177 7178 7179
Fri Mar 14 16:55:34 CET 2008 Daniel Veillard <veillard@redhat.com>

	* po/*: updated translations

D
typo  
Daniel Veillard 已提交
7180 7181 7182 7183
Fri Mar 14 16:30:27 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/bridge.c: fix a typo in a comment

D
Daniel Veillard 已提交
7184 7185 7186 7187 7188
Fri Mar 14 16:19:21 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/qemud.c src/virsh.c: fixing some user facing strings
	  problems pointed out by Francesco Tombolini should fix #436620

7189 7190
Fri Mar 14 11:01:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

D
Daniel Veillard 已提交
7191 7192 7193 7194 7195 7196 7197 7198 7199
	* virsh.1 docs/apibuild.py docs/architecture.html docs/errors.html
	  docs/format.html docs/index.py docs/libvir.html docs/libvirt-api.xml
	  docs/libvirt.rng docs/news.html docs/python.html docs/virsh.pod
	  docs/devhelp/libvirt-libvirt.html docs/examples/examples.xml
	  docs/examples/index.html docs/examples/info1.c
	  docs/examples/suspend.c docs/html/libvirt-libvirt.html
	  include/libvirt/libvirt.h include/libvirt/libvirt.h.in
	  proxy/libvirt_proxy.c python/libvir.py python/libvirt-python-api.xml
	  python/tests/node.py src/xen_internal.c:
7200 7201 7202
	Fix typo "informations" -> "information" (Atsushi SAKAI and
	Saori FUKUTA).

7203 7204
Thu Mar 13 10:24:45 CET 2008 Daniel Veillard <veillard@redhat.com>

7205
	* src/libvirt.c: virDomainSetSchedulerParameters need to be
7206 7207
	  blocked on read-only connections, patch from Saori Fukuta

7208 7209 7210 7211
Thu Mar 13 10:19:16 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/bridge.c src/virsh.c: typo fixes from Atsushi SAKAI

7212 7213 7214 7215 7216
Thu Mar 13 10:15:58 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.c src/qemu_driver.c: patch from Cole Robinson
	  fixing CD Rom change on live QEmu/KVM domains.

7217 7218 7219 7220 7221 7222
Tue Mar 11 10:45:53 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c, configure.in: Remove use of polkit-grant since
	it is fundamentally broken. Only use polkit-auth instead. Keep
	stdin/out/err open when running polkit-auth.

7223 7224 7225 7226 7227
Tue Mar 11 10:21:53 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Don't force connection to readonly as non-root
	since with auth support we can have full connections.

7228 7229 7230 7231 7232
Tue Mar 11 10:17:53 EDT 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Don't run cleanup code when parent process is
	exiting in daemon mode.

7233 7234 7235 7236 7237
Fri Mar  7 12:11:53 CET 2008 Daniel Veillard <veillard@redhat.com>

	* docs/libvir.html docs/storage.html: apply documentation fixes
	  and typos cleanup from Atsushi Sakai

7238 7239 7240 7241 7242
Fri Mar  7 10:22:00 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: applied patch from Cole Robinson to not
	  loose the boot tag when defining a fully virtualized xen domain

7243 7244 7245 7246 7247 7248
Tue Mar  4 20:01:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	Make iSCSI login actually work
	* src/storage_backend_iscsi.c: Make iSCSI login actually work
	  (Chris Lalancette).

7249 7250 7251 7252 7253 7254
Tue Mar  4 19:57:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	Report error when vcpupin is given bad vCPU number.
	* src/virsh.c: Report error when vcpupin is given bad vCPU number
	  (Shigeki Sakamoto).

7255 7256 7257 7258 7259 7260 7261
Mon Mar  3 21:39:17 CET 2008 Jim Meyering <meyering@redhat.com>

	Also ignore leading zeros when comparing MAC addresses.
	* src/util.c: Include <ctype.h>.
	(TOLOWER): Define.
	(__virMacAddrCompare): Rewrite to also ignore leading zeros.

7262 7263 7264 7265 7266
Mon Mar  3 21:17:29 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/capabilities.c: Cole Robinson pointed out a well formedness
	  problem when generating the capabilities in the test driver.

7267 7268
Mon Mar  3 19:09:51 CET 2008 Jim Meyering <meyering@redhat.com>

7269 7270 7271 7272
	Don't use first byte of string as a pointer.
	* src/qemu_conf.c (qemudReportError): Use the pointer, errorMessage,
	not its first byte, errorMessage[0].

7273 7274 7275 7276
	Avoid segfault upon early libvirtd failure.
	* qemud/qemud.c (main): Don't call qemudCleanup on an
	uninitialized pointer.

D
Daniel Veillard 已提交
7277 7278 7279 7280 7281
Mon Mar  3 15:40:31 CET 2008 Daniel Veillard <veillard@redhat.com>

	* NEWS configure.in libvirt.spec.in docs/* include/libvirt/libvirt.h
	  po/*: preparing release of libvirt-0.4.1

7282 7283
Mon Mar  3 14:14:03 CET 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
7284 7285 7286 7287
	Plug saslUsernameWhitelist leak.
	* qemud/qemud.c (qemudCleanup): Free the array as well as
	the strings in it.

J
Jim Meyering 已提交
7288 7289 7290 7291
	Plug skipped-qemudCleanup leak.
	* qemud/qemud.c (main): Call qemudCleanup also upon failure.
	Otherwise, an error return would skip it and induce leaks.

J
Jim Meyering 已提交
7292 7293 7294 7295
	Plug remoteReadConfigFile leak.
	* qemud/qemud.c (remoteReadConfigFile): Be careful to free
	"conf" after a successful virConfReadFile.

7296 7297 7298 7299
	Plug two leaks: host.migrateTrans and arch.name
	* src/capabilities.c (virCapabilitiesFree): Free host.migrateTrans.
	(virCapabilitiesFreeGuest): Free arch.name member.

7300 7301 7302 7303
	Plug virCapabilities*GuestDomain leak.
	* src/capabilities.c (virCapabilitiesFreeGuestDomain): Free dom->type.
	(virCapabilitiesAddGuestDomain): Remove duplicate strdup stmt.

7304 7305 7306 7307 7308 7309
Mon Mar  3 07:16:35 CET 2008 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
	  missing comments for _virDomainBlockStats fields
	* docs/*: rebuilt docs

D
Daniel Veillard 已提交
7310 7311 7312 7313
Fri Feb 29 18:01:14 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/Makefile.am: fix a broken line split

7314 7315 7316 7317
Fri Feb 29 12:50:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	Many typos fixed (Atsushi SAKAI).

7318 7319
Thu Feb 28 18:04:59 CET 2008 Jim Meyering <meyering@redhat.com>

7320 7321 7322 7323 7324 7325
	Rewrite test-coverage rules to accommodate multiple .o files per .c.
	* src/Makefile.am (cov): Rewrite rule to merge gcov results corresponding
	to two .o files: the libvirt_la- one, and the libvirt_test_la- one.
	(tst): Remove unused rule.
	* configure.in (LV_LIBTOOL_OBJDIR): Define and AC_SUBST.

7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343
	Avoid link errors with "configure --disable-shared".
	* src/Makefile.am: Create a convenience library, libvirt_test.la,
	and don't restrict access to *its* symbols.
	* tests/Makefile.am (LDADDS): Add ../src/libvirt_test.la, so that
	"configure --disable-shared" no longer provokes link errors.
	(LIBVIRT): Remove definition.
	(LDADDS): Remove use.
	($(LIBVIRT)): Remove rule.
	(LDADDS): Use the new convenience library instead.
	(CLEANFILES): Define.
	* docs/examples/index.py (dump_Makefile): Append $(COVERAGE_LDFLAGS),
	to the LDADDS definition, to avoid link error with the combination of
	--enable-test-coverage and --disable-shared.
	* docs/examples/Makefile.am: Regenerate.
	* docs/examples/index.html: Likewise.
	* qemud/Makefile.am (libvirtd_LDFLAGS): Append $(COVERAGE_LDFLAGS).
	* src/libvirt_sym.version: Remove some SP-before-TAB.

D
Daniel Veillard 已提交
7344 7345 7346 7347 7348
Thu Feb 28 12:16:39 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.c: applied patch from Cole Robinson to use virErrorMsg
	  in qemudReportError.

7349 7350 7351 7352 7353
Wed Feb 27 20:21:35 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/bridge.c, src/bridge.h, src/qemu_conf.c: Set mac address
	on TUN device to work with Xenner

J
Jim Meyering 已提交
7354 7355 7356 7357 7358
Wed Feb 27 20:12:35 CET 2008 Jim Meyering <meyering@redhat.com>

	Make qemud/'s rpcgen rules work.
	* qemud/Makefile.am (SUFFIXES): Define to .x before implicit rule.

7359 7360 7361 7362 7363 7364 7365 7366 7367
Wed Feb 27 16:11:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	virMacAddrCompare for comparing MAC addresses
	* src/util.c, src/util.h, src/libvirt_sym.version: Added
	  virMacAddrCompare utility function for comparing MAC
	  addresses.
	* src/virsh.c, src/xm_internal.c: Use virMacAddrCompare
	  to compare addresses.  (Shigeki Sakamoto and Richard Jones).

7368 7369
Wed Feb 27 15:39:10 CET 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
7370 7371 7372
	Avoid "make distcheck" failure.
	* src/Makefile.am (virsh_SOURCES): Add util-lib.h.

7373 7374 7375 7376
	Fix a "make syntax-check" failure.
	* src/capabilities.c: Include <config.h> from the .c file,
	* src/capabilities.h: ... not from the .h file.

R
Richard W.M. Jones 已提交
7377 7378 7379 7380 7381
Wed Feb 27 10:34:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	Fix typos (Atsushi SAKAI).

Tue Feb 26 23:16:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393

	* src/capabilities.h, src/capabilities.c, src/Makefile.am:
	Add generic API for dealing with hypervisor capabilities
	* src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Switch
	to using capabilities API. Add support for Xenner guests
	* src/xen_internalc, src/xend_internal.c, src/xend_internal.h,
	src/xml.h, src/xml.c, src/util.c, src/util.h, src/test.c:
	Switch to using capabilities API
	* tests/xencapstest.c, tests/xencapsdata/*.xml: Update for
	changes to capabilities API
	* proxy/Makefile.am: Link to capabilities.c and util.c

7394 7395 7396 7397 7398 7399 7400 7401
Tue Feb 26 18:38:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	Implement virDomainBlockStats for QEMU/KVM.
	* src/qemu_driver.c: Implement virDomainBlockStats for QEMU/KVM
	  using QEMU/KVM 'info blockstats' command (Richard Jones).
	* src/qemu_driver.c, src/qemu_conf.h: const-correctness
	  fixes (Jim Meyering).

7402 7403 7404 7405 7406 7407 7408
Tue Feb 26 18:28:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	No address attribute in Xen domain XML.
	* src/xm_internal.c: handle the case where <mac/> clause
	  in Xen domain interface has no address attribute
	  (Shigeki Sakamoto).

7409 7410 7411 7412 7413 7414 7415 7416
Tue Feb 26 08:02:57 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/driver.h src/libvirt.c src/openvz_driver.c src/qemu_driver.c
	  src/remote_internal.c src/test.c src/util.c src/util.h
	  src/xen_unified.c: added probe interface at the driver level,
	  use that to improve default hypervisor selection in the absence
	  of a given URI when connecting

7417 7418 7419 7420 7421
Mon Feb 25 14:53:59 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am src/util-lib.h: fix done with Jim to allow
	  compilation of virsh with the static libraries.

7422 7423 7424 7425 7426 7427 7428 7429 7430 7431
Mon Feb 25 10:59:43 CET 2008 Jim Meyering <meyering@redhat.com>

	Avoid new "make syntax-check" failures.
	* .x-sc_avoid_write: Exempt src/util-lib.c, too.
	* Makefile.maint (sc_unmarked_diagnostics): Filter out false positives.
	* src/storage_backend_fs.c (virStorageBackendFileSystemVolCreate):
	Use safewrite, not write.
	* src/storage_backend_logical.c (virStorageBackendLogicalBuildPool):
	Likewise.

7432 7433
Fri Feb 22 13:32:11 CET 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447
	avoid format string warnings
	Avoid warnings like this:
	file:nnn:format not a string literal and no format arguments
	* qemud/qemud.c: Insert a "%s" format argument.
	* qemud/remote.c: Likewise.
	* src/iptables.c: Likewise.
	* src/qemu_driver.c: Likewise.
	* src/storage_backend.c: Likewise.
	* src/storage_backend_fs.c: Likewise.
	* src/storage_backend_iscsi.c Likewise.
	* src/storage_backend_logical.c: Likewise.
	* src/storage_conf.c: Likewise.
	* src/storage_driver.c: Likewise.

7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466
	Use safewrite in place of write, in many cases.
	Also add "make syntax-check" rules to ensure no new uses sneak in.
	* Makefile.maint (sc_avoid_write): New rule, to avoid recurrence.
	* .x-sc_avoid_write: New file.  Record two legitimate exemptions.
	* qemud/qemud.c (sig_handler, qemudClientWriteBuf): Use safewrite,
	not write.
	* src/conf.c (__virConfWriteFile): Likewise.
	* src/qemu_conf.c (qemudSaveConfig, qemudSaveNetworkConfig): Likewise.
	* src/qemu_driver.c (qemudWaitForMonitor, qemudStartVMDaemon)
	(qemudVMData, PROC_IP_FORWARD): Likewise.
	* proxy/libvirt_proxy.c: Include "util.h".
	(proxyWriteClientSocket): Use safewrite.
	* src/test.c (testDomainSave, testDomainCoreDump): Likewise.
	* src/proxy_internal.c (virProxyWriteClientSocket): Likewise.
	* src/virsh.c: Include "util-lib.h".
	(vshOutputLogFile): Use safewrite.
	* src/console.c: Include "util-lib.h".
	(vshRunConsole): Use safewrite.

7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479
	Move safewrite and saferead to a separate file.
	* src/util.c (saferead, safewrite): Move function definitions to
	util-lib.c and include that .c file.
	* src/util-lib.c (saferead, safewrite): New file.
	Functions from src/util.c with slight change (s/int r =/ssize_t r =/)
	to reflect read/write return type.
	* src/util-lib.h: Declare the two moved functions.
	* src/util.h: Remove declarations.  Include src/util-lib.h.
	* proxy/Makefile.am (libvirt_proxy_SOURCES): Add src/util-lib.c.
	* qemud/Makefile.am (libvirtd_SOURCES): Likewise.
	* src/Makefile.am (virsh_SOURCES): Add util-lib.c.
	Remove some SP-before-TAB.

7480 7481 7482 7483
	With --enable-iptables-lokkit=no, avoid warning about unused parameter.
	* src/iptables.c (iptRulesSave) [!ENABLE_IPTABLES_LOKKIT]:
	Mark parameter as used.

7484 7485 7486
	With --without-xen, avoid warning about unused function.
	* tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define.

7487 7488
Thu Feb 21 19:22:10 CET 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
7489 7490 7491 7492
	Rewrite openvzSetUUID.
	* src/openvz_conf.c (openvzSetUUID): Rewrite to avoid unchecked
	lseek, write, and close as well as a potential file descriptor leak.

7493 7494 7495 7496
	Handle failed openvzLocateConfDir.
	* src/openvz_conf.c (openvzLocateConfDir, openvzGetVPSUUID):
	(openvzSetUUID): Don't dereference NULL upon failure.

7497 7498 7499 7500 7501
Thu Feb 21 15:17:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	Fix double-free in OpenVZ driver.
	* src/openvz_conf.c: Double-free fix (Anton Protopopov).

D
Daniel P. Berrange 已提交
7502 7503 7504 7505
Wed Feb 20 22:48:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt_sym.version: Added missing virStorageVolGetConnect

7506 7507 7508 7509 7510 7511
Wed Feb 20 18:24:39 CET 2008 Jim Meyering <meyering@redhat.com>

	Avoid "make syntax-check" failure.
	* docs/examples/index.py: Don't emit trailing blanks.
	* docs/examples/Makefile.am: Regenerate.

7512 7513 7514 7515 7516 7517 7518 7519 7520
Wed Feb 20 11:52:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/remote.c: Update to non-deprecated PolicyKit apis
	* src/libvirt.c: call out to polkit-grant/polkit-auth to
	obtain credentials
	* po/*.po, po/libvirt.pot: Re-generate for new translatable
	strings
	* configure.in: Add test for polkit apis & CLI programs

7521 7522 7523 7524 7525 7526
Wed Feb 20 11:03:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* po/*.po, po/libvirt.pot: Re-generate to pull in latest
	strings from storage APIs
	* docs/libvirt-api.xml, docs/libvirt-refs.xml: Re-generate

7527 7528 7529 7530 7531 7532
Wed Feb 20 10:50:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/libvir.html, docs/site.xsl: Added webpage describing
	the storage management capabilities
	* docs/*.html: Re-generate content

7533 7534 7535 7536
Wed Feb 20 10:49:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: no-op stub impl of storage APIs

7537 7538 7539 7540 7541 7542 7543 7544 7545
Wed Feb 20 10:46:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Added check for parted tool & libraries
	* libvirt.spec.in: Added dep on parted
	* po/POTFILES.in: Added storage_backend_disk.c
	* src/Makefile.am, src/storage_backend.c, src/parthelper.c,
	src/storage_backend_disk.c, src/storage_backend_disk.h: Added
	disk partition storage pool backend

7546 7547 7548 7549 7550 7551 7552 7553 7554
Wed Feb 20 10:44:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Added check for iscsiadm tool
	* libvirt.spec.in: Added dep on iscsi-initiator-utils
	* po/POTFILES.in: Added storage_backend_iscsi.c
	* src/Makefile.am, src/storage_backend.c,
	src/storage_backend_iscsi.c, src/storage_backend_iscsi.h:
	Added iSCSI storage pool backend

7555 7556 7557 7558
Wed Feb 20 10:42:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Set close-on-exec flag for signal pipe

7559 7560 7561 7562 7563 7564 7565 7566 7567 7568
Wed Feb 20 10:39:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Added checks for LVM tools
	* docs/storage/pool-logical.xml: Example XML description
	* libvirt.spec.in: Added dep on LVM tools
	* po/POTFILES.in: Added storage_backend_logical.c
	* src/Makefile.am, src/storage_backend.c,
	src/storage_backend_logical.c, src/storage_backend_logical.h:
	Added logical volume backend

7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579
Wed Feb 20 10:32:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Add checks for mount/unmount/qemu-img/qcow-create
	* docs/storage/*.xml: Add some example XML configs for storage
	* libvirt.spec.in: Added deps on qemu-img and/or qcow-create,
	and util-linux
	* src/Makefile.am, src/storage_backend.c, src/storage_backend_fs.c,
	src/storage_backend_fs.h: Add impl of directory, filesystem &
	network filesystem pools.
	* po/POTFILES.in: Added storage_backend_fs.c

7580 7581 7582 7583 7584 7585 7586 7587
Wed Feb 20 10:32:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Add check for selinux library
	* libvirt.spec.in: Add BuildRequires on libselinux-devel
	* src/Makefile.am, tests/Makefile.am: Add selinux build flags
	* src/storage_backend.c, src/storage_backend.h: Add some
	helper routines for storage backend impls

7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601
Wed Feb 20 10:26:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* Makefile.maint: Add virStorageReportError to locale check rule
	* configure.in: Turn on large file support
	* po/POTFILES.in: Add storage driver files
	* include/libvirt/virterror.h, src/virterror.c: Add more error codes
	* src/storage_driver.c, src/storage_driver.h: Add impl of all the
	storage APIs
	* src/storage_conf.c, src/storage_conf.h: Support routines for
	parsing and formatting XML, and persisting storage pool configs
	* src/storage_backend.c, src/storage_backend.h: Contract for
	internal storage backends to interface with driver
	* src/Makefile.am: Add new storage source files to library build

7602 7603 7604 7605 7606 7607 7608 7609 7610 7611
Wed Feb 20 10:23:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Added convenience methods for creating pools
	and volumes without XML
	* src/buf.c, src/buf.h, src/libvirt_sym.version: Export the
	virBuffer* methods to virsh
	* src/xend_internal.c, src/xm_intenral.c, src/xml.c,
	src/qemu_conf.c
	* src/util.c, src/util.h: Export virStrToLong_ull to virsh

7612 7613 7614 7615
Wed Feb 20 10:22:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Added commands for all storage APIs

7616 7617 7618 7619 7620
Wed Feb 20 10:20:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* python/generator.py, python/libvir.c, python/libvirt_wrap.h,
	python/types.c: Add binding for storage APIs

7621 7622 7623 7624 7625 7626
Wed Feb 20 10:18:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Implement storage APIs in remote
	driver. Replace memset+malloc with calloc. Replace strcmp
	with STREQ

7627 7628 7629 7630 7631 7632 7633 7634
Wed Feb 20 10:17:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* qemud/remote.c: Add binding for storage APIs
	* qemud/remote_protcol.x: Add wire format definition for storage
	APIs
	* qemud/remote_protocol.{c,h}: Re-generated
	* qemud/remote_dispatch*: Re-generated

7635 7636 7637 7638 7639
Wed Feb 20 10:15:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* docs/libvirt-api.xml, docs/libvirt-refs.xml, docs/devhelp/*:
	re-generate docs to include latest API details

7640 7641 7642 7643 7644 7645 7646 7647
Wed Feb 20 10:01:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* include/libvirt/virterror.h, src/virterror.c: Add error codes
	for storage API drivers
	* src/internal.h, src/hash.c: Add internal storage object structs
	* src/driver.h: internal driver API for storage management
	* src/libvirt.c: hook up storage API to internal driver API

7648 7649 7650 7651 7652
Wed Feb 20 09:51:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
	src/libvirt_sym.version: Add public API for storage management

7653 7654 7655 7656 7657 7658 7659 7660 7661
Wed Feb 13 22:51:27 CET 2008 Jim Meyering  <meyering@redhat.com>

	Pull useless-if-before-free from gnulib, and update.
	* bootstrap (gnulib_tool): Add useless-if-before-free to
	the list of modules.
	* build-aux/useless-if-before-free: Update from gnulib.
	* gnulib/lib/vasnprintf.c: Work around a bug in HPUX 10.20.
	* gnulib/m4/vasnprintf.m4: Likewise.

7662 7663
Tue Feb 12 9:44:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

7664
	* .x-sc_trailing_blank: ignore NEWS / ChangeLog file
7665

D
Daniel Veillard 已提交
7666 7667 7668 7669 7670 7671
Mon Feb 11 17:05:53 CET 2008 Daniel Veillard <veillard@redhat.com>

	* docs/libvir.html docs/format.html: fixes the examples on the
	  section about ethernet bridging, as raised by Maxwell Bottiger,
	  fixes bug #430790

7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690
Thu Feb  7 09:10:18 IST 2008 Mark McLoughlin <markmc@redhat.com>

	Fix gcc-4.3.0 "inlining failed" warning.

	* src/internal.h: move xstrol() variants from here ...

	* src/util.[ch]: ... to here and rename to virStrToLong()

	* src/libvirt_sym.version: export __virStrToLong_i() for
	virsh and qemud.

	* src/nodeinfo.c, src/stats_linux.c, src/virsh.c,
	  src/xend_internal.c, qemud/qemud.c: replace xstrtol()
	calls with virStrToLong()

	* src/nodeinfo.h: don't include internal.h, which was only
	needed for xstrtol(), but instead include libvirt.h which
	is suffificient for the declarations in the header.

7691 7692
Thu Feb  7 20:19:19 CET 2008 Jim Meyering  <meyering@redhat.com>

J
Jim Meyering 已提交
7693 7694 7695 7696 7697 7698 7699
	Enable another syntax-check rule.
	* Makefile.cfg (local-checks-to-skip): Remove sc_no_have_config_h.
	* qemud/mdns.c: Remove "#ifdef HAVE_CONFIG_H".
	* Makefile.maint (sc_no_have_config_h): Tighten up regexp,
	so that the above mention of "HAVE_CONFIG_H" doesn't match.
	* .x-sc_no_have_config_h: New file, to exempt gnulib/ straggler.

7700 7701
	* autobuild.sh: Run "make syntax-check", so the autobuilder does this.

D
Daniel Veillard 已提交
7702 7703 7704 7705
Thu Feb  7 18:02:22 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/remote.c: fix a missing ')' introduced earlier

D
Daniel Veillard 已提交
7706 7707 7708 7709 7710
Thu Feb  7 17:46:14 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/hash.c: fix a couple of problems in virHashRemoveSet based
	  on Hiroyuki Kaguchi patch and explanations.

7711 7712
Thu Feb  7 17:48:30 CET 2008 Jim Meyering  <meyering@redhat.com>

7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744
	Mark all qemudLog diagnostics for translation.
	* po/POTFILES.in: Add names of many new files.
	* Makefile.maint (err_func_re): Add qemudLog.
	Mark diagnostics with _(...).  Split some long lines.
	* qemud/qemud.c (remoteCheckCertFile, remoteInitializeGnuTLS):
	(qemudDispatchSignalEvent, qemudSetCloseExec, qemudSetNonBlock):
	(qemudWritePidFile, qemudListenUnix, remoteMakeSockets):
	(remoteListenTCP, qemudInitPaths, qemudInitialize):
	(qemudNetworkInit, remoteInitializeTLSSession, remoteCheckDN):
	(remoteCheckCertificate, remoteCheckAccess, qemudDispatchServer):
	(qemudClientReadBuf, qemudDispatchClientRead):
	(qemudClientWriteBuf, qemudDispatchClientWrite, qemudOneLoop):
	(remoteConfigGetStringList, checkType, GET_CONF_STR):
	(remoteConfigGetAuth, remoteReadConfigFile, main):
	* qemud/remote.c (remoteDispatchAuthSaslInit, remoteSASLCheckSSF):
	(remoteSASLCheckAccess, remoteDispatchAuthSaslStart):
	(remoteDispatchAuthSaslStep, remoteDispatchAuthSaslInit):
	(remoteDispatchAuthSaslStart, remoteDispatchAuthSaslStep):
	(qemudGetSocketIdentity, remoteDispatchAuthPolkit):
	* src/iptables.c (notifyRulesUpdated, MAX_FILE_LEN, iptRulesSave):
	(iptRulesReload):
	* src/qemu_conf.c (qemudExtractVersionInfo, qemudLoadConfig):
	(qemudLoadNetworkConfig, qemudScanConfigDir):
	* src/qemu_driver.c (qemudSetCloseExec, qemudSetNonBlock):
	(qemudAutostartConfigs, qemudStartup, qemudReload):
	(qemudWaitForMonitor, qemudStartVMDaemon, qemudVMData):
	(qemudShutdownVMDaemon, qemudStartNetworkDaemon):
	(qemudShutdownNetworkDaemon, qemudMonitorCommand):
	(qemudDomainUndefine, qemudNetworkUndefine):
	* src/uuid.c (virUUIDGenerate):
	* src/xm_internal.c (xenXMAttachInterface):

7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763
	Remove more useless if tests before "free"-like functions.
	* build-aux/useless-if-before-free: Rename from ...
	* build-aux/find-unnecessary-if-before-free: ... this.  Remove file.
	Also changed it so that new names are no longer hard-coded in the
	script.  Instead, they're supplied via options:
	* Makefile.cfg (useless_free_options): Define.
	Add xmlXPathFreeObject to the list of free-like functions it detects.
	* Makefile.maint (sc_avoid_if_before_free): Reflect script renaming.
	* .x-sc_avoid_if_before_free: Likewise.
	* src/openvz_conf.c (openvzParseXML): Remove useless "if"-before-free.
	* src/qemu_conf.c (qemudParseXML, qemudParseNetworkXML): Likewise.
	* src/virsh.c (cmdVNCDisplay, cmdTTYConsole, cmdDetachInterface):
	(cmdDetachDisk): Likewise.
	* src/xm_internal.c (xenXMConfigSetIntFromXPath): Likewise.
	(xenXMConfigSetStringFromXPath, xenXMParseXMLToConfig): Likewise.
	(xenXMDomainAttachDevice, xenXMAttachDisk, xenXMAttachInterface):
	(xenXMDomainDetachDevice): Likewise.
	* src/xml.c (virXPathString): Likewise.
	* tests/xmlrpctest.c (checkRequestValue): Likewise.
J
Jim Meyering 已提交
7764

D
Daniel Veillard 已提交
7765 7766
2008-02-07  Jim Meyering  <meyering@redhat.com>

J
Jim Meyering 已提交
7767 7768 7769
	* src/xm_internal.c: Remove trailing blanks
	* NEWS, ChangeLog: Likewise.

7770 7771 7772 7773 7774
Thu Feb  7 10:19:12 IST 2008 Mark McLoughlin <markmc@redhat.com>

	* src/xen_internal.c: Don't crash if there's no
	/sys/hypervisor/capabilities

7775 7776 7777
Thu Feb  7 10:16:42 IST 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c: Create directory for saving iptables rules
J
Jim Meyering 已提交
7778

7779 7780 7781
Thu Feb  7 10:12:15 IST 2008 Mark McLoughlin <markmc@redhat.com>

	* src/xm_internal.[ch]: Move static function prototype from header
J
Jim Meyering 已提交
7782

7783 7784 7785 7786 7787
Thu Feb  7 10:47:44 CET 2008 Daniel Veillard <veillard@redhat.com>

	* python/libvir.c: apply patch from Cole Robinson to provide
	  return values for manulally written python bindings.

7788 7789 7790 7791
Thu Feb  7 10:29:57 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c: fix bug in xenUnifiedDomainSuspend() patch provided
	  by Marcus Meissner
J
Jim Meyering 已提交
7792

7793 7794
Wed Feb  6 18:55:37 CET 2008 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7795
	* src/xm_internal.[ch]: applied patch from Shigeki Sakamoto to
7796 7797
	  add/change/delete a Disk/NIC of an inactive domains

7798 7799
Wed Feb  6 17:22:34 CET 2008 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7800
	* src/qemu_conf.c: applied 2 patches from Guido Guenther to avoid
7801 7802
	  crashes when reading the config file

7803 7804
Tue Feb  3 20:26:53 CET 2008  Jim Meyering  <meyering@redhat.com>

7805 7806 7807
	Fix new "make distcheck" failures.
	* src/xml.c (virDomainParseXMLOSDescHVM): Mark a diagnostic.

7808 7809 7810 7811
	Remove all trailing blanks; turn on the rule to detect them.
	* Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank.
	* .x-sc_trailing_blank: New file, to exempt the few binary files.

7812 7813 7814 7815 7816 7817 7818 7819 7820
Tue Feb  3 11:21:45 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xml.c, src/xend_internal.c: Allow use of kernel+initrd
	in HVM guests as well as PV
	* tests/xml2sexprdata/*, tests/sexpr2xmldata/*: Updated for
	slight changes in SXPR element ordering
	* tests/xml2sexprtest.c, tests/sexpr2xmltest.c: Add test
	case for new HVM kernel+initrd ability

7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842
Tue Feb  3 15:21:45 CET 2008  Jim Meyering  <meyering@redhat.com>

	Eliminate all uses of virBufferAdd with string literals.
	* Makefile.maint (sc_prohibit_virBufferAdd_with_string_literal):
	New rule.
	* src/buf.h (virBufferAddLit): Define.
	* src/conf.c (virConfSaveValue): Use virBufferAddLit, in place
	of virBufferAdd everywhere possible.
	(virConfSaveEntry): Likewise.
	* src/qemu_conf.c (qemudGenerateXML, qemudGenerateNetworkXML): Likewise.
	* src/qemu_driver.c (qemudGetFeatures, qemudGetCapabilities): Likewise.
	* src/test.c (testDomainDumpXML, testNetworkDumpXML): Likewise.
	* src/xen_internal.c (xenHypervisorMakeCapabilitiesXML): Likewise.
	* src/xend_internal.c (xend_parse_sexp_desc_os): Likewise.
	(xend_parse_sexp_desc, sexpr_to_xend_topology_xml): Likewise.
	* src/xm_internal.c (xenXMDomainFormatXML, xenXMDomainPinVcpu): Likewise.
	* src/xml.c (virSaveCpuSet, virParseXenCpuTopology): Likewise.
	(virDomainParseXMLGraphicsDescImage): Likewise.
	(virDomainParseXMLGraphicsDescVFB, virDomainParseXMLOSDescHVM): Likewise.
	(virDomainParseXMLOSDescPV, virDomainParseXMLDiskDesc): Likewise.
	(virDomainParseXMLIfDesc, virDomainParseXMLDesc): Likewise.

7843 7844
Mon Feb  2 15:56:45 CET 2008  Jim Meyering  <meyering@redhat.com>

7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857
	Enable more checks for unmarked messages; fix violators.
	* Makefile.maint (sc_unmarked_diagnostics): Check for more functions.
	* src/conf.c (virConfParseValue): Remove trailing space in diagnostic.
	* src/libvirt.c (do_open, virDomainMigrate): Mark diagnostics.
	* src/xend_internal.c (do_connect, xenDaemonDomainDumpXMLByID): Likewise.
	(xenDaemonDomainDumpXMLByName, xenDaemonCreateLinux): Likewise.
	(xenDaemonDomainMigratePerform, xenDaemonDomainDefineXML): Likewise.
	* src/xml.c (virXPathString, virXPathNumber, virXPathLong): Likewise.
	(virXPathBoolean, virXPathNode, virXPathNodeSet): Likewise.
	(virDomainParseXMLOSDescHVM): Likewise.
	* src/xmlrpc.c (xmlRpcValueNew): Likewise.
	(xmlRpcValueUnmarshalDictElement): Likewise.

J
Jim Meyering 已提交
7858 7859 7860
	Mark a string for translation.
	* src/virsh.c: Add a "%s" and wrap with _(...).

7861 7862 7863 7864 7865
	Enable the sc_unmarked_diagnostics test and correct all violations
	involving the "error" function.
	* Makefile.cfg (local-checks-to-skip): Remove from skip list.
	* src/remote_internal.c: Mark translatable strings.

7866 7867 7868 7869 7870
Fri Feb  1 20:46:07 CET 2008  Jim Meyering  <meyering@redhat.com>

	Pull vc-list-files from gnulib, and update.
	* bootstrap (gnulib_tool): Add the vc-list-files module.

7871 7872 7873 7874 7875 7876
Thu Jan 31 20:12:40 CET 2008  Guido Guenther  <agx@sigxcpu.org>

	Avoid compilation failure when building --without-xen.
	* tests/statstest.c (testDevice) [!WITH_XEN]: #ifdef-out.
	(main) [!WITH_XEN]: #ifdef-out the body.

J
Jim Meyering 已提交
7877 7878
Wed Jan 30 20:49:34 CET 2008  Jim Meyering  <meyering@redhat.com>

7879 7880 7881 7882 7883
	Avoid virsh leaks due to missing virDomainFree(dom) calls
	* src/virsh.c (cmdDomuuid): Add missing virDomainFree call.
	(cmdAttachDevice): Likewise.
	(cmdDetachDevice): Likewise.

7884 7885
	* src/virsh.c (cmdCapabilities): Plug a small leak.

7886 7887
	* src/test.c (testLoadDomain): Avoid leaks upon failure.

7888 7889 7890
	Avoid used-uninitialized errors in test driver.
	* src/test.c (testOpenFromFile): Initialize "privconn".

7891 7892
	* src/libvirt.c (do_open): Avoid double-free upon failure.

7893 7894 7895 7896
	Avoid segfault upon malloc failure, and plug a leak.
	* src/test.c (testDomainSave): Detect testDomainDumpXML failure.
	Free "xml".

J
Jim Meyering 已提交
7897 7898 7899 7900 7901 7902
	Plug test-related leaks.
	* src/test.c (testLoadNetwork): Free forwardDev.
	(testLoadDomain): Free ctxt.
	(testLoadNetwork): Likewise.
	(testOpenFromFile): Likewise.

D
Daniel P. Berrange 已提交
7903 7904 7905 7906
Wed Jan 30 13:18:25 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/hash.c: Remove double mutex lock() flaw

7907 7908 7909 7910 7911 7912 7913 7914
Wed Jan 30 11:35:25 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Fix SXPR -> XML conversion for USB
	devices.
	* tests/sexpr2xmldata/sexpr2xml-fv-usbmouse.sexpr,
	tests/sexpr2xmldata/sexpr2xml-fv-usbtablet.sexpr: Fix test
	case SXPR to actually match what XenD produces for USB devices.

7915 7916 7917 7918 7919 7920
Wed Jan 30 07:54:25 CET 2008  Jim Meyering  <meyering@redhat.com>

	Arrange for "make syntax-check" to pass.
	* .x-sc_avoid_if_before_free: Exempt ChangeLog.
	* tests/statstest.c: Include <config.h>, not "config.h".

7921 7922 7923 7924 7925 7926 7927
Tue Jan 29 13:33:25 EST 2008  Daniel P. Berrange <berrange@redhat.com>

	* src/stats_linux.c, src/stats_linux.h: Fix conversion of device
	names into device numbers
	* tests/.cvsignore, tests/Makefile.am, tests/statstest.c: Add
	test case to validate device name -> number conversion

7928 7929
Tue Jan 29 18:39:25 CET 2008  Jim Meyering  <meyering@redhat.com>

7930 7931 7932 7933 7934 7935 7936 7937 7938
	Also detect and remove unnecessary if-before-xmlXPathFreeContext.
	* build-aux/find-unnecessary-if-before-free: Update regexp.
	* src/virsh.c: Remove unnecessary "if (P)"-before xmlXPathFreeContext.
	* src/openvz_conf.c: Likewise.
	* src/qemu_conf.c: Likewise.
	* src/xm_internal.c: Likewise.
	* src/xml.c: Likewise.
	* tests/xmlrpctest.c: Likewise.

J
Jim Meyering 已提交
7939 7940 7941 7942
	Enable two more tests.
	* Makefile.cfg (local-checks-to-skip)
	[sc_cast_of_x_alloc_return_value, sc_cast_of_argument_to_free]: Enable.

7943 7944 7945 7946 7947 7948 7949
	Enable the <assert.h>-checking test; fix violations.
	* Makefile.cfg (local-checks-to-skip)
	[sc_prohibit_assert_without_use]: Enable.
	* qemud/mdns.c: Don't include <assert.h>; no uses of assert here.
	* qemud/qemud.c: Likewise.
	* qemud/remote.c: Likewise.

7950 7951 7952 7953
	Enable the po-check test; fix violations.
	* Makefile.cfg (local-checks-to-skip) [po-check]: Enable.
	* po/POTFILES.in: Add three file names.  Sort.

J
Jim Meyering 已提交
7954 7955 7956 7957 7958 7959 7960
	Update from gnulib
	* lib/poll.c: Update.
	* lib/string.in.h: Update.
	* m4/string_h.m4: Update.
	* tests/test-getaddrinfo.c: Update.
	* lib/Makefile.am: Regenerate.

7961 7962 7963 7964 7965 7966
	Enable the <config.h>-requiring test; fix violations
	Use <config.h>, not "config.h", per autoconf documentation.
	* Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
	* .x-sc_require_config_h: New file, to list exempted files.
	* Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.

7967 7968 7969 7970 7971 7972
	Enable the duplicate-"the" test; fix violations
	* Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable.
	* docs/virsh.pod: Remove a duplicate "the".
	* libvirt.spec.in: Likewise.
	* virsh.1: Likewise.

7973 7974 7975 7976 7977 7978 7979 7980 7981
	Add framework for code style- and syntax-checking rules.
	Almost all tests are initially disabled via the list in Makefile.cfg.
	* Makefile.am (EXTRA_DIST): Add .x-sc_avoid_if_before_free.
	Omit names of files that automake includes automatically.
	* .x-sc_avoid_if_before_free: New file.
	* build-aux/vc-list-files: Likewise.
	* build-aux/find-unnecessary-if-before-free: Likewise.
	* GNUmakefile, Makefile.cfg, Makefile.maint: New files.

7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010
	Given code like if (foo) free (foo); remove the useless "if (foo) " part
	Likewise, given if (foo != NULL) free (foo); remove the useless "if"
	test.
	* proxy/libvirt_proxy.c: Remove unnecessary "if" test before free.
	* python/generator.py: Likewise.
	* qemud/qemud.c: Likewise.
	* src/buf.c: Likewise.
	* src/conf.c: Likewise.
	* src/hash.c: Likewise.
	* src/iptables.c: Likewise.
	* src/libvirt.c: Likewise.
	* src/openvz_conf.c: Likewise.
	* src/qemu_conf.c: Likewise.
	* src/qemu_driver.c: Likewise.
	* src/remote_internal.c: Likewise.
	* src/test.c: Likewise.
	* src/virsh.c: Likewise.
	* src/virterror.c: Likewise.
	* src/xen_internal.c: Likewise.
	* src/xen_unified.c: Likewise.
	* src/xend_internal.c: Likewise.
	* src/xm_internal.c: Likewise.
	* src/xml.c: Likewise.
	* src/xmlrpc.c: Likewise.
	* src/xs_internal.c: Likewise.
	* tests/testutils.c: Likewise.
	* tests/xencapstest.c: Likewise.
	* tests/xmconfigtest.c: Likewise.

8011 8012 8013 8014 8015 8016
Fri Jan 25 12:00:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Clarify virsh documentation.
	* docs/virsh.pod: Clarify virsh documentation on when you can
	  set memory and vCPUs.

8017 8018 8019 8020 8021
Fri Jan 25 10:46:32 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: fix an erronous use of VIR_DOMAIN_NONE instead
	  of VIR_DOMAIN_NOSTATE (both defined as 0, no regression)

8022 8023 8024 8025 8026
Thu Jan 24 18:08:28 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c: Jay Gagnon pointed out that virDomainGetXMLDesc
	  was failing with a non-zero flag value

8027 8028 8029 8030 8031 8032
Thu Jan 24 10:08:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Correct typos in the documentation (Atsushi SAKAI)
	* README, libvirt.spec.in, docs/devhelp/html.xsl,
	  docs/devhelp/index.html: Correct typos in the documentation.

D
Daniel P. Berrange 已提交
8033 8034 8035 8036
Wed Jan 23 14:36:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Fix enablement of SASL

8037 8038 8039 8040 8041 8042 8043 8044 8045
Wed Jan 23 14:47:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Portability improvements for Mac OS X.
	* configure.in: Use PortableXDR if available.
	* qemud/internal.h: Use "socketcompat.h".
	* qemud/qemud.c: Use <signal.h>.
	* src/sexpr.c: Use <stdlib.h> instead of <malloc.h>.
	* src/socketcompat.h: Include <sys/un.h> for Mac OS X.

R
Richard W.M. Jones 已提交
8046 8047 8048 8049 8050
Wed Jan 23 14:43:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

	Remove DOS line-endings.
	* src/socketcompat.h: Remove DOS line-endings in this file.

8051 8052 8053 8054 8055 8056 8057 8058
Tue Jan 22 16:27:47 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.ac: Remove use of PKG_CHECK_EXISTS macro. Avoid
	lines going over 80 chars wide. Make sasl check automatic
	enable/disable as neccessary.
	* acinclude.m4: Added compatability macro for old pkg-config
	* src/gnutls_1_0_compat.h: Add compat for gnutls_cipher_algorithm_t

8059 8060 8061 8062 8063
Mon Jan 21 18:03:47 CET 2008  Jim Meyering  <meyering@redhat.com>

	Avoid "may be used uninitialized" warning.
	* tests/xmconfigtest.c (testCompareParseXML): Initialize "old_priv".

8064 8065 8066 8067 8068 8069 8070 8071 8072 8073
Mon Jan 21 11:18:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/hash.c: Split the virFree* functions into virUnref*
	and virRelease*. Switch to use standard pthread_mutex_t type.
	* src/internal.h: Rename virFree* to virUnref*
	* src/qemu_driver.c: Remove bogus release of object in
	virDomainDestroy and virNetworkDestroy.
	* src/xend_internal.c, src/libvirt.c: Update to call virUnref*
	* src/xs_internal.c: Remove dead code & mark functions static

8074 8075 8076 8077 8078 8079 8080
Mon Jan 21 10:52:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* python/generator.py: Abort with non-zero status if any functions
	are marked as failed.
	* python/libvir.c: Don't do manual virDomainFree/virNetworkFree/
	virConnectFree since the generator creates them without issue

8081 8082 8083 8084 8085 8086 8087 8088
Mon Jan 21 10:39:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* python/generator.py: mark VCPU / schedular related functions
	as skipped.
	* python/libvirt-python-api.xml: Add new defs for VCPU/ schedular
	related functions
	* python/libvir.c: Manual impl of VCPU/schedular functions

8089 8090 8091 8092 8093 8094 8095
Mon Jan 21 10:25:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.c, src/util.h: Rename virFileReadAll to __virFileReadAll,
	and add macro for compat
	* src/libvirt_sym.version: Export __virFileReadAll
	* src/virsh.c: Use virFileReadAll for loading XML files

8096 8097 8098 8099
Mon Jan 21 10:12:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_driver.c: Remove no-op networking APIs

8100 8101
Mon Jan 21 15:03:04 CET 2008  Jim Meyering  <meyering@redhat.com>

8102 8103 8104 8105 8106 8107 8108 8109 8110
	Adjust sexpr-related interfaces to be const-correct.
	* src/sexpr.c (sexpr_cons, append, sexpr_append, sexpr2string)
	(sexpr_lookup_key, sexpr_lookup, sexpr_node, sexpr_fmt_node):
	Add "const" attribute where appropriate.
	* src/xend_internal.c (sexpr_int, sexpr_float, sexpr_u64)
	(sexpr_uuid, sexpr_to_xend_domain_info, sexpr_to_xend_node_info)
	(sexpr_to_xend_topology_xml, sexpr_to_domain): Likewise.
	* src/sexpr.h: Adjust prototypes.

8111 8112 8113 8114 8115
	Don't access line[-1] for a zero-length "line" from fgets.
	A NUL byte at beginning of input, or just after a newline
	would provoke an invalid buf[-1] access (possible segfault).
	* src/libvirt.c (virConnectAuthCallbackDefault):

D
Daniel Veillard 已提交
8116 8117
Mon Jan 21 09:25:12 CET 2008 Daniel Veillard <veillard@redhat.com>

8118
	* src/xml-internal.c: apply patch from Hiroyuki Kaguchi to
D
Daniel Veillard 已提交
8119 8120
	  preserve the vif list order.

D
Daniel Veillard 已提交
8121 8122 8123 8124 8125
Mon Jan 21 09:06:28 CET 2008 Daniel Veillard <veillard@redhat.com>

	* docs/API* docs/api.xsl docs/site.xsl docs/Makefile.am: remove the
	  generation of the API*.html files as it's not really useful here

8126 8127 8128 8129 8130
Sun Jan 20 11:01:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/internal.h: Add xstrtol_ull, xstrtol_ll convenience
	functions

8131 8132 8133 8134 8135
Sun Jan 20 10:54:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Fix nodeinfo compat with Xen 3.2.0 and
	add sanity checking of data

8136 8137 8138 8139 8140 8141 8142 8143 8144
Sat Jan 19 13:32:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/configure.in: enable debug by default. print status of
	compiler warning flags in configure summary
	* src/internal.h: Provide a generic VIR_DEBUG macro for logging
	* src/libvirt.c, src/remote_internal.c, src/xen_unified.c,
	src/xend_internal.c: Use generic VIR_DEBUG macro for logging.
	Enable debug when env var LIBVIRT_DEBUG=1

8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162
Thu Jan 17 23:12:42 CET 2008  Jim Meyering  <meyering@redhat.com>

	Handle PyTuple_New's malloc failure.
	* python/libvir.c (libvirt_virDomainBlockStats): Handle a NULL
	return from PyTuple_New.
	(libvirt_virDomainInterfaceStats, libvirt_virGetLastError): Likewise.
	(libvirt_virConnGetLastError): Likewise.

	Factor out some duplication.
	* python/libvir.c (VIR_PY_NONE): New macro, to encapsulate
	a common two-statement sequence.
	Replace all such 2-stmt sequences.

	Avoid format string warnings.
	* src/virsh.c: Add "%s" where needed.
	* src/proxy_internal.c: Likewise.

Tue Jan 15 16:25:57 CET 2008  Jim Meyering  <meyering@redhat.com>
8163 8164 8165 8166

	* docs/examples/examples.xml: Regenerate, now that *.c file names
	are sorted.

8167 8168 8169 8170 8171 8172
Tue Jan 15 10:01:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.h, src/qemu_conf.c: Add support for 'keymap'
	parameter wrt to VNC servers (Daniel Hokka Zakrisson)

Tue Jan 15 09:18:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>
8173 8174 8175 8176 8177

	* src/remote_internal.c: Fix off by one in checking SSH
	argv for NULL. Fix format args in error message to avoid
	compile warning.

8178 8179
2008-01-14  Jim Meyering  <meyering@redhat.com>

J
Jim Meyering 已提交
8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199
	Update files from gnulib.
	* gnulib/lib/Makefile.am: Update.
	* gnulib/lib/float.in.h: Likewise.
	* gnulib/lib/fseeko.c: Likewise.
	* gnulib/lib/printf-parse.c: Likewise.
	* gnulib/lib/stdint.in.h: Likewise.
	* gnulib/lib/stdio.in.h: Likewise.
	* gnulib/lib/stdlib.in.h: Likewise.
	* gnulib/lib/string.in.h: Likewise.
	* gnulib/lib/unistd.in.h: Likewise.
	* gnulib/lib/vasnprintf.h: Likewise.
	* gnulib/m4/alloca.m4: Likewise.
	* gnulib/m4/float_h.m4: Likewise.
	* gnulib/m4/gnulib-comp.m4: Likewise.
	* gnulib/m4/stdlib_h.m4: Likewise.
	* gnulib/m4/string_h.m4: Likewise.
	* gnulib/m4/unistd_h.m4: Likewise.
	* gnulib/tests/Makefile.am: Likewise.
	* gnulib/tests/test-fseeko.c: Likewise.

J
Jim Meyering 已提交
8200 8201 8202 8203 8204
	Clean up the global name space.
	* src/qemu_conf.c: Add "static" and "const" attributes to some globals.
	* src/qemu_conf.h: Update a declaration.
	* src/qemu_driver.c (qemud_driver): Declare static.

8205 8206 8207 8208 8209
	Clean up global name space in examples and tests.
	* docs/examples/suspend.c: Declare global "conn" to be static.
	* tests/qemuxml2argvtest.c: Declare global "driver" to be static.
	* tests/qemuxml2xmltest.c: Likewise.

8210 8211 8212 8213 8214
Sun Jan 13 22:59:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Refactor code to make error patches
	clearer (Jim Meyering).

8215 8216 8217 8218 8219
Sun Jan 13 22:53:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Fix crash when server has auth type
	enabled but client has no auth callback

M
Mark McLoughlin 已提交
8220 8221 8222 8223
Thu Jan 10 14:40:53 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c: fix an unused variable warning.

8224 8225 8226 8227 8228 8229 8230 8231
Thu Jan 10 13:59:15 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.[ch]: add iptablesSaveRules(), and don't
	save the rules to disk and run lokkit each time a new
	rule is added

	* src/qemu_driver.c: use iptablesSaveRules()

8232 8233 8234 8235 8236
Thu Jan 10 13:57:56 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c: now that we only use built-in iptables
	chains, we don't need to add or delete them

8237 8238 8239 8240 8241 8242 8243
Thu Jan 10 13:56:33 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	Like --with-iptables-prefix, --with-iptables-dir is no
	longer useful, so let's remove it.

	* configure.in, src/iptables.c: remove --with-iptables-dir

8244 8245 8246 8247 8248 8249 8250 8251 8252 8253
Thu Jan 10 13:54:10 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	--with-iptables-prefix was added to integrate with
	a proposed system for letting iptables know how to
	reload our rules. The proposed system wasn't accepted
	so, although there might be some other theoretical
	use for this, let's just remove it.

	* configure.in, src/iptables.c: remove --with-iptables-prefix

8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268
Thu Jan 10 13:52:05 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	Add support for integrating our iptables support with
	Fedora's iptables configuration using the lokkit --custom-rules
	command.

	Basically, we write out our rules to /var/lib/libvirt/iptables
	and run lokkit --custom-rules so that if e.g. iptables is
	restarted or the user edits their firewall configuration,
	then libvirt's rules get reloaded.

	* configure.in: Add --enable-iptables-lokkit

	* src/iptables.c: Add support for lokkit

8269 8270 8271 8272 8273
Thu Jan 10 13:51:00 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c: Include the iptables command and chain
	name in the saved rules files

8274 8275 8276
Thu Jan 10 13:50:11 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c: Re-name the "flipflop" variable to "command_idx"
J
Jim Meyering 已提交
8277

8278 8279 8280 8281 8282
Thu Jan 10 13:49:01 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c:  make use of virFileMakePath(),
	virFileBuildPath() and virRun().

8283 8284 8285 8286
Thu Jan 10 13:48:01 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c: Fix compile error in --with-iptables-dir code

8287 8288 8289 8290 8291
Thu Jan 10 13:46:14 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/util.c: change virExec() such that with --enable-debug,
	stdout and stderr no longer go to /dev/null.

8292 8293 8294 8295
Thu Jan 10 13:44:17 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/util.[ch]: Add virRun() helper function (Dan Berrange)

8296 8297 8298 8299 8300
Wed Jan  9 16:04:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_internal.c: Ensure cpumap is at least 8 bytes long
	when doing hypercall (Saori Fukuta)

8301 8302 8303 8304 8305
Wed Jan  9 10:55:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Wire up to system_shutdown command for
	graceful ACPI triggered shutdown process (Guido Guenther)

D
Daniel P. Berrange 已提交
8306 8307 8308 8309
Tue Jan  8 12:48:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.c: cast  off_t to int in debug output to avoid warning

D
Daniel P. Berrange 已提交
8310 8311 8312 8313
Tue Jan  8 11:12:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.c: Fix addr passed to free() in error cleanup

8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324
Mon Jan  7 10:19:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/util.c, src/util.h: virFileReadAll() now allocates its
	own buffer
	* src/conf.c: Use virFileReadAll() to avoid truncating config
	files
	* src/qemu_conf.c: Update for new virFileReadAll() contract
	* tests/test_conf.sh, tests/confdata/libvirtd.conf,
	tests/libvirtd.out: New test case for large config file

Sat Jan  5 16:02:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337

	Miscellaneous fixes for building on Windows (MinGW).
	* configure.in: xdr functions may require -lxdr.
	* configure.in, src/Makefile.am: Extra linking flags for
	  building libvirt DLL.
	* src/socketcompat.h: Hide Windows Winsock incompatibilities
	  in a separate header file.
	* src/remote_internal.c: Switch to using socketcompat.h /
	  socket_errno().
	* src/test.c: Switch to using socketcompat.h.
	* gnulib/lib/arpa/.cvsignore: Ignore another generated file.
	* src/qparams.c: Include <config.h>.

8338 8339 8340 8341 8342
Wed Jan  2 17:45:53 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: fix policykit auth handling of NULL
	callbacks to not crash

8343 8344 8345 8346 8347
Wed Dec 26 06:38:53 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/openvz.c: patch from Mikhail Pokidko to fix the OpenVZ
	  compilation error #426385

8348 8349 8350 8351 8352
Tue Dec 18 00:18:33 CET 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in docs/libvir.html docs/news.html po/*:
	  prepare release of libvirt-0.4.0

D
Daniel P. Berrange 已提交
8353 8354 8355 8356 8357
Mon Dec 17 18:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Added dep on 'nc'

Mon Dec 17 18:03:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
8358 8359 8360 8361

	* src/xend_internal.c: Compatability with Xen 3.2.0 changed
	fields for physinfo data used by virNodeInfoPtr.

8362 8363 8364 8365 8366 8367
Mon Dec 17 17:38:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	Fix remote_internal.c error handling of qparam_get_query
	* src/remote_internal.c: Fixed reversed check of error handling
	  of qparam_get_query call (Dan Berrange).

8368 8369 8370 8371 8372 8373 8374 8375
Mon Dec 17 10:05:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	Add separate qparams module for handling query parameters.
	* src/qparams.c, src/qparams.h, src/Makefile.am: Added a
	  separate 'qparams' module for handling query parameters.
	* src/remote_internal.c: Factor out query parameter code so
	  it uses the 'qparams' module.

8376 8377 8378 8379 8380 8381 8382
Mon Dec 17 10:01:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	Add extra utility functions to buf.c
	* src/buf.c, src/buf.h: Added utility functions
	  virBufferURIEncodeString and virBufferAddChar to the
	  buffer module.

8383 8384 8385 8386 8387 8388 8389
Sat Dec 15 12:12:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: Return error code if passed unsupported
	credential types.
	* src/remote_internal.c: Don't run callback if it doesn't
	support the VIR_CRED_EXTERNAL credential type

8390 8391 8392 8393 8394
Fri Dec 14 16:50:14 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xm_internal.c: patch from Saori Fukuta to fix setting
	  CPU parameters in the config files, the value was overwritten

8395 8396 8397 8398 8399 8400
Fri Dec 14 16:36:02 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xs_internal.[ch]: patch from Saori Fukuta to fix the
	  detach-disk command when using Xen tap devices.
	* docs/libvir.html: typo fix from Jim Meyering

8401 8402 8403 8404 8405
Wed Dec 12 16:42:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	Fix virBufferEscapeString escaping of '<'
	* src/buf.c (virBufferEscapeString): '<' escaped as "&lt;"

J
Jim Meyering 已提交
8406 8407 8408 8409 8410 8411 8412
Wed Dec 12 09:11:44 CET 2007 Jim Meyering <meyering@redhat.com>

	Always build in python/ subdir.
	* configure.in (PYTHON_SUBDIR): Don't set.  Remove all uses.
	* Makefile.am (SUBDIRS): Hard-code "python" here.
	(tests): Test equivalent "$(pythondir)", not @PYTHON_SUBDIR@.

J
Jim Meyering 已提交
8413 8414 8415 8416 8417 8418
Wed Dec 12 08:20:07 CET 2007 Jim Meyering <meyering@redhat.com>

	Accommodate automake-1.9.
	* tests/Makefile.am (TESTS_ENVIRONMENT): Adjust PATH setting
	to work also with automake-1.9.  Can't use $(abs_top_builddir).

8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450
Tue Dec 11 22:56:47 CET 2007 Jim Meyering <meyering@redhat.com>

	Use a variable name as sizeof argument, not a type name.
	Given code like: T *var = calloc (n, sizeof (T));
	Convert to this: T *var = calloc (n, sizeof (*var));
	This first-cut change adjusts all malloc, calloc, and
	realloc statements.
	The only binary differences are in remote_internal.c
	(due to the bug fix) and in xmlrpc.c (due to factorization).
	* python/libvir.c: As above.
	* qemud/event.c: Likewise.
	* qemud/mdns.c: Likewise.
	* qemud/qemud.c: Likewise.
	* qemud/remote.c: Likewise.
	* src/bridge.c: Likewise.
	* src/buf.c: Likewise.
	* src/conf.c: Likewise.
	* src/hash.c: Likewise.
	* src/iptables.c: Likewise.
	* src/openvz_conf.c: Likewise.
	* src/qemu_conf.c: Likewise.
	* src/qemu_driver.c: Likewise.
	* src/test.c: Likewise.
	* src/xen_internal.c: Likewise.
	* src/xen_unified.c: Likewise.
	* src/xm_internal.c: Likewise.
	* src/xml.c: Likewise.
	* tests/qemuxml2argvtest.c: Likewise.
	* src/xmlrpc.c (xmlRpcValuePtr): Likewise, and minor factorization.
	* src/remote_internal.c (remoteAuthMakeCredentials): Use the right
	type when allocating space for an array of cred _pointers_.

8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461
Tue Dec 11 22:19:22 CET 2007 Jim Meyering <meyering@redhat.com>

	Test libvirtd's config-processing code.
	And remove a minor diagnostic inconsistency.
	* tests/daemon-conf: New test.
	* tests/Makefile.am (TESTS_ENVIRONMENT): Prepend qemud/ to PATH,
	so we can invoke libvirtd without an absolute name.
	(test_scripts): Add daemon-conf.
	* qemud/qemud.c (remoteConfigGetAuth): Use checkType,
	rather than open-coding it with a different diagnostic.

J
Jim Meyering 已提交
8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500
Mon Dec 10 19:25:22 CET 2007 Jim Meyering <meyering@redhat.com>

	Add gnulib-tool unit tests.
	* bootstrap: Re-add --with-tests, now that gnulib-tool
	arranges to use separate libraries for lib/ and tests/.
	* configure.in (AC_OUTPUT): Add gnulib/tests/Makefile.in.
	* Makefile.am (SUBDIRS): Add gnulib/tests.
	* gnulib/tests/Makefile.am: New file.
	* gnulib/lib/.cvsignore: Sort.
	* gnulib/lib/Makefile.am, gnulib/m4/getdelim.m4, gnulib/m4/getline.m4:
	* gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-comp.m4: Regenerate.
	* gnulib/tests/test-alloca-opt.c: New file, from gnulib.
	* gnulib/tests/test-arpa_inet.c: Likewise.
	* gnulib/tests/test-fseeko.c: Likewise.
	* gnulib/tests/test-fseeko.sh: Likewise.
	* gnulib/tests/test-getaddrinfo.c: Likewise.
	* gnulib/tests/test-getdelim.c: Likewise.
	* gnulib/tests/test-getline.c: Likewise.
	* gnulib/tests/test-lseek.c: Likewise.
	* gnulib/tests/test-lseek.sh: Likewise.
	* gnulib/tests/test-netinet_in.c: Likewise.
	* gnulib/tests/test-snprintf.c: Likewise.
	* gnulib/tests/test-stdbool.c: Likewise.
	* gnulib/tests/test-stdint.c: Likewise.
	* gnulib/tests/test-stdio.c: Likewise.
	* gnulib/tests/test-stdlib.c: Likewise.
	* gnulib/tests/test-string.c: Likewise.
	* gnulib/tests/test-sys_select.c: Likewise.
	* gnulib/tests/test-sys_socket.c: Likewise.
	* gnulib/tests/test-sys_stat.c: Likewise.
	* gnulib/tests/test-sys_time.c: Likewise.
	* gnulib/tests/test-unistd.c: Likewise.
	* gnulib/tests/test-vasnprintf.c: Likewise.
	* gnulib/tests/test-vasprintf.c: Likewise.
	* gnulib/tests/test-wchar.c: Likewise.
	* gnulib/tests/dummy.c: Likewise.
	* gnulib/tests/intprops.h: Likewise.
	* gnulib/tests/verify.h: Likewise.

8501 8502 8503 8504
Sat Dec  8 18:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* gnulib/lib/arpa/inet.h: Remove autogenerated file

8505 8506 8507 8508 8509
Fri Dec  7 10:25:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* gnulib/m4/getdelim.m4, gnulib/m4/getline.m4: Remove bogus
	AC_PREREQ(2.60) since it works fine without this

D
Daniel P. Berrange 已提交
8510 8511 8512 8513
Fri Dec  7 10:16:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: ensure $prefix is quoted in conditional test

8514 8515 8516 8517 8518
Fri Dec  7 14:55:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* proxy/Makefile.am: Include gnulib code when building the
	  proxy.

8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531
Fri Dec  7 14:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/console.c, src/console.h, src/virsh.c: Disable
	  text console on Windows.
	* src/libvirt.c: Use replacement getpass from Gnulib.
	* src/libvirt.c: Initialize Winsock before use.
	* src/remote_internal.c: Header file fixes for Windows.
	  Don't fail if AI_ADDRCONFIG isn't defined.  Disable
	  unsupported stuff under Windows.
	* src/uuid.c: ENODATA unavailable on Windows, use EIO instead.
	* src/virsh.c: No uid_t / getuid on Windows.
	* src/virsh.c: No O_SYNC on Windows.

8532 8533 8534 8535 8536
Fri Dec  7 14:47:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/internal.h: Use gnulib gettext library.  Define
	  INET_ADDRSTRLEN unless already defined.

8537 8538 8539 8540 8541 8542 8543 8544 8545 8546
Fri Dec  7 14:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/.cvsignore: Ignore *.loT files (generated under Windows).
	* proxy/libvirt_proxy.c: Bail out earlier --without-xen.
	* src/proxy_internal.c: Don't build proxy client side if
	  configured --without-xen.
	* src/iptables.c, src/iptables.h: Disable this code if
	  configured --without-qemu.
	* src/nodeinfo.c: If no 'uname' function, set model name to
	  empty string (for Windows).
8547 8548 8549 8550
	* src/xen_unified.h, src/util.c, src/test.c: Include <winsock2.h>
	  on Windows.
	* src/util.c: Disable virExec* and virFileLinkPointsTo on
	  MinGW.
8551

8552 8553 8554 8555
Fri Dec  7 14:34:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/sexpr.c: Cosmetic rearrangement of headers.

8556 8557 8558 8559 8560
Fri Dec  7 14:27:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Extra checks for uname and some header files
	  (for MinGW Windows port).

8561 8562 8563 8564 8565
Fri Dec  7 14:27:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* bootstrap, Makefile.am, gnulib/*: Import more gnulib
	  modules for use by MinGW Windows port.

8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576
Fri Dec  7 11:06:58 CET 2007 Jim Meyering <meyering@redhat.com>

	Include "config.h" in remaining non-generated files.
	* proxy/libvirt_proxy.c: Likewise.
	* python/libvir.c: Likewise.
	* python/types.c: Likewise.
	* src/event.c: Likewise.
	* src/xm_internal.c: Likewise.
	* tests/reconnect.c: Likewise.
	* tests/testutils.c: Likewise.

8577 8578 8579 8580 8581
Fri Dec  7 09:39:41 CET 2007 Daniel Veillard <veillard@redhat.com>

	* python/generator.py python/libvir.c python/libvirt-python-api.xml:
	  add a python binding for virNodeGetCellsFreeMemory

8582 8583 8584 8585
Thu Dec  6 12:41:18 CET 2007 Jim Meyering <meyering@redhat.com>

	* qemud/qemud.c (qemudInitPaths): Remove unused code.

8586 8587 8588 8589 8590
Thu Dec  6 16:32:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: The prompt should depend on readonly status,
	  not on the UID.

8591 8592 8593 8594 8595
Thu Dec  6 16:30:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, qemud/Makefile.am: Added a --without-libvirtd
	  configure option.

D
Daniel P. Berrange 已提交
8596 8597 8598 8599
Thu Dec  6 10:35:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Fix macros build on RHEL distros

8600 8601 8602 8603
Thu Dec  6 15:53:41 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/*: rebuilt the docs and XML files

8604 8605 8606 8607
Thu Dec  6 15:42:52 CET 2007 Daniel Veillard <veillard@redhat.com>

	* po/*: updated the localization files

8608 8609 8610 8611 8612
Thu Dec  6 12:00:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c: Clean up a warning if neither SASL
	  nor PolKit are enabled.

8613 8614 8615 8616 8617 8618 8619
Thu Dec  6 12:41:18 CET 2007 Jim Meyering <meyering@redhat.com>

	Build also on systems where -lreadline requires e.g., -lncurses.
	* configure.in: If the test for -lreadline fails, search for a
	library with termcap support.  If one is found (often -lncurses),
	rerun the test for -lreadline, linking also with the new library.

8620 8621 8622 8623 8624
Thu Dec  6 11:23:31 CET 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in src/Makefile.am src/virsh.c: fix compilation problems
	  when readline headers were found but not the library

8625 8626 8627 8628 8629
Wed Dec  5 23:57:53 CET 2007 Jim Meyering <meyering@redhat.com>

	Accommodate developers using autoconf-2.59.
	* configure.in (m4_foreach_w): Define if not defined.

J
Jim Meyering 已提交
8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645
Wed Dec  5 22:38:18 CET 2007 Jim Meyering <meyering@redhat.com>

	Include "config.h".
	* qemud/event.c: Likewise.
	* src/buf.c: Likewise.
	* src/hash.c: Likewise.
	* src/nodeinfo.c: Likewise.
	* src/openvz_conf.c: Likewise.
	* src/proxy_internal.c: Likewise.
	* src/virterror.c: Likewise.
	* src/xmlrpc.c: Likewise.
	* src/xs_internal.c: Likewise.
	* tests/conftest.c: Likewise.
	* tests/xmlrpctest.c: Likewise.
	This fixes a mingw build failure reported by Rich Jones.

8646 8647 8648 8649 8650
Wed Dec  5 22:34:27 CET 2007 Jim Meyering <meyering@redhat.com>

	Add all of the files pulled in from gnulib by running ./bootstrap.
	Adjust some .cvsignore files.

8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700
Wed Dec  5 22:30:03 CET 2007 Jim Meyering <meyering@redhat.com>

	Use gnulib, starting with its physmem and getaddrinfo modules.
	New files go into these directories:
	  gnulib/lib
	  gnulib/m4
	  gnulib/tests
	* bootstrap: A wrapper around gnulib-tool.
	* configure.in: Invoke gl_EARLY and gl_INIT, being careful to put
	gl_EARLY before any macro that uses AC_COMPILE_IFELSE.
	(AC_OUTPUT): Add lib/Makefile and gl-tests/Makefile.  Remove m4/Makefile.
	* Makefile.am (SUBDIRS): Add gnulib/lib and remove m4.  Add gnulib/tests
	early enough that those tests run before any libvirt unit tests.
	* m4/Makefile.am: Remove file.  Not needed.
	* src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib
	-I../gnulib/lib.
	(LDADDS, libvirt_la_LIBADD): Add ../gnulib/lib/libgnu.la.
	* src/nodeinfo.c: Include "physmem.h".
	* qemud/qemud.c, src/remote_internal.c: Include "getaddrinfo.h".
	(MEMINFO_PATH, linuxNodeInfoMemPopulate): Remove definitions.
	(virNodeInfoPopulate): Use physmem_total, not linuxNodeInfoMemPopulate.
	* tests/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib
	-I../gnulib/lib.
	(LDADDS): Add ../gnulib/lib/libgnu.la.
	* qemud/Makefile.am (libvirtd_LDADD): Add ../gnulib/lib/libgnu.la.
	* tests/nodeinfotest.c (linuxTestCompareFiles): No longer read total
	memory from a file.
	Update expected output not to include "Memory: NNNN"
	* tests/nodeinfodata/linux-nodeinfo-1.txt:
	* tests/nodeinfodata/linux-nodeinfo-2.txt:
	* tests/nodeinfodata/linux-nodeinfo-3.txt:
	* tests/nodeinfodata/linux-nodeinfo-4.txt:
	* tests/nodeinfodata/linux-nodeinfo-5.txt:
	* tests/nodeinfodata/linux-nodeinfo-6.txt:
	* src/test.c [WITH_TEST]: Remove definition of _GNU_SOURCE that
	would conflict with the one now in "config.h".
	* autogen.sh: Add -I gnulib/m4.
	* src/conf.c, src/sexpr.c: Don't define _GNU_SOURCE.
	Instead, include "config.h".
	* qemud/qemud.c: Remove definition of _GNU_SOURCE.
	* src/openvz_driver.c: Likewise.
	* src/qemu_driver.c: Likewise.
	* src/remote_internal.c: Likewise.

	* configure.in: Use AC_CONFIG_AUX_DIR(build-aux), so that a bunch
	of gettextize-generated files go into build-aux/, rather than in
	the top-level directory.
	* .cvsignore: Adjust.
	* build-aux/.cvsignore: New file.

8701 8702 8703 8704 8705 8706
Wed Dec  5 21:44:17 CET 2007 Daniel Veillard <veillard@redhat.com>

	* qemud/remote.c: rename remoteDispatchAuthPolkitInit to
	  remoteDispatchAuthPolkit, the no-op init call when policykit
	  is not available

8707 8708 8709 8710 8711 8712 8713
Wed Dec  5 14:16:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Disable saslUsernameWhitelist config file
	handling if SASL is disabled. (Rich Jones)
	* src/remote_internal.c: Enable remoteDebug() API when SASL
	is disabled too

8714 8715 8716 8717 8718 8719 8720
Wed Dec  5 14:16:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* docs/libvir.html: Add page about authentication setup options
	* docs/libvirt.css: Make <pre> tag show scrollbars if content
	is too wide to fit
	* docs/*.html: Re-generated from libvir.html

8721 8722 8723 8724 8725 8726 8727
Wed Dec  5 14:09:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: automatically disable Xen setuid proxy if
	PolicyKit is enabled
	* libvirt.spec.in: force disable of Xen setuid proxy for
	distros where PolicyKIt is enabled

8728 8729 8730 8731 8732
Wed Dec  5 14:08:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* python/libvir.c, python/libvir.py: Add binding for the
	virConnectOpenAuth() API which generator can't handle

8733 8734 8735 8736 8737
Wed Dec  5 13:55:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Re-added listen_tcp & listen_tls config
	param handling accidentally lost in earlier refactoring

8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749
Wed Dec  5 13:51:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* include/libvirt/libvirt.h.in: Add virConnectAuthPtrDefault
	as default CLI auth callback
	* src/libvirt_sym.version: Export virConnectAuthPtrDefault
	* src/libvirt.c: Default auth callback for command line based
	apps
	* src/virsh.c: Use default auth callback
	* src/internal.h: Add STRCASEEQLEN, STRCASENEQLEN
	* src/remote_internal.c: Wire up callback API to SASL interaction
	types / callbacks.

8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761
Wed Dec  5 13:27:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* Makefile.am: Put include/ before src/ in SUBDIRS
	* docs/*: updated for new public API
	* include/libvirt.h.in: Added virConnectOpenAuth and related
	definitions for authentication callbacks.
	* proxy/libvirt_proxy.c, src/openvz_driver.c, src/proxy_internal.c,
	src/qemu_driver.c, src/test.c, src/xen_internal.c, src/xen_unified.c,
	src/xend_internal.c, src/xend_internal.h, src/xm_internal.c,
	src/xm_internal.h, src/xs_internal.c, src/xs_internal.h,
	src/remote_internal.c: Update for new auth arg to the open API

8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777
Wed Dec  5 13:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: do PolicyKit checks via pkg-config
	* libvirt.spec.in: Add dep on PolicyKit if Fedora 8 or later
	* qemud/Makefile.am: Add PolicyKit build flags and default
	policy file
	* qemud/libvirtd.conf: Add comment about polkit auth option
	* qemud/libvirtd.policy: Default policy file
	* qemud/qemud.c, qemud/remote.c: Implementation of PolicyKit
	authentication
	* qemud/remote_protocol.x: Add RPC calls for PolicyKit auth
	* qemud/remote_dispatch*, qemud/remote_protocol.{c.h}: update
	for new RPC calls.
	* src/remote_internal.c: Fetch credentials for PolicyKit and
	perform client part of auth process

8778 8779 8780 8781 8782
Wed Dec  5 18:00:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/Makefile.am, tests/Makefile.am: Remove LIBOBJS/LTLIBOBJS
	  which were incorrectly committed earlier.

8783 8784 8785 8786
Wed Dec  5 11:24:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: quit if initial conection attempt fails

8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800
Wed Dec  5 10:29:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am: Fix VPATH build for remote_generate_stubs.pl
	* qemud/internal.h: Add saslusername to client data & username
	whitelist to server data
	* qemud/libvirtd.conf: Add config param for whitelisting users.
	Remove config param for whitelisting IP addrs. Cleanup whitespace
	and syntax errors in default values
	* qemud/qemud.c, qemud/remote.c: Remove IP whitelisting. Add
	username whitelisting against SASL authenticated username.
	Makefile socket authentication schemes configurable.
	* qemud/remote_dispatch_prototypes.h, remote_generate_stubs.pl:
	Add a struct qemud_server * parameter to every dispatch function

8801 8802 8803 8804 8805 8806
Wed Dec  5 10:25:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c, qemud/qemud.c, qemud/internal.h,
	qemud/remote.c: Add support for SASL SSF layer providing
	data encryption of the connection post-authentication.

8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823
Wed Dec  5 10:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Add checks for SASL library
	* include/libvirt/virterror.h: Add VIR_ERR_AUTH_FAILED
	* libvirt.spec.in: Add deps on cyrus-sasl & md5 plugin
	and add SASL config file
	* qemud/Makefile.am: Add SASL config file & build flags
	* qemud/remote_protocol.x: new RPC calls for SASL
	* qemud/internal.h, qemud/qemud.c, qemud/remote.c: Server
	side of SASL authentication support
	* qemud/libvirtd.init.in, qemud/libvirtd.sysconf: Set
	KRB5_KTNAME to tell daemon where kerberos keytab lives
	* qemud/libvirtd.sasl: example SASL config file
	* src/Makefile.am, tests/Makefile.am: add SASL build flags
	* src/remote_internal.c: Add support for SASL auth client
	* src/virterror.c: Add VOIR_ERR_AUTH_FAILED string

8824 8825 8826 8827 8828
Wed Dec  5 10:07:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Strip out NIC interfaces named vnetXXX since
	those are auto-generated names.

8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847
Wed Dec  5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* python/libvir.c, python/libvirt_wrap.h, qemud/qemud.c,
	qemud/remote.c, src/internal.h, src/openvz_conf.c,
	src/openvz_driver.c, src/proxy_internal.h, src/qemu_conf.c,
	src/qemu_driver.c, src/remote_internal.h, src/test.h, src/util.c,
	src/xen_unified.c, src/xen_unified.h, tests/nodeinfotest.c,
	tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c, tests/reconnect.c,
	tests/sexpr2xmltest.c, tests/virshtest.c, tests/xencapstest.c,
	tests/xmconfigtest.c, tests/xml2sexprtest.c:
	Change #include <> to #include "" for local includes.
	Removed many includes from src/internal.h and put them in
	the C files which actually use them.
	Removed <ansidecl.h> - unused.
	Added a comment around __func__.
	Removed a clashing redefinition of VERSION symbol.
	All limits (PATH_MAX etc) now done in src/internal.h, so we
	don't need to include those headers in other files.

8848 8849 8850 8851
Tue Dec  4 18:25:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Fix configure if rpcgen program is missing.

8852 8853 8854 8855 8856 8857 8858
Tue Dec  4 17:47:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: curses is not actually required to build libvirt
	* configure.in, src/virsh.c: Make readline optional.  If not
	  available then virsh is built without support for command
	  line editing.

8859 8860 8861 8862 8863 8864
Mon Dec  3 20:44:01 CET 2007 Jim Meyering <meyering@redhat.com>

	Avoid compile failure when HAVE_AVAHI is not defined.
	* qemud/qemud.c (remoteReadConfigFile): Remove some of the
	"#ifdef HAVE_AVAHI" guards around uses of mdns_name and mdns_adv.

8865 8866 8867 8868
Mon Dec  3 16:15:10 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/util.c: Fix header files for Windows builds.

8869 8870 8871 8872 8873 8874 8875 8876 8877 8878
Mon Dec  3  9:10:10 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: remove qemudMakeConfigPath, qemudEnsureDir,
	qemudReadFile,compareFileToNameSuffix, hasSuffix, checkLinkPointsTo
	* src/qemu_conf.h: remove qemudEnsureDir
	* src/qemu_driver.c: Update to use new API names
	* src/util.h, src/util.c: add virFileReadAll, virFileHasSuffix,
	virFileMatchsNameSuffix, virFileLinkPointsTo, virFileMakePath,
	virFileBuildPath

8879 8880 8881 8882 8883 8884 8885
Mon Dec  3 10:32:10 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_unified.[ch] src/proxy_internal.c src/xen_internal.c
	  src/xend_internal.c src/xm_internal.c src/xs_internal.c:
	  cleanup the xen subdriver table, remove the type entry and
	  always return "Xen" from the unified entry point.

D
Daniel P. Berrange 已提交
8886 8887 8888 8889 8890 8891 8892 8893 8894
Sat Dec  1 10:42:34 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/hash.c: reset error object when releasing connection
	* src/iptables.c: don't strdup() param passed to strcmp()
	* src/qemu_driver.c: free TLS directory path in driver shutdown
	* src/remote_internal.c: don't strdup() params for virRaiseError
	* src/virsh.c: reset global error object at shutdown. Release
	connection state during abnormal shutdown

8895 8896 8897 8898 8899
Sat Dec  1 10:22:34 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Fix off-by-1 buffer NULL termination in
	symlink comparison code

8900 8901 8902 8903 8904 8905
Fri Nov 30 17:50:34 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xml.c, src/xml.h: Disable xen specific functions if
	Xen driver is disabled.
	* tests/xml2sexprtest.c: Disable if xen driver is disabled

8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925
Fri Nov 30 16:36:34 CET 2007 Jim Meyering <meyering@redhat.com>

	Detect heap allocation failure; factor out some duplication.
	* qemud/qemud.c (tls_port, tcp_port, mdns_name, tls_allowed_ip_list):
	  (tls_allowed_dn_list): Remove "const", now that we free these.
	  (unix_sock_rw_mask): Rename from unix_sock_rw_perms, so that
	  the latter name can be used as a local string variable, so that the
	  variable name matches the config attribute name.
	  (unix_sock_ro_mask): Rename from unix_sock_ro_perms, likewise.
	  (remoteCheckDN, remoteCheckAccess): Adapt to const removal.
	  (qemudDispatchServer): Check for heap allocation failure.
	  (remoteConfigGetStringList): New function, based on code from
	  Dan Berrangé.
	  (CHECK_TYPE): Remove macro.
	  (checkType): New function.
	  (GET_CONF_INT, GET_CONF_STR): New macros.
	  (remoteReadConfigFile): Use new macros to avoid duplication and to
	  check for allocation failure.
	* src/conf.h (virConfTypeName): New static inline function.

8926 8927 8928 8929 8930 8931 8932 8933 8934
Fri Nov 30 11:04:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

	* python/libvir.c, python/libvir.py: Make Python aware that
	  the C bindings module is called cygvirtmod.dll when compiled
	  by CYGWIN.
	* python/Makefile.am: Remove symlink libvirtmod.dll -> cygvirtmod.dll
	  no longer necessary because of the above.
	* configure.in: Remove AM_CONDITIONAL(CYGWIN).

8935 8936 8937 8938 8939 8940 8941 8942 8943
Thu Nov 29 17:40:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Added CYGWIN_EXTRA_LDFLAGS, CYGWIN_EXTRA_LIBADD,
	  CYGWIN_EXTRA_PYTHON_LIBADD, CYGWIN automake conditional.
	* src/Makefile.am: Extra flags required to build DLL of libvirt
	  for Cygwin.
	* python/Makefile.am: Extra flags and rule required to build
	  Python module for Cygwin.

8944 8945 8946 8947 8948 8949 8950 8951
Thu Nov 29 17:38:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Check for C compiler first before checking for
	  external programs.
	  Add AC_LIBTOOL_WIN32_DLL.
	  Add AM_PROG_CC_STDC.
	  Add AC_C_CONST.

8952 8953 8954 8955 8956 8957
Thu Nov 29 16:19:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/libvir.html, docs/windows.html: Updated Windows
	  documentation now that we have shared libraries and Python
	  working.

8958 8959 8960 8961 8962
Thu Nov 29 09:15:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: Added #include <time.h> so it can compile
	  on CentOS 4 (Carl Jones).

8963 8964 8965 8966
Wed Nov 28 14:20:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: Missing comma.

8967 8968 8969 8970
Wed Nov 28 14:21:47 CET 2007 Jim Meyering <meyering@redhat.com>

	* src/virsh.c (vshCloseLogFile): Diagnose close/write failure.

8971 8972 8973 8974 8975
Wed Nov 28 09:00:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xm_internal.c, src/xm_internal.h: Added support for
	  pinning inactive domains for Xen 3.0.3 (Saori Fukuta).

8976 8977 8978 8979 8980 8981 8982 8983 8984
Tue Nov 27 19:16:43 CET 2007 Jim Meyering <meyering@redhat.com>

	When reporting errors, use "conn" whenever possible.
	* src/remote_internal.c: change all error (NULL, ... to error (conn, ...
	  (check_cert_file): Add+use parameter, conn.
	  Adjust callers.
	  (initialise_gnutls): The "conn" parameter *is* used, so remove
	  ATTRIBUTE_UNUSED.

8985 8986 8987 8988 8989
Tue Nov 27 16:40:29 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/site.xsl docs/libvir.html *.html: add boilerplate for
	  a Windows support page

8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003
Tue Nov 27 15:29:01 CET 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in: when configuring with --prefix=/usr i.e. the same
	  prefix as the installed libvirt, use the same localstatedir /var
	  (instead of /usr/var) and sysconfdir /etc (instead of /usr/etc) to
	  be able to connect to the system daemon, and use the system local
	  options
	* src/xs_internal.c: avoid error message when non-root cannot open
	  xenstore
	* src/xend_internal.c: avoid error message when non-root cannot
	  directly access xend, in those 2 cases the proxy (or remote code)
	  should implement the access so there is no need to raise the error
	  there.

9004 9005
Mon Nov 26 15:06:19 CET 2007 Daniel Veillard <veillard@redhat.com>

9006
	* doc/*: modified the python page into a bindings page,
9007 9008
	  added the Ruby binding link to all pages

9009 9010 9011 9012 9013
Mon Nov 26 12:12:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, src/console.c: Replace cfmakeraw if not in
	  standard library.

9014 9015 9016 9017 9018 9019 9020
Mon Nov 26 12:03:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* tests/Makefile.am, tests/nodeinfotest.c, tests/qemuxml2argvtest.c,
	  tests/qemuxml2xmltest.c, tests/sexpr2xmltest.c, tests/virshtest.c,
	  tests/xencapstest.c, tests/xmconfigtest.c, tests/xml2sexprtest.c:
	  Miscellaneous fixes to the tests to compile under Cygwin.

9021 9022 9023 9024
Mon Nov 26 11:56:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/qemud.c: If AF_INET6 not defined, don't test for it.

9025 9026 9027 9028 9029
Mon Nov 26 11:54:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/internal.h: Miscellaneous header file fixes to allow
	  libvirtd to build under Cygwin.

9030 9031 9032 9033 9034
Mon Nov 26 11:52:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, proxy/Makefile.am: Disable building of the Xen proxy
	  if configured --without-xen.

9035 9036 9037 9038 9039 9040
Mon Nov 26 11:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/bridge.c, src/bridge.h, src/qemu_conf.c, src/qemu_conf.h,
	  src/qemu_driver.c, src/qemu_driver.h, src/test.c: Disable more
	  of qemu if configured --without-qemu.

9041 9042 9043 9044 9045
Mon Nov 26 11:47:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c: Miscellaneous header file fixes for
	  Cygwin.

9046 9047 9048 9049 9050
Mon Nov 26 11:44:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, qemud/Makefile.am: Check for buggy glibc rpcgen
	  and only run Perl fix-up script for that.

9051 9052 9053 9054 9055 9056 9057 9058 9059 9060
Mon Nov 26 11:42:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Check if -lrpc is needed to get XDR functions.

Mon Nov 26 11:39:59 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, src/internal.h, src/xml.c: <sys/syslimits.h>
	  is needed on Cygwin to get PATH_MAX.  HOST_NAME_MAX and
	  IF_NAMESIZE defined if not in header files.

9061 9062 9063 9064
Mon Nov 26 11:39:04 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Minimum version of GnuTLS we support is 1.0.25.

J
Jim Meyering 已提交
9065 9066 9067 9068 9069 9070
Thu Nov 22 00:14:04 CET 2007 Jim Meyering <meyering@redhat.com>

	Fix a typo in a variable name.
	* qemud/qemud.c: Check crl_file, not ca_file, for revocation list,
	  in remoteInitializeGnuTLS.

9071 9072 9073 9074 9075 9076
Wed Nov 21 17:29:42 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xm_internal.c: fix the parsing of predefined domains on
	  xen prior to 3.1 to take into accound the fact that disk can
	  be shareable.

9077 9078 9079 9080 9081
Wed Nov 21 11:59:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/libvir.html, docs/site.xsl: Fix the link to OCaml
	  bindings.

9082 9083 9084 9085 9086
Wed Nov 21 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/bridge.c, src/qemu_driver.c: Incorrect call to
	  brSetForwardDelay changed to brSetEnableSTP.

9087 9088 9089 9090 9091
Wed Nov 21 11:36:43 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/index.html docs/libvir.html: apply english corrections
	  suggested by Bruce Montague

9092 9093 9094 9095 9096 9097
Tue Nov 20 10:49:28 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/virterror.c, src/stats_linux.c, include/libvirt/virterror.h:
	  Renamed the VIR_FROM_LINUX error as VIR_FROM_STATS_LINUX for
	  consistency.

9098 9099 9100 9101 9102 9103 9104
Tue Nov 20 11:06:28 CET 2007 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/virterror.h src/openvz_conf.c src/openvz_driver.c
	  src/stats_linux.c src/virterror.c src/xm_internal.c: patch from
	  Saori Fukuta cleaning up various problems in the error reporting
	  layers

9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115
Tue Nov 20 11:03:02 CET 2007 Daniel Veillard <veillard@redhat.com>

	* tests/sexpr2xmltest.c tests/xml2sexprtest.c: warn before exiting
	  if the path environment variable is missing, add the tests for
	  <shareable/> from/to w! ode for disk
	* tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.sexpr
	  tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.xml
	  tests/xml2sexprdata/xml2sexpr-disk-block-shareable.sexpr
	  tests/xml2sexprdata/xml2sexpr-disk-block-shareable.xml:
	  the new tests data

9116 9117 9118 9119 9120
Sun Nov 18 11:24:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>

	* tests/Makefile.am: Re-add quotes around top_{src,build}dir
	variables

9121 9122 9123 9124 9125
Sat Nov 17 13:05:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>

	* tests/Makefile.am: Set abs_top_{build,src}dir based on 'pwd'
	since older automake does not provide these vars

9126 9127 9128 9129
Sat Nov 17 12:10:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>

	* docs/Makefile.am: Added missing news.xsl to EXTRA_DIST

D
Daniel P. Berrange 已提交
9130 9131 9132 9133
Sat Nov 17 11:55:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/stats_linux.c: Fixed overflow of left shift on 32-bit platforms

9134 9135
Sat Nov 17 11:04:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>

J
Jim Meyering 已提交
9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147
	* qemud/Makefile.am: Remove protocol.[chx] from EXTRA_DIST.
	  Remove protocol.h and protocol.c from libvirtd_SOURCES.
	  Remove protocol.c dependency.
	* qemud/protocol.c, qemud/protocol.h, qemud/protocol.x: Remove files.
	* qemud/internal.h: Don't include "protocol.h".
	* qemud/qemud.c: Clean up qemudDispatchClientRead.
	s/QEMUD_PKT_HEADER_XDR_LEN/REMOTE_MESSAGE_HEADER_XDR_LEN/
	* qemud/remote.c: In remoteDispatchClientRequest, reflect that the
	client buffer no longer starts with the 4-byte XDR header length.
	* qemud/remote_protocol.h: Regenerate.
	* qemud/remote_protocol.x: Define REMOTE_MESSAGE_HEADER_XDR_LEN.
	* src/Makefile.am: Remove protocol.h, protocol.c from SERVER_SOURCES.
9148

9149 9150 9151 9152 9153 9154 9155
Thu Nov 15 17:43:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/stats_linux.c: Fix parsing of short interface names
	  occurring in the /proc/net/dev file.
	* src/qemu_driver.c: Collect interface stats for QEMU & KVM
	  domains.

9156 9157 9158 9159 9160 9161 9162 9163 9164
Thu Nov 15 17:40:15 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/hvsupport.html, docs/libvir.html: Document HV support
	  for virNodeGetFreeMemory and virNodeGetCellsFreeMemory.
	* src/libvirt.c: Add DEBUG to virNodeGetFreeMemory and
	  virNodeGetCellsFreeMemory.
	* src/xen_internal.c: virXenError* functions now take an
	  additional virConnectPtr argument, and set it where possible.

9165 9166 9167 9168 9169
Thu Nov 15 18:06:15 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/libvir.html docs/uri.html: update docs about the libvirt
	  daemon startup when using QEmu/KVM.

J
Jim Meyering 已提交
9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186
Thu Nov 15 14:00:04 CET 2007 Jim Meyering <meyering@redhat.com>

	Make "make distcheck" work.
	* Makefile.am: Expand some "*" wildcards, and (for now) disable
	  the relatively unimportant, distuninstallcheck target.
	  Fix a few redirect-directly-to-target bugs.
	  Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
	* docs/Makefile.am: More of the same.  Split some long lines.
	* python/Makefile.am: Likewise.
	* python/tests/Makefile.am: Likewise.
	* qemud/Makefile.am: Likewise.
	* tests/Makefile.am: Remove the directories already listed in SUBDIRS.
	* docs/examples/index.py: Adapt to produce the desired changes in
	  docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
	  and emit a comment telling emacs and vi that the file is read-only.
	* docs/examples/Makefile.am: Regenerate.

9187 9188 9189 9190 9191 9192 9193
Thu Nov 15 11:54:40 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/stats_linux.c: patch from Jim Paris to fix compilation
	  when Xen isn't installed
	* src/qemu_conf.h: small cleanup of signedness of bitfields
	  from Jim Paris

9194 9195
Wed Nov 14 18:09:31 CET 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
9196
	* doc/libvir.html doc/format.html: add missing docs for
9197 9198 9199
	  <shareable/> on disk devices
	* src/Makefile.am: fix the tst build rule for missing libraries

J
Jim Meyering 已提交
9200 9201 9202 9203 9204 9205
Wed Nov 14 17:28:31 CET 2007 Jim Meyering <meyering@redhat.com>

	Handle failed strdup and malloc.
	* src/remote_internal.c: Don't dereference NULL after
	failed strdup or malloc in doRemoteOpen.

9206 9207 9208 9209 9210 9211 9212
Wed Nov 14 11:55:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/stats_linux.c, src/stats_linux.h, src_xen_internal.c:
	  Abstract out the Linux-specific statistics.  Fixed parsing
	  of 64 bit numbers.
	* src/Makefile.am: Updated Makefile for new files.

9213 9214 9215 9216 9217 9218
Wed Nov 14 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c and all internal driver interfaces: Parse the
	  URI only once and pass it to virDrvOpen instead of the
	  unparsed name string.

9219 9220
Wed Nov 14 11:34:35 CET 2007 Jim Meyering <meyering@redhat.com>

9221 9222 9223 9224 9225 9226 9227 9228 9229 9230
	Parse integers more carefully, cont'd.
	* qemud/qemud.c: Replace uses of strtol with uses of xstrtol_i.
	  Avoid overflow for very large --timeout=N values.
	* src/nodeinfo.c: In linuxNodeInfoMemPopulate and
	  linuxNodeInfoCPUPopulate, use xstrtol_i rather than strtol.
	  Unlike in qemud.c, here we allow trailing "isspace", and in
	  the case of "cpuinfo cpu MHz", also allow a "." terminator,
	  since we ignore the decimal and any following digits.
	* src/internal.h: Define xstrtol_ui, too.

9231 9232
	Arrange for tests to pass in a non-srcdir build.
	* tests/Makefile.am: Include the contents of the *data directories
9233 9234 9235
	  in the make-dist-built tarball by adding each of that *data
	  directories to EXTRA_DIST.
	  Also add int-overflow (via $(test_scripts)) to EXTRA_DIST.
9236
	* tests/nodeinfotest.c: Prepend "$abs_top_srcdir/tests" to
9237
	  each input file name.
9238 9239 9240 9241 9242 9243 9244 9245 9246
	* tests/qemuxml2argvtest.c: Likewise.
	* tests/qemuxml2xmltest.c: Likewise.
	* tests/sexpr2xmltest.c: Likewise.
	* tests/test_conf.sh: Likewise.
	* tests/virshtest.c: Likewise.
	* tests/xencapstest.c: Likewise.
	* tests/xmconfigtest.c: Likewise.
	* tests/xml2sexprtest.c: Likewise.

9247 9248 9249 9250 9251 9252
Tue Nov 13 15:33:35 CET 2007 Jim Meyering <meyering@redhat.com>

	Make qemud's install-init rule work in a non-srcdir build.
	* qemud/Makefile.am: In the install-init, remove an unneeded
	$(srcdir)/ prefix.

9253 9254 9255 9256 9257 9258
Mon Nov 12 23:11:35 CET 2007 Jim Meyering <meyering@redhat.com>

	conftest: fix transposed size and count arguments to fwrite.
	* tests/conftest.c: Include <string.h> and <errno.h>.
	  Also include strerror in diagnostic.

9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275
Mon Nov 12 14:56:33 CET 2007 Daniel Veillard <veillard@redhat.com>

	Begin fixing uses of strtol: parse integers more carefully.
	Patch from Jim Meyering
	* src/internal.h: Include <errno.h>.
	  Define new static inline function, xstrtol_i.
	* src/virsh.c: Detect integer overflow in domain ID number
	  in vshCommandOptDomainBy. Detect overflow and invalid port
	  number suffix in cmdVNCDisplay.
	* src/xend_internal.c: Parse CPU number more carefully in
	  xenDaemonDomainGetVcpus.
	* tests/int-overflow: New script. Test for the above-fixed bug.
	* tests/Makefile.am: Add int-overflow to TESTS. Define
	  TESTS_ENVIRONMENT, to propagate $abs_top_* variables into the
	  int-overflow script. Adapt the "valgrind" rule not to clobber
	  new TESTS_ENVIRONMENT.

9276 9277 9278 9279 9280
Thu Nov  8 19:06:13 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: initialize a couple of variable to avoid warnings
	  when compiling with Fedora.

9281 9282 9283 9284
Thu Nov  8 18:59:39 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Jim Meyering to use gcc's printf attribute.

9285 9286 9287 9288 9289
Thu Nov  8 17:06:50 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Jim Meyering to correct vshCommandOptInt
	  indentation

9290 9291 9292 9293 9294 9295
Wed Nov  7 14:38:43 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/libvir.html docs/site.xsl: small updates with references
	  to CIM and OpenVZ
	* po/*: updated translations

9296 9297 9298 9299 9300 9301 9302 9303 9304 9305
Tue Nov 6 19:54:00 CET 2007 Jim Meyering  <meyering@redhat.com>

	Avoid risk of format string abuse (also avoids gcc warnings).
	* src/util.c (ReportError): Use a literal "%s" format string.
	* src/remote_internal.c (server_error): Likewise.
	* src/qemu_conf.c (qemudReportError): Likewise.
	* acinclude.m4: Add -Wformat -Wformat-security to default
	  list of warning flags, to warn about errors such as the
	  above.

9306 9307 9308 9309 9310
Tue Nov  6 17:24:16 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xs_internals.c: patch from Chris Lalancette, forgot to
	  remove the domainDumpXML entry when changing the driver structure

9311 9312 9313 9314 9315 9316
Tue Nov  6 12:42:55 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c src/xs_internal.c src/xs_internal.h: applied patch
	  from Masayuki Sunou to fix xend errors when adding disk
	  devices, due to improper device id lookup.

9317 9318 9319 9320 9321
Tue Nov  6 10:40:13 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Masayuki Sunou to fix parameter
	  validation of virsh schedinfo parameters.

9322 9323 9324 9325 9326
Mon Nov  5 11:11:45 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: patch from Beth Kon to fix a problem when the
	  cpuset parameter for numa uses cpu maxcpu-1

9327 9328 9329 9330 9331 9332
Thu Nov  1 14:32:07 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xm_internal.c: patches from Masayuki Sunou to fix a problem
	  when an HVM domain is started with a CD-Rom config, this should
	  fix #328841

9333 9334 9335 9336 9337 9338 9339 9340
Wed Oct 31 10:36:00 CET 2007 Daniel Veillard <veillard@redhat.com>

	* proxy/libvirt_proxy.c src/proxy_internal.[ch] src/xen_internal.c
	  src/xen_unified.[ch] src/xend_internal.[ch] src/xml.[ch]: last
	  patch for the library NUMA support, allow to serialize CPU pinning
	  to domain configs (but won't work though proxy access), includes
	  many patches from Saori Fukuta.

9341 9342 9343 9344 9345 9346
Fri Oct 26 21:20:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: Don't call state driver API if callback is NULL.
	* src/remote_internal.c: Reject open attempts if inside the daemon
	to avoid recursively calling self.

9347 9348 9349 9350
Fri Oct 26 21:18:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Support CDROM media change for KVM/QEMU

D
Daniel P. Berrange 已提交
9351 9352 9353 9354 9355
Fri Oct 26 21:17:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Refactor shell ecscaping function to reuse
	for monitor escaping

D
Daniel P. Berrange 已提交
9356 9357 9358 9359
Fri Oct 26 21:14:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.h, src/qemu_conf.c: Refactor device parsing code

9360 9361 9362 9363 9364
Fri Oct 26 21:10:44 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: make qemudMonitorCommand responsible for
	adding appropriate line ending instead of the caller

9365 9366 9367 9368
Fri Oct 26 15:40:44 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: fix build when configured without Xen

9369 9370 9371 9372 9373
Wed Oct 24 16:21:02 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: applied patch from Jim Meyering fixing parseNumber
	  to detect overflow, and also reindented the module.

9374 9375 9376 9377
Wed Oct 24 10:38:38 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* po/id.po: Remove again bogus Project-Id-Version field from merge error

9378 9379 9380 9381
Tue Oct 23 17:44:12 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* po/*: updated from translation team

9382 9383 9384 9385
Tue Oct 23 17:30:52 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: fix the build of the proxy broken on previous commit

9386 9387 9388 9389 9390 9391 9392 9393
Mon Oct 22 22:33:59 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c src/xen_unified.c src/xen_unified.h
	  src/xend_internal.c src/xml.c src/xml.h: commited erronously
	  the NUMA patches sent for review on the list in last commit.
	  But that should not affect non NUMA users so early push should
	  not be a problem.

9394 9395 9396 9397 9398
Mon Oct 22 22:27:40 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/format.html docs/libvir.html: documentation cleaups
	  from Jim Paris

9399 9400 9401 9402
Mon Oct 22 15:05:30 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: update to cpuset parsing code for NUMA

9403 9404 9405 9406 9407 9408
Fri Oct 19 17:08:08 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am: fix tst build rule
	* src/buf.c: fix virBufferContentAndFree to make sure the string is
	  always 0 terminated.

9409 9410 9411 9412 9413
Fri Oct 19 11:59:39 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/conf.c: fix bug on negative values in virConfParseLong()
	  raised by Tatsuro Enokura

9414 9415 9416 9417 9418 9419 9420
Fri Oct 19 10:24:52 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/conf.c: documentation cleanups from Jim Meyering
	* tests/conftest.c: Use fwrite, not printf, since the
	  result buffer is not NUL-terminated.
	* tests/qemuxml2argvtest.c: Initialize vm.migrateFrom[0],
	  to avoid "read-uninitialized" error from within
J
Jim Meyering 已提交
9421
	  qemudBuildCommandLine.
9422

9423 9424 9425 9426
Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* libvirt.spec.in (BuildRequires): Add "qemu" (Jim Meyering).

9427 9428 9429 9430 9431
Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xend_internal.c (sexpr_get): Declare with gcc's printf
	attribute. (Jim Meyering)

9432 9433 9434 9435 9436 9437
Mon Oct 15 17:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/driver.h, src/libvirt.c, include/libvirt/libvirt.h.in,
	include/libvirt/libvirt.h, src/xen_unified.c, src/xend_internal.c,
	src/xml.c, src/xml.h: Mark XML param for attach/detach APIs 'const'

9438 9439 9440 9441 9442 9443
Mon Oct 15 15:31:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/test.c, include/libvirt/libvirt.h.in: Remove virDomainRestart
	from the public API (it was not used), and move it into the test
	driver where it is used for purely internal purposes.

9444 9445 9446 9447 9448 9449 9450 9451
Fri Oct 12 14:57:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu.conf, src/Makefile.am: Added example config file
	for QEMU driver
	* qemud/libvirtd.conf, qemud/Makefile.am: Added example config
	file for libvirt daemon
	* libvirt.spec.in: Added libvirtd.conf & qemud.conf files

D
Daniel P. Berrange 已提交
9452 9453 9454 9455 9456 9457
Fri Oct 12 12:05:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c, src/qemu_conf.c, src/qemu_conf.h: Add a
	/etc/libvirt/qemu.conf for storing system wide QEMU driver
	default settings, such as VNC server options.

9458 9459 9460 9461 9462
Wed Oct 10 15:44:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Reset migration source after failed attempt
	to start a VM. (Jim Paris)

9463 9464 9465 9466 9467
Wed Oct 10 13:48:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c: Fixed procesing of vncunused, and vncdisplay
	parameters in XM style config files for framebuffer config.

9468 9469 9470 9471 9472 9473 9474
Wed Oct 10 13:13:53 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c: Fix XML -> XM config file conversion to
	include bridge name for virtual networks
	* src/xml.c: Fix memory leak handling XML -> SEXPR conversion
	of virtual network bridge devices

9475 9476
Mon Oct  8 17:01:53 CEST 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
9477
	* src/xend_internal.c: applied patch from Beth Kon to fix
9478 9479
	  NUMA topology for cells without CPUs

9480 9481 9482 9483 9484
Thu Oct  4 21:05:59 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Fix error handling for NUMA topology
	(patch from Beth Kon)

9485 9486 9487 9488
Wed Oct  3 10:13:59 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* po/id.po: Remove bogus Project-Id-Version field from merge error

9489 9490 9491 9492 9493 9494
Sun Sep 30 23:07:59 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in include/libvirt/libvirt.h docs/*:
	  preparing release of 0.3.3
	* po/*: updated the strings localizations

9495 9496 9497 9498 9499
Sun Sep 30 22:51:11 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* python/generator.py python/libvir.c python/libvirt-python-api.xml:
	  provide bindings for block and interface statistics

9500 9501 9502 9503 9504 9505
Sun Sep 30 12:27:36 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Don't include <bootloader/> for HVM guests
	* tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: revert previous
	change since HVM doesn't use bootloaders

9506 9507 9508 9509 9510 9511
Sun Sep 30 15:20:36 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: use virNodeGetFreeMemory() for freecell without
	  argument
	* src/libvirt_sym.version: export virNodeGetFreeMemory()

9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528
Sun Sep 30 14:49:27 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
	  src/driver.h src/libvirt.c src/openvz_driver.c src/qemu_driver.c
	  src/test.c src/xen_unified.c src/xend_internal.c: add new API
	  virNodeGetFreeMemory(), extends the driver. Lacks remote and
	  QEmu support though.
	* src/libvirt.c: allows to fix virNodeGetCellsFreeMemory() adding
	  parameter check for startCell.
	* proxy/libvirt_proxy.c src/xend_internal.[ch]
	  include/libvirt/libvirt.h include/libvirt/libvirt.h.in: applied
	  vncpasswd dump patch from Mark Johnson but with the
	  virDomainXMLFlags extension as suggested by Daniel Berrange
	  this changed a couple of internal APIs too
	* tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: fix one of the
	  tests affected by bootloader dump change.

9529 9530 9531 9532 9533
Sat Sep 29 14:30:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_internal.c, src/xs_internal.c: Solaris hypercall compat
	changes. (Mark Johnson)

D
Daniel P. Berrange 已提交
9534 9535 9536 9537 9538 9539
Sat Sep 29 14:23:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/sexpr.h, src/sexpr.c, src/xml.c, src/xend_internal.c: Allow
	bootloader tag to be empty, to indicate use of default configured
	bootloader path.

9540 9541 9542 9543 9544 9545
Sat Sep 29 14:05:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/sexpr.h, src/sexpr.c, src/virsh.c, src/xend_internal.c:
	Remove use of anonymous union members in sexpr code.
	* src/internal.h: Solaris portability fix (Mark Johnson)

9546 9547 9548 9549
Fri Sep 28 16:41:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Fix crash processing multiple <input> tags

9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562
Fri Sep 28 16:17:41 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h[.in] src/driver.h src/openvz_driver.c
	  src/qemu_driver.c src/remote_internal.c src/test.c
	  src/xen_internal.[ch] src/xen_unified.c src/xend_internal.[ch]
	  src/libvirt.c src/libvirt_sym.version: adding NUMA support patches
	  from Beth Kon adding new virNodeGetCellsFreeMemory entry point
	  and extending the virConnectGetCapabilities one. Fix a couple of
	  issues in the patch and add to exported symbols from shared lib.
	* docs/virsh.pod docs/virsh.1 src/virsh.c: added new command
	  freecell to get the available memory on the node or in a NUMA cell.
	* docs/*: updated and regenerated the documentation

9563 9564 9565 9566 9567
Fri Sep 28 11:20:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/libvir.html: Clarified configuration required for
	remote over ssh.

9568 9569 9570 9571 9572
Tue Sep 25 14:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c: Fix handling of usernames (thanks to
	Fabian Deutsch for finding and fixing this).

9573 9574 9575 9576 9577 9578 9579 9580
Fri Sep 21 17:14:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h: Detect QEMU flags per-VM,
	not per driver, since different QEMU binaries have their own
	requirements.
	* tests/qemuxml2xmltest.c, tests/qemuxml2argvtets.c: Update
	to changed internal QEMU api/structs.

9581 9582 9583 9584 9585 9586
Fri Sep 21 16:22:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Add a no_tty flag to stop SSH prompting
	for passwords on console
	* docs/libvir.html, docs/remote.html: Document no_tty flag

9587 9588
Fri Sep 21 15:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

9589
	* acinclude.m4: Check all compiler flags link successfully
9590 9591 9592
	instead of just compiling, to deal with broken debian linker
	with stack protector
	* configure.in: Remove redundant -fno-stack-protector workaround
9593

9594 9595 9596 9597
Fri Sep 21 15:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Use libxml for parsing & checking URIs

9598 9599 9600 9601 9602 9603 9604 9605 9606
Thu Sep 20 19:37:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/bridge.c, src/qemu_driver.c, configure.in: Try to detect
	the paths of dnsmasq and brctl at compile time.  If found
	then compile them in, otherwise search $PATH at runtime.

	* libvirt.spec.in: BR dnsmasq and bridge-utils so we have their
	paths at compile time.

9607 9608 9609 9610 9611
Thu Sep 20 18:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/qemu_driver.c, docs/libvir.html: Support virConnectGetHostname
	and virConnectGetURI for qemu driver.

9612 9613 9614 9615 9616
Thu Sep 20 13:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c: Don't try to generate an error message with
	an invalid connection object.

9617 9618 9619 9620 9621
Thu Sep 20 12:59:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xend_internal.c: Error message if we cannot connect
	to xend.

9622 9623 9624 9625 9626
Wed Sep 19 17:42:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Fix waitpid() call to only be done
	in doRemoteOpen error case (merge error from previous commit)

9627 9628 9629 9630 9631 9632
Wed Sep 19 13:39:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Use pkg-config to locate gnutls if pkg-config
	is available. Add $(GNUTLS_LIBS) $(GNUTLS_CFLAGS) to all the
	relevant make targets

9633 9634 9635 9636 9637 9638
Wed Sep 19 09:48:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Make sure we use pkg-config for libxml, where
	available. Fix newline termination for messages printed with
	xml-config checks

9639 9640 9641 9642 9643 9644 9645
Tue Sep 18 22:22:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Allow customization of UNIX socket permissions
	and group ownership from config file
	* docs/libvir.html: Added docs on UNIX socket perms & group owner
	config parameters

9646 9647 9648
Tue Sep 18 21:34:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Added checks for locating Avahi.
J
Jim Meyering 已提交
9649
	* qemud/mdns.c, qemud/mdns.h, qemud/Makefile.am: Convenience API to
9650 9651 9652 9653 9654 9655 9656
	bridge between state machine provided by Avahi APIs, and the libvirt
	daemon.
	* qemud/qemud.c, qemud/internal.h: Register the daemon as an mDNS
	service under _libvirt._tcp.
	* docs/libvir.html: Added notes on mdns config params.
	* libvirt.spec.in: Added avahi-devel as a BuildRequires

9657 9658 9659 9660 9661 9662 9663 9664 9665
Tue Sep 18 20:42:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/event.h, src/event.c: Added new APIs definitions for updating
	of existing timers and file handlers
	* qemud/event.h, qemud/event.c, qemud/qemud.c: Added implementation
	of APIs for updating existing timers and file handlers. Allow a
	timeout frequency of 0. Allow frequency of -1 to indicate a disabled
	timer. Prefix all log messages with EVENT:

9666 9667 9668 9669 9670 9671
Tue Sep 18 19:42:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Re-arrange to use new style AC_INIT/AM_INIT_AUTOMAKE
	style calls. Pass -Wno-portability flag to automake to keep quiet about
	GNUmake-isms

9672 9673 9674 9675 9676
Tue Sep 18 19:36:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Don't check for Linux bridge headers if QEMU
	driver is disabled

D
Daniel P. Berrange 已提交
9677 9678 9679 9680
Tue Sep 18 19:32:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Print out summary of configuration options

9681 9682 9683 9684 9685
Mon Sep 17 23:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Track child pid and do waitpid to clean
	up zombies if running over a tunnel

9686 9687 9688 9689 9690 9691 9692 9693
Thu Sep 13 17:58:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Fix handling of <boot> tag for network PXE
	* tests/qemuxml2argvdata/qemuxml2argv-boot-network.xml: Fix test
	for network PXE boot element
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Fixed potential
	SEGV crash in error case cleanup

9694 9695 9696 9697 9698
Wed Sep 12 16:35:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xend_internal.c, src/xml.c, src/xml.h: Properly check buffer
	size in virDomainXMLDevID (Hugh Brock).

9699 9700 9701 9702 9703
Wed Sep 12 11:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xend_internal.c, src/xen_unified.c: Removed an annoying
	  warning when using Xen 3.0.3 and inactive domains.

9704 9705 9706 9707 9708
Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c: virDrvOpenRemoteFlags was accidentally
	  declared as a global variable, instead of the name an enum.

9709 9710 9711 9712 9713
Mon Sep 10 17:15:29 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/architecture.html docs/errors.html docs/format.html
	  docs/libvir.html: fixing typos spotted by Eduardo Pereira

9714 9715 9716 9717 9718 9719
Mon Sep 10 13:46:05 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: applied patch from Hugh Brock to allow
	  CD Rom device reload by reusing virDomainAttachDevice() with
	  a new definition

9720 9721 9722 9723 9724 9725 9726
Mon Sep 10 11:35:06 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
	  src/libvirt.c: fixes a few problems in the documentation
	  pointed out by Toth Istvan.
	* docs/*: regenerated the docs

9727 9728 9729 9730 9731
Wed Sep  5 16:31:00 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/libvir.html docs/uri.html: remove references to libvirt_qemud
	  and replace them with libvirtd

9732 9733 9734 9735 9736
Mon Sep  3 18:29:05 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: a bit
	  of cleanup on top of previous patches.

9737 9738 9739 9740 9741 9742
Mon Sep  3 17:35:15 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c
	  src/openvz_driver.h: Applied patch from Shuveb Hussain and Anoop
	  Cyriac to extent OpenVZ driver capabilities, especially Create().

9743 9744 9745 9746 9747
Thu Aug 30 15:11:44 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/buf.c: applied patch from Masayuki Sunou fixing a loop
	  due to an error in growing buffers.

9748 9749 9750 9751 9752 9753
Wed Aug 29 14:43:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xen_internal.c (xenHypervisorDomainInterfaceStats): Swap
	  TX & RX network stats so they appear correct from the point
	  of view of the domain.

9754 9755 9756 9757 9758
Wed Aug 29 09:46:17 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: apply patch from Masayuki Sunou to fix the exit value
	  of vncdisplay command.

9759 9760 9761 9762 9763
Mon Aug 27 11:16:48 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: applied patch from Masayuki Sunou to avoid
	  memory corruption on very large XML dumps.

9764 9765 9766 9767 9768 9769 9770
Tue Aug 21 16:48:41 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in include/libvirt/libvirt.h docs/*:
	  preparing release of 0.3.2
	* src/libvirt.c: fix a couple of comments
	* po/*: string localization merge/update

9771 9772 9773 9774 9775 9776 9777
Tue Aug 21 13:52:29 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xs_internal.c: cleanup of memory leaks from Masayuki Sunou
	* src/virsh.c: another memory leaks of virsh schedinfo cleanup from
	  Saori Fukuta
	* po/*: string localization merge/update

9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790
Tue Aug 21 10:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c (virDomainBlockStats, virDomainInterfaceStats):
	  Added block device and network interface statistics.
	* src/xen_internal.c: Support for stats from Xen domains.
	* qemud/remote.c, qemud/remote_protocol.x, qemud/remote_internal.c:
	  Support for fetching device and network interface stats
	  across remote connections.
	* src/virsh.c: Added 'virsh domblkstat' and 'virsh domifstat'
	  commands to display stats.
	* docs/libvir.html, docs/hvsupport.html: Updated hvsupport
	  documentation.

9791 9792 9793 9794 9795
Tue Aug 21 10:36:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* tests/xencapsdata/*.xml: Fixed tests to include new
	  <migration_features> element in capabilities XML.

9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809
Tue Aug 21 10:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c (virDomainMigrate): Added virDomainMigrate
	  API call.
	* src/xend_internal.c, src/xen_unified.c: Support for migration
	  of Xen domains.
	* src/xen_internal.c: Xen capabilities indicates level of
	  support for migration.
	* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
	  Support for migration between remote hypervisors.
	* src/virsh.c: Added 'virsh migrate' command.
	* docs/libvir.html, docs/hvsupport.html: Updated hvsupport
	  documentation.

9810 9811 9812 9813 9814 9815 9816 9817 9818 9819
Tue Aug 21 09:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/remote.c, qemud/remote_protocol.x, src/driver.h,
	  src/internal.h, src/libvirt.c, src/libvirt_sym.version,
	  src/qemu_driver.c, src/remote_internal.c, src/test.c:
	  Add a private interface so that libvirt.c coordination
	  functions can detect the availability of features in
	  underlying drivers, using the VIR_DRV_SUPPORTS_FEATURE
	  macro.

9820 9821 9822 9823 9824 9825
Tue Aug 21 09:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xend_internal.c: Return the interface device name as
	  <target dev='vifX.Y'/> in domain XML.
	* tests/*: Update XML in regression tests.

9826 9827 9828 9829 9830
Tue Aug 21 09:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/libvir.html: Updated the hvsupport page to show that
	  KVM now supports save and restore operations.

9831 9832 9833 9834 9835
Thu Aug 16 17:41:22 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: patch from Masayuki Sunou to avoid
	  attach-disk/attach-interface when < Xen 3.0.4

9836 9837 9838 9839 9840
Thu Aug 16 15:24:30 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: vshCommandOptInt was broken as it would not
	  detect non-int inputs, problem raised by Masayuki Sunou

9841 9842 9843 9844 9845
Wed Aug 15 12:21:13 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: fixed 2 small bugs in setvcpus command, after
	  Atsushi SAKAI pointed out a value checking problem

9846 9847 9848 9849 9850
Tue Aug 14 14:32:51 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/proxy_internal.c: fix the UUID lookup though proxy, by
	  actually sending the UUID string in the request!

9851 9852
Tue Aug 14 09:10:51 CEST 2007 Daniel Veillard <veillard@redhat.com>

9853
	* src/virsh.c: patch from Atsushi SAKAI fixing schedinfo synopsis
9854

9855 9856 9857 9858
Tue Aug 14 09:04:41 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* virsh.1 docs/virsh.pod: typo fixes from Atsushi SAKAI

9859 9860 9861 9862 9863 9864
Tue Aug 14 07:59:21 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/apibuild.py: fix the API generator to work out of a
	  include list instead of an exclude list
	* po/*: updated localization strings

9865 9866 9867 9868 9869
Mon Aug 13 21:46:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Implement save & restore APIs for KVM
	guests using the migrate protocol. Patch from Jim Paris

9870 9871 9872 9873 9874 9875 9876 9877
Mon Aug 13 21:33:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: added qemudEscapeShellArg() helper function
	for future save impl. Patch from Jim Paris
	* src/util.c, src/util.h: Added saferead/safewrite convenience
	functions for doing read/write safe from signals. Patch from
	Jim Paris

9878 9879 9880
Mon Aug 13 21:26:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Add support
9881 9882
	for passing -incoming option to QEMU for migration/restore. Patch
	from Jim Paris
9883

9884 9885 9886 9887 9888
Mon Aug 13 21:18:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/util.h, src/util.c: Allow a file descriptor to be supplied
	for STDIN when calling virExec(), or if -1, redirect from /dev/null
	* src/qemu_driver.c, src/openvz_driver.c: Pass in -1 for new stdin
9889
	parameter above where neccessary. Patch from Jim Paris
9890

9891 9892 9893 9894 9895 9896
Mon Aug 13 20:13:48 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Use \r instead of \n for monitor commands to
	avoid bug where QEMU \n gets translated to \r\n,then causing QEMU
	to process the command twice. Patch from Jim Paris.

9897 9898 9899 9900 9901
Mon Aug 13 11:55:48 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/qemu_driver.c: patch from Jim Paris removing memory leak
	* AUTHORS: updated with Shuveb and Jim

9902 9903 9904 9905 9906 9907 9908 9909
Fri Aug 10 14:25:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_internal.c, src/xen_internal.h, src/xen_unified.c:
	Add impls of the DomainGetOSType, DomainLookupByID and
	DomainLookupByName drivers using the HV for speed
	* src/xs_internal.c, src/xs_internal.h: Add helper method to
	lookup a domain name based on its ID

9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921
Thu Aug  9 14:27:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c, src/openvz_conf.c, src/qemu_conf.c,
	src/test.c, src/xm_internal.c, src/xend_internal.c: Use
	virUUIDFormat() / virUUIDGenerate / virUUIDParse apis.
	* qemu/internal.h: Remove unused UUID_LEN constants
	* src/openvz_conf.h, src/qemu_conf.h: Remove duplicated
	UUID length constants
	* src/xml.c, src/xml.h: Remove virParseUUID api
	* src/uuid.h, src/uuid.c: Add virUUIDFormat() api.
	* proxy/Makefile.am: Include uuid.o

9922 9923 9924 9925 9926
Tue Aug  7 16:35:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/Makefile.am: gnutls_1_0_compat.h to list of sources
	  (bug reported by Jan Michael).

9927 9928 9929 9930
Tue Aug  7 16:24:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: Include <time.h> (bug reported by Jan Michael).

9931 9932 9933 9934 9935
Tue Aug  7 15:28:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c: Fix build bug introduced by earlier
	  patch.

9936 9937 9938 9939
Tue Aug  7 14:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/qemud.c: Fix --config/-f option to libvirtd.

9940 9941 9942 9943 9944 9945 9946
Tue Aug  7 13:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* acinclude.m4, configure.in: ./configure option
	  --disable-stack-protector.
	* src/gnutls_1_0_compat.h: Compatibility with GnuTLS 1.0.
	* src/bridge.c: If no bridge ioctls, give an error at runtime.

9947 9948 9949 9950 9951
Thu Aug  2 12:49:08 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: changes from Masayuki Sunou to improve error reporting
	  on device XML errors.

D
Daniel P. Berrange 已提交
9952 9953 9954 9955 9956
Tue Jul 31 10:24:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/xml.c, tests/qemuxml2argvtest.c,
	tests/qemuxml2xmltest.c: Fix a couple of memory leaks

9957 9958 9959 9960 9961
Mon Jul 30 14:40:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Validate requested architecture and reject
	unsupported ones

9962 9963 9964 9965
Mon Jul 30 12:15:43 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: add report of ACPI/APIC for Xen fully virt,
	  patch from David Lutterkort
J
Jim Meyering 已提交
9966
	* tests/xencapsdata/xen-i686-pae-hvm.xml
9967 9968 9969 9970
	  tests/xencapsdata/xen-ia64-be-hvm.xml
	  tests/xencapsdata/xen-ia64-hvm.xml
	  tests/xencapsdata/xen-x86_64-hvm.xml: this also affects a few tests

9971 9972 9973
Mon Jul 30 11:59:51 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/qemu_conf.[ch] src/qemu_driver.c: add qemu/kvm drivers report
9974
	  ACPI/APIC features for i686 and x86_64, patch from David Lutterkort
9975

9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986
Fri Jul 27 19:19:31 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Added impl of networking APIs. Cleanup all other
	existing APIs. Add missing domain APIs.
	* src/remote_internal.c: Remove hack for network APIs + test
	driver now it has its own impl
	* src/libvirt.c, src/driver.h, src/qemu_driver.c: Added a
	'name' field to network driver
	* docs/testnode.xml, docs/testnetdef.xml, docs/testnetpriv.xml:
	Added example XML for network APIs

9987 9988 9989 9990 9991
Thu Jul 26 10:37:31 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c docs/virsh.pod virsh.1: added a ttyconsole command,
	  this should fix bug #239687

9992 9993 9994 9995 9996 9997
Wed Jul 25 19:16:43 EST 2007 Daniel P. berrange <berrange@redhat.com>

	* scripts/coverage-report.pl: Ignore data from inlined macros
	in /usr/include files

Wed Jul 25 19:13:43 EST 2007 Daniel P. berrange <berrange@redhat.com>
9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008

	* src/nodeinfo.h, src/nodeinfo.c: Generic impl of virNodeGetInfo
	* src/qemu_driver.c, src/openvz_driver: Switch to generic impl
	of virNodeGetInfo
	* src/internal.h: Add STREQLEN STRNEQLEN
	* src/Makefile.am: Add nodeinfo.{c,h}
	* docs/apibuild.py: Ignore nodeinfo files
	* tests/nodeinfotest.c, tests/Makefile.am: Test case for the
	nodeinfo.c APIs
	* tests/nodeinfodata/*: Data files for the test suite

10009 10010 10011 10012 10013 10014
Tue Jul 24 17:32:23 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in NEWS docs/* po/*: preparing release 0.3.1
	* src/libvirt.c python/generator.py: some cleanup and warnings
	  from Richard W.M. Jones

10015 10016 10017 10018 10019 10020 10021 10022 10023 10024
Tue Jul 24 10:29:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h: Added support for the VNC
	'listen' parameter in XML. Move -nographics flag to start of
	command line to avoid issues with QEMU default monitor settings.
	* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Re-enable
	VNC & SDL tests now they are working correctly
	* tests/qemudxml2argvdata/*.args: Move -nographics arg to new
	location due to qemu_conf.c changes

10025 10026 10027 10028 10029
Tue Jul 24 10:24:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Fixed crash when cleaning up after failed
	attempt to start a VM.

10030 10031 10032 10033 10034
Tue Jul 24 10:20:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/remote.c: Always immediately free virDomainPtr objects
	to avoid them hanging around cached until client exits

10035 10036 10037 10038 10039 10040
Tue Jul 24 11:18:11 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/network.rng docs/Makefile.am libvirt.spec.in: added Relax-NG
	  grammar for network descriptions that David Lutterkort posted in
	  April, it needs an update though

10041 10042 10043 10044
Tue Jul 24 10:15:33 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* po/*: update translations and regenerate .pot

10045 10046 10047 10048 10049
Mon Jul 23 13:59:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: keep monitor filehandle open, and set
	close-on-exec flag for logfiles.

10050 10051 10052 10053 10054
Mon Jul 23 11:36:12 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/virsh.pod virsh.1: update to document VIRSH_DEFAULT_CONNECT_URI
	  environment variable as suggested by David Lutterkort

10055 10056 10057 10058
Fri Jul 20 12:53:35 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: and nother one again from Saori Fukuta

10059 10060 10061 10062
Fri Jul 20 11:02:28 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: some error handling improvements from Saori Fukuta

10063 10064 10065 10066 10067 10068 10069
Thu Jul 19 18:21:47 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am src/openvz_conf.c src/openvz_conf.h
	  src/openvz_driver.c src/qemu_driver.c src/util.c src/util.h:
	  cleanup patches from Shuveb Hussain, with new util module for
	  common code shared between drivers.

10070 10071 10072 10073 10074 10075
Thu Jul 19 16:35:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, src/xen_internal.c: Newer Xen uses
	  <xen/sys/privcmd.h>.  Added detection code for this in
	  configure.in.

10076 10077 10078 10079 10080
Thu Jul 19 15:38:44 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: rewrite of range check in credit scheduler
	  initially suggested by Atsushi SAKAI

10081 10082 10083 10084 10085
Wed Jul 18 17:45:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Remove double free of XML property upon
	error cleanup

10086 10087 10088 10089 10090 10091 10092
Wed Jul 18 17:15:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* tests/Makefile.am: Added QEMU tests
	* tests/qemuxml2argvdata/*: Data files for QEMU tests
	* tests/qemuxml2argvtest.c: Test XML -> argv conversion
	* tests/qemuxml2xmltest.c: Test XML -> XML roundtrip

D
Daniel P. Berrange 已提交
10093 10094 10095 10096 10097
Wed Jul 18 17:11:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xmlrpctest.c, src/xml2sexprtest.c: More void * to
	const void * conversions

10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110
Wed Jul 18 16:42:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h, src/xm_internal.c,
	src/xend_internal.c, src/xml.c: Added support for input devices
	using <input type='mouse|pointer' bus='ps2|xen|usb'/> element.
	* tests/sexpr2xmltest.c, tests/xmconfigtest.c,
	tests/xml2sexprtest.c: Add new tests for input devices
	* tests/test_utils.c, src/test_utils.h: the virTestRun callback
	uses a const void * instead of void *
	* tests/virshtest.c, tests/xencaptest.c: Switch to const void *
	* tests/sexpr2xmldata/*, tests/xmconfigdata/*, tests/xml2sexprdata/*
	Updated data files to take account of new input device syntax

10111 10112 10113 10114 10115
Wed Jul 18 12:10:08 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/test.c include/libvirt/libvirt.h include/libvirt/libvirt.h.in:
	  cleanup of unused virDeviceMode

10116 10117 10118 10119 10120
Tue Jul 17 16:39:18 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/openvz_conf.c src/libvirt.c: cleanup, avoid some warnings,
	  and reuse the existing uuid generation function.

10121 10122 10123 10124 10125 10126 10127 10128
Tue Jul 17 15:24:27 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in src/Makefile.am src/driver.h src/libvirt.c:
	  applied patch from Shuveb Hussain to plug the developping
	  OpenVZ support. Disabled by default.
	* src/openvz_conf.[ch] src/openvz_driver.[ch]: added new
	  OpenVZ driver files. Avoid a redefinition of readline().

D
Daniel P. Berrange 已提交
10129 10130 10131 10132 10133
Mon Jul 16 17:36:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* docs/libvir.html, docs/remote.html: Re-write notes on IPV6
	support in the remote daemon

10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146
Mon Jul 16 16:59:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h, src/xend_internal.c,
	src/xm_internal.c, src/xml.c: Added support for the <clock/>
	element to switch between UTC and localtime in guests
	* tests/sexpr2xmltest.c, tests/xmconfigtest.c,
	tests/xml2sexprtest.c, tests/sexpr2xmldata/*,
	tests/xml2sexprdata/*, tests/xmconfigdata/*: Added test
	cases for new <clock/> element, and adapted existing expected
	data files where needed.
	* docs/libvir.html, docs/format.html: Added docs about the
	new <clock/> element

10147 10148 10149 10150 10151
Fri Jul 13 14:25:16 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: applied modified patch from Masayuki Sunou for
	  device hot plug description with a wrong root element.

10152 10153 10154 10155 10156 10157 10158
Fri Jul 13 10:28:53 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virterror.c src/xml.c include/libvirt/virterror.h:
	  patch from Masayuki Sunou to check Ethernet MAC addresses
	  in XML configs
	* po/*: string update and merge

10159 10160 10161 10162 10163 10164 10165
Thu Jul 12 17:48:40 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/libvir.html docs/remote.html: update the remote page,
	  add an index
	* docs/pki_check.sh: shell script to check the PKI and client/server
	  environment.

10166 10167 10168 10169 10170 10171
Thu Jul 12 11:15:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Explicitly check certificate/key files
	before trying to load them so we can get improved error reports
	back.

10172 10173 10174 10175 10176 10177
Thu Jul 12 11:02:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c: Pass
	around the virConnectPtr when available so errors get reported
	against that rather than the global error location.

10178 10179 10180 10181 10182 10183 10184 10185
Thu Jul 12 11:02:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Fix cleanup when client access checks fail
	so we don't accidentally register a dead client with the
	event loop. Force close the virConnectPtr object if it is
	still open when a client connection goes away

Thu Jul 12 11:00:17 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10186 10187 10188 10189 10190

	* qemud/qemud.c: Add explicit checks for existance of x509
	certificate & key files to get better error reporting than
	GNU TLS offers when it can't load a file

10191 10192 10193 10194 10195 10196
Thu Jul 12 10:57:17 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: applied patch from Christian Ehrhardt to
	  fix Xen hypervisor alignment problems on PPC64
	* AUTHORS: added Christian

10197 10198 10199 10200 10201
Thu Jul 12 09:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Removed --with-qemud-pid-file option since
	  it is no longer used.

10202 10203 10204 10205 10206 10207
Thu Jul 12 09:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c, src/xen_unified.c: If compiled with
	  --enable-debug=yes then we now trace libvirt calls on
	  stderr.

10208 10209 10210 10211 10212
Wed Jul 11 10:43:25 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: patch from Masayuki Sunou fixing leaks in
	  virDomainParseXMLDiskDesc

10213 10214 10215 10216 10217
Mon Jul  9 14:24:12 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in include/libvirt/libvirt.h
	  docs/* po/*: prepared release of 0.3.0

10218 10219 10220 10221 10222 10223 10224 10225
Mon Jul  9 13:23:26 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xm_internal.c src/xend_internal.c src/buf.[ch]: add
	  new function virBufferEscapeString() to format a string while
	  escaping its content for XML, and apply it to a couple of
	  obvious places, should fix bug #206653
	* po/*: updated strings, and added new bosnian localization.

10226 10227 10228 10229 10230 10231
Fri Jul  6 17:50:00 EST 2007 Daniel P.Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Use virFreeDomain and virFreeNetwork
	instead of free(), to ensure the objects are removed from
	the cache

10232 10233 10234 10235 10236 10237
Fri Jul  6 16:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c, src/qemu_driver.c: If the virNetworkLookup*
	  functions cannot find a network, then they now throw
	  VIR_ERR_NO_NETWORK error.

10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252
Fri Jul  6 16:08:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/proxy_internal.c, src/proxy_internal.h,
	  src.xen_internal.c, src/xen_internal.h,
	  src/xen_unified.c, src/xen_unified.h,
	  src/xend_internal.c, src/xend_internal.h,
	  src/xm_internal.c, src/xm_internal.h,
	  src/xs_internal.c, src/xs_internal.h: The interface
	  between xen_unified.c and its underlying driver now uses
	  a custom structure (struct xenUnifiedDriver) instead
	  of reusing virDriver.
	* src/xen_unified.c: virDomainLookup* functions in Xen
	  now throw VIR_ERR_NO_DOMAIN if the domain does not exist.
	* src/xs_internal.c: Fix indentation.

10253 10254 10255 10256
Fri Jul  6 17:06:52 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: fix an error in the default help string, bug #247197

10257 10258 10259 10260 10261 10262 10263 10264 10265 10266
Fri Jul  6 16:00:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/hash.c, src/internal.h: Remove virGetDomainByID function
	  as it is not used or exported.
	* src/proxy_internal.c, src/qemu_driver.c, src/remote_internal.c,
	  src/test.c, src/xend_internal.c, src/xs_internal.c: Fix
	  all callers to virGetDomain and virGetNetwork functions -
	  the callers do not need to set virterror since it is already
	  set inside the functions.

10267 10268 10269 10270 10271 10272 10273 10274
Fri Jul  6 15:54:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* include/libvirt/virterror.h, src/virterror.c, src/libvirt.c:
	  Add VIR_ERR_NO_DOMAIN and VIR_ERR_NO_NETWORK errors, which
	  indicate that there is no domain/network from vir*Lookup* functions.
	* src/qemu_driver.c: Use VIR_ERR_NO_DOMAIN in lookup functions.
	* src/test.c: Use VIR_ERR_NO_DOMAIN in lookup functions.

10275 10276 10277 10278 10279 10280 10281
Thu Jul  5 18:02:28 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: fix typo in function comment
	* po/*: updated the localizations
	* qemud/libvirtd.init.in: LSB'ization of the init script and
	  couple of fixups

10282 10283 10284 10285 10286 10287 10288
Thu Jul  5 09:47:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c, src/xen_unified.c: Move code converting NULL
	and 'xen' into 'xen://' from the Xen driver into the main libvirt.c
	entry point. We need this conversion done at the top level, so that
	the network driver open func gets a valid URI in Xen case

D
Daniel P. Berrange 已提交
10289 10290 10291 10292 10293
Thu Jul  5 09:46:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Fixed typo in setting flags for network
	opening.

10294 10295 10296 10297 10298 10299
Wed Jul  4 14:17:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xm_internal.c: configCache not getting refilled if the
	  connection was closed (affected the remote case mainly),
	  and error messages added to xenXMConfigCacheRefresh.

10300 10301 10302 10303 10304 10305 10306 10307
Wed Jul  4 10:14:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/conf.c, src/test.c, src/xen_internal.c: Readd checking
	  of errors from virBuffer functions.
	* src/sexpr.c: Add comment about use of _GNU_SOURCE.
	* src/virsh.c: Remove use of _GNU_SOURCE / isblank.
	* src/xml.c, tests/Makefile.am: Minor cleanup.

10308 10309 10310 10311 10312 10313 10314 10315 10316 10317
Mon Jul  2 09:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Change 'qemu' to 'QEMU' to get compatability
	with previous releases reporting of driver type. Allow QEMU to
	handle qemu:///session for root users too. Fix network lookup
	functions to use networkPrivateData instead of privateData
	* src/remote_internal.c: Add auto-spawn of daemons for networking.
	Make network activate for Xen / Test drivers. Make the network
	functions use networkPrivateData instead of privateData

10318 10319 10320 10321 10322
Fri Jun 29 15:46:34 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: applied patch from Masayuki Sunou to remove leaks
	  of domains references in some commands.

10323 10324 10325 10326 10327 10328 10329 10330 10331
Fri Jun 29 15:18:36 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/apibuild.py docs/newapi.xsl: fix generation of XML and
	  stylesheet
	* docs/*: regenerated
	* src/bridge.c src/bridge.h src/buf.c src/iptables.c src/libvirt.c
	  src/qemu_driver.c src/qemu_driver.h src/uuid.c src/uuid.h: cleanup,
	  addd comments, made functions static and fixe a few bugs

10332 10333 10334 10335 10336 10337
Tue Jun 29 13:44:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/site.xsl, docs/libvir.html, docs/hvsupport.html:
	  Document which libvirt versions supported various
	  hypervisor calls.

10338 10339 10340 10341 10342
Tue Jun 27 18:32:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Remove Makefile & Makefile.in from -devel
	packages to avoid multilib conflicts

10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355
Tue Jun 26 19:56:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/driver.c, qemud/driver.h, qemud/conf.c, qemud/conf.h,
	qemud/bridge.c, qemud/bridge.h, qemud/uuid.c, qemud/uuid.h,
	qemud/iptables.c, qemud/iptables.h: Removed files now in
	the main library
	* src/qemu_driver.c, src/qemu_driver.h, src/qemu_conf.c, src/qemu_conf.h,
	src/bridge.c, src/bridge.h, src/uuid.c, src/uuid.h,
	src/iptables.c, src/iptables.h: Add files previously in
	the daemon
	* src/qemu_internal.c, src/qemu_internal.h: Remove obsolete
	QEMU driver code

10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366
Tue Jun 26 19:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/libvirtd.sysconf, qemud/libvirtd.init.in: Added config
	to turn on/off remote support in daemon
	* qemud/conf.c, qemud/conf.h, qemud/driver.c, qemud/driver.h
	Finally switch over to be an internal driver.
	* qemud/dispatch.c, qemud/dispatch.h: Remove obsolete files
	* qemud/protocol.*: Remove all except packet header.
	* src/xml.c: Don't compile virXMLError for libvirt_proxy
	* src/remote_internal.c: Pick up QEMU uris too

10367 10368 10369 10370 10371
Tue Jun 26 19:05:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_internal.c: Fix typo in checking for read only
	connection request

10372 10373 10374 10375 10376
Tue Jun 26 19:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/libvirtd.init.in, qemud/Makefile.am, libvirt.spec.in
	Rename the daemon from libvirt_qemud to libvirtd

D
Daniel P. Berrange 已提交
10377 10378 10379 10380 10381 10382
Tue Jun 26 19:02:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/libvirtd.in, qemud/libvirtd.init.in, qemud/Makefile.am
	rename the init script to not clash with forthcoming daemon
	name change.

10383 10384 10385 10386 10387 10388
Tue Jun 26 18:57:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am, qemud/bridge.c, configure.in, libvirt.spec.in
	Don't use libsysfs for bridge APIs, call brctl directly.
	* qemud/driver.c: Set the STP and forward-delay params if provided

10389 10390 10391 10392
Tue Jun 26 18:56:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: Don't try to handle URIs with a hostname

10393 10394 10395 10396 10397 10398 10399
Tue Jun 26 18:53:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/internal.h, src/libvirt.c, src/driver.h, src/libvirt_sym.version
	Added internal driver API hooks for global shutdown/startup/reload
	* qemud/driver.c, qemud/driver.h, qemud/internal.h, qemud/qemud.c
	Adapt to make use of new driver API for startup/shutdown

10400 10401 10402 10403 10404 10405 10406 10407
Tue Jun 26 18:47:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/event.h, src/event.c, src/Makefile.am, src/libvirt_sym.version:
	Provide an internal API for drivers to register callbacks for
	monitoring file handles & generating timer notifications.
	* qemud/driver.c, qemud/event.c, qemud/event.h, qemud/qemud.c:
	Adapt to make use of internal driver API for events.

10408 10409 10410 10411 10412 10413
Tue Jun 26 18:41:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c, qemud/conf.h, qemud/dispatch.c, qemud/driver.c,
	qemud/driver.h: Move code related to looking up VMs/networks
	into the conf.c

10414 10415 10416 10417 10418 10419
Tue Jun 26 18:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c, qemud/dispatch.c, qemud/driver.c, qemud/driver.h
	Change API contract of all driver methods to make official
	internal driver API.

10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430
Tue Jun 26 18:30:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/buf.c, qemud/buf.h: Remove obsolete files
	* src/xml.c: remove virBuffer functions
	* src/buf.c, src/buf.c, src/Makefile.am: Re-add virBuffer functions
	* proxy/Makefile.am, qemud/Makefile.am, qemud/conf.c,
	qemud/driver.c, src/conf.c, src/test.c, src/xen_internal.c,
	src/xend_internal.c, src/xm_internal.c, src/xmlrpc.h,
	tests/xmlrpc.test: Adapt to deal with new location of headers
	for virBuffer functions.

D
Daniel P. Berrange 已提交
10431 10432 10433 10434 10435 10436
Tue Jun 26 18:21:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c, qemud/driver.c, qemud/buf.c, qemud/buf.h:
	Rename the buffer functions to match those in src/ directory.

Tue Jun 26 18:18:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
10437 10438 10439 10440

	* qemud/conf.c, qemud/uuid.c, qemud/uuid.h: Rename the
	UUID functions to not include QEMU in name.

10441 10442 10443 10444 10445 10446 10447 10448
Tue Jun 26 18:10:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c, qemud/conf.h, qemud/dispatch.c, qemud/driver.c,
	qemud/driver.h, qemud/internal.h, qemud/qemud.c: Split the
	struct qemud_server into two parts, moving QEMU stuff out into
	struct qemud_driver. Move all QEMU related data structures
	and manipulation code into conf.c file

10449 10450 10451 10452 10453 10454 10455 10456
Tue Jun 26 16:50:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am, qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
	qemud/driver.h, qemud/internal.h, qemud/qemud.c: Switch over to
	use regular libvirt virError objects & APIs for QEMU error
	reporting purposes

Tue Jun 26 16:43:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10457 10458 10459 10460

	* qemud/driver.c, qemud/driver.h, qemud/qemud.c: Move code
	handling global startup, shutdown & reload into driver.c

10461 10462 10463 10464 10465 10466 10467
Tue Jun 26 16:41:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/driver.c, qemud/driver.h, qemud/internal.h,
	qemud/qemud.c: Move VM & network process lifecycle management
	out of qemud.c and into the main driver.c

Tue Jun 26 15:11:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
10468 10469 10470 10471 10472

	* qemud/dispatch.c, qemud/driver.c, qemud/driver.h: Move
	code for generating capabilities XML into driver.c file
	alongside other driver APIs

10473
Tue Jun 26 14:52:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
10474 10475 10476 10477 10478 10479 10480

	* qemud/event.c, qemud/event.h, qemud/Makefile.am: Generic
	standalone event loop implementation for monitoring file
	handles & timers.
	* qemud/qemud.c, qemud/internal.h: Adapt to use the generic
	event loop

10481 10482 10483 10484 10485 10486 10487 10488
Tue Jun 26 14:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c, python/Makefile.am: Python bindings
	  fixed, and now building virConnect.getHostname and
	  virConnect.getURI.  Fixed a problem which stopped
	  libvirt.py from being (re-)built.  Rearranged
	  python/Makefile.am to make it cleaner and clearer.

10489 10490 10491 10492 10493 10494
Tue Jun 26 12:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* include/libvirt/libvirt.h.in, src/libvirt.c: (and numerous
	  other files) Added support for virConnectGetHostname
	  and virConnectGetURI calls.

10495 10496 10497 10498 10499 10500 10501
Mon Jun 25 16:55:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* include/libvirt/libvirt.h.in, src/libvirt.c, src/libvirt_sym.version,
	  python/generator.py: Added virDomainGetConnect and
	  virNetworkGetConnect to allow us to get the "hidden"
	  connection associated with each domain or network.

10502 10503 10504 10505 10506
Mon Jun 25 14:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in,
	  src/test.c: Remove unused virDomainKernel structure.

10507 10508 10509 10510 10511
Mon Jun 25 14:03:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c: Partial revert - defining enum transport
	  as a typedef broke the build.

10512 10513 10514 10515 10516 10517
Mon Jun 25 09:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c: Made cosmetic changes to the code and
	  comments to allow 'make -C docs rebuild' to succeed parsing
	  this file.

10518 10519 10520 10521
Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/site.xsl: Added link to OCaml bindings.

10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533
Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/remote.c, src/remote_internal.c: Fix virDomainGetVcpus
	  in the remote case.
	* src/libvirt.c: Allow virConnectListDomains,
	  virConnectListDefinedDomains, virConnectListNetworks and
	  virConnectListDefinedNetworks to work in the case where
	  they are called with maxids/maxnames == 0.
	* src/remote_internal.c: Fix virDomainGetMaxVcpus in remote
	  case so that it copies sufficient data.
	* src/xen_unified.c: Remove autostart functions.

10534 10535 10536 10537 10538 10539
Fri Jun 22 14:15:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
	  Add support for setting scheduler parameters over remote
	  connections.

10540 10541 10542 10543 10544 10545 10546 10547
Fri Jun 22 12:40:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/internal.h: Added STREQ and STRCASEEQ macros for clearer
	  equality testing of strings.
	* src/xen_internal.c: Fix handling of the scheduler parameters
	  field string so that the field doesn't contain garbage
	  after the string.

10548 10549 10550 10551 10552
Fri Jun 22 12:14:40 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* qemud/driver.c: apply patch from Jim Meyering to handle realloc
	  failure without leaking.

10553 10554 10555 10556
Thu Jun 21 16:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/virsh.pod: Fixed a few typos and POD directives.

10557 10558 10559 10560 10561 10562 10563
Thu Jun 21 16:48:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c: Fix virConnectGetMaxVcpus in the
	  remote case when type parameter is NULL.
	* src/xend_internal.c: Proper error reporting in
	  xenDaemonDomainDumpXML function.

10564 10565 10566 10567 10568
Thu Jun 21 11:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/remote_interal.c: fix marshalling of 'id' field for
	virDomainPtr objects on the wire

10569 10570 10571 10572 10573 10574
Thu Jun 21 16:59:02 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* virsh.1 docs/virsh.pod docs/Makefile.am: updated the pod file
	  to reflect the current set of commands, added a rule in the Makefile
	  to regenerate the man page, and regenerated.

10575 10576 10577 10578 10579
Thu Jun 21 09:38:12 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/virsh.pod: commit of original POD file for virsh man page
	  from Andrew Puch April 2006

10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590
Wed Jun 20 18:23:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c, src/qemu_internal.c, src/test.c,
	  src/xen_unified.c, src/xend_internal.c,
	  src/libvirt.c, include/libvirt/virterror.h:
	  VIR_ERR_NO_SUPPORT means the function is not supported by
	  the hypervisor.  VIR_ERR_NO_CONNECT means the connection
	  failed.  VIR_ERR_CALL_FAILED is deprecated.  Drivers which
	  decline a URI now no longer produce an error.  Make
	  xen_unified.c ignore naked URI strings like "foo".

10591 10592 10593 10594 10595 10596
Wed Jun 20 18:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: 'virsh help command' now works even if we could
	  not get a connection to the hypervisor.  Rearranged the list
	  of commands to be in alphabetical order.

10597 10598 10599 10600 10601 10602 10603
Wed Jun 20 10:54:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c src/test.c src/xen_unified.c: Fix URI processing
	  so that local file URIs work again.  Move remote driver to
	  last in the list, and fix all drivers so they decline remote
	  URIs (Daniel Berrange).

10604 10605 10606 10607 10608
Tue Jun 19 20:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xend_internal.c: Recognise xen:/// as the standard
	  URI for connecting to a local Xen hypervisor.

10609 10610 10611 10612 10613
Tue Jun 19 17:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/libvir.html docs/remote.html docs/uri.html: Documented
	  all supported URI formats.

10614 10615 10616
Tue Jun 19 15:42:26 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/site.xsl docs/libvirt.html docs/uri.html docs/*.html:
J
Jim Meyering 已提交
10617
	  adding a placeholder for the new URIs page, update the
10618 10619
	  stylesheet to generate a new page, rebuilt.

10620 10621 10622 10623 10624
Tue Jun 19 13:12:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/remote.html: Check in the updated documentation file
	  for the web site.

10625 10626 10627 10628 10629 10630
Tue Jun 19 10:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: vcpupin command now documented properly and
	  gives clearer error messages if the cpulist is wrong
	  (Masayuki Sunou).

10631 10632 10633 10634 10635 10636 10637
Tue Jun 19 11:11:18 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: drop the release information as this
	  is usually garbage ending up polluting minor and major numbers.
	* src/virsh.c: applied patch from Masayuki Sunou providing a pair
	  of alternate attach/detach commands

10638 10639 10640 10641 10642
Mon Jun 18 16:59:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* docs/libvir.html (Remote): Updated certificate documentation
	  to use GnuTLS certtool instead of CA.pl / openssl.

10643 10644 10645 10646
Mon Jun 18 10:32:14 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: applied SetMem cleanup patch from Mark Johnson

10647 10648 10649 10650
Fri Jun 15 16:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Solaris header file fixes (Mark Johnson).

10651 10652 10653 10654 10655
Fri Jun 15 14:42:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/test.c, src/virsh.c, src/xend_internal.c, src/xm_internal.c:
	  Replace calls to deprecated {,r}index with str{,r}chr.

10656 10657 10658 10659 10660 10661 10662 10663 10664 10665
Fri Jun 15 08:53:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/internal.h, src/virsh.c: Replace _N with N_ so that
	  Solaris builds work (Mark Johnson).
	* src/virsh.c: Add a couple of missing error messages (Mark
	  Johnson).
	* python/types.c: Fix NULL pointer deref on DEBUG build
	  (Mark Johnson).
	* src/virsh.c: Spelling fix (Mark Johnson).

10666 10667 10668 10669 10670
Thu Jun 14 21:30:28 EST 2007 Daniel Berrange <berrange@redhat.com>

	* libvirt.spec.in: Change way extra_release is inserted to
	work with Fedora 7 where %dist is always defined

10671 10672 10673 10674 10675
Thu Jun 14 21:15:28 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/Makefile.am: Fix generation of coverage files by
	excluding files for server protocol

10676 10677 10678 10679 10680 10681
Wed Jun 13 11:30:28 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Saori Fukuta for messages
	* *.po: updated with the patch from Saori Fukuta and merge from
	  the i18n CVS base.

10682 10683 10684 10685 10686 10687 10688
Mon Jun 11 14:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/examples/index.py: Autogenerate Makefile.am and
	  .cvsignore in this directory with corrected LDADDS and
	  including some generated subdirectories which CVS should
	  ignore.

R
Richard W.M. Jones 已提交
10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700
Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* libvirt.spec.in: BuildRequires gnutls-devel and
	  set the remote PIDfile when configuring.
	* qemud/Makefile.am: Distribute the Perl scripts.
	* qemud/qemud.c: Only use QEMUD_DEBUG when ENABLE_DEBUG
	  is defined.

Mon Jun 11 13:25:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* RENAMES: Suggested list of file renames.

10701 10702 10703 10704
Mon Jun 11 13:24:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/examples/.cvsignore: Ignore .deps and .libs subdirectories.

10705 10706 10707 10708 10709
Mon Jun 11 13:22:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/libvir.html, docs/remote.html: Updated docs to reflect
	  access control lists now based on Distinguished Names.

10710 10711 10712 10713 10714 10715
Mon Jun 11 13:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Add '--with-remote' flag.  Add compatibility
	  code for versions of libxml2 supporting xmlURI.query_raw.
	  Check for GnuTLS library.

10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729
Mon Jun 11 12:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/Makefile.am, qemud/dispatch.c, qemud/dispatch.h,
	  qemud/internal.h, qemud/protocol.c,
	  qemud/protocol.h, qemud/protocol.x, qemud/qemud.c:
	  libvirt_qemud server-side modifications to use
	  XDR-based protocol instead of homebrew (Dan Berrange).
	  QEMUD server modified to dispatch calls from remote
	  clients (Richard Jones).  Added TLS support (Richard Jones).
	  Added TCP & IPv6 support (Richard Jones).
	  Additional configuration file, command-line handling, and
	  usage (Richard Jones).
	* qemud/conf.c: Remove unnecessary header file.

10730 10731 10732 10733 10734
Mon Jun 11 12:48:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/qemu_internal.c: QEMU client-side modifications to
	  use XDR-based protocol instead of homebrew.  (Dan Berrange)

10735 10736 10737 10738 10739 10740 10741 10742
Mon Jun 11 12:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/remote.c, qemud/remote_generate_stubs.pl,
	  qemud/remote_dispatch_localvars.h,
	  qemud/remote_dispatch_proc_switch.h,
	  qemud/remote_dispatch_prototypes.h: Server side of
	  the remote patch, deals with call dispatch.

10743 10744 10745 10746 10747 10748
Mon Jun 11 12:41:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/remote_internal.c, src/remote_internal.h,
	  src/driver.h, src/libvirt.c, src/Makefile.am: Client side
	  of the remote patch - adds a remote driver.

10749 10750
Mon Jun 11 12:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

10751 10752
	* qemud/remote_protocol.x, qemud/rpcgen_fix.pl,
	  qemud/remote_protocol.c, qemud/remote_protocol.h: Client/server
10753 10754
	  protocol used by remote.

10755 10756 10757 10758 10759
Fri Jun  8 13:06:01 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in include/libvirt/libvirt.h
	  docs/*: prepared release of 0.2.3

10760 10761 10762 10763
Fri Jun  8 11:35:55 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* po/*: new merge of localization strings

10764 10765 10766 10767 10768 10769 10770
Thu Jun  7 14:20:30 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/xm_internal.c: Fixed handling of bridge devices
	when converting XM configs to XML
	* tests/xmconfigdata/test-fullvirt-*: Added explicit
	bridge device to test suite

10771 10772 10773 10774
Thu Jun  7 10:47:30 EST 2007 Daniel Berrange <berrange@redhat.com>

	* autobuild.sh: Ensure build fails if tests fail

D
Daniel P. Berrange 已提交
10775
Thu Jun  7 10:08:30 EST 2007 Daniel Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
10776 10777 10778 10779 10780 10781

	* src/xm_internal.c: Fix boot device XML -> config conversion
	* test/xmconfigdata/test-fullvirt-new-cdrom.xml,
	test/xmconfigdata/test-fullvirt-old-cdrom.xml fix syntax for
	boot device

10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792
Thu Jun  7 15:48:30 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xm_internal.c src/xml.c: add support
	  for arguments to bootloader, patch from Hugh Brock
	* tests/sexpr2xmltest.c tests/xml2sexprtest.c
	  tests/sexpr2xmldata/sexpr2xml-pv-bootloader.sexpr
	  tests/sexpr2xmldata/sexpr2xml-pv-bootloader.xml
	  tests/xml2sexprdata/xml2sexpr-pv-bootloader.sexpr
	  tests/xml2sexprdata/xml2sexpr-pv-bootloader.xml: add specific
	  regression tests

10793 10794 10795 10796 10797 10798 10799
Thu Jun  7 15:02:44 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c: do not die if the daemon is not running on a Xen
	  system (shows up as root only) and emit a warning instead
	* src/virterror.c include/libvirt/virterror.h docs/*: add
	  the new warning.

10800 10801 10802 10803 10804 10805
Wed Jun  6 16:37:36 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: patch from Saori Fukuta to avoid (type ioemu)
	  on Xen-3.1 and HVM guests devices to avoid breaking paravirt
	  drivers there

10806 10807 10808 10809 10810 10811
Wed Jun  6 14:22:36 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: added a logging option to a file based on
	  Nobuhiro Itou patch
	* src/xen_internal.c: small TODO comment from Atsushi SAKAI

10812 10813
Wed Jun  6 09:20:23 CEST 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
10814
	* po/*: merge all po from Red Hat/Fedora translations, and
10815 10816
	  ran 'make update-po'

10817 10818 10819 10820 10821
Tue Jun  5 22:47:09 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: fix from Hugh Brock to allow compiling
	  with -Werror after the previous patch

10822 10823 10824 10825 10826 10827 10828 10829
Tue Jun  5 14:03:38 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
	  src/driver.h src/libvirt.c src/libvirt_sym.version
	  src/proxy_internal.c src/qemu_internal.c src/test.c
	  src/virsh.c src/xen_internal.c src/xen_internal.h src/xen_unified.c
	  src/xend_internal.c src/xm_internal.c src/xs_internal.c:
	  Applied patches from Atsushi SAKAI to add the scheduler API,
J
Jim Meyering 已提交
10830
	  with patch from Rich Jones for error handing, and a number
10831 10832
	  of cleanups and more error checking from me

10833 10834 10835 10836 10837
Mon Jun  4 10:41:25 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: apply patch from Masayuki Sunou about an uninitialized
	  string when attaching a device

10838 10839 10840 10841 10842
Fri Jun  1 16:02:12 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: added a comment about (type ioemu) not needed
	  for interfaces on xen 3.1 as pointed by Saori Fukuta

10843 10844 10845 10846 10847 10848 10849 10850
Tue May 29 15:56:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* python/generator.py, python/libvir.c, python/libvir.py:
	  Wrap the virGetVersion call as Python libvirt.getVersion.

	* src/libvirt.c: Change virGetVersion so that the driver name
	  is case insensitive.

10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861
Tue May 29 15:41:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* TODO: Added a note about requiring C++ compiler because of a
	  possible problem with libtool autoconf macros.
	* docs/examples/Makefile.am, proxy/Makefile.am, qemud/Makefile.am,
	  src/Makefile.am, tests/Makefile.am: Pass $(WARN_CFLAGS) when
	  linking, so if -fstack-protector is there, gcc will link to
	  the stack protector library.
	* tests/xencapstest.c: Allow this test to compile when Xen
	  libraries are not enabled.

10862 10863 10864 10865 10866
Tue May 29 15:54:17 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c src/xen_internal.c src/xend_internal.c: memory leaks
	  fixed by a patch from Masayuki Sunou

10867 10868 10869 10870 10871 10872
Wed May 23 16:07:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* src/virsh.c: Add attach-device and detach-device commands to
	virsh, and tidy up the way it reads whole files.  Patch from
	Masayuki Sunou, Mark McLoughlin, Richard Jones.

10873 10874 10875 10876 10877 10878
Mon May 21 20:38:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c: Allow xenXMDomainDefineXML to overwrite
	an existing guest config to match semantics of XenD and QEMU
	drivers. Patch from Hugh Brock.

D
Daniel P. Berrange 已提交
10879 10880 10881 10882 10883 10884
Fri May 18 14:36:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c, qemud/internal.h, qemud/qemud.c: Save VM output
	in a logfile
	* libvirt.spec.in: added /var/log/libvirt/qemud directory

10885 10886 10887 10888 10889 10890
Mon May 14 11:00:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c: Fix initialization of var to prevent stack
	overflow. Make sure we initialize the brCtl in case there
	is no virtual network running

D
Daniel P. Berrange 已提交
10891 10892 10893 10894
Thu May 11 10:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c: Fix boot device XML syntax

10895 10896 10897 10898 10899
Thu May 11 10:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Ignore old style VNC config for HVM
	guests on Xen 3.0.5 or later

D
Daniel P. Berrange 已提交
10900 10901 10902 10903
Thu May 11 09:34:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Added dep on dnsmasq

10904 10905 10906 10907 10908
Thu May 11 13:23:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* .cvsignore, qemud/uuid.c: Add some generated files to .cvsignore.
	  Remove an unused #include from uuid.c.

10909 10910 10911 10912 10913 10914 10915
Thu May 10 17:00:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* docs/libvir.html, docs/libvirt.css, docs/remote.html:
	  Added documentation for TLS certificates and libvirtd.conf.
	  CSS changes makes the tables look nicer.  remote.html is
	  a generated file.

10916 10917 10918 10919 10920 10921 10922
Tue May  8 11:49:00 BST 2007  Richard W.M. Jones  <rjones@redhat.com>

	* src/hash.c, src/internal.h, src/libvirt_sym.version: Export
	  __virGetDomain and __virGetNetwork for use by the libvirtd.
	  The double underscores indicate that these interfaces are
	  not officially supported parts of the libvirt API or ABI.

10923 10924 10925 10926 10927
Tue May  8 11:14:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/hash.c, src/internal.h, src/xs_internal.c: Remove
	  unused fields from internal _virDomain structure.

D
Daniel P. Berrange 已提交
10928 10929 10930 10931 10932 10933 10934
Thu May  3 12:09:41 EST 2007 Daniel P. Berange <berrange@redhat.com>

	* qemud/conf.c, qemud/internal.c: Read upto 8k from QEMU
	help output. Support the <on_reboot> attribute to set the
	-no-reboot flag in QEMU

Thu May  3 18:00:41 CEST 2007 Daniel Veillard <veillard@redhat.com>
10935 10936 10937 10938

	* src/virsh.c: fix help for dumpxml and net-dumpxml commands
	  based on Chris Wright feedback

10939 10940 10941 10942 10943 10944
Thu May  3 15:03:00 BST 2007 Richard Jones <rjones@redhat.com>

	* src/virterror.c, include/libvirt/virterror.h: Added
	  VIR_FROM_REMOTE, VIR_ERR_RPC, VIR_ERR_GNUTLS_ERROR
	  for remote errors.

10945 10946 10947 10948 10949 10950 10951 10952
Wed May  2 18:42:00 BST 2007 Richard Jones <rjones@redhat.com>

	* src/libvirt.c, src/qemu_internal.c: Allow network
	  drivers to DECLINE to take accept a call.  Only fail
	  outright if the network driver reports an error.
	* src/qemu_internal.c (qemuNetworkOpen): Fix path to
	  driver used in the non-root case.

10953 10954 10955 10956 10957 10958 10959 10960
Wed May  2 18:38:00 BST 2007 Richard Jones <rjones@redhat.com>

	* src/proxy_internal.c, src/qemu_internal.c, src/test.c,
	  src/xen_unified.c, src/xend_internal.c, src/xs_internal.c:
	  During virConnectOpen, be careful to call __virRaiseError
	  with conn = NULL so that the error message is not
	  discarded.

10961 10962 10963 10964
Wed May  2 17:55:12 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/libvirtd.in: synchronously restart the daemon in
	order to avoid https://bugzilla.redhat.com/238492
J
Jim Meyering 已提交
10965

10966 10967 10968 10969 10970
Wed May  2 12:16:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_unified.c: Disable xm_internal.c driver on Xen
	newer than 3.0.3

10971 10972 10973 10974
Wed May  2 11:50:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Use --strict-order when running dnsmasq

10975 10976 10977 10978 10979 10980 10981
Mon Apr 30 18:33:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c, src/driver.h, src/proxy_internal.c,
	  src/qemu_internal.c, src/test.c, src/xen_internal.c,
	  src/xend_internal.c, src/xs_internal.c,
	  proxy/libvirt_proxy.c: Remove VIR_DRV_OPEN_QUIET.

10982 10983 10984 10985 10986
Mon Apr 30 18:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/proxy_internal.c (xenProxyGetCapabilities): Add support
	  for virConnectGetCapabilities across Xen proxy.

10987 10988 10989 10990 10991 10992
Mon Apr 30 18:00:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xen_unified.c: In the non-root case keep track of the
	  Xen underlying drivers which opened correctly and only
	  try methods on those opened drivers.

10993 10994 10995 10996 10997
Mon Apr 30 17:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/libvirt.c (virConnectNumOfDefinedDomains): Documentation
	  fix (thanks to Jan Michael).

10998 10999 11000 11001
Thu Apr 26 12:20:35 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: fix virshStrdup to not crash if NULL is passed.

11002 11003 11004 11005 11006
Tue Apr 24 15:43:04 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/internal.h src/xend_internal.c: a better fix from Shigeki Sakamoto
	  and raising errors on memory shortage.

11007 11008 11009 11010 11011
Mon Apr 23 09:38:16 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/internal.h src/xend_internal.c src/xml.c: applied 2 bug fixes
	  from Shigeki Sakamoto about large buffers.

11012 11013 11014 11015
Thu Apr 19 12:09:15 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* docs/libvirt.rng: fix duplicate x86_64 arch

11016 11017 11018 11019
Thu Apr 19 09:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/libvir.html: Change &nbsp; to space.

11020 11021 11022 11023
Thu Apr 19 09:55:28 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* libvir.rng: applied patch to fix regexp constructs from Robin Green

11024 11025 11026 11027
Wed Apr 18 16:16:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* docs/libvir.html: Documentation for the remote patch.

11028 11029 11030 11031 11032 11033 11034 11035
Wed Apr 18 11:12:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* src/test.c, src/libvirt.c, src/virterror.c,
	  include/libvirt/virterror.h: Add a VIR_FROM_TEST error class
	  and ensure that test driver errors are from this class.
	  Tidy up the error messages generated by the test driver when
	  user doesn't add a path to the URL and avoid open ("/").

11036 11037 11038 11039 11040
Wed Apr 18 11:57:28 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/remote.html docs/site.html docs/*.html: added a stub for
	  the remote page, added it to stylesheet and regenerated

11041 11042 11043 11044 11045
Tue Apr 17 11:30:46 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/* NEWS libvirt.spec.in: prepare release of 0.2.2
	* docs/apibuild.py: do not scan xen_unified for APIs.

11046 11047 11048 11049 11050
Mon Apr 16 09:11:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c: Check for existance of QEMU binary path. Fix check
	for -no-kqemu flag to work with x86_64 on i386

11051 11052 11053 11054 11055
Mon Apr 16 09:09:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_internal.c: Implement virDomainGetOSType driver method
	for QEMU guests

11056 11057 11058 11059 11060 11061
Mon Apr 16 08:30:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* python/generator.py, python/libvir.py: Ensure that connection
	info is passed into virError object when a virNetwork or virDomain
	operation fails

11062 11063 11064 11065 11066
Sun Apr 15 15:57:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/driver.c: Fixed integer overflow in calculating CPU time
	for qemu guests - use long long throughout.

11067 11068 11069 11070 11071
Fri Apr 13 10:07:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Back out accidental commit of code which
	added an <os> block for dom0.

11072 11073 11074 11075 11076
Fri Apr 13 10:00:04 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: fixed a bad messaging mechanism preventing localization
	  and raised by Thomas Canniot

11077
Thu Apr 12 19:51:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097

	* src/xen_internal.c: Updated structs to work with new Xen 3.0.5
	hypercall ABI. Mask out HVM bit when determining domain status.
	Limit number of iterations when counting active IDs to 65000
	* src/xen_unified.c: Fix checking of return value for the
	domainGetVCpus method.
	* src/xend_internal.c: Added an impl of the DomainGetOSType
	method which works with inactive domains too. Don't do a
	redundant ping test against GetVersion, since we now already
	fetch config file format number which serves as a ping test.
	Allow the kernel SEXPR field to be missing for domain0, or if
	using a bootloader. Mark interface as type=bridge, if there
	is a bridge device listed, but no explicit script to fix inactive
	domains. Allow multiple boot devices to be provided for HVM
	* src/xml.c: Allow multiple boot devices to be provided for HVM.
	Support new style graphics config for HVM in xen 3.0.5
	* src/xs_internal.c: Don't hardcode domain type of 'linux',
	since we now have a fallback driver with xend that can make
	the correct diagnosis for inactive domains.

11098 11099 11100 11101 11102
Thu Apr 12 15:18:00 BST 2007 Richard Jones <rjones@redhat.com>

	* src/libvirt.c: set VIR_CONNECT_RO on read-only connections.
	  Patch by S.Sakamoto.

11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113
Wed Apr 11 18:04:00 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xml.c: applied patch from Nobuhiro Itou
	  to handle CDRom devices with no device name
	* tests/sexpr2xmltest.c tests/xml2sexprtest.c
	  tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.sexpr
	  tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml
	  tests/xml2sexprdata/xml2sexpr-no-source-cdrom.sexpr
	  tests/xml2sexprdata/xml2sexpr-no-source-cdrom.xml: added regression
	  tests for this case based on Nobuhiro Itou test inputs.

11114 11115 11116 11117 11118 11119 11120
Tue Apr 10 19:17:29 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c, qemu/internal.h, qemud/iptables.c, qemud/iptables.h,
	qemud/qemud.c: Some adjustment to IPTables rules to tighten up traffic
	flow to/from virtual networks & avoid accidentally NAT'ing wrong packets.
	Fixed XML dump when using auto-generated bridge device name.

11121 11122 11123 11124 11125
Tue Apr 10 19:15:29 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* python/libvir.c, python/libvirt-python-api.xml: Added manual
	impl of the vir*GetAutoStart API methods since generator fails.

11126 11127 11128 11129 11130
Tue Apr 10 20:39:29 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: fixed some typos reported by translator
	  Nikolay Sivov should fix #235904

11131 11132 11133 11134 11135 11136
Tue Apr 10 13:58:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* src/xen_unified.c (xenUnifiedRegister): Comment the
	  xenUnifiedRegister function to avoid error message
	  when building docs/.  Patch from Atsushi SAKAI.

11137 11138 11139 11140
Tue Apr 10 12:18:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* src/xen_unified.h, src/xen_unified.c: Fix indentation.

11141 11142 11143 11144 11145
Fri Apr  6 17:33:13 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/test.c: converted to new XPath APIs
	* src/xml.c: fixed a return comment

11146 11147
Fri Apr  6 14:27:13 CEST 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
11148
	* src/xml.[ch]: first patch to clean up XPath accesses with new
11149 11150
	  routines, only xml.c is cleaned up, other modules to follow.

11151 11152 11153 11154 11155 11156
Wed Apr  4 15:18:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* src/xen_unified.c et al: Unified Xen driver.  Architecture
	  described here:
	  https://www.redhat.com/archives/libvir-list/2007-March/msg00396.html

11157 11158 11159 11160 11161 11162 11163 11164
Wed Apr  4 10:30:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in, qemud/Makefile.am: Set QEMUD_PID_FILE macro
	  correctly (expand ${prefix} in Makefile).
	* qemud/qemud.c: Add command line help.
	* ChangeLog: Remove a CVS '>>>>' conflict line which had
	  been committed inadvertently.

11165 11166 11167 11168 11169
Mon Apr  2 13:54:17 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: applied patch from Atsushi SAKAI to clarify
	  that memory values are in kilobytes

11170 11171 11172 11173
Wed Mar 30 17:25:33 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/iptables.c: As suggested by danpb, make libvirt_qemud
	handle SIGHUP by re-loading the iptables rules.
J
Jim Meyering 已提交
11174

11175 11176 11177 11178 11179
Wed Mar 30 17:24:48 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/iptables.c: Re-factor things a little so that we
	maintain the rules in memory even when we're not going
	to write them to disk.
J
Jim Meyering 已提交
11180

11181 11182 11183 11184 11185 11186 11187 11188
Wed Mar 30 17:21:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/iptables.c: Remove the target interface parameter
	from iptablesPhysdevForward(). This rule is intended to
	allow frames to be forwarded across the	bridge from the
	supplied bridge port. In this context, the --out parameter
	would match the outgoing bridge port, which will never
	be network->def->forwardDev.
J
Jim Meyering 已提交
11189

11190 11191 11192 11193
Wed Mar 30 17:17:15 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/iptables.c: ensure iptablesContext is zereod out
	when allocating so we don't try and free an invalid pointer.
J
Jim Meyering 已提交
11194

11195 11196 11197 11198 11199 11200
Wed Mar 28 12:23:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* python/generator.py: Python bindings now throw exceptions
	  in almost all cases where an error is encountered in the
	  underlying libvirt code.

11201 11202 11203 11204 11205 11206 11207
Wed Mar 28 10:47:16 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: applied patch from Masayuki Sunou fixing the
	  erroneous value of the hypercall XEN_V2_OP_SETMAXMEM
	* libvirt.spec.in: applies changes from Jeremy Katz for libvirt
	  spec and also another fix from Michael Schwendt fixing rhbz#233874

11208 11209 11210 11211 11212 11213
Tue Mar 27 10:46:00 EDT 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c: Fixed bridged config to refer to 'bridge' attribute
	instead of 'dev' attribte on the <source> element, thus complying
	with schema.

11214 11215 11216 11217 11218 11219 11220 11221 11222
Tue Mar 27 10:39:00 EDT 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xen_internal.c: Fix handling of PAE flags in capabilities XML
	generation & merge duplicate (arch,os-type) entries.
	* tests/xencapstest.c: Added a test suite for various Xen capabilities
	data sets
	* tests/xencapsdata/*: Added data files for Xen capabilities tests
	* configure.ac, tests/Makefile.am: Added tests/xencapsdata/ directory

11223 11224 11225 11226 11227 11228
Tue Mar 27 11:26:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/qemud.c: If using FORTIFY_SOURCE, remove warning
	  warn_unused_result by counting errors found in signal
	  handler and logging them in the main loop.

11229 11230 11231 11232 11233
Mon Mar 26 11:29:43 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* acinclude.m4: applied patch from Jim Meyering to avoid clobbering
	  user specified CFLAGS

11234 11235 11236 11237 11238
Fri Mar 23 17:14:10 CET 2007 Daniel Veillard <veillard@redhat.com>

	* TODO qemud/conf.c src/virsh.c src/xend_internal.c src/xs_internal.c:
	  replaced all sprintf instances by snprintf ones

11239 11240 11241 11242 11243 11244
Fri Mar 23 09:12:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/xen_internal.c: Fix detection of host PAE capabilities,
	  nul-terminate the token in the output XML and a couple of
	  cleanups for determining structure sizes.

11245 11246 11247
Thu Mar 22 19:38:38 CET 2007 Daniel Veillard <veillard@redhat.com>

	* qemud/iptables.c qemud/qemud.c src/conf.c src/hash.c src/libvirt.c
J
Jim Meyering 已提交
11248
	  src/virsh.c src/xm_internal.c: change malloc/memset(0) pairs to
11249 11250
	  using calloc()

11251 11252 11253 11254 11255
Thu Mar 22 16:25:10 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/*.html: repair the damages made by Amaya on the content
	  of documentation following feedback from Simon Hernandez

11256 11257 11258 11259 11260
Thu Mar 22 11:35:05 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: applied patch from Masayuki Sunou to avoid a bug
	  when using a wrong CPU number in vcpupin and report the error

11261 11262 11263 11264 11265
Thu Mar 22 10:47:46 CET 2007 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: one more extra fix for autostart dir from
	  Florian La Roche, should fix #233409

11266 11267 11268 11269 11270
Wed Mar 21 11:29:06 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/buf.c: Remove redundant (and broken) call to realloc()
	which caused a buffer overflow

11271 11272 11273 11274 11275 11276
Wed Mar 21 16:31:29 CET 2007 Daniel Veillard <veillard@redhat.com>

	* qemud/buf.c src/xml.c: clarified virBufferGrow (and bufferGrow)
	  routines documentation and fixes a couple of places where this
	  was misused as pointed by Daniel Berrange.

11277 11278 11279 11280 11281 11282 11283
Wed Mar 21 10:52:06 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* acinclude.m4: Always use -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
	-fstack-protector --param=ssp-buffer-size=4
	-fasynchronous-unwind-tables if supported by the compiler. Check
	all warnings flags for compiler support

11284 11285 11286 11287 11288
Tue Mar 20 10:00:06 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c: Fixed buffer overflow in code building up
	command line args for qemu networking

11289 11290 11291 11292 11293
Tue Mar 20 16:40:06 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: add error messages for negative memory size as
	  pointed out by Masayuki Sunou

11294 11295
Tue Mar 20 16:30:29 CET 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
11296
	* src/xen_internal.c: applied patch from Atsushi SAKAI fixing
11297 11298
	  direct hypervisor calls on some recent Xen versions

11299 11300 11301 11302
Tue Mar 20 15:58:10 CET 2007 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: missing /etc/libvirt/qemu/networks/autostart

11303 11304 11305 11306 11307
Mon Mar 19 15:19:06 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: applied patch from Jim Meyering to add printf-style
	  function checking in virsh.c and fix one warning raised

11308 11309 11310 11311 11312
Mon Mar 19 15:15:51 CET 2007 Daniel Veillard <veillard@redhat.com>

	* qemud/protocol.h src/internal.h: applied patch from Jim Meyering
	  removing global variables (using named enum instead).

11313 11314 11315 11316 11317 11318
Mon Mar 19 11:13:58 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c: patch from Atsushi SAKAI, fixing virsh access
	  as root when libvirt_qemud is not running
	* TODO: updated

11319 11320 11321 11322 11323
Mon Mar 19 10:44:25 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Masayuki Sunou, checking that byte
	  values passed to virsh memory commands are positive.

11324 11325 11326 11327 11328
Fri Mar 16 20:30:20 CET 2007 Daniel Veillard <veillard@redhat.com>

	* NEWS libvirt.spec.in docs/libvir.html docs/news.html: preparing
	  release of libvirt-0.2.1

11329 11330 11331 11332 11333 11334
Fri Mar 16 19:32:01 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/*: updated the format section, augmented Networking with
	  description provided by Daniel Berrange
	* po/*: regenerated

11335 11336 11337 11338 11339 11340 11341
Fri Mar 16 16:01:54 CET 2007 Daniel Veillard <veillard@redhat.com>

	* qemud/conf.c qemud/driver.h qemud/internal.h src/internal.h
	  src/sexpr.h src/test.c src/xm_internal.c src/xml.c src/xml.h:
	  applied patch from Richard Jones adding check to printf-like
	  functions and fixing the problems raised

11342 11343 11344 11345 11346
Fri Mar 16 15:55:01 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c tests/sexpr2xmltest.c tests/xmconfigtest.c: avoid
	  warnings when compiling without Xen

11347 11348
Fri Mar 16 11:43:08 CET 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
11349
	* python/generator.py: patch from Tatsuro Enokura to fix
11350 11351
	  virNetworkDefine binding

11352 11353 11354 11355 11356 11357 11358 11359
Thu Mar 15 14:57:20 EST 2007 Daniel P Berrange <berrange@redhat.com>

	* src/xen_internal.c: Fixed off by one error in extracting
	the regex match data - the first match is the whole string.
	So the substrings start at position 1. Fixed indentation of
	<features> XML. Use memset to clear guest_archs and thus
	ensure no uninitialized data for valgrind to complain about.

11360 11361 11362 11363 11364 11365 11366 11367 11368
Thu Mar 15 14:14:20 EST 2007 Daniel P Berrange <berrange@redhat.com>

	* src/qemud_internal.c: Paranoia ensure the XML returned by
	the getCapabilities call is NULL terminated before strduping
	to protect from malicious / buggy server
	* qemud/dispatch.c: Packet length for getCapabilities call
	should be the size of the reply body, not the size of the
	XML string.

11369 11370 11371 11372
Thu Mar 15 14:14:20 EST 2007 Daniel P Berrange <berrange@redhat.com>

	* src/xen_internal.c: Fix missing NULL initializer

11373 11374 11375 11376 11377 11378 11379
Thu Mar 15 13:20:20 EST 2007 Daniel P Berrange <berrange@redhat.com>

	* libvirt.spec.in: Don't include default network XML in /etc
	filelist. Instead only install it froma %post script. This
	ensure that if an admin deletes the default network it doesn't
	get recreated upon RPM updates.

11380 11381 11382 11383
Thu Mar 15 18:20:03 CET 2007 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h[.in] include/libvirt/virterror.h
	  proxy/libvirt_proxy.c qemud/Makefile.am qemud/conf.c qemud/conf.h
J
Jim Meyering 已提交
11384
	  qemud/dispatch.c qemud/internal.h qemud/protocol.h
11385 11386 11387 11388 11389 11390 11391 11392 11393 11394
	  src/driver.h src/internal.h src/libvirt.c src/libvirt_sym.version
	  src/proxy_internal.c src/proxy_internal.h src/qemu_internal.c
	  src/test.c src/virsh.c src/virterror.c src/xen_internal.c
	  src/xen_internal.h src/xend_internal.c src/xm_internal.c
	  src/xml.h src/xs_internal.c: applied patch from Richard Jones
	  adding virConnectGetCapabilities(), plus various small little
	  fixes
	* docs/*: fixed the api extractor script and regenerated


11395 11396 11397 11398 11399 11400 11401
Thu Mar 15 16:21:46 CET 2007 Daniel Veillard <veillard@redhat.com>

	* python/generator.py: fix the python binding generation for
	  virNetworkLookup...() functions, which were clashing with
	  equivalent virConnLookup...() equivalents, as reported by
	  Tatsuro Enokura

11402 11403 11404 11405 11406 11407 11408 11409 11410
Thu Mar 15 15:26:20 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c src/xen_internal.c: applied patch from Atsushi SAKAI
	  to better handle the case where there is no limit in the domain
	  upper memory size
	* docs/architecture.html docs/format.html docs/intro.html
	  docs/libvir.html: started to update the documentation to reflect
	  the current state

11411 11412
Thu Mar 15 08:40:33 CET 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
11413 11414 11415 11416
	* configure.in proxy/Makefile.am proxy/libvirt_proxy.c
	  src/Makefile.am src/libvirt.c src/qemu_internal.c src/test.c
	  src/xen_internal.c src/xen_internal.h src/xend_internal.c
	  src/xm_internal.c src/xml.c src/xs_internal.c
11417 11418 11419 11420 11421 11422
	  tests/Makefile.am tests/sexpr2xmltest.c tests/xmconfigtest.c:
	  allow selective compilation of Xen,QEmu/KVM and test support
	  in or out at configure time. Also allows to compile on a system
	  without Xen development installed. All drivers are selected by
	  default.

11423 11424 11425 11426 11427 11428
Wed Mar 14 14:12:32 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: applied patch from Kazuki Mizushima, an
	  inversion between shutoff and shutdown flags
	* po/* doc/*: automatic update

11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464
Tue Mar 13 18:04:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Use the --dhcp-leasefile arg to dnsmasq to
	ensure multiple instances of dnsmasq can co-exist without
	splaterring each other's leases.

	* qemud/bridge.c: Use a single ifname arg instead of two separate
	ifnameOrFmt & ifname args to simply use by callers

	* qemud/conf.c: Autogenerate a MAC address if none is provided.
	Added support for ethernet, bridge, mcast, client and server
	networking config types in XML parser, generator and command
	line args. Use the 'vlan' attribute for all QEMU nics to ensure
	they don't all appear on same virtual LAN. Ensure order of
	QEMU NICs matches order they are declared in the XML. Tweak
	existing XML generation of 'network' type to match syntax
	used by Xen for specifying tap device name. Add support for
	creating isolated networks, or networks forwarding to an
	explicit named physical device.

	* qemud/default-network.xml: Add <forward/> to make default network
	automatically forward to any active physical device.

	* qemud/internal.h: Added struct fields for new types of network
	config, and for tracking network forward device.

	* qemud/iptables.h, qemud/iptables.c: Allow an optional target
	device name to be passed in to restrict IP tables forwarding
	rules.

	* qemud/Makefile.am: Create $sysconfdir/lib/libvirt for DHCP
	leases file

	* libvirt.spec.in: Include %{_sysconfdir}/lib/libvirt for DHCP
	leases file

11465 11466 11467 11468 11469 11470
Mon Mar 12 23:17:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Don't run UUID generation on first install,
	instead run it if there is no <uuid> in the default network.
	This ensures RPM upgrades get a UUID inserted

11471 11472 11473 11474 11475 11476 11477
Mon Mar 12 12:32:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Generate a random UUID for the default network
	for each RPM installation. Mark /etc directories as %dir as needed
	and make files mode 0700 to protect passwords for VNC server

Mon Mar 12 10:09:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11478 11479 11480 11481

	* qemud/Makefile.am: Generate a fixed, but random UUID in the default
	network config file when installing it

11482 11483 11484 11485 11486 11487 11488
Fri Mar  9 15:46:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt_sym.version, src/conf.h, src/conf.c: Export virConf*
	symbols for private use by libvirt daemon. Prefixed symbols with
	__ to indicate privateness, and not present in any installed header
	files. Patch from Rich Jones.

11489 11490 11491 11492 11493 11494
Fri Mar  9 10:41:11 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* python/generator.py, python/libvir.c, python/libvirt_wrap.h,
	python/libvirt-python-api.xml, python/types.c: Added new bindings
	for all the virNetwork related APIs

11495 11496 11497 11498
Fri Mar  9 14:43:11 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: bad pointer/int mismatch fixes from Richard Jones

11499 11500 11501 11502
Thu Mar  8 22:07:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c: Fix double free in XML parsing routine

11503 11504 11505 11506 11507
Thu Mar  8 18:31:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am: Make sure to create $PREFIX/var/run/libvirt
	so that the system daemon can create its socket

11508 11509 11510 11511 11512
Thu Mar  8 16:32:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* autobuild.sh: Make all compiler warnings fatal for automated
	build & test harness

11513 11514 11515 11516 11517 11518
Thu Mar  8 16:30:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Add some macro magic to allow Release field
	to incorporate an automated build number for testing - a no-op
	for normal RPM builds.

11519 11520 11521 11522 11523 11524
Thu Mar  8 10:14:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_internal.c: Fix inverted check on file handle to
	avoid opening connection twice. Avoid SEGV if uri->scheme is
	NULL. Don't run autostart for system instance.

11525 11526 11527 11528 11529 11530
Thu Mar  8 09:47:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: Refactored driver registration to avoid
	type-punning problems by casting different structs. Also
	fix network driver opening to open read-only when needed.

11531 11532 11533 11534 11535 11536 11537
Thu Mar  8 15:10:12 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/internal.h src/xend_internal.c src/xm_internal.c src/xml.c:
	  add a check for minimal size of Xen Dom0, track places where we
	  had arbitrary minimal memory requirement and use a predefined
	  macro to clean this up.

11538
Thu Mar  8 08:45:46 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11539 11540 11541 11542 11543

	* src/virsh.c: Added an explicit --readonly option to virsh
	to override the simple Xen-specific heuristic when running
	as non-root. Patch from Rich Jones

11544 11545 11546 11547 11548
Thu Mar  8 09:54:46 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: applied patch from Nobuhiro Itou to allow the
	  VNC port 5900 to be used with xend, it's an edge case.

11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560
Thu Mar  8 09:22:29 CET 2007 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
	  src/driver.h src/libvirt.c src/libvirt_sym.version
	  src/proxy_internal.c src/qemu_internal.c src/test.c src/virsh.c
	  src/xen_internal.c src/xen_internal.h src/xend_internal.c
	  src/xm_internal.c src/xs_internal.c: applied patch from
	  Masayuki Sunou to add and entry point to check the maximum
	  number of virtual CPU supported by a virtualization mechanism
	* doc/*.html doc/libvirt-*.xml: regenerated the interfaces descriptions
	  and associated docs.

11561 11562 11563 11564
Wed Mar 07 11:53:22 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/default-network.xml: add a default network

J
Jim Meyering 已提交
11565
	* qemud/Makefile.am: install it, and the autostart symlink
11566 11567 11568

	* libvirt.spec.in: update

11569 11570 11571 11572 11573
Tue Mar 06 17:02:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/hash.c: virGetDomain and virGetNetwork require that both
	name and UUID are non-NULL. (Patch from Rich Jones)

11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584
Tue Mar 06 16:52:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* include/libvirt/libvirt.h.in, python/libvir.c, src/driver.h
	src/libvirt.c, src/qemu_internal.c, src/test.c, src/virsh.c,
	src/xend_internal.c, src/xm_intenral.c: Change const char **
	to char **const to fix compiler warnings
	* python/Makefile.am: Don't warn about redundant decls
	* python/libvirt_wrap.h: Ensure PyGILState is always initialized
	* tests/reconnect.c: Added ATTRIBUTE_UNUSED annotation
	  All patches from Richard Jones

11585 11586 11587 11588 11589 11590 11591 11592
Tue Mar 06 14:21:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c, src/xml.c, src/xm_internal.c: Support
	the 'keymap' attribute for VNC configuration. Based on patch
	signed off by: Takahashi Tomohiro
	* tests/sexpr2xmldata/, tests/xml2sexprdata/: Update to test
	handling of keymap attribute

11593 11594 11595 11596 11597
Tue Mar 06 11:47:12 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemud.c: Unlink read-only socket upon startup (patch
	from Rich Jones)

11598 11599 11600 11601 11602
Mon Mar 05 12:19:42 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_internal.c: Remove bogus ATTRIBUTE_UNUSED annotation
	from qemuOpenConnection (from Rich Jones)

D
Daniel P. Berrange 已提交
11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613
Mon Mar 05 12:07:42 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Parse QEMU stderr immediately at startup to
	identify monitor, and then wait for monitor prompt. Re-arrange
	order of file descriptor watches/processing to avoid re-entrancy
	problems.
	* qemud/driver.c: Make handling of monitor commands slightly
	more robust. Added support for 'paused' CPU state in status
	* qemud/internal.h, qemud/conf.c: Added support for 'paused'
	CPU state

11614 11615 11616 11617
Mon Mar 05 16:39:54 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/qemud.c: don't try and listen to a null socket
	path when run as a session daemon. Noticed by Rich Jones
J
Jim Meyering 已提交
11618

11619
Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
11620 11621

	* qemud/driver.c: fix a couple of invalid free() calls
J
Jim Meyering 已提交
11622

11623
Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
11624 11625 11626 11627 11628 11629 11630

	* libvirt.spec.in: BuildRequires: /sbin/iptables and
	run configure with the --with-init-script and
	--with-qemud-pid-file parameters.

	* configure.in: it's --with-qemud-pid-file, not
	--with-pid-file
J
Jim Meyering 已提交
11631

11632
Mon Mar 05 10:52:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
11633 11634 11635 11636

	* libvirt.spec.in: sync some of the chanes from dist-cvs
	so that this looks pretty much as it should do for the
	next release.
J
Jim Meyering 已提交
11637

11638 11639 11640 11641 11642 11643 11644
Fri Mar 02 15:16:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Change lookup by UUID to request a path
	of /xen/domain/[uuid] directly for new XenD, rather than iterating
	over domains sequentially. Derived from patch by
	Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>

11645 11646 11647 11648 11649 11650
Fri Mar 02 09:21:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Fix output of VNC display in the case where
	there is no explicit listen attribute in the XML

Thu Mar 01 18:22:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>
11651 11652 11653 11654 11655

	* src/xend_internal.c: Instead of looking for string 'Cannot'
	in POST response, look for 'xend.err' which is likely to catch
	many more error replies from XenD. Signed-off-by: Kazuki Mizushima

11656
Thu Mar 01 16:17:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
11657 11658 11659

	* acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
	GNOME but with a few more flags we'd been using.
J
Jim Meyering 已提交
11660

11661 11662
	* configure.in: use that instead of setting CFLAGS
	directly.
J
Jim Meyering 已提交
11663

11664 11665
	* proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
	  src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
J
Jim Meyering 已提交
11666

11667
Thu Mar 01 16:00:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
J
Jim Meyering 已提交
11668

11669 11670 11671 11672
	Fix from Richard W.M. Jones <rjones@redhat.com>

	* proxy/libvirt_proxy.c: include locale.h

11673 11674 11675 11676 11677
Tue Feb 27 10:49:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Check POST reply for 'Cannot' to detect
	failure of core dump on Domain-0. Signed-off-by: Kazuki Mizushima

11678 11679 11680 11681 11682
Tue Feb 27 10:35:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Fix SEGV when doing tab-completion of commands
	which have no arguments (eg, nodeinfo<TAB>).

11683 11684 11685 11686 11687
Tue Feb 27 10:25:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Fix command line argument parsing to make
	the '-t' argument work. Signed-off-by: Saori Fukuta

11688 11689 11690 11691 11692 11693 11694
Tue Feb 27 10:20:43 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Only hardcode port = 5900+domid if
	running against old XenD < 3.0.3, because in newer XenD
	port is guarenteed to be available in XenStore if the VNC
	server is running.

11695 11696 11697 11698
Mon Feb 26 15:33:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c, qemud/uuid.[ch]: move qemudParseUUID()
	into uuid.c
J
Jim Meyering 已提交
11699

11700 11701 11702 11703 11704 11705 11706
Mon Feb 26 15:31:23 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/uuid.[ch]: add uuid generation code

	* qemud/Makefile.am: build it

	* qemud/conf.c: generate a UUID if not specified in the XML
J
Jim Meyering 已提交
11707

11708 11709 11710 11711
Mon Feb 26 15:20:56 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: qemudAutostartConfigs(): print the detailed
	error message from a guest/network autostart failure.
J
Jim Meyering 已提交
11712

11713 11714 11715 11716 11717 11718 11719
Mon Feb 26 14:20:18 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: check for malloc failure in GenerateXML()
	and GenerateNetworkXML()

	* qemud/driver.c: free the XML output after returning it
	from the DumpXML() commands.
J
Jim Meyering 已提交
11720

11721 11722 11723 11724 11725 11726 11727
Fri Feb 23 12:14:34 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/driver.c, qemud/internal.h, qemud/qemud.c, qemud/conf.c,
	qemud/conf.h: Added code to detect QEMU version number. Adapt
	command line construction code to use correct options for VNC
	and KQEMU based on version number

11728 11729 11730 11731 11732 11733 11734
Fri Feb 23 10:52:23 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/Makefile.am: Fix up name of init script in EXTRA_DIST
	target.
	* libvirt.spec.in: Update path to libvirt_qemud and add the
	init script & post/pre scripts to register with chkconfig

11735 11736 11737 11738 11739
Fri Feb 23 14:32:54 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: don't load config files unless they have
	a ".xml" suffix, e.g. backup files ... we spew a warning
	later if we do.
J
Jim Meyering 已提交
11740

11741 11742 11743 11744 11745 11746 11747 11748 11749
Fri Feb 23 12:49:11 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/libvirtd.in: add init script for libvirt_qemud

	* qemud/Makefile.am: install it unless we were configured
	with --with-init-scripts=none

	* configure.in: add --with-init-scripts to allow us
	have different flavour init scripts
J
Jim Meyering 已提交
11750

11751 11752 11753 11754 11755 11756 11757
Fri Feb 23 12:46:44 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/qemud.c: add --pid-file and default to writing
	out a PID file to /var/run/libvirt_qemud.pid in daemon
	mode.

	* configure.in: add --with-pid-file arg
J
Jim Meyering 已提交
11758

11759 11760 11761 11762
Fri Feb 23 12:45:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/Makefile.am: install libvirt_qemud in /usr/sbin
	instead of /usr/libexec
J
Jim Meyering 已提交
11763

11764 11765
	* src/Makefile.am, src/qemu_internal.c: pass the correct
	path to libvirt
J
Jim Meyering 已提交
11766

11767 11768 11769 11770 11771
Fri Feb 23 10:26:24 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* src/virsh.c: in "start" and "net-start" use e.g.
	vshCommandOptDomainBy() so that we actually get an
	error message if the domain/network isn't found.
J
Jim Meyering 已提交
11772

11773 11774 11775 11776
Fri Feb 23 09:11:53 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: actually autostart guests/networks at startup
	as appropriate.
J
Jim Meyering 已提交
11777

11778
Fri Feb 23 09:08:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
11779 11780 11781 11782 11783 11784 11785 11786

	* qemud/internal.h: put the config directory paths in
	an array in order to make them easier to initialize,
	but still expose pointers to each of them as members
	in the server struct.

	* qemud/qemud.c: cleanup the config directory path
	initialization.
J
Jim Meyering 已提交
11787

11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804
Fri Feb 23 09:03:19 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/driver.c: maintain the autostart flag on disk
	using symlinks from the "autostart" directories to
	the corresponding config files.

	* qemud/internal.h: add paths to the autostart links
	to the vm/network structures and paths to the autostart
	dirs to the server struct.

	* qemud/qemud.c: initialize the server autostart dir
	patches.

	* qemud/conf.h: expose qemudEnsureDir()

	* qemud/conf.c: check the autostart symlinks when
	loading config files at startup.
J
Jim Meyering 已提交
11805

11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816
Fri Feb 23 09:00:13 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/protocol.h: add the (domain/network)(Get/Set)Autostart
	requests and replies to the protocol.

	* src/qemu_internal.c: hookup the qemu driver autostart
	methods

	* qemud/dispatch.c, qemud/driver.[ch], internal.h: add
	the daemon side, but just set an in-memory autostart
	flag for now.
J
Jim Meyering 已提交
11817

11818 11819 11820 11821
Fri Feb 23 08:51:05 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* src/virsh.c: add "autostart" and "net-autostart" commands
	and cleanup the "list" and "net-list" commands a bit.
J
Jim Meyering 已提交
11822

11823 11824 11825 11826 11827 11828 11829
Fri Feb 23 08:49:12 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* include/libvirt/libvirt.h.in, src/libvirt.c add
	virDomainGetAutostart(), virDomainSetAutostart(),
	virNetworkGetAutostart() and virNetworkSetAutostart().

	* src/libvirt_sym.version: export the API
J
Jim Meyering 已提交
11830

11831
	* src/driver.h: add methods to the driver vtables.
J
Jim Meyering 已提交
11832

11833 11834 11835 11836
	* src/proxy_internal.c,	src/qemu_internal.c,
	  src/test.c, src/xen_internal.c, src/xend_internal.c,
	  src/xm_internal.c, src/xs_internal.c: set those
	methods to NULL
J
Jim Meyering 已提交
11837

11838
Fri Feb 23 08:41:34 IST 2007 MarkMcLoughlin <markmc@redhat.com>
11839 11840 11841 11842 11843 11844 11845

	* qemud/conf.[ch]: significantly re-factor qemudLoadConfigXML()
	so that "parse the XML", "assign the def to a VM" and
	"save the XML" operations are in separate functions.
	Add qemudRemoveInactiveVM() and qemudRemoveInactiveNetwork().
	Report errors when loading config files at startup. Check
	that a domain/network's name matches the config filename.
J
Jim Meyering 已提交
11846

11847 11848 11849 11850
	* qemud/driver.c: update the Create() and Define() functions
	to explicitly parse/assign/save. Also, fix bug where if
	Create() failed, we would free the VM without removing it
	from the inactive list.
J
Jim Meyering 已提交
11851

11852
	* qemud/qemud.c: use qemudRemoveInactiveVM/Network()
J
Jim Meyering 已提交
11853

11854 11855 11856 11857 11858 11859
Fri Feb 23 08:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/driver.[ch], qemud/dispatch.c: fix the fact that
	qemudDispatchDomainStart() doesn't report an error if the uuid
	lookup fails and also move the uuid lookup into the driver
	so that it matches the way we do Destroy().
J
Jim Meyering 已提交
11860

11861
Fri Feb 23 08:37:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
11862 11863 11864 11865 11866 11867 11868

	* qemud/conf.c,	qemud/driver.c, qemud/internal.h,
	qemud/qemud.c: Merge the ->activevms and ->inactivevms
	into a single ->vms list in order to make things
	easier to manage. Likewise for networks. Also add
	qemudIsActiveVM() and qemudIsActiveNetwork() inline
	functions.
J
Jim Meyering 已提交
11869

11870 11871 11872 11873 11874 11875 11876
Thu Feb 22 14:06:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c, src/xend_internal.c: Re-arrange VM creation
	commands to ensure we destroy stillborn domains if device hotplug
	fails to complete. Fix deletion of inactive VMs from internal
	cache of domain configs.

11877 11878 11879 11880 11881 11882
Thu Feb 22 11:45:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xs_internal.c: Refuse to do shutdown / reboot on
	Dom0 guest. Signed-off-by: Kazuki Mizushima
	<mizushima.kazuk@jp.fujitsu.com>

11883 11884 11885
Thu Feb 22 10:37:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix another xml property leak.
J
Jim Meyering 已提交
11886

11887 11888 11889 11890
Tue Feb 20 19:08:58 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: use strerror(errno) in some error messages
	to make them a bit more useful
J
Jim Meyering 已提交
11891

11892
Tue Feb 20 19:07:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
11893 11894 11895

	* qemud/conf.c: don't free active networks/vms if we
	fail to save the new config
J
Jim Meyering 已提交
11896

11897
Tue Feb 20 18:25:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
11898 11899

	* virsh.c: cmdNetworkList() re-indent this.
J
Jim Meyering 已提交
11900

11901
Tue Feb 20 17:49:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
11902 11903 11904 11905 11906 11907 11908 11909 11910

	Fix a few leaks

	* qemud/qemud.c: qemudCleanup(): free the socket
	structures

	* qemud/conf.c: fix various leaks in the xml parsing

	* qemud/iptables.c: fix a typo causing a leak
J
Jim Meyering 已提交
11911

11912
Tue Feb 20 16:49:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
11913 11914 11915 11916

	* qemud/conf.c, qemud/qemud.c: only create config dirs
	when actually trying to write out config.

11917
Tue Feb 20 09:56:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
11918 11919 11920

	* qemud/bridge.c: change the fix for the alignment warning
	a little.
J
Jim Meyering 已提交
11921

11922
Tue Feb 20 09:03:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
11923 11924 11925 11926

	* qemud/qemud.c: clean up qemudInitialize() and qemudListen()
	so as to coalesce the two "system vs. user" code paths and
	fix up some problems noticed by dan.
J
Jim Meyering 已提交
11927

11928
Mon Feb 19 16:59:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
11929 11930 11931

	* qemud/qemud.c: don't shutdown guest and networks on
	SIGHUP
J
Jim Meyering 已提交
11932

11933
Mon Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
11934 11935

	* qemud/qemud.c: handle SIGQUIT.
J
Jim Meyering 已提交
11936

11937 11938 11939
Mon Feb 19 09:38:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/bridge.c, qemud/conf.c: Fixed int -> char casts to deal
J
Jim Meyering 已提交
11940
	with endianness / alignment issues on IA64 platforms. Patch
11941 11942
	from Atsushi SAKAI <sakaia@jp.fujitsu.com>

11943 11944 11945
Fri Feb 16 18:28:32 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/qemud.c, qemud/dispatch.c, qemud/internal.h
J
Jim Meyering 已提交
11946
	qemud/conf.c, qemud/driver.c, configure.in: add a
11947 11948 11949 11950 11951
	qemudLog() function which uses syslog() if we're in daemon
	mode, doesn't output INFO/DEBUG messages unless	the
	verbose flag is set and doesn't output DEBUG messages
	unless compiled with --enable-debug. Also, make a first
	pass through fatal errors and add error messages for them.
J
Jim Meyering 已提交
11952

11953 11954 11955 11956 11957 11958
Fri Feb 16 18:26:55 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/internal.h, qemud/qemud.c: improve signal handling
	and handle SIGHUP by shutting down all guests and networks
	and re-loading configs, and handle SIGINT and SIGTERM
	by shutting down cleanly.
J
Jim Meyering 已提交
11959

11960 11961 11962 11963 11964 11965
Fri Feb 16 18:24:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/qemud.c, qemud/bridge.c, qemud/iptables.c: fix
	our FD_CLOEXEC usage so that all fds which should be
	closed on exec are marked as such and that we leave
	exec() to do the actual closing.
J
Jim Meyering 已提交
11966

11967 11968 11969 11970
Fri Feb 16 18:23:15 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/qemud.c: fix qemudEnableIpForwarding() to not leak
	an fd if writing to /proc/sys/net/ipv4/ip_forward fails.
J
Jim Meyering 已提交
11971

D
Daniel P. Berrange 已提交
11972 11973 11974 11975
Fri Feb 16 11:56:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* tests/Makefile.am: Fixed linkage of test suites

D
Daniel P. Berrange 已提交
11976 11977 11978 11979 11980 11981 11982
Fri Feb 16 11:03:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/driver.h, src/proxy_internal.c, src/qemu_internal.c,
	src/test.c, src/xen_internal.c, src/xend_internal.c,
	src/xm_internal.c, src/xs_internal.c: Remove the unused
	'init' method from the internal driver API (from Rich Jones)

11983 11984 11985 11986 11987
Fri Feb 16 10:36:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/internal.h, qemud/qemud.c, libvirt.spec.in: Remove
	mistaken references to gnutls.

11988 11989 11990
Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix <interface type='network'> output
J
Jim Meyering 已提交
11991

11992 11993 11994 11995
Thu Feb 15 19:06:56 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix the <graphics> output - we weren't
	handling sdl
J
Jim Meyering 已提交
11996

11997 11998 11999
Thu Feb 15 19:06:22 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix a couple of typos
J
Jim Meyering 已提交
12000

12001 12002 12003
Thu Feb 15 19:05:48 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix segfault
J
Jim Meyering 已提交
12004

12005 12006 12007
Thu Feb 15 19:04:10 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.h: move qemudFreeVMDef() down a bit
J
Jim Meyering 已提交
12008

12009 12010 12011 12012
Thu Feb 15 16:00:05 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/bridge.c: don't output bridge parameters if they
	are the default.
J
Jim Meyering 已提交
12013

12014 12015 12016 12017 12018
Thu Feb 15 15:56:32 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.[ch], qemud/dispatch.c, qemud/internal.h,
	  qemud/qemud.c, qemud/driver.c: allow re-defining network
	configs; basically copying dan's patch for domains.
J
Jim Meyering 已提交
12019

12020 12021 12022 12023 12024
Thu Feb 15 15:47:46 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix a couple of qemud_vm_def leaks

	* driver.c: simplify qemudDomainDefine()
J
Jim Meyering 已提交
12025

12026 12027 12028 12029 12030
Wed Feb 14 17:01:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Ensure we create the main libvirt config
	directory at startup

12031 12032 12033 12034 12035
Wed Feb 14 16:47:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c: Fixed generation of <features> block, and
	don't include ID, or VNC port in inactive XML generation

12036 12037 12038 12039 12040
Wed Feb 14 16:45:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_internal.c: Fixed path to the libvirt_qemud
	daemon for auto-start

12041 12042 12043 12044 12045
Wed Feb 14 19:53:33 CET 2007 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: spec cleanup and missing BuildRequires
	* qemud/Makefile.am: avoid -Werror

12046 12047 12048 12049 12050 12051
Wed Feb 14 19:06:26 CET 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in NEWS include/libvirt/libvirt.h docs/* docs/apibuild.py:
	  prepare release of 0.2.0, update doc, avoid console module for API.
	* po/*: regenerated

12052
Wed Feb 14 12:35:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12053 12054 12055 12056

	* libvirt.spec.in: Added dep on libsysfs-devel. Pre-create
	the qemu config dir & socket dir.

12057
Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
12058 12059 12060 12061 12062

	* src/qemu_internal.c, qemud/qemud.c: Move configs into
	/etc/libvirt/qemu or $HOME/.libvirt/qemu and the socket into
	$HOME/.libvirt/qemud-sock or /var/run/libvirt/qemud-sock

12063
Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12064 12065 12066 12067

	* python/generator.py: blacklist  vshRunConsole method from
	the python bindings

12068
Wed Feb 14 12:17:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
12069 12070 12071 12072

	* po/libvirt.pot, po/*.po: Updated the i18n strings wrt to
	the recent code changes

12073
Wed Feb 14 11:58:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
12074 12075 12076 12077 12078

	* src/qemud.c, src/conf.c, src/internal.c, src/driver.c: Change
	the handling of the internal VM config to allow replacing of the
	config for a VM which is running.

12079
Wed Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
12080 12081 12082 12083 12084

	Fix from Richard W.M. Jones <rjones@redhat.com>

	* virsh.c: add a colon after the connect arg to
	getopt_long()
J
Jim Meyering 已提交
12085

12086
Wed Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
12087 12088 12089

	* src/qemu_internal.c: correctly register the network
	driver
J
Jim Meyering 已提交
12090

12091
Wed Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
12092 12093

	* autogen.sh: run autoheader before automake
J
Jim Meyering 已提交
12094

12095
Wed Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
12096 12097 12098 12099 12100

	* qemud/iptables.[ch]: add code for managing iptables
	rules.

	* qemud/Makefile.am: add iptables.[ch].
J
Jim Meyering 已提交
12101

12102 12103
	* qemud/qemud.c: add and remove iptables rules as
	appropriate.
J
Jim Meyering 已提交
12104

12105 12106 12107
	* qemud/conf.c: when starting a guess, add a rule
	allowing it to forward packets across the networks
	bridge.
J
Jim Meyering 已提交
12108

12109
	* qemud/internal.h: add iptables context ptr
J
Jim Meyering 已提交
12110

12111 12112 12113 12114 12115 12116
	* configure.in: add --with-iptables-dir and
	--with-iptables-prefix to allow us to put our rules
	in a chain with the given prefix and save the rules
	in files in the given dir so as to integrate with
	the proposed "service iptables restart" solution
	in:
J
Jim Meyering 已提交
12117

12118
	   https://bugzilla.redhat.com/227011
J
Jim Meyering 已提交
12119

12120
Wed Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
12121 12122 12123

	* src/xml.c: with <interface type="network"> connect the
	Xen guest to the appropriate bridge.
J
Jim Meyering 已提交
12124

12125
Wed Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
12126 12127 12128 12129

	* include/libvirt/libvirt.h.in, src/libvirt.c: add
	virNetworkGetBridgeName() to allow finding out what
	bridge to connect to in order to join a network.
J
Jim Meyering 已提交
12130

12131
	* src/driver.h: add networkGetBridgeName() to vtable.
J
Jim Meyering 已提交
12132

12133 12134
	* qemud/protocol.h: add the request and reply to
	the qemud protocol.
J
Jim Meyering 已提交
12135

12136 12137
	* qemud/dispatch.c, qemud/driver.[ch]: handle them
	here.
J
Jim Meyering 已提交
12138

12139 12140
	* src/qemu_internal.c: implement GetBridgeName()
	in the qemu driver.
J
Jim Meyering 已提交
12141

12142
	* src/libvirt_sym.version: add new symbol.
J
Jim Meyering 已提交
12143

12144
Wed Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
12145 12146 12147

	* src/xend_internal.c, src/xm_internal.c: pass the
	connection to virDomainParseXMLDesc()
J
Jim Meyering 已提交
12148

12149 12150 12151
	* src/xml.[ch]: make virDomainParseXMLDesc accept
	a virConnectPtr so that we can use it later to
	lookup the bridge associated with a network
J
Jim Meyering 已提交
12152

12153 12154
	* tests/xml2sexprtest.c: just pass NULL here, it's
	safe
J
Jim Meyering 已提交
12155

12156
Wed Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
12157 12158 12159 12160

	* qemud/conf.c: add support for connecting a qemu
	guest to a bridge using a tap device in order to
	connect it to a virtual network.
J
Jim Meyering 已提交
12161

12162 12163 12164
	* qemud/internal.h: add <interface type="network">
	config and track tapfds so as to not close them
	on exec.
J
Jim Meyering 已提交
12165

12166 12167
	* qemud/qemud.c: don't close tapfds on exec and
	disconnect the iface when the guest shuts down.
J
Jim Meyering 已提交
12168

12169
Wed Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
12170 12171

	* qemud/conf.c, qemud/internal.h: add dhcp config
J
Jim Meyering 已提交
12172

12173 12174
	* qemud/qemud.c: start dnsmasq to provide dns/dhcp
	for virtual networks.
J
Jim Meyering 已提交
12175

12176
Wed Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
12177 12178 12179 12180 12181

	* configure.in: add --disable-bridge-params, check
	for libsysfs and various kernel headers

	* bridge.[ch]: add code for managing bridges
J
Jim Meyering 已提交
12182

12183 12184
	* qemud/Makefile.am: add bridge.[ch] and link against
	libsysfs if enabled.
J
Jim Meyering 已提交
12185

12186
	* qemud/conf.c: add support for bridge config.
J
Jim Meyering 已提交
12187

12188 12189 12190 12191
	* qemud/internal.h: add various bridging bits

	* qemud/qemud.c: implement qemudStartNetworkDaemon()
	and qemudShutdownNetworkDaemon().
J
Jim Meyering 已提交
12192

12193
Wed Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
12194 12195 12196 12197 12198

	* qemud/conf.[ch]: implement parsing and saving network
	configs.

	* qemud/driver.c: flesh out the stubs
J
Jim Meyering 已提交
12199

12200 12201
	* qemud/internal.h: add networks list etc. to
	struct qemud_server
J
Jim Meyering 已提交
12202

12203 12204
	* qemud/qemud.c: add qemudStartNetworkDaemon() and
	qemudShutdownNetworkDaemon() stubs.
J
Jim Meyering 已提交
12205

12206
Wed Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
12207 12208 12209 12210 12211 12212 12213 12214 12215 12216

	* qemud/protocol.h: add the protocol for virtual networks

	* qemud/dispatch.c: implement the protocol

	* qemud/driver.[ch]: add stubs for the driver

	* qemud/internal.h: add struct qemud_network

	* src/qemu_internal.c: add a virtual networks driver
J
Jim Meyering 已提交
12217

12218
Wed Feb 14 15:43:28 IST 2007 Mark McLoughlin <markmc@redhat.com>
12219 12220

	* src/virsh.c: add the net-* commands.
J
Jim Meyering 已提交
12221

12222
Wed Feb 14 15:37:17 IST 2007 Mark McLoughlin <markmc@redhat.com>
12223 12224 12225 12226 12227 12228 12229

	Note: potential ABI break here, but people should
	only really be using virError structs returned from
	libvirt itself.

	* include/libvirt/virterror.h: add virNetwork
	to virError
J
Jim Meyering 已提交
12230

12231 12232
	* src/internal.h, src/virterror.c: add network param
	to __virRaiseError()
J
Jim Meyering 已提交
12233

12234 12235 12236 12237
	* src/conf.c, src/hash.c, src/libvirt.c, src/proxy_internal.c,
	src/qemu_internal.c, src/sexpr.c, src/test.c, src/xen_internal.c,
	src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c,
	src/xs_internal.c: update.
J
Jim Meyering 已提交
12238

12239
Wed Feb 14 15:33:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
12240 12241

	* include/libvirt/libvirt.h.in: add the networks APIs
J
Jim Meyering 已提交
12242

12243
	* include/libvirt/virterror.h: add some error codes
J
Jim Meyering 已提交
12244

12245
	* src/driver.h: add network driver vtable
J
Jim Meyering 已提交
12246

12247
	* src/hash.c: add networks hash
J
Jim Meyering 已提交
12248

12249 12250 12251 12252
	* src/internal.h: add virNetwork

	* src/libvirt.c: hook up the APIs to the network
	driver
J
Jim Meyering 已提交
12253

12254
	* src/libvirt_sym.version: add the new APIs
J
Jim Meyering 已提交
12255

12256
	* src/virterror.c: handle the new error codes
J
Jim Meyering 已提交
12257

12258
Wed Feb 14 15:07:26 IST 2007 Mark McLoughlin <markmc@redhat.com>
12259 12260 12261

	* src/conf.h: fix merge error - remove the argc argument
	from qemudBuildCommandLine()
J
Jim Meyering 已提交
12262

12263
Wed Feb 14 15:03:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
12264 12265 12266

	* src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff
	to VSH_BYFOO in order to re-use it for the network stuff.
J
Jim Meyering 已提交
12267

12268
Wed Feb 14 14:58:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
12269 12270 12271 12272

	* src/hash.c, src/internal.h: Re-name virConnect->domains_mux
	to virConnect->hashes_mux since it will also be used to
	protect the networks hash.
J
Jim Meyering 已提交
12273

12274
Wed Feb 14 14:57:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
12275

12276
	* qemud/conf.c: qemudSaveConfig() will always report a
12277 12278
	more specific error, so	we should avoid overwriting
	this error.
J
Jim Meyering 已提交
12279

12280
Wed Feb 14 14:54:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
12281 12282 12283 12284 12285 12286

	* qemud/qemud.c: Re-factor out qemudExec() so that it can
	be used to launch dnsmasq.

	* qemud/conf.c: don't return argc from qemudBuildCommandLine()
	as exec() doesn't need it.
J
Jim Meyering 已提交
12287

12288
Wed Feb 14 14:52:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
12289 12290 12291 12292 12293 12294 12295 12296

	* qemud/conf.c: Re-factor bits of conf.c so that:

	  - qemudMakeConfigPath() can be re-used given another configDir
	  - split qemudEnsureConfigDir() out of qemudSaveConfig() so
	    that it may be re-used to create another configDir
	  - split qemudScanConfigDir() out so that qemudScanConfigs()
	    can scan multiple configDirs
J
Jim Meyering 已提交
12297

12298
Wed Feb 14 14:50:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
12299

J
Jim Meyering 已提交
12300
	* qemud/conf.c: handle an unspecified MAC address,
12301 12302
	fix the argv freeing code in qemudBuildCommandLine()
	and fix copy and paste error in qemudGenerateXML()
J
Jim Meyering 已提交
12303

12304
Wed Feb 14 14:42:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
12305 12306 12307 12308 12309

	* src/internal.h: add virConnect->qemud_fd so that
	xen and qemu don't share the handle member.

	* src/hash.c, src/qemu_internal.c: update
J
Jim Meyering 已提交
12310

12311
Wed Feb 14 14:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
12312 12313 12314

	* qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
	  qemud/qemud.c: include autoconf's config.h
J
Jim Meyering 已提交
12315

12316
Wed Feb 14 14:39:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
12317 12318 12319 12320 12321 12322 12323

	* conf.[ch]: rename from config.[ch] so we can use
	autoconf's config.h

	* Makefile.am: update

	* driver.c, qemud.c: upd.
J
Jim Meyering 已提交
12324

12325
Wed Feb 14 14:33:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
12326 12327 12328 12329

	* autogen.sh: run autoheader

	* config.h.in: remove
J
Jim Meyering 已提交
12330

12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343
Tue Feb 13 19:46:35 EST 2007 Daniel Berrange <berrange@redhat.com>

	* autobuild.sh: Run coverage tests during automated build
	* autogen.sh: Point aclocal at m4 directory explicitly
	* configure.in: Added command line arg to enable coverage
	* Makefile.am: Added scripts directory
	* src/Makefile.am: Build with coverage testing if requested
	and add target for extracting coverage data
	* scripts/*: Helper tools for coverage testing
	* tests/Makefile.am: Make tests link to object files instad
	of the static library to ensure single output dest for
	coverage data when running tests

D
Daniel P. Berrange 已提交
12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360
Tue Feb 13 19:29:35 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/qemu_internal.h, src/qemu_internal.c, src/Makefile.am,
	src/driver.h, src/libvirt.c: Added a new driver to talk to
	the QEMU daemon

	* src/virterror.c, include/libvirt/virterror.c: Added new
	error domain for QEMU.

	* qemud/*: Added a daemon service for managing QEMU machines
	via the libvirt qemu_internal driver

	* src/virsh.c: use a read-write connection by default for QEMU
	urls.

	* configure.in, Makefile.am: Added qemud subdirectory.

12361 12362 12363 12364 12365
Thu Feb  8 12:59:14 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/xml.c, src/xend_internal.c, src/xend_internal.h: Remove
	obsolete / unused code.

12366 12367 12368 12369 12370
Wed Feb  7 11:30:14 EST 2007 Daniel Berrange <berrange@redhat.com>

	* autobuild.sh, src/Makefile.am: Added a control file for
	automating build and test processes

12371 12372 12373 12374 12375 12376
Wed Feb  7 07:43:21 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/xml.c, tests/xml2sexprdata/*.sexpr: Also include the
	vcpu info in the (image (hvm))  part of the SEXPR for fully
	virt guests, so it gets passed on into QEMU.

12377 12378 12379 12380 12381 12382
Wed Feb  7 07:40:21 EST 2007 Daniel Berrange <berrange@redhat.com>

	* configure.in, tests/Makefile.am: Only enable the low level
	Xen tests if XenD is actually running & accessible via the
	UNIX socket

12383 12384 12385 12386 12387 12388
Sun Jan 28 14:44:23 EST 2007 Daniel Berrange <berrange@redhat.com>

	* sc/console.c, src/console.h, src/virsh.c: Rename the
	virRunConsole method to vshRunConsole to avoid it getting
	picked up in auto-generated python bindings

D
Daniel P. Berrange 已提交
12389 12390 12391 12392 12393
Fri Jan 26 07:59:52 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/virshtest.c: Fixed up for new way test driver enumerates
	domains

12394 12395 12396 12397 12398 12399 12400
Fri Jan 26 06:53:52 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/virshc: Added 'console' and 'vncdisplay' commands to
	the virsh tool
	* src/console.c, src/console.h: Impl of a simple interactive
	serial console

12401 12402 12403 12404 12405
Fri Jan 26 12:48:13 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: Richard W.M. Jones pointed out a missing option
	  in getopt_long()

12406 12407 12408 12409 12410
Fri Jan 26 12:09:49 CET 2007 Daniel Veillard <veillard@redhat.com>

	* autogen.sh: applied patch from Richard W.M. Jones to not
	  output instructions if configure failed

12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421
Mon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and
	VIR_UUID_STRING_BUFLEN

	* libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c,
	libvirt/src/internal.h,	libvirt/src/libvirt.c,
	libvirt/src/proxy_internal.c, libvirt/src/test.c,
	libvirt/src/virsh.c, libvirt/src/xend_internal.c,
	libvirt/src/xm_internal.c, libvirt/src/xml.c,
	libvirt/python/libvir.c: use them
12422

12423 12424 12425 12426 12427 12428
Mon Jan 23 12:28:42 IST 2007 Mark McLoughlin <markmc@redhat.com>

	Issues pointed out by Karel Zak <kzak@redhat.com>

	* src/virsh.c: fix up some syntax strings, use BUFSIZ
	and free names returned from virConnectListDefinedDomains()
J
Jim Meyering 已提交
12429

12430 12431 12432 12433 12434
Mon Jan 22 15:41:52 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/virsh.c: Fix crash in 'connect' command by ensuring
	we always strdup the connection URI string.

12435 12436 12437 12438 12439
Mon Jan 22 16:23:52 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* src/internal.h: virDomain.handle refers to the "id"
	in the API, so re-name to virDomain.id to avoid
	confusion.
12440

12441 12442 12443 12444
	* src/hash.c, src/libvirt.c, src/proxy_internal.c, src/test.c,
	src/xen_internal.c, src/xend_internal.c, src/xm_internal.c,
	src/xml.c, src/xs_internal.c: update for rename.

12445 12446 12447 12448 12449 12450 12451 12452 12453
Mon Jan 22 16:17:25 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* src/driver.h: remove Free(), GetName(), GetID() and
	GetUUID() driver methods.

	* src/proxy_internal.c,	src/test.c, src/xen_internal.c,
	src/xend_internal.c, src/xm_internal.c,	src/xs_internal.c:
	Update driver vtables.

12454 12455 12456 12457 12458 12459 12460
Mon Jan 22 16:24:54 CET 2007 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in docs/*.html include/libvirt/libvirt.h:
	  preparing release of 0.1.11
	* docs/Makefile.am libvirt.spec.in: package libvirt.rng in
	* po/*: translation update

12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472
Fri Jan 19 15:28:13 EST 2007 Daniel Berrange <berrange@redhat.com>

	* tests/xmconfigtest.c: Test suite to check conversion from
	XML to XM config files, and the reverse
	* tests/xmconfigdata/*.xml: Source XML files for the test
	suite
	* tests/xmconfigdata/*.cfg: Source XM config files for the
	test suite
	* configure.ac, tests/Makefile.am: Added xmconfigdata subdir
	* tests/xmconfigdata/Makefile.am: Include config files when
	doing a make dist.

12473 12474 12475 12476 12477 12478
Fri Jan 19 15:23:13 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/xm_internal.c: Finished off the conversion from XML
	to XM config files, and the reverse, to deal with all known
	libvirt guest config options.

12479 12480 12481 12482 12483 12484
Fri Jan 19 15:07:13 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/conf.c: Free stored config parameters, when free'ing
	the virConfPtr object. For values, only free the object
	corresponding to the values' type

D
Daniel P. Berrange 已提交
12485 12486 12487 12488 12489
Thu Jan 18 16:12:13 EST 2007 Daniel Berrange <berrange@redhat.com>

	* docs/testnode.xml, docs/testdomfc4.xml: Tweak memory settings to
	be more realistic for testing purposes

12490 12491 12492 12493 12494 12495
Thu Jan 18 16:05:13 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/test.h, src/test.c: Implement full inactive domain management
	support in mock hypervisor to allow testing of apps wanting inactive
	domains.

12496 12497 12498 12499 12500 12501
Thu Jan 18 13:37:02 EST 2007 Daniel Berrange <berrange@redhat.com>

	* src/xend_internal.c: Tweak some of the new inactive domain methods
	to only run when XenD is >= 3.0.4, so it falls back correctly to
	the src/xm_internal.c driver.

12502 12503 12504 12505
Wed Jan 10 16:20:02 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/libvirt.rng: udated for the upcoming KVM and QEmu support

12506 12507 12508 12509 12510
Wed Jan 10 11:06:36 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/libvirt.rng: went through the existing tests with the RNG and
	  fixed or added a number constructs

12511
Tue Jan  9 17:28:18 CET 2007 Daniel Veillard <veillard@redhat.com>
12512

12513 12514 12515
	* docs/libvirt.rng: first version of the Relax-NG schemas to validate
	  XML instances

12516 12517 12518 12519 12520 12521
Wed Dec 20 15:56:38 CET 2006 Daniel Veillard <veillard@redhat.com>

	* po/*: updated localization files
	* configure.in NEWS libvirt.spec.in docs/libvir.html docs/news.html
	  include/libvirt/libvirt.h: preparing release of 0.1.10

12522 12523 12524 12525 12526 12527 12528
Tue Dec 19 12:26:53 EST 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c: Maintain hash of config filenames, separate from
	hash mapping domain names to config files. This deals with case of two
	config files specifying same named guest, which although not recommended
	seems to be encountered 'in the wild'.

12529 12530 12531 12532 12533
Mon Dec 18 23:11:53 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: Dan Berrange pointed out a ref count bug
	  rhbz#143946 , patch applied

12534 12535 12536 12537 12538
Thu Dec 14 10:58:00 CET 2006 Daniel Veillard <veillard@redhat.com>

	* po/*.po po/libvirt.pot: merged new ms transations, updated
	  with the current source.

12539 12540
Wed Dec 13 17:24:03 EST 2006 Daniel Berrange <berrange@redhat.com>

12541 12542 12543 12544 12545 12546
	* src/xend_internal.c: Implement the ListDefinedDomains,
	NumOfDefinedDomains, DomainCreate ,DomainDefineXML, DomainUndefine
	APIs to manage inactive domains when running with Xen 3.0.4.  Make
	GetMaxMemory,  SetMaxMemory, SetMemory, GetInfo, SetVCPUs & DumpXML
	work with inactive domains. Cache xendConfigVersion when first
	connecting to Xend.
12547 12548 12549 12550 12551 12552
	* src/xend_internal.h: Prototypes for new APIs
	* src/xm_internal.c: Updated for new way of getting xendConfigVersion
	data
	* src/internal.h: Added xendConfigVersion field for virConnect struct

Tue Dec 12 09:05:03 EST 2006 Daniel Berrange <berrange@redhat.com>
12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567

	* src/xend_internal.c: Added support for vnclisten parameter
	in generated XML
	* src/xml.c: Support new style paravirt framebuffer graphics
	configuration from xen 3.0.4 tree. Also add support for setting
	vncpasswd & vnclisten address SEXPR values, based on passwd
	and listen XML attributes.
	* tests/sexpr2xmltest.c: Whitespace cleanup.
	* tests/xml2sexprtest.c: Added test cases for new style paravirt
	framebuffer graphics configuration
	* tests/xml2sexprdata/xml2sexpr-pv-vfb*: Data files for new
	tests for graphics
	* tests/sexpr2xmldata/sexpr2xml-pv-vfb-*.xml: Added listen address
	attribute

12568 12569 12570 12571 12572 12573
Thu Dec  7 12:28:03 EST 2006 Daniel Berrange <berrange@redhat.com>

	* src/xend_internal.c: Add bounds checking in xenDaemonListDomains to
	avoid overflowing the 'ids' array.

Wed Dec  6 17:46:03 EST 2006 Daniel Berrange <berrange@redhat.com>
12574 12575 12576 12577 12578 12579 12580

	* src/xend_internal.c: Support parsing of new paravirt framebuffer
	graphics configuration from xen 3.0.4 tree.
	* test/sexpr2xmltest.c: Added test cases for new & old framebuffer
	config parsing in paravirt & fullyvirt.
	* test/sexpr2xmldata/sexpr2xml-pv-vfb-*: New test data files

12581
Wed Dec  6 17:40:03 EST 2006 Daniel Berrange <berrange@redhat.com>
12582 12583 12584 12585

	* test/xml2sexprdata/xml2sexpr-curmem.xml, test/xml2sexprdata/xml2sexpr-curmem.sexpr:
	Fix test case to reflect recent change to bootloader/image handling

12586 12587 12588 12589 12590 12591 12592
Wed Dec  6 15:06:28 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: the structure passed to the vcpuinfo hypercall
	  had changed between version 1 and version 2 too, the leading domain
	  field disapeared since it goes in the including op. Fixes redhat
	  bugs #217370 and #217743

12593 12594 12595 12596 12597
Mon Dec  4 17:47:03 CET 2006 Daniel Veillard <veillard@redhat.com>

	* po/ca.po po/fr.po po/hi.po: merging more localizations coming
	  from Red Hat

12598 12599 12600 12601 12602 12603 12604
Wed Nov 29 13:13:39 CET 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS configure.in libvirt.spec.in docs/libvir.html docs/news.html
	  include/libvirt/libvirt.h: preparing libvirt-0.1.9 release
	* po/*.po: more updates and fix all the .po to not barf when msgfmt
	  tries to process them

12605 12606 12607 12608 12609
Tue Nov 28 13:15:00 CET 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in: update for ALL_LINGUAS
	* po/*.po: updated with strings from Red Hat translators

12610 12611
Mon Nov 27 23:27:26 CET 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
12612
	* src/xml.c: patch for rhbz#214741, when using pygrub
12613 12614 12615
	  do not push the os image information for domain creation
	  via xend

D
Daniel Veillard 已提交
12616 12617 12618 12619 12620 12621
Wed Nov 22 17:57:58 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs//*: regenerated
	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in src/driver.h
	  src/libvirt.c src/proxy_internal.c src/test.c src/virsh.c
	  src/xen_internal.c src/xend_internal.c src/xm_internal.c
J
Jim Meyering 已提交
12622
	  src/xs_internal.c: added support for dumping core of domains
D
Daniel Veillard 已提交
12623 12624
	  assuming a xend with the latest patch to do so.

12625 12626
Tue Nov 21 18:05:33 CET 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
12627
	* src/xs_internal.c: Michel Ponceau pointed out a bug in
12628 12629
	  xenStoreDomainGetNetworkID refactoring

12630 12631 12632
Mon Nov 20 16:51:43 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xml.c src/xs_internal.c src/xs_internal.h: cleanup for the
J
Jim Meyering 已提交
12633
	  dynamic device code to isolate as a separate function
12634 12635
	  xenStoreDomainGetNetworkID() the access to the XenStore

12636 12637 12638 12639 12640 12641
Thu Nov 16 19:36:12 EST 2006 Daniel Berrange <berrange@redhat.com>

	* src/xm_internal.c: Add support for device_model parameter to
	make HVM guests work. Also support serial console in HVM, since
	it needs to be explicitly turned on, unlike PV.

12642 12643 12644 12645 12646 12647
Thu Nov 16 18:16:42 EST 2006 Daniel Berrange <berrange@redhat.com>

	* src/xml.c: Mark 'msg' parameter in XML error handler as unused.
	Fix device id lookup code to use unsigned integers avoid type
	mis-matches.

12648 12649 12650 12651 12652 12653 12654 12655 12656 12657
Thu Nov 16 13:09:42 EST 2006 Daniel Berrange <berrange@redhat.com>

	* src/Makefile.am: Added new xm_internal.c source file
	* src/libvirt.c: Call the xenXMRegister() method to activate
	the XM backend
	* src/driver.h: Added a unique id for XM driver backend
	* src/internal.h:  Increase number of drivers allowed
	* src/xm_internal.h, src/xm_internal.c: New driver for
	managing inactive domains from /etc/xen config files

12658 12659 12660 12661 12662 12663 12664 12665
Thu Nov 16 18:18:12 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
	  src/driver.h src/libvirt.c src/libvirt_sym.version
	  src/proxy_internal.c src/test.c src/xen_internal.c
	  src/xend_internal.c src/xml.c src/xml.h src/xs_internal.c:
	  intagrated patch from Michel Ponceau to add hot-plug devices
	  support to the API, integrated in driver API and fixed
J
Jim Meyering 已提交
12666
	  a few small things. Still a TODO in src/xml.c about
12667 12668
	  moving xenstore direct accesses to a new routine.

12669 12670 12671 12672 12673
Wed Nov 15 18:23:13 EST 2006 Daniel Berrange <berrange@redhat.com>

	* python/generator.py, python/libvir.c, python/libvirt-python-api.xml:
	Added binding for virConnectListDefinedDomains API.

12674 12675 12676 12677 12678 12679 12680 12681 12682
Wed Nov 15 15:08:13 EST 2006 Daniel Berrange <berrange@redhat.com>

	* src/xen_internal.c, src/xs_internal.c, src/xend_internal.c,
	src/proxy.c: Don't try to invoke APIs if domain is is < 0, letting
	these inactive domains be handled by other driver backend.
	* src/xend_internal.h: make xend_config_version() api available
	to other drivers

Wed Nov 15 14:59:13 EST 2006 Daniel Berrange <berrange@redhat.com>
12683 12684 12685 12686 12687

	* src/hash.c, src/hash.h: Added three new methods for iterating
	over hashtable entries, virHashForEach, virHashRemoveSet &
	virHashSearch.

12688
Wed Nov 15 14:52:01 EST 2006 Daniel Berrange <berrange@redhat.com>
12689 12690 12691 12692 12693

	* src/conf.c, src/conf.h: Add two new APIs virConfNew() and
	virConfSetValue() for creating & populating new config objects
	in memory instead of from a file

12694
Wed Nov 15 14:42:01 EST 2006 Daniel Berrange <berrange@redhat.com>
12695 12696 12697 12698 12699

	* python/libvir.c, python/libvirt_wrap.h, python/types.h: Ensure
	that  unsigned longs are marshalled to python Long type instead
	of Int, to avoid 32-bit integer wraparound

12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710
Tue Nov 14 18:42:01 EST 2006 Daniel Berrange <berrange@redhat.com>

	* src/xend_internal.c: Added support for parsing non-bridge style
	networking configs for guests.
	* src/xml.c: Ensure the <ip address> element gets serialized to
	the SEXPR for non-bridged networks.
	* tests/xml2sexprtest.c, tests/sexpr2xmltest.c: Added new tests
	covering different networking configs
	* tests/xml2sexprdata/, tests/sexpr2xmldata/: Added more data
	files for new test cases

12711 12712 12713 12714 12715
Mon Nov 13 17:18:00 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xml.c: fix for shareable drive support
	  rhbz#214908

12716 12717 12718 12719
Fri Nov 10 17:53:41 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xml.c: Fix memory leak, by freeing xmlParserContextPtr object

12720 12721 12722 12723 12724
Fri Nov 10 11:19:32 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xml.c: add an extra element currentMemory
	  to the XML description and handle its serialization back and
	  forth between XML and S-Expr
J
Jim Meyering 已提交
12725
	* tests/sexpr2xmltest.c tests/xml2sexprtest.c
12726 12727 12728 12729
	  tests/sexpr2xmldata/sexpr2xml-curmem.*
	  tests/xml2sexprdata/xml2sexpr-curmem.*: added specific regression
	  tests for this, this didn't disturb any of the other tests.

12730 12731 12732 12733 12734 12735 12736
Thu Nov  9 15:39:19 CET 2006 Daniel Veillard <veillard@redhat.com>

	* python/generator.py: changed the generator to generate a reference
	  from Domain class instances to the Connect they were issued from
	  should fix rhbz#204490
	* docs//*: rebuilt

12737 12738 12739 12740
Thu Nov  9 10:22:43 CET 2006 Daniel Veillard <veillard@redhat.com>

	* tests/reconnect.c: fixed the reconnect test when running as non-root

12741 12742 12743 12744 12745 12746
Wed Nov  8 13:03:41 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/virshdata/nodeinfo-custom.txt, docs/testnode.xml: Reduce amount
	of RAM in test node to a sensible size to avoid integer wraparound on
	32-bit archs.

12747 12748 12749 12750 12751
Wed Nov  8 13:00:56 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/test.c, src/test.h: Added implementation of the virDomainGetOSType
	driver method to the test hypervisor backend.

12752 12753 12754 12755 12756 12757
Wed Nov  8 16:58:56 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/virterror.h src/virterror.c src/xend_internal.c
	  src/xml.c: give proper indication of the failures raised by the
	  XML parser on not well formed XML, should fix rhbz#208545

12758 12759 12760 12761 12762 12763
Wed Nov  8 14:01:11 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c src/proxy_internal.c src/xs_internal.c: fix the
	  patch for rhbz#214264 in the case of Domain 0 on Xen and push the
	  defaulting to "linux" down to the xen specific parts.

12764 12765 12766 12767 12768 12769 12770 12771 12772
Tue Nov  7 16:17:23 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* python/generator.py: Pass in connection object when generating
	an exception
	* python/libvir.py: Allow raw error object to be passed into the
	python exception object.
	* python/libvir.c: Added binding for virGetLastError and
	virConnGetLastError

12773 12774 12775 12776 12777 12778 12779
Tue Nov  7 15:58:43 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Ensure that virConnectPtr object is passed
	around to all functions which can throw errors, so that errors get
	correctly associated with the connection, rather than global error
	variables.

12780 12781 12782 12783 12784 12785 12786 12787 12788
Tue Nov  7 16:33:43 CET 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: libvirt-devel depends on pkgconfig
	* proxy/libvirt_proxy.c src/libvirt.c src/proxy_internal.[ch]
	  src/xs_internal.[ch]: the virtGetOsType entry point was calling
	  the xenstore directly instead of going though driver, refactored
	  and implemented a specific new RPC with the proxy when this is
	  called as non-root fixes rhbz#214264 .

12789 12790 12791 12792 12793 12794 12795
Tue Oct 31 10:31:34 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: when getting informations about a non
	  existant domain, it is not a good idea to raise the HTTP
	  404 GET error, the handling is better done somewhere up in
	  the stack.

12796 12797 12798 12799 12800 12801 12802 12803 12804
Tue Oct 24 15:31:23 EDT 2006 Daniel P.Berrange <berrange@redhat.com>

	* python/generator.py, python/libvir.c: Drop python interpreter
	lock when calling into C functions, and re-grab when invoking
	error callback.
	* python/libvirt_wrap.h: Convenience macros for grabbing / dropping
	the python interpreter lock in threaded environment.


12805 12806 12807 12808 12809 12810 12811
Mon Oct 16 17:10:15 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* config.h.in configure.in libvirt.spec.in docs/libvir.html
	  docs/news.html include/libvirt/libvirt.h: preparing release of
	  libvirt-0.1.8
	* src/xen_internal.c: fixed a compilation problem

12812 12813 12814 12815 12816
Thu Oct 12 17:31:13 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: one of the fix for system with page size != 4k
	  was missing

12817 12818 12819 12820 12821
Thu Oct 12 13:37:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: applied patch from Philippe Berthault
	  fixing the vcpu number initialization

12822 12823 12824 12825 12826
Wed Oct 11 17:16:44 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: applied patch from Peter Vetere so that
	  crashed domains ain't reported as shut off.

12827 12828
Wed Oct 11 16:23:58 CEST 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
12829
	* virsh.1: fixed some typo and unclear language pointed out by
12830 12831
	  Noriko Mizumoto

12832 12833 12834 12835 12836 12837 12838 12839 12840 12841
Mon Oct  9 09:34:42 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/xml.c, src/xend_internal.c: Added support for a <driver>
	element in disk specification, allowing use of alternate Xen
	drivers such as blktap.
	* tests/xml2sexprtest.c, tests/sexpr2xmltest.c: Added tests for
	new <driver> element, and blktap driver impl.
	* tests/xml2sexprdata/*, tests/sexpr2xmldata/*: New / updated
	data files for new <driver> element

12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853
Fri Oct  6 10:33:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Fixed memory leak in xend_get_config_version
	routine.
	* src/xml.c: Fixed memory leaks in XML parsing routines relating
	to VNC port, HVM boot devices, HVM floppy & CDROM, HVM features,
	disk device type.
	* tests/Makefile.am: Use --leak-check=full when running valgrind
	to detect all leaks, in addition to memory corruption checks
	* tests/sexpr2xmltest.c, tests/xml2sexprtest.c: Fixed memory leaks
	in test harness leading to valgrind false-positives.

12854 12855 12856 12857 12858
Mon Oct  2 23:16:06 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: Daniel Berrange fixed some mlock size problem
	  doing a bit of cleanup too

12859 12860 12861 12862 12863
Fri Sep 29 17:31:36 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: add #include <locale.h> to be able to compile without
	  optimization

12864 12865 12866 12867
Fri Sep 29 17:16:40 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: fix for system with page size != 4k

12868 12869 12870 12871 12872 12873 12874
Fri Sep 29 13:05:12 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* docs/bugs.html docs/libvir.html: added pointers on how to report
	  bugs in bugzilla as suggested by markmc
	* src/xend_internal.c: first step for #208545 raise an error at the
	  libvirt level

12875 12876 12877 12878
Fri Sep 29 11:27:36 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* docs/* libvirt.spec.in configure.in NEWS: preparing release of 0.1.7

12879 12880 12881 12882 12883 12884 12885 12886 12887
Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xen_internal.c: Fork different version of getdomaininfo struct for
	Xen 3.0.2, and 3.0.3 because the shared_info_frame field is different
	size on between these versions on 32-bit platforms. Make callers use
	appropriate struct version matched to hypervisor version, hiding detail
	in macros to aid readability. Cleanup whitespace to remove tabs. Disable
	xenHypervisorGetVcpus completely in proxy since its not used.

12888 12889 12890 12891 12892 12893 12894 12895 12896 12897
Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xend_internal.c: Check if the physical CPU will fit in the maplen
	provided by the caller when populating VCPU<->CPU mapping. This is because
	XenD will return data for 32 physical CPUs, even if the box only has 4
	CPUs. The caller of course will only have allocated a map big enough for
	the actual number of physical CPUs. We simply check against maplen param
	supplied by caller & discard info about CPUs which don't fit. Also santise
	whitespace.

12898 12899 12900 12901
Fri Sep 22 11:02:48 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* docs/* libvirt.spec.in configure.in NEWS: preparing release of 0.1.6

12902 12903 12904 12905 12906 12907 12908 12909 12910 12911
Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* Makefile.am: Added po directory
	* autogen.sh: Call autopoint to install the gettext infrastructure
	* src/*.c, proxy/*.c: Pass all strings through gettext for translation.
	Set up the text domains in libvirt, proxy & virsh at startup.
	* libvirt.spec.in: Include compiled .po files in distro
	* tests/virshdata/*.txt: Tweak expected data to take account of
	some text changes.

12912 12913 12914 12915 12916
Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* docs/*.html: re-generated documentation to pull in latest
	APIs

12917 12918 12919 12920 12921 12922 12923
Thu Sep 21 10:19:01 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am: add a tst target to ease building test progs
	* src/xend_internal.c: fix the reconnection problem to xend pointed
	  by Philippe Berthault
	* tests/Makefile.am tests/reconnect.c: add a specific test case

12924 12925 12926 12927 12928
Tue Sep 19 16:59:53 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: applied patch from Jim Fehlig, about
	  one of the content of the hypercall structures in 3.0.2

12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941
Thu Sep 14 10:33:23 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xml.c: Append :disk for normal disk devices being created
	when Xen >= 3.0.3, even though its technically optional
	* src/xend_internal.c: Strip the :disk trailing component when
	generating XML when Xen >= 3.0.3. We don't want to expose
	that postfix in the <target> element, since its already set in
	the device attribute on <disk> element.
	* tests/sexpr2xmldata/*, tests/xml2sexprdata/*: Update to test
	for handling of :disk postfix in sexpr/XML
	* tests/virshtest.c, tests/sexpr2xmltest.c, tests/xml2sexprtest.c:
	Cast size_t arg to an int to avoid format warnings from printf

12942 12943 12944 12945 12946 12947 12948
Tue Sep 11 20:37:28 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xml.c: Added support for setting VNC port when creating
	domains with new (version 2) style XenD config
	* tests/xml2sexprtest.c: Added test for setting VNC port
	* tests/xml2sexprdata/*vncunused*: Data files for new VNC test

D
Daniel P. Berrange 已提交
12949 12950 12951 12952 12953 12954
Tue Sep 11 20:23:42 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* docs/Makefile.am: Added test XML files to EXTRA_DIST
	* tests/confdata/Makefile.am: Fix typo to ensure config
	files needed by test are distributed

12955 12956 12957 12958 12959 12960 12961 12962 12963 12964
Tue Sep 11 20:11:05 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xend_internal.c, src/xml.c: Added support for new 3.0.3
	style XenD cdrom configuration for HVM guests.
	* configure.in, tests/Makefile.am: Added new test directories
	* tests/xml2sexprdata*, tests/sexpr2xmldata*: Removed config files
	for test suite.
	* tests/xml2sexprdata/*, tests/sexpr2xmldata/*: New home for test
	suite config files

12965 12966 12967 12968 12969 12970
Tue Sep  5 13:50:05 MYT 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS configure.in docs//* include/libvirt/libvirt.h libvirt.specx.*:
	  preparing release 0.1.5
	* proxy/libvirt_proxy.c src/xen_internal.c: tiny fixes

12971 12972 12973 12974 12975
Tue Sep  5 13:24:30 MYT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: finished to convert to the new hypervisor
	  calls the xenHypervisorGetVcpus entry point, though it is untested

12976 12977
Mon Sep  4 14:13:24 EDT 2006 Daniel Berrange <berrange@redhat.com>

12978
	* src/xen_internal.h: Added missing return(-1) statements
12979 12980
	in xenHypervisorGetVcpus and xenHypervisorPinVcpu methods.
	#ifndef out the pause/resume/etc methods from proxy code
J
Jim Meyering 已提交
12981

12982 12983 12984 12985
Sun Sep  3 12:50:12 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/conf.c: Allow '_' in variable names, and don't fail if there
	is a trailing ',' at the end of a list.
J
Jim Meyering 已提交
12986
	* tests/confdata/fc4.conf, tests/confdata/fc4.out: Expand test
12987
	config to include a '_' in a name, and a trailing ',' in a list.
J
Jim Meyering 已提交
12988

D
Daniel P. Berrange 已提交
12989 12990 12991 12992
Sun Sep  3 12:47:42 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* tests/.cvsignore, tests/confdata/.cvsignore: Ignore autogenerated
	files from config data testsuite.
J
Jim Meyering 已提交
12993

12994 12995 12996 12997 12998
Sun Sep  3 12:34:23 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/virsh.c: use the return value of virConnectListDomains when
	iterating over list of ids/names, because it is not neccessarily
	the same as the value returned by virConnectNumOfDomains. Use qsort
J
Jim Meyering 已提交
12999
	to sort active domains by Id, and inactive domains by name, since
13000 13001 13002
	there is no guarenteed sort ordering when listing domains. For inactive
	domains display a '-' instead of '-1' to make it clear they have no
	sensible ID number.
J
Jim Meyering 已提交
13003

13004 13005
Sat Sep  2 22:28:18 CEST 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
13006
	* src/xen_internal.c: converting to handle the new incompatible
13007 13008 13009 13010
	  hypercalls while still able to detect older versions, lot of
	  work, seems okay, there is just one function not yet converted
	* src/xs_internal.c: dropping virConnectCheckStoreID()

13011 13012 13013 13014 13015 13016
Wed Aug 30 09:34:45 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/virsh.c: Added --all & --inactive flags to list command to control
	inclusion of inactive domains in listing. Added start, define, undefine
	commands to allow management of inactive domains.

13017
Wed Aug 30 09:30:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029

	* src/driver.h: Defined new driver entry points for ListDefinedDomains,
	NumOfDefinedDomains, DomainStart, DomainUndefine, DomainDefineXML.
	* src/xen_internal.c, src/xend_internal.c, src/xs_internal.h,
	src/test.c, src/proxy_internal.c: Added NULL entries for new driver
	backend APIs.
	* src/libvirt.c: Hook up new driver entry points to corresponding
	public API.
	* src/libvirt_sym.version: Added  virConnectNumOfDefinedDomains and
	previously missing virConnectListDefinedDomains
	* include/libvirt/libvirt.h: Added virConnectNumOfDefinedDomains

13030 13031 13032 13033
Tue Aug 29 23:48:43 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/conf.c: add missing entry point virConfGetValue()

D
Daniel Veillard 已提交
13034 13035 13036 13037 13038 13039 13040 13041 13042 13043
Tue Aug 29 23:28:31 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* TODO libvirt.spec.in: update
	* configure.in include/libvirt/virterror.h src/Makefile.am
	  src/conf.c src/conf.h src/virterror.c src/xen_internal.c:
	  adding a subset of Xen config file parser, and serializer
	* tests/Makefile.am tests/conftest.c tests/test_conf.sh
	  tests/confdata/Makefile.am tests/confdata/fc4.conf
	  tests/confdata/fc4.out: adding test program for config in and out

13044 13045 13046 13047 13048
Tue Aug 29 13:14:20 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xend_internal.c: Add handling of HTTP 500 error code
	which can be returned by XenD do indicate failure error when
	performing the requested operation (Identified by Pete Vetere).
13049

13050 13051
Tue Aug 29 15:41:46 CEST 2006 Daniel Veillard <veillard@redhat.com>

13052
	* python/libvir.c: Pete Vetere pointed out a bug in string cast
13053 13054
	  when handling errors in Python

13055 13056 13057 13058 13059
Sat Aug 26 16:36:15 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/sexpr.c src/sexpr.h src/xend_internal.c src/xml.c: applied
	  patch from Jeremy Katz to add graphical console for PV Xen guests

13060 13061 13062 13063
Sat Aug 26 00:17:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* docs/site.xsl docs/*.html: add links to virt-manager

13064 13065 13066 13067 13068 13069
Fri Aug 25 17:42:12 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/virsh.c: Allow VIRSH_DEFAULT_CONNECT_URI to be set to
	override the default Xen connection attempt in favour of a
	different backend. Fix 'virsh list' so that it doesn't assume
	there is always a Domain-0 (a Xen-ism).
J
Jim Meyering 已提交
13070

13071 13072 13073 13074 13075 13076 13077 13078 13079 13080
Thu Aug 24 16:43:47 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* tests/virshtest.c: Test suite for validating output / operation
	of various virsh commands.
	* tests/virshdata/*.txt: Known good output for validating results
	during testing
	* tests/testutils.h, tests/testutils.c: Added convenience method
	for forking a child process & capturing its output.
	* tests/Makefile.am: Enable POSIX / XOpen standards

13081 13082 13083 13084 13085 13086
Thu Aug 24 11:03:42 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* tests/Makefile.am: Added a 'valgrind' target which simply
	calls 'make check', but wrapping execution with valgrind to
	detect any errors

13087 13088 13089 13090 13091 13092 13093 13094 13095 13096
Thu Aug 24 10:04:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* tests/xml2sexpr.c, tests/sexpr2xml.c: New tests suites for
	validating the SEXPR<->XML conversion
	* tests/*.sexpr, tests/*.xml: Data files for test suite
	* src/xend_internal.h, src/xend_internal.c: Expose the method
	for converting SEXPR -> XML to allow use by unit tests
	* src/xs_internal.c: Check if connection is NULL before
	deferencing it - test suite passes in NULL.

13097 13098 13099 13100 13101 13102 13103
Mon Aug 21 13:00:03 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/virsh.c: check return code of virConnectListDomains in case
	there was a failure, and stop the 'list' command immediately
	rather than continuing with bogus domain ID data.

Fri Aug 18 15:22:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
13104 13105 13106 13107

	* src/xml.c: fix networking in paravirt guests - only set the
	'(type ioemu)' option for HVM.

13108 13109
Thu Aug 17 19:42:50 CEST 2006 Daniel Veillard <veillard@redhat.com>

13110
	* src/xml.c: fix virParseUUID()
13111

13112 13113
Wed Aug 16 19:07:52 CEST 2006 Daniel Veillard <veillard@redhat.com>

13114
	* NEWS configure.in doc//* include/libvirt/libvirt.h
13115 13116 13117 13118 13119
	  include/libvirt/libvirt.h.in: preparing release of 0.1.4,
	  regenerated docs, fixed a few things
	* src/proxy_internal.c src/test.c src/xend_internal.c:
	  a few trivial fixes

13120 13121 13122 13123 13124 13125
Wed Aug 16 12:33:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/virsh.c: Added 'setvcpus', 'setmem', 'setmaxmem'
	commands to virsh shell. Allow full read-write connection
	to non-Xen test hypervisor.

13126 13127 13128 13129 13130 13131 13132
Wed Aug 16 11:38:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/test.c, src/test.h: Allow a hypervisor config to be
	loaded from an external XML file. Implement drivers for
	setMemory, setMaxMemory, createLinux, dumpXML, setVcpus.
	* docs/testnode.xml, docs/testfc4.xml, docs/testfv0.xml:
	Example config for using with test driver
13133

13134
Wed Aug 16 11:36:21 EDT 2006 Daniel Berrange <berrange@redhat.com>
13135 13136

	* src/xend_internal.c, src/xml.c, src/xml.h: Refactored the
13137 13138
	sexpr_uuid method into a re-usable virParseUUID method which
	can be used by any backend
13139

13140 13141 13142 13143
Wed Aug 16 11:31:59 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/libvirt.c: Remove some duplicated changes for VIR_DOMAIN_RO
	accidentally left in place from last checkin. Tell the drivers to
J
Jim Meyering 已提交
13144
	be 'quiet' when opening a RW connection, to stop XenD driver
13145
	complaining when we open the test driver.
J
Jim Meyering 已提交
13146

13147 13148 13149 13150 13151 13152
Wed Aug 16 17:24:59 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/virterror.h src/libvirt.c src/virterror.c: enforce
	  blocking operations with side effect on read-only connections. Adds
	  a new error code and message.

13153 13154 13155 13156 13157 13158 13159 13160
Tue Aug 15 11:55:15 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xml.c, src/xend_internal.c: Added a <features> block
	to XML allowing enablement of guest CPU / system features.
	Currently support PAE, ACPI, APIC for HVM domains.
	* docs/libvir.html: Documented new <features> block and those
	features enabled for HVM guests

13161 13162 13163 13164 13165 13166
Mon Aug 14 10:55:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* docs/libvir.html, docs/format.html: Updated description of
	HVM boot device, and disk device configuration to match up
	new new behaviour from previous changes

13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183
Fri Aug 11 09:37:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/libvirt.c: Avoid duplicated attempts to shutdown or
	pause a domain if the first attempt succeeded.
	* src/xend_internal.c, src/xml.c: When parsing UUID from
	SEXPR also allow for format without any embedded '-'. The
	ioemu: prefix is no longer required for HVM domains. It is
	added when generating SEXPR, and removing when parsing SEXPR
	never appearing in XML. CDROM & floppy devices for HVM domains
	are now included in XML under <devices><disk> tag. The <disk>
	tag now has a 'device' attribute allowing one of 'floppy',
	'cdrom', 'disk' to be specified. If the <console> tag is present
	in XML, HVM domains get a serial console activated. <boot>
	tag now expects one of 'fd' 'hd' or 'cdrom' when specifying
	boot device preference. Increased size of XML doc buffer from
	1k to 4k to deal with large numbers of devices

13184 13185 13186 13187 13188
Fri Aug 11 13:08:01 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in: updated python detection code from latest libxml2 one
	* docs//*: rebuilt the docs

13189 13190 13191 13192 13193 13194
Thu Aug 10 15:28:52 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: markmc pointed out that using number(xpath) could lead
	  to NaN and following comparison would be wrong in a couple of places
	  if the element looked at was missing.

13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210
Wed Aug  9 10:17:03 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/driver.h, src/libvirt.c: Made the virDomainGetXMLDesc
	method use the driver backends.
	* src/xend_internal.c: Surround all functions which are not
	needed for proxy with #ifndef PROXY. Refactor XML generator
	functions to allow calling from proxy based on domain id
	instead of virDomainPtr object
	* src/xs_internal.c, src/xs_internal.h: Change signature
	of method for extracting VNC port & console TTY to use domain
	id instead of virDomainPtr. Surround functions not used by
	proxy in #ifndef PROXY
	* src/xml.c:Surround functions not used by proxy in #ifndef PROXY
	* src/test.c, src/xen_internal.c: Added NULL entry for new
	driver method for fetching XML
	* src/proxy_internal.c, src/proxy_internal.h, proxy/libvirt_proxy.c:
13211
	Added implmentation of virDomainGetXMLDesc driver method which
13212
	goes via proxy.
13213

13214 13215 13216 13217 13218 13219 13220 13221
Tue Aug  8 23:24:51 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/driver.h src/libvirt.c src/proxy_internal.c src/test.c
	  src/xen_internal.c src/xend_internal.c src/xend_internal.h
	  src/xml.c src/xs_internal.c: cleanups, force the new vCPU
	  and affinity entry point to go though the driver framework,
	  and fix a few warning showing up in my pedantic environment.

13222 13223
Mon Aug  7 18:33:45 EDT 2006 Daniel Berrange <berrange@redhat.com>

13224
	* src/xend_internal.c: Added details of serial console TTY to XML
13225 13226 13227 13228 13229 13230
	representation of domain. Fetch VNC port from xenstore if it is
	available (only in xen 3.0.3 or later).
	* src/xs_internal.c, src/xs_internal.h: Added APIs for retrieving
	the serial console TTY and VNC server port from xenstore.
	* docs/libvir.html: Document 'port' attribute for VNC graphics,
	and '<console>' element for serial console.
13231

D
Daniel Veillard 已提交
13232 13233 13234 13235
Mon Aug  7 21:57:41 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated with new items

13236 13237
Mon Aug  7 14:57:12 EDT 2006 Daniel Berrange <berrange@redhat.com>

D
Daniel Veillard 已提交
13238 13239
	* src/xend_internal.c: Corrected string length calculation when
	  appending a CDROM boot device element. Fixes corrupt XML structure.
13240

13241 13242 13243 13244 13245
Mon Aug  7 11:06:20 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xend_internal.c: Added a 'port' attribute to the '<graphics>'
	tag when display type is VNC, providing the port number on which
	the VNC server is listening.
13246

13247 13248 13249 13250 13251
Mon Aug  7 18:47:48 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h.in: previous change to libvirt.h should
	  have gone on .in too

13252 13253 13254 13255
Fri Aug  4 20:19:23 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/libvirt.c: Fix off-by-one in validated VCPU number (it is
	zero based, not one based).
13256
	* include/libvirt/libvirt.h: Add some convenience macros for
13257 13258
	calculating neccessary CPU map lengths & total host CPUs
	* src/virsh.c: Add 'vcpuinfo' and 'vcpumap' commands
13259

13260 13261 13262 13263 13264 13265
Fri Aug  4 14:45:25 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* python/generator.py: fix the generator when handling long integers
	  Dan Berrange reported problems due to this when using
	  virDomainSetMemory bindings

13266 13267 13268 13269 13270 13271 13272 13273
Fri Aug  4 11:49:44 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
	  src/libvirt.c src/libvirt_sym.version src/xen_internal.c
	  src/xen_internal.h src/xend_internal.c src/xend_internal.h:
	  applied patch from Michel Ponceau and Philippe Berthault for
	  virtual CPU and affinity support plus a bit of cleanup.

13274 13275 13276 13277
Tue Aug  1 16:22:52 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: xen is now built for ia64, c.f. RH#199685

13278 13279 13280 13281 13282 13283
Fri Jul 28 16:18:30 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/virterror.c: Hugh Brock pointed out that error message
	  for bad argument were wrong and incomplete, this should fix it and
	  a few other problems in error reporting

13284 13285 13286 13287
Mon Jul 24 14:34:15 IST 2006 Mark McLoughlin <markmc@redhat.com>

	* libvirt.spec.in: sync changes from fedora CVS

13288 13289 13290 13291 13292 13293
Thu Jul 20 09:05:15 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* proxy/Makefile.am src/xen_internal.c src/xend_internal.c: cleanup
	  code when compiled for the proxy, changed the command line macro and
	  remove warnings.

13294 13295 13296 13297 13298
Wed Jul 19 17:26:48 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/*.c: Bulk replace 'informations' with 'information' to
	correct English spelling

13299 13300 13301 13302 13303
Thu Jul 13 23:33:48 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: applied patch from Peter Vetere to pass down the
	  UUID from the XML description if present when creating the domain.

13304 13305 13306 13307
Tue Jul 11 18:03:51 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in docs/* NEWS: preparing release of
	  libvirt-0.1.3
J
Jim Meyering 已提交
13308
	* src/xend_internal.c: uninitialized var and disable TCP slow start
13309

13310 13311 13312 13313 13314
Mon Jul 10 14:19:52 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* docs/format.html docs/libvir.html docs/news.html: updated the XML
	  format documentation to cover the new HVM domains.

13315 13316 13317 13318 13319
Mon Jul 10 12:27:17 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xml.c: patches from Jim Fehlig for HVM
	  guests, plus XML format changes and merge from Mark McLoughlin

13320
Fri Jul  7 09:47:14 EDT 2006 Daniel Berrange <berrange@redhat.com>
13321

13322 13323 13324 13325 13326
	* src/xend_internal.c: changed xenDaemonLookupByID to simply do
	an sexpr GET on /xend/domain/[ID] instead of listing all names
	and iterating over /xend/domain/[NAME]. Reduces the running time
	and number of GETs from O(n^2) to O(n).

13327 13328 13329 13330
Wed Jul  5 17:11:32 IST 2006 Mark McLoughlin <markmc@redhat.com>

	* xml.c: allow a <domain> to not have any <disk> devices - e.g.
	when using an NFS root.
13331

13332 13333 13334 13335 13336 13337 13338
Thu Jul  6 10:32:14 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: fixed xenDaemonOpen() to try both unix and
	  http accesses by default and to use the provided URI otherwise,
	  applied Jim Fehlig patch working around xend connection close bug
	* autogen.sh: fixed package name

13339 13340 13341 13342 13343
Wed Jul  5 17:11:32 IST 2006 Mark McLoughlin <markmc@redhat.com>

	* xml.c: make the entire <os> node optional if a bootloader
	is specified. If we pass an image config to xend, the
	bootloader gets ignored anyway.
J
Jim Meyering 已提交
13344

13345 13346 13347 13348
Wed Jul  5 16:51:45 IST 2006 Mark McLoughlin <markmc@redhat.com>

	* xml.c: only set bootloader flag when we actually get
	a bootloader
J
Jim Meyering 已提交
13349

13350 13351 13352 13353 13354 13355
Tue Jul  4 13:50:55 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in proxy/Makefile.am: do the chown at the rpm packaging
	  level, to allow build as non-root
	* src/xml.c: fix bug #197583 raised by markmc

13356 13357 13358 13359 13360 13361 13362
Mon Jul  3 15:41:58 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS docs/* configure.in libvirt.spec.in include/libvirt/libvirt.h:
	  preparing release of 0.1.2
	* src/proxy_internal.c: don't warn on open if using http and not the
	  proxy.

13363 13364
Mon Jul  3 13:54:03 EDT 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
13365
	* libvirt.spec.in proxy/Makefile.am src/proxy_internal.c
13366
	  src/xen_internal.c: fixing the proxy installation, integrate in
J
Jim Meyering 已提交
13367
	  the spec file and fix a few bugs in the proxy, seems to behave
13368 13369 13370
	  correctly now.
	* docs/apibuild.py docs/*: fixing the doc and API generator

13371 13372 13373 13374 13375
Mon Jul  3 11:21:10 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* proxy/libvirt_proxy.c src/proxy_internal.[ch] src/xend_internal.[ch]:
	  finished the last entry point missing for the proxy code.

13376 13377 13378 13379 13380 13381
Fri Jun 30 16:31:47 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* proxy/libvirt_proxy.c src/proxy_internal.c: more bug fixes,
	  virsh starts to work normally over the proxy. Still one entry
	  point missing but it's minor.

13382 13383 13384 13385 13386 13387 13388
Thu Jun 29 23:57:35 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* proxy/libvirt_proxy.c src/proxy_internal.c src/xen_internal.c
	  src/xen_internal.h src/xend_internal.c src/xend_internal.h:
	  implemented id based lookup and other cleanups, virsh starts to
	  work, but still some TODOs

13389 13390 13391 13392 13393
Thu Jun 29 22:19:51 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/proxy_internal.c src/proxy_internal.h src/driver.h src/libvirt.c
	  src/Makefile.am: moved proxy/proxy.h and proxy/proxy_client.c as
	  proxy_internal.[ch] and integrated them as a new driver.
J
Jim Meyering 已提交
13394
	* proxy/Makefile.am proxy/libvirt_proxy.c src/xen_internal.c
13395 13396
	  src/xen_internal.h src/xend_internal.c: various related cleanups.

13397 13398 13399 13400 13401 13402
Thu Jun 29 14:53:01 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* proxy/libvirt_proxy.c proxy/proxy.h proxy/proxy_client.c: more
	  progresses on the proxy implementation.
	* src/xend_internal.c src/xend_internal.h: exported one routine

13403 13404 13405 13406 13407 13408 13409 13410
Wed Jun 28 19:23:25 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in Makefile.am proxy/Makefile.am proxy/libvirt_proxy.c
	  proxy/proxy.h proxy/proxy_client.c src/internal.h src/xen_internal.c
	  src/xend_internal.c: started working on a proxy to access xend
	  for unpriviledged users to avoid opening xend HTTP service to
	  serve those read-only operations.

13411 13412 13413
Mon Jun 26 16:05:27 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
J
Jim Meyering 已提交
13414
	  include/libvirt/virterror.h python/generator.py python/libvir.c
13415 13416 13417 13418 13419 13420
	  python/libvirt_wrap.h src/driver.h src/internal.h src/test.h
	  src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h
	  src/xml.c src/xml.h: moved the includes from include/ to
	  include/libvirt to reflect the installed include tree. This
	  avoid using "" in the includes themselves.

13421 13422 13423 13424
Wed Jun 21 14:41:04 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS libvirt.spec.in docs/*: preparing release of 0.1.1

13425 13426 13427 13428 13429 13430 13431
Wed Jun 21 13:02:30 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/driver.h src/libvirt.c src/test.c src/xen_internal.c
	  src/xend_internal.c src/xs_internal.c: add driver numbers and
	  tweak a bit suspend/resume/destroy operation to avoid doing
	  them directly though the hypervisor if other succeeded first.

13432 13433 13434 13435 13436
Wed Jun 21 12:23:15 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: try to autodetect the Xen hypervisor version
	  used and switch automatically. A bit nasty though.

13437 13438 13439
Tue Jun 20 16:14:26 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: fix breakage introduced in Xen changeset 10277
J
Jim Meyering 已提交
13440

13441 13442 13443 13444 13445
Fri Jun 16 15:08:42 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c src/xen_internal.h src/xs_internal.c: fix
	  a TODO in xs_internal.c pointed out by Philippe Berthault

13446 13447
Fri Jun 16 12:44:02 EDT 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
13448
	* src/libvirt.c src/xen_internal.c src/xend_internal.c: more driver
13449 13450
	  related cleanups, nearly finished

13451 13452 13453 13454 13455
Thu Jun 15 14:57:39 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c src/xend_internal.c src/xend_internal.h
	  src/xs_internal.c: more cleanups for the driver architecture

13456 13457 13458 13459 13460
Wed Jun 14 18:59:30 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/test.h, src/test.c: Added implementation of the reboot
	and shutdown methods for domains.

13461 13462 13463 13464 13465 13466
Wed Jun 14 11:20:23 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt.c: connect virDomainDestroy, virDomainSuspend,
	virDomainResume, virDomainShutdown & virDomainReboot to the
	driver backends.

13467 13468 13469 13470 13471 13472
Wed Jun 14 15:51:00 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c src/xend_internal.c src/xend_internal.h: cleaned up
	  virConnectListDomains and virConnectNumOfDomains, implemented xend
	  driver entry point for them.

13473 13474 13475 13476
Wed Jun 14 13:10:03 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c: Daniel P. Berrange pointed out a bug in virConnectOpen

13477 13478 13479 13480 13481 13482
Tue Jun 13 14:06:01 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: use 'double' instead of 'float' when calculating
	'CPU time' field for dominfo command, to ensure no unneccessary
	loss of precision converting from nanoseconds to seconds.

13483 13484 13485 13486 13487
Tue Jun 13 18:35:22 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c src/xen_internal.c src/xend_internal.c
	  src/xs_internal.c: fix the connection and GetType initialization.

13488 13489 13490
Tue Jun 13 16:37:27 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* docs//*: rebuilt the documentation
J
Jim Meyering 已提交
13491
	* src/driver.h src/libvirt.c src/test.c src/xen_internal.c
13492 13493 13494 13495
	  src/xend_internal.c src/xs_internal.c: started to fix some of
	  the driver related problem raised by Daniel Berrange, added a
	  ver version field to drivers.

13496 13497 13498 13499 13500 13501 13502
Mon Jun 12 17:22:24 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/xend_internal.c: Call 'xenDomainGetVersion' when trying
	to open a connection, as a sort of "ping" test to verify the
	Xen daemon connection - fail the open method, if the "ping" is
	not successful.

13503 13504 13505 13506 13507 13508
Mon Jun 05 22:31:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c, src/test.h: New 'mock' hypervisor driver providing
	a way to write predictable unit tests which exercise libvirt APIs.
	* src/libvirt.c, src/Makefile.am: Integrate test hypervisor driver

13509 13510 13511 13512 13513 13514 13515 13516 13517
Fri May 26 11:59:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/hash.c, src/internal.h: Switch the uuid parameter in virGetDomain
	  to be of type 'unsigned char' since its a raw UUID we're passing in,
	  not a printable one.
	* src/libvirt.c: Remove bogus "unsigned char" -> "char" type casts. Hook
	  up the "domainLookupByID", "domainLookupByUUID", "domainLookupByName"
	  and "domainGetInfo" driver backend functions.

J
Jim Meyering 已提交
13518
Mon May 29 17:02:26 CEST 2006 Karel Zak <kzak@redhat.com>
13519 13520 13521 13522 13523 13524

	* src/libvirt_sym.version: added in missing symbols referenced by python
	  bindings (patch by Daniel P. Berrange)
	* tests/Makefile.am: fixed include dirs to make VPATH builds work
	  (patch by Daniel P. Berrange)

K
Karel Zak 已提交
13525 13526
Mon May 29 16:33:39 CEST 2006 Karel Zak <kzak@redhat.com>

J
Jim Meyering 已提交
13527
	* src/virsh.c: improved vshCommandOptDomain(), added <name> to the
K
Karel Zak 已提交
13528 13529 13530 13531 13532 13533 13534 13535
	  connect command and minor changes to Daniel B.'s patch

Fri May 26 11:40:20 EDT 2006 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: added 'domuuid' command to display printable UUID
	  string for a domain. Added '--connect' argument to allow the name
	  of the hypervisor connection passed to virConnect to be set.

K
Karel Zak 已提交
13536 13537 13538 13539
Mon May 22 15:34:20 CEST 2006 Karel Zak <kzak@redhat.com>

	* src/virsh.c: added UUID: to the dominfo command, vshPrint() refactoring,
	  added support for domain look up by UUID
J
Jim Meyering 已提交
13540
	* virsh.1: added information about UUID, fixed list of commands and
K
Karel Zak 已提交
13541 13542 13543 13544
	  domains statuses
	* src/libvirt.c include/libvirt.h.in src/libvirt_sym.version: added
	  virDomainGetUUIDString() and virDomainLookupByUUIDString()

K
Karel Zak 已提交
13545 13546 13547 13548 13549
Wed May 10 15:50:32 CEST 2006 Karel Zak <kzak@redhat.com>

	* src/virterror.c include/virterror.h: added VIR_FROM_RPC
	* src/xmlrpc.c: added checks and _virRaiseError()

K
Karel Zak 已提交
13550 13551 13552
Wed May 10 13:17:00 CEST 2006 Karel Zak <kzak@redhat.com>

	* src/xml.c src/xml.h: added virBufferNew() and virBufferStrcat()
J
Jim Meyering 已提交
13553
	* tests/xmlrpctest.c: added performace tests for virBufferStrcat() and
K
Karel Zak 已提交
13554 13555 13556
	  virBufferVSprintf()
	* src/xmlrpc.c: used virBufferStrcat()

K
Karel Zak 已提交
13557 13558
Tue May  9 16:37:22 CEST 2006 Karel Zak <kzak@redhat.com>

J
Jim Meyering 已提交
13559
	* tests/Makefile.am tests/xmlrpctest.c tests/testutils.h: added test
K
Karel Zak 已提交
13560 13561 13562 13563 13564 13565
	  directory with basic test utils
	* tests/test_xmlrpc.sh tests/xmlrpcserver.py tests/xmlrpctest.c: added
	  simple XML-RPC tests agains Python SimpleXMLRPCServer
	* src/xmlrpc.c src/xmlrpc.h: minor refactoring, fixed gcc warnings
	* src/xml.c src/xml.h: added virBufferFree()

13566 13567 13568 13569 13570 13571
Fri Apr 28 18:31:49 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/hash.c src/internal.h src/libvirt.c src/virterror.c
	  src/xml.h include/libvirt.h[.in] include/virterror.h: started
	  adding new APIs, some still TODO, and not tested yet

13572 13573 13574 13575 13576
Thu Apr 27 14:17:04 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xml.c src/xend_internal.c TODO: added uuid to the XML
	  serialization

13577 13578
Wed Apr 26 08:32:38 CEST 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
13579
	* src/xml.c: applied patch from Jeremy Katz to not require a
13580 13581 13582
	  root entry in XML nor try to extract it from command line
	  informations.

13583 13584 13585 13586 13587
Wed Apr 26 07:45:28 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* docs//* : fixed perl binding URL to point to CPAN as provided by
	  Daniel P. Berrange.

13588 13589 13590 13591
Tue Apr 25 17:56:32 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in: patch for ncurses fallback from Jim Fehlig

13592 13593
Tue Apr 25 17:10:10 CEST 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
13594
	* configure.in libvirt.spec.in docs/examples/Makefile.am
13595 13596 13597
	  docs/examples/index.py docs/examples/python/*: integrated
	  examples for Python from David Lutterkort

13598 13599 13600 13601 13602
Tue Apr 25 13:37:22 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: applied patch from Jim Fehlig when parsing
	  domain S-Expr the kernel may not be provided (Dom0)

13603 13604 13605 13606 13607 13608 13609 13610
Mon Apr 24 18:23:29 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/hash.c src/internal.h: add virGetDomainByID() to speed up
	  some processing but not used yet
	* src/libvirt.c src/xen_internal.c src/xen_internal.h: added domain
	  listing and number queries entry points based on the hypervisor
	  which should speed up some processing as root.

13611 13612 13613 13614 13615
Thu Apr 20 14:31:13 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: fix an uninitialized memory access in error
	  reporting.

13616 13617 13618 13619 13620 13621 13622 13623 13624 13625
Thu Apr 13 17:19:25 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt.h include/libvirt.h.in doc/*: added new entry point
	  virDomainSetMemory to set up the target memory use for a domain
	* src/driver.h src/libvirt.c src/xen_internal.c src/xend_internal.[ch]
	  src/xs_internal.[ch]: added a new entry point in the drivers for this,
	  also fixed the xen store entry, as changing
	  /local/domain/$$/memory/target affects the target memory not the max,
	  apparently max is not visible at the xenstore level (or I missed it)

13626 13627 13628 13629 13630 13631
Mon Apr 10 15:15:13 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS configure.in libvirt.spec.in docs/*: documented and
	  regenerated for release of 0.1.0
	* Makefile.am virsh.1: added man page from Andrew Puch

13632 13633 13634 13635 13636 13637 13638 13639
Mon Apr 10 09:32:29 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c src/xml.c: applied patch from Jim Fehlig
	  for lifecycle events
	* docs/format.html docs/libvir.html: added the associated docs for
	  the new constructs
	* TODO: small update

13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652
Sun Apr  9 13:10:34 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* TODO src/hash.[ch] src/internal.h src/libvirt.c src/xend_internal.c
	  src/xs_internal.c: implementing domain pointers unification, thread
	  safety and reference counting for domain and connections, this was
	  the last critical change needed before making further progresses at
	  the API level. Still a couple fo things TODO for this, unification
	  at the Python level and adding UUID to hash. All domain/connect alloc
	  and free routines are now centralized in hash.c
	* docs/APIchunk1.html docs/libvirt-api.xml docs/libvirt-refs.xml
	  docs/html/libvirt-libvirt.html: regenerated the docs, that doesn't
	  change the API.

J
Jim Meyering 已提交
13653
Thu Apr  6 11:32:46 CEST 2006 Karel Zak <kzak@redhat.com>
13654

J
Jim Meyering 已提交
13655
	* src/virsh.c: use stdout for standard outputs, improve
13656 13657
	 allocation checks

D
Daniel Veillard 已提交
13658 13659 13660 13661
Wed Apr  5 09:32:54 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/hash.c: tiny fix
	* src/internal.h: starting to work on reentrancy
J
Jim Meyering 已提交
13662
	* src/libvirt.c: applied patch from Jim Fehlig to fix
D
Daniel Veillard 已提交
13663 13664
	  virDomainLookupByID when run as root.

K
Karel Zak 已提交
13665 13666
Tue Apr  4 22:49:33 CEST 2006 Karel Zak <kzak@redhat.com>

J
Jim Meyering 已提交
13667
	* src/virsh.c: rename dstate, idof and nameof to domstate,
K
Karel Zak 已提交
13668 13669
	  domname and domid

13670 13671 13672 13673
Tue Apr  4 12:41:53 CEST 2006 Karel Zak <kzak@redhat.com>

	* src/virsh.c: add new command "nodeinfo"
	* include/libvirt.h.in: fix typo (virNodeInfo.memory is in kB)
J
Jim Meyering 已提交
13674
	* docs/FAQ.html docs/libvir.html src/virsh.c: rename command
13675 13676
	  "dinfo" to "dominfo"

13677 13678
Mon Apr  3 14:46:39 EDT 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
13679
	* include/libvirt.h[.in] src/driver.h src/libvirt.c
13680 13681 13682
	  src/libvirt_sym.version src/*_internal.[ch]: added an entry
	  point for reboot and corresponding driver plug
	* src/virsh.c: added a reboot option using it
J
Jim Meyering 已提交
13683
	* docs/*: regenerated
13684

13685 13686 13687 13688 13689
Thu Mar 30 16:38:18 EST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: applied patch from Daniel P. Berrange,
	  plus a bit of code cleanup

13690 13691 13692 13693
Thu Mar 30 16:04:47 EST 2006 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: allocation check (Jim Meyering) and adding a
	  new create command
J
Jim Meyering 已提交
13694
	* src/xend_internal.c src/xml.c: trying to cope with the new
13695 13696 13697
	  xvda domains states generated on FC5, but Dom0 bootloader
	  really break the model, so that doesn't work.

13698 13699 13700 13701 13702
Thu Mar 30 12:15:46 EST 2006 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: catching memory allocation error and existing, as
	  pointed by Jim Meyering

D
Daniel Veillard 已提交
13703 13704 13705 13706
Wed Mar 29 16:36:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* doc/*: rebuilt

13707 13708 13709 13710 13711 13712 13713
Wed Mar 29 13:34:25 EST 2006 Daniel Veillard <veillard@redhat.com>

	* python/libvir.c: fixed a bug in the new wrapper
	* python/tests/Makefile.am python/tests/node.py: added a new test for
	  the new API
	* python/tests/create.py: remove a debug

13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724
Wed Mar 29 14:43:56 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt.h[.in] include/virterror.h src/driver.h
	  src/internal.h src/libvirt_sym.version src/xen_internal.c
	  src/xs_internal.c: added a new entry point to get node hardware
	  informations virGetNodeInfo, and associated driver hook.
	* src/xend_internal.c: implemented the node and version information
	  hooks for the Xen Daemon
	* python/libvir.c python/libvirt-python-api.xml python/generator.py:
	  also added Python bindings for the new call

13725 13726 13727 13728 13729 13730 13731 13732
Tue Mar 28 16:40:08 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* python/libvir.c: call the initialize entry point
	* src/libvirt_sym.version: add initialize entry point
	* src/libvirt.c: make sure we always initialize the lib
	* python/tests/*.py: start updating exemple for exception
	  handling as pointed by Jim Meyering

13733 13734 13735 13736
Tue Mar 28 11:49:59 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* doc/site.xsl doc/libvir.html doc/*: added informations about
	  the Perl bindings, regenerated
J
Jim Meyering 已提交
13737
	* python/libvirt_wrap.h: added a missing include.
13738

13739 13740 13741 13742 13743 13744 13745 13746
Mon Mar 27 17:22:16 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* doc/*: updated module list and rebuilt
	* include/libvirt.h include/libvirt.h.in: added intialization function
	* include/virterror.h src/virterror.c: one more error code
	* src/internal.h: first part of Jim's format checking
	* src/libvirt.c src/xen_internal.[ch] src/xend_internal.[ch]
	  src/xs_internal.[ch]: initialization and registration of drivers
J
Jim Meyering 已提交
13747

13748 13749 13750 13751 13752
Sat Mar 25 11:45:06 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am: add  driver.h to SOURCES as pointed by Jim Meyering
	* doc/*: rebuilt

13753 13754 13755 13756
Sat Mar 25 11:38:29 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/virterror.c: add message as pointed by Jim Meyering

13757 13758 13759 13760
Fri Mar 24 23:57:56 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/virterror.h: fix typos pointed by Jim Meyering

13761 13762 13763 13764 13765
Fri Mar 24 23:36:05 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/virterror.h: applied patch from Daniel Berrange for out of
	  tree compiles.

13766 13767 13768 13769
Fri Mar 24 14:17:52 CET 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.pc.in: applied patch from Daniel Berrange to fix --cflags

13770 13771 13772 13773
Fri Mar 24 14:03:26 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am: fix out of tree build

13774 13775
Thu Mar 23 16:40:37 CET 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
13776
	* src/xs_internal.c src/xs_internal.h include/virterror.h
13777 13778 13779 13780
	  src/virterror.c: created a new module related to Xen Store accesses
	* src/libvirt.c src/xen_internal.[ch] src/xend_internal.[ch]:
	  nearly completed the separation of the code from the different modules

13781 13782 13783 13784 13785 13786
Wed Mar 22 14:43:16 CET 2006 Daniel Veillard <veillard@redhat.com>

	* python/tests/create.py: add one more image path
	* src/libvirt.c src/xend_internal.c src/xend_internal.h: more work
	  on the xend refactoring

13787 13788 13789 13790
Wed Mar 22 13:34:32 EST 2006 Daniel Veillard <veillard@redhat.com>

	* python/tests/create.py: adapt to new naming scheme in FC5

13791 13792 13793 13794 13795 13796
Tue Mar 21 00:40:29 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/driver.h src/xen_internal.c: just add a driver block for
	  the Xen hypervisor direct access module. Need to convert
	  xend_internal.[ch] and make one for the Xenstore now ...

13797 13798 13799 13800 13801 13802 13803
Mon Mar 20 18:43:19 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/driver.h src/internal.h src/libvirt.c src/xen_internal.c
	  src/xen_internal.h docs/apibuild.py: starting the refactoring,
	  first the direct Xen hypervisor module. New header describing the
	  entry points of a driver.

13804 13805 13806 13807 13808 13809 13810 13811
Wed Mar 15 13:10:25 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/hash.c src/hash.h src/internal.h src/libvirt.c src/sexpr.c
	  src/sexpr.h src/virsh.c src/virterror.c src/xen_internal.c
	  src/xen_internal.h src/xend_internal.c src/xend_internal.h
	  src/xml.c src/xml.h: applied cb/indent to homogenize the source
	  style, as a first pass.

13812 13813
Fri Mar 10 11:07:58 CET 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
13814
	* configure.in: applied patch for --with-xen-distdir option from
13815 13816 13817
	  Ronald Aigner
	* docs/site.xsl docs/*.html: added link to Bugzilla

13818 13819 13820 13821 13822
Sat Mar  4 09:59:13 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: another patch from David Lutterkort fixing a typo
	  when generating physical block devices descriptions.

13823 13824 13825 13826 13827
Sat Mar  4 09:56:18 CET 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: applied patch from David Lutterkort adding
	  missing reqs for readline.

13828 13829 13830 13831 13832
Tue Feb 28 15:21:48 CET 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS configure.in libvirt.spec.in include/libvirt.h docs/*:
	  preparing release 0.0.6

13833 13834 13835 13836 13837
Tue Feb 28 14:57:25 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs/errors.html docs/libvir.html docs/*: added a page about
	  error handling and regenerated the docs

D
Daniel Veillard 已提交
13838 13839 13840
Tue Feb 28 13:12:50 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
J
Jim Meyering 已提交
13841 13842
	* python/Makefile.am python/generator.py python/libvir.c
	  python/libvir.py: improved python binding, raise exception
D
Daniel Veillard 已提交
13843 13844 13845 13846 13847
	  when an instance creation or lookup fails, and add support
	  for the global error handler, per conn handler still needed
	* python/tests/error.py python/tests/Makefile.am: adding a
	  regression test

D
Daniel Veillard 已提交
13848 13849 13850 13851
Mon Feb 27 17:36:29 EST 2006 Daniel Veillard <veillard@redhat.com>

	* doc//*: rebuilt

13852 13853 13854 13855 13856 13857
Mon Feb 27 17:33:16 EST 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated, and added python hooks for error handling
	* include/virterror.h src/virterror.c src/xml.c: error interception
	  and reporting should be done.

13858 13859 13860 13861 13862 13863
Mon Feb 27 16:42:46 EST 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c src/xen_internal.[ch]: virConnectOpenReadOnly()
	  should not emit error when failing to open the hypervisor proc
	  entry point.

13864 13865 13866 13867 13868 13869 13870 13871
Mon Feb 27 16:32:55 EST 2006 Daniel Veillard <veillard@redhat.com>

	* include/virterror.h src/libvirt_sym.version: exported
	  virDefaultErrorFunc()
	* src/sexpr.c src/xen_internal.c src/virterror.c include/virterror.h:
	  adding more error reporting though the code, nearly complete.
	* src/sexpr.c: added specific error function to avoid an error report.

13872 13873 13874 13875 13876
Mon Feb 27 14:56:57 EST 2006 Daniel Veillard <veillard@redhat.com>

	* include/virterror.h src/virterror.c src/xend_internal.c: more work
	  plugging in the error system in the code.

D
Daniel Veillard 已提交
13877 13878 13879 13880 13881 13882 13883 13884
Mon Feb 27 17:25:48 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
	* include/virterror.h src/internal.h src/libvirt.c src/virterror.c
	  src/xend_internal.c: commiting a first pass at adding error handling
	  in the code, not finished, but it starts to work, need more coverage
	  and testing.

13885 13886 13887 13888 13889 13890 13891 13892 13893
Fri Feb 24 23:33:55 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am src/internal.h src/libvirt.c src/libvirt_sym.version
	  src/virterror.c include/Makefile.am include/virterror.h: adding
	  the public APIs for errors, callbacks and synchronous. The boring
	  stuff is still left to do, plugging it. Also need to be exposed
	  at the python level.
	* doc//*: rebuilt

13894 13895 13896 13897
Fri Feb 24 22:17:12 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs/index.py docs/search.php: fixing the search engine.

13898 13899 13900 13901 13902 13903
Fri Feb 24 13:25:36 CET 2006 Daniel Veillard <veillard@redhat.com>

	* python/generator.py python/libvir.c python/libvirt-python-api.xml:
	  UUID strings can contain zeroes, so the autogenerated conversion
	  functions don't work.

13904 13905 13906 13907 13908 13909 13910 13911
Thu Feb 23 06:24:46 EST 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c: fixing a bug before the release of 0.0.5
	* python/generator.py python/libvir.c python/libvirt-python-api.xml:
	  also fixing the binding for getting a domain UUID
	* python/tests/Makefile.am python/tests/uuid.py: added a test
	  for the new UUID API

13912 13913 13914 13915 13916 13917
Thu Feb 23 11:41:06 CET 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS configure.in docs/libvir.html docs/news.html: preparing the
	  release of 0.0.5
	* include/libvirt.h.in: fixed APIs definition

13918 13919 13920 13921
Thu Feb 23 05:31:46 EST 2006 Daniel Veillard <veillard@redhat.com>

	* python/tests/Makefile.am: added the create.py in the regression tests

13922 13923 13924 13925 13926 13927 13928
Thu Feb 23 05:13:03 EST 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt.h[.in] src/libvirt.c src/xend_internal.[ch]
	  src/libvirt_sym.version: added virDomainLookupByUUID and
	  virDomainGetUUID to be able to use the persistant UUID names
	* docs//*: rebuilt the docs following the API extension

13929 13930 13931 13932 13933
Wed Feb 22 11:53:45 CET 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in docs/Makefile.am docs/devhelp/*:
	  added devhelp docs support, based on libxml2 stylesheets

D
Daniel Veillard 已提交
13934 13935 13936 13937 13938 13939
Wed Feb 22 09:57:11 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
	* libvirt.spec.in: package the examples in the doc
	* src/Makefile.am: forgot to add xml.h

K
Karel Zak 已提交
13940 13941 13942 13943
Tue Feb 21 22:00:11 CET 2006 Karel Zak <kzak@redhat.com>

	* TODO: added virsh part

13944 13945 13946 13947 13948 13949
Tue Feb 21 09:14:07 EST 2006 Daniel Veillard <veillard@redhat.com>

	* Makefile.am: extended make tests to run those in docs/examples
	* docs/examples/suspend.c docs/examples/*: added an example of
	  suspend/resume and regenerated

D
Daniel Veillard 已提交
13950 13951 13952
Tue Feb 21 14:21:39 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
J
Jim Meyering 已提交
13953
	* python/tests/Makefile.am: fix a small PYTHONPATH bug
D
Daniel Veillard 已提交
13954 13955 13956
	* docs//*: fixed the xsl a bit for toc names, added doc for
	  the python bindings, regenerated

13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968
Tue Feb 21 00:06:30 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c src/xend_internal.c src/xend_internal.h: move the
	  XML dump function around to make sure all entry points are centralized
	  in libvirt.c and also avoid doc generation troubles.
	* docs/examples/Makefile.am docs/examples/index.py: fix the makefile
	  a bit.
	* TODO: updated
	* docs/format.html: added a description of the XML used for the
	  domains.
	* docs//*: rebuilt

13969 13970 13971 13972 13973 13974 13975
Mon Feb 20 21:48:55 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs/examples/examples.xsl docs/examples/index.html
	  docs/site.xsl: integates the examples page in the web site
	* docs//* : fixed generator and rebuilt the docs
	* python/tests/basic.py python/tests/create.py: couple cleanups

D
Daniel Veillard 已提交
13976 13977 13978 13979 13980
Mon Feb 20 12:20:32 EST 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
	* include/libvirt.h include/libvirt.h.in: cleanup
	* src/libvirt.c: remove debugging output
J
Jim Meyering 已提交
13981
	* src/xend_internal.c src/xml.c src/xml.h: reimplement
D
Daniel Veillard 已提交
13982 13983
	  virDomainGetXMLDesc() based on xend interface, now work as user too.

13984 13985 13986 13987 13988 13989 13990
Fri Feb 17 08:17:36 EST 2006 Daniel Veillard <veillard@redhat.com>

	* python/tests/create.py: trying to make test more generic, but it's
	  difficult since it requires a system image
	* src/libvirt.c src/xend_internal.c: fixed the shutdown API which
	  was broken due to a bad reason at the xend level.

13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002
Thu Feb 16 17:47:00 EST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in src/Makefile.am: adding dependency to libxml2
	* include/libvirt.h* src/libvirt.c src/xend_internal.[ch]
	  src/xml.[ch]: added XML parsing for Xen domain descriptions
	  needed for creates, plugged in a converter to s-exp and
	  xend call. Modified the virDomainCreateLinux() to reflect
	  that XML based description. Seems to work.
	* python/tests/create.py: added a test case which seems to work
	  not tested much yet
	* docs/*: regenerated

14003 14004 14005
Wed Feb 15 08:20:23 EST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in include/libvirt.h.in python/Makefile.am
J
Jim Meyering 已提交
14006
	  src/Makefile.am: fix rpm packaging problems whith head, more
14007 14008
	  LIBVIR -> LIBVIRT changes.

14009 14010 14011
Tue Feb 14 15:29:01 EST 2006 Daniel Veillard <veillard@redhat.com>

	* Makefile.am configure.in python/Makefile.am python/tests/Makefile.am
J
Jim Meyering 已提交
14012
	  python/tests/basic.py: added first python test script and
14013 14014
	  a 'make tests' target

14015 14016 14017 14018
Fri Feb 10 16:45:50 CET 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.pc.in: Karel pointed out the name hadn't been updated

14019 14020 14021 14022
Fri Feb 10 11:30:41 EST 2006 Daniel Veillard <veillard@redhat.com>

	* python/libvir.c: fixed one more problem prior to 0.0.4

14023 14024 14025 14026 14027
Fri Feb 10 11:21:53 EST 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS configure.in docs/libvir.html docs/news.html include/libvirt.h
	  libvirt.spec.in: preparing 0.0.4 release

14028 14029 14030 14031
Fri Feb 10 11:09:11 CET 2006 Daniel Veillard <veillard@redhat.com>

	* README TODO config.h.in libvirt.pc.in: more cleanups.

14032 14033 14034 14035
Fri Feb 10 09:42:45 CET 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS docs/*: regenerated and updated the docs post 0.0.3 release

14036 14037 14038 14039 14040
Fri Feb 10 09:39:23 CET 2006 Daniel Veillard <veillard@redhat.com>

	* autogen.sh configure.in: fixed snapshot autogeneration, had to
	  tweak a few things

14041 14042 14043 14044 14045 14046
Wed Feb  8 11:43:43 EST 2006 Daniel Veillard <veillard@redhat.com>

	* //* : renamed the project libvirt , this affects all makefiles,
	  the specs, the icons, the docs, etc ...
	* configure.in: prepare for 0.0.3

K
Karel Zak 已提交
14047 14048 14049 14050
Fri Feb  3 15:47:32 CET 2006 Karel Zak <kzak@redhat.com>

	* src/virsh.c: fix order of the save command options

14051 14052 14053 14054 14055
Tue Jan 31 19:12:19 CET 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in docs/examples/*: starting to add examples. the XSLT
	  still need to be fixed for web site

14056 14057 14058 14059 14060 14061 14062 14063 14064 14065
Tue Jan 31 11:22:51 CET 2006 Daniel Veillard <veillard@redhat.com>

	* python/*: update of the python bindings, fix names, add
	  missing features like list of domains and domain info extraction

Tue Jan 31 11:21:56 CET 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in libvir.spec.in NEWS docs/*: commiting the state of 0.0.2
	  release

14066 14067 14068 14069 14070
Sun Jan 29 11:55:13 CET 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS docs/news.xsl: added stylesheet to generate NEWS file
	* docs/*: updated docs preparing for the release

14071 14072 14073 14074 14075
Sun Jan 29 09:52:03 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs/site.xsl docs/*.html: credits to Diana Fong for graphics
	  and web site design

14076 14077 14078 14079 14080
Sat Jan 28 21:24:05 CET 2006 Daniel Veillard <veillard@redhat.com>

	* python/libvir.c: fix a stupid bug in python bindings (DomainDestroy
	  is still mishandled though)

14081 14082 14083 14084 14085 14086
Fri Jan 27 09:58:31 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c src/xml.c: applied patch from Anthony Liguori
	  to remove the XenStore transactions as this is not needed
	  anymore.

D
Daniel Veillard 已提交
14087 14088 14089 14090 14091 14092
Thu Jan 26 13:10:43 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
	* docs/search.php: use the new web site design
	* python/generator.py: fix a generation bug on python keyword

J
Jim Meyering 已提交
14093
Tue Jan 24 11:44:53 CET 2006 Karel Zak <kzak@redhat.com>
14094 14095

	* src/libvir_sym.version: add virDeomainRestore and virDomainSave
J
Jim Meyering 已提交
14096
	* src/virsh.c: support '=' in options, fix command grammar
14097 14098
	* src/libvir.c: add conn->xshandle checks

14099 14100 14101 14102 14103
Tue Jan 24 14:09:37 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c: Karel pointed out handle was lost in
	  virConnectOpenReadOnly()

14104 14105 14106 14107 14108 14109
Mon Jan 23 23:53:07 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs/site.xsl docs/*.png docs/*.html: update the images from Diana,
	  added favicon to page.
	* src/libvir.c: reorganized the include imports.

14110 14111
Mon Jan 23 14:23:16 CET 2006 Daniel Veillard <veillard@redhat.com>

14112
	* docs/*: augment and try to complete the doc in its current state
14113

14114 14115
Sun Jan 22 17:26:20 CET 2006 Daniel Veillard <veillard@redhat.com>

14116
	* docs/*: started to augment and update the documentation
14117

14118 14119
Sat Jan 21 23:33:46 GMT 2006 Daniel Veillard <veillard@redhat.com>

14120
	* docs//*: mostly finished the revamp in the plane, starts to look good
14121

14122 14123
Fri Jan 20 16:48:05 CET 2006 Daniel Veillard <veillard@redhat.com>

14124
	* docs/* : total revamp of the web site based on Diana Fong design
14125 14126
	  but not completely integrated yet

14127 14128 14129 14130 14131 14132 14133 14134
Fri Jan 20 10:57:44 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h include/libvir.h.in src/libvir.c: revamped the
	  restore API (though it would be better if it was returning
	  a domain pointer in case of success)
	* src/virsh.c: added save and restore to the commands, tested,
	  the option handling need work though

14135 14136 14137 14138 14139 14140
Thu Jan 19 11:21:57 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c src/xend_internal.c src/xend_internal.h: continue
	  the integration of more xend based accesses, virsh seems to work
	  without accessing the xen store now.

14141 14142 14143 14144
Wed Jan 18 19:57:53 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c: small change w.r.t. reboot.

14145 14146 14147
Wed Jan 18 11:32:04 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h include/libvir.h.in src/libvir.c: more integration
J
Jim Meyering 已提交
14148
	  of libxend capabilities, including checkpointing and restoring
14149 14150 14151
	  in a file.
	* docs//*: regenerated the docs

14152 14153 14154 14155 14156 14157 14158 14159 14160
Tue Jan 17 17:53:43 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h[.in]: added VIR_DOMAIN_CRASHED status, small
	  doc fix
	* src/virsh.c: fix a integer being formatted as %s in idof
	* src/internal.h src/libvir.c src/xend_internal.[ch]: started to
	  integrated the xend back-end, especially for getting informations
	  about a domain.

14161 14162 14163 14164 14165 14166
Fri Jan 13 17:39:24 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h.in include/libvir.h src/internal.h src/libvir.c
	  src/xend_internal.c src/xend_internal.h: starting to plug the
	  xend code in, replacing structures mostly, but not finished.

14167 14168 14169 14170 14171 14172
Thu Jan 12 16:36:21 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am src/xend_internal.c src/xend_internal.h:
	  added more of Anthony Liquori libxend code, commented and reformatted
	  this still need to be plugged, it's still dead code ATM.

14173 14174 14175 14176 14177 14178 14179
Wed Jan 11 14:57:01 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs/libvir.html: grammatical fix
	* src/Makefile.am src/sexpr.c src/sexpr.h: starting to integrate
	  Anthony Liquori libxend code
	* src/libvir.c: fix an uninitialized value

14180 14181 14182 14183 14184
Wed Dec 21 17:58:45 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/architecture.* docs/*: added a section on the architecture
	  and regenerated the docs.

14185 14186 14187 14188
Mon Dec 19 19:04:11 CET 2005 Daniel Veillard <veillard@redhat.com>

	* NEWS docs/libvir.html docs/news.html: preparing 0.0.1 release

14189 14190 14191 14192 14193 14194 14195 14196
Mon Dec 19 17:32:22 CET 2005 Daniel Veillard <veillard@redhat.com>

	* Makefile.am configure.in libvir.spec.in python/*: added a first
	  version for python bindings, heavilly based on libxml2/libxslt
	  way of doing things, maybe this need to be revisited. Added packaging
	  too.
	* src/hash.h: fixed the Copyright notice.

K
Karel Zak 已提交
14197 14198
Fri Dec 16 19:35:29 CET 2005 Karel Zak <kzak@redhat.com>

J
Jim Meyering 已提交
14199
	* src/xml.c src/internal.h src/libvir.c: struct checks cleanup,
K
Karel Zak 已提交
14200 14201
	  add macros VIS_IS_DOMAIN(), VIR_IS_CONNECT() and VIR_IS_CONNECTED_DOMAIN()

14202 14203 14204 14205 14206
Fri Dec 16 14:26:05 CET 2005 Daniel Veillard <veillard@redhat.com>

	* libvir.spec.in src/Makefile.am: cleaned up the spec file, removed
	  static libraries, adding virsh as an installed program

14207 14208 14209 14210
Fri Dec 16 13:59:35 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/libvir_sym.version: oops forgot to export the new symbol

14211 14212 14213 14214 14215 14216 14217
Fri Dec 16 13:15:04 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h include/libvir.h.in src/internal.h src/libvir.c:
	  adding the virDomainShutdown() API
	* src/virsh.c: adding a shutdown command
	* docs/*: regenerated

14218 14219 14220
Fri Dec 16 01:43:18 CET 2005 Karel Zak <kzak@redhat.com>

	* include/libvir.h.in: add missing declaration of virDomainGetXMLDesc()
J
Jim Meyering 已提交
14221
	* include/libvir.h.in src/libvir.c src/virsh src/libvir_sym.version: add
14222
	  virDomainGetOSType()
J
Jim Meyering 已提交
14223
	* src/internal.h src/libvir.c src/xml.c: add internal function virDomainGetVM(),
14224 14225
	  move virDomainGetVMInfo() from src/xml.c

K
Karel Zak 已提交
14226 14227 14228 14229
Thu Dec 15 17:56:27 CET 2005 Karel Zak <kzak@redhat.com>

	* src/virsh.c: remove --id / --name options

14230 14231 14232 14233
Wed Dec 14 16:28:24 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: add dump of os/boot informations

14234 14235 14236 14237
Wed Dec 14 13:35:39 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: added dump of physical vbd and read-only status

14238 14239 14240 14241 14242
Wed Dec 14 12:20:06 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: started to add block devices and interfaces descriptions
	  in the XML dump.

14243 14244 14245 14246 14247 14248 14249 14250
Tue Dec 13 17:20:11 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h src/Makefile.am src/internal.h src/libvir.c
	  src/libvir_sym.version src/virsh.c src/xml.c: started working on
	  the XML dump, added a dumpxml virsh version and a bit of
	  infrastructure code. Found a way to detect dead ID from xenstore
	  data.

14251 14252 14253 14254 14255
Mon Dec 12 14:21:18 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c src/xen_internal.c src/xen_internal.h: completing the
	  API implementation, only CreateLinux is now missing.

14256 14257 14258 14259 14260
Fri Dec  9 15:39:18 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/search.php docs/index.py docs/*.xsl docs/html/*: fixed the
	  page generation, added the search engine.

14261 14262 14263 14264
Fri Dec  9 14:03:13 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/*: extended the documentation

14265 14266 14267 14268 14269
Fri Dec  9 11:15:41 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.in: adding --without-depends to make dist on non
	  Xenified machine.

14270 14271 14272 14273 14274
Fri Dec  9 00:47:12 CET 2005 Daniel Veillard <veillard@redhat.com>

	* Makefile.am include/libvir.h.in libvir.pc.in: various fixes.
	* docs/*: regenerated the docs

14275 14276 14277 14278 14279
Fri Dec  9 00:02:06 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: added support for suspend/resume/destroy, validating
	  the previous code.

14280 14281 14282 14283 14284
Thu Dec  8 18:16:20 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c src/xen_internal.c src/xen_internal.h: implement
	  Pause, Resume, Destroy, but untested yet.

14285 14286 14287 14288 14289 14290
Thu Dec  8 17:43:11 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h src/libvir.c src/libvir_sym.version: adding
	  virDomainFree()
	* docs/*: regenerated the docs

14291 14292 14293 14294 14295
Thu Dec  8 16:07:07 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.in include/libvir.h.in include/libvir.h src/Makefile.am
	  include/Makefile.am: provide/fix library versionning information
	  include/libvir.h is now generated !
J
Jim Meyering 已提交
14296
	* include/libvir.h.in src/libvir.c: revamp APIs and implement
14297 14298 14299
	  complete ones.
	* src/virsh.c: finish the version command and a bit of cleanup.

K
Karel Zak 已提交
14300
Thu Dec  8 15:20:57 CET 2005 Karel Zak <kzak@redhat.com>
14301

K
Karel Zak 已提交
14302 14303
	* src/virsh.c: code cleanup to prevent gcc warnings

14304 14305 14306 14307 14308 14309 14310
Thu Dec  8 14:25:09 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.in: activate pedantic flags
	* src/libvir.c src/libvir_sym.version src/xen_internal.[ch]
	  include/libvir.h: implementing hypervisor Version and Type interfaces
	* src/virsh.c: adding a version command, WIP

K
Karel Zak 已提交
14311
Thu Dec  8 11:19:48 CET 2005 Karel Zak <kzak@redhat.com>
14312

K
Karel Zak 已提交
14313 14314 14315
	* src/Makefile.am src/virsh.c configure.in: adding readline support,
	  and implement basic commands to virsh.

14316 14317 14318 14319
Thu Dec  8 11:12:36 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c src/xen_internal.c: fixed the new Xen hypervisor call

14320 14321 14322 14323 14324 14325
Wed Dec  7 19:09:48 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.in src/Makefile.am src/libvir.c src/xen_internal.c
	  src/xen_internal.h: removed dependancy on xenctrl library, untested
	  yet.

14326 14327 14328 14329
Wed Dec  7 15:08:54 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/*: adding missing links to API page.

14330 14331 14332 14333 14334 14335
Wed Dec  7 14:43:28 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.in libvir.spec.in docs/Makefile.am: make sure the
	  docs are installed and packaged in the -devel RPM
	* docs/api.xsl docs/newapi.xsl: forgot to commit API HTML stylesheets

K
Karel Zak 已提交
14336 14337 14338 14339
Wed Dec  7 14:09:48 CET 2005 Karel Zak <kzak@redhat.com>
	* include/libvir.h src/libvir.c: adding xenConnectNumOfDomains()
	  to returns number of active domains.

14340 14341 14342 14343 14344 14345
Wed Dec  7 13:55:04 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/ChangeLog.awk docs/ChangeLog.xsl: Changelog handling from
	  libxml2 adapted to libvir
	* docs/* docs/html/libxml-libvir.html: regenerated

14346 14347 14348 14349 14350
Wed Dec  7 11:58:20 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/* docs/html/*: more work on the docs generation
	* include/libvir.h: adding informations on the header

14351 14352 14353 14354 14355 14356 14357 14358
Wed Dec  7 10:31:29 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.in docs/FAQ.html docs/Libxml2-Logo-90x34.gif
	  docs/Makefile.am docs/bugs.html docs/index.html docs/intro.html
	  docs/libvir.html docs/redhat.gif docs/site.xsl: starting to add
	  the web site, based on libxml2 one.
	* src/hash.c: add a missing include

14359 14360 14361 14362 14363 14364 14365
Tue Dec  6 17:47:11 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/Makefile.am docs/apibuild.py docs/libvir-api.xml
	  docs/libvir-refs.xml: fix XML API generation
	* include/libvir.h src/libvir.c src/virsh.c: fix the info memory
	  API again, use KB, not bytes so that an unsigned long is sufficient.

14366 14367 14368 14369 14370
Tue Dec  6 17:12:52 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h src/libvir.c src/virsh.c: adding the extraction
	  of the number of virtual CPUs for both interfaces.

14371 14372
Tue Dec  6 14:46:50 CET 2005 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
14373
	* include/libvir.h src/libvir.c src/virsh.c: tweaking of the
14374 14375 14376
	  GetInfo() API, returns bytes and nanoseconds, try to fix
	  the scales, but time on unpriviledged interfaces doesn't work.

14377 14378 14379 14380 14381 14382
Mon Dec  5 19:14:05 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h src/libvir.c src/libvir_sym.version src/virsh.c:
	  first pass at trying to implement virDomainGetInfo() quite a bit
	  of work left to do.

14383 14384 14385 14386 14387 14388 14389 14390
Mon Dec  5 12:15:16 CET 2005 Daniel Veillard <veillard@redhat.com>

	* Makefile.am README TODO autogen.sh configure.in libvir.pc.in
	  libvir.spec.in docs/Makefile.am docs/apibuild.py docs/structures.fig
	  include/Makefile.am include/libvir.h src/Makefile.am src/hash.c
	  src/hash.h src/internal.h src/libvir.c src/libvir_sym.version
	  src/virsh.c: renamed to libvir

14391 14392 14393 14394 14395 14396
Fri Dec  2 15:15:26 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libxen.h src/libxen.c src/libxen_sym.version: adding
	  xenConnectListDomains() to list active domains
	* src/xensh.c: integrated a basic test for xenConnectListDomains()

14397 14398 14399 14400 14401
Fri Dec  2 13:10:04 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.in src/Makefile.am: more warnings from compiler and
	  link static in work environement

14402 14403 14404 14405 14406 14407 14408
Thu Dec  1 18:32:43 CET 2005 Daniel Veillard <veillard@redhat.com>

	* Makefile.am configure.in docs/apibuild.py docs/libxen-api.xml
	  docs/libxen-refs.xml docs/structures.fig: starting to add docs
	  and the extraction tool
	* src/libxen.c: fixed comments error raised by apibuild

14409 14410 14411 14412 14413 14414 14415
Thu Dec  1 17:34:23 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libxen.h src/libxen.c src/libxen_sym.version: add read-only
	  connections for normal users (but need /var/run/xenstored/socket_ro
	  to be chmoded to 666)
	* src/xensh.c: if not root use the RO access

14416 14417 14418 14419 14420 14421
Thu Dec  1 11:50:16 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libxen.h src/libxen.c src/libxen_sym.version src/xensh.c:
	  changed entry points naming conventions based on feedback with
	  Karel Zak

14422 14423 14424 14425 14426 14427 14428 14429
Wed Nov 30 14:18:19 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am src/hash.[ch]: added hash module based on libxml2
	  one.
	* include/libxen.h src/libxen.c src/libxen_sym.version: extend API
	  start to access libxenctrl directly (need xen update to get includes)
	* src/xensh.c: access to both xenstore and hypervisor

14430 14431 14432 14433 14434 14435
Tue Nov 22 17:09:11 CET 2005 Daniel Veillard <veillard@redhat.com>

	* configure.in: checking xenstore library, error out on missing libs
	* include/libxen.h src/libxen.c src/libxen_sym.version: adding new
	  entry points

14436 14437 14438 14439 14440
Thu Nov 10 17:11:03 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/makefile.am src/libxen.c src/xensh.c: add a small tool sensh,
	  implement xenopenconnect and xencloseconnect.

14441 14442 14443 14444
Wed Nov  9 10:57:12 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/Goals: added a Goals document for the library

D
Daniel Veillard 已提交
14445 14446 14447 14448 14449 14450 14451
Mon Nov  7 18:14:50 CET 2005 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
	* include/libxen.h src/libxen.c src/libxen_sym.version: extended
	  entry points to a first minimal set.
	* src/internal.h: TODO macro

14452 14453 14454 14455 14456 14457 14458
Wed Nov  2 16:35:54 CET 2005 Daniel Veillard <veillard@redhat.com>

	* TODO libxen.pc.in libxen.spec.in include/Makefile.am Makefile.am
	  config.h.in configure.in: fix make dist, add rpm packaging
	* src/libxen_sym.version src/Makefile.am: set a policy of no
	  export by default of library symbols

14459 14460 14461 14462 14463 14464
Wed Nov  2 14:17:50 CET 2005 Daniel Veillard <veillard@redhat.com>

	* AUTHORS NEWS README autogen.sh configure.in: allow autogen.sh and
	  configure to start working
	* src/Makefile.am src/internal.h src/libxen.c: make the first compile

D
Daniel Veillard 已提交
14465 14466 14467 14468
Wed Nov  2 13:44:47 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/libxen.c src/Makefile.am include/libxen.h configure.in
	  Makefile.am COPYING.LIB: creation