ChangeLog 319.4 KB
Newer Older
1 2 3 4
Thu May 22 11:35:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Fix misleading comment about numactl

5 6 7 8
Thu May 22 11:31:29 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Quote all args to macros

9 10 11 12 13 14 15 16 17
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

18 19 20 21 22 23 24 25 26 27 28 29 30
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 已提交
31 32 33 34 35 36 37 38 39
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 已提交
40 41 42 43 44
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

45 46 47 48
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

49 50 51 52 53 54 55 56 57 58 59 60
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

61 62 63 64 65 66
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.

67 68 69 70 71
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

72 73 74 75 76 77 78
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

79 80 81 82 83
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 已提交
84 85 86 87 88
Fri May 16 18:53:12 CEST 2008 Jim Meyering <meyering@redhat.com>

	plug two leaks
	* src/qemu_conf.c (qemudParseXML): Free "obj" unconditionally.

89 90 91 92 93 94 95 96 97 98 99 100
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 已提交
101 102
Fri May 16 11:29:30 CEST 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
103 104
	* src/xml.c: Include "c-ctype.h".

J
Jim Meyering 已提交
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
	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 已提交
142 143 144 145 146
	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 已提交
147 148 149 150
Thu May 15 16:06:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Remove use of strcmp()

151 152 153 154
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 已提交
155 156 157 158 159 160 161 162 163 164
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

165 166 167 168 169 170 171
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

172 173 174
Thu May 15 12:08:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	Support paravirt framebuffer input configuration for xenner guests
175
	* src/qemu_driver.c, src/qemu_conf.c, src/qemu_conf.h: Add support
176 177 178 179 180 181
	 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

182 183 184 185 186 187 188 189 190 191 192
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

193 194
Thu May 15 09:12:08 CEST 2008 Jim Meyering <meyering@redhat.com>

195 196 197 198 199 200 201 202 203 204 205 206 207
	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):

208 209
	* Makefile.maint (sc_prohibit_strcmp): Also prohibit strncmp.

210 211 212 213 214 215 216 217 218
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

219 220 221 222 223 224
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.

225 226 227 228 229 230 231
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

232 233 234 235 236 237 238 239 240 241 242 243 244
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

245 246 247 248 249 250
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.

251 252 253
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
254
	registers a handler
255 256 257 258 259
	* 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
260
	received from container process
261 262 263 264
	* 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

265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
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

280 281
Fri May  9 15:45:39 CEST 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
282 283 284 285 286 287 288
	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.

289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
	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>.

309 310 311 312 313 314 315 316 317 318 319 320 321 322
	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:

323 324 325 326 327
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

328 329
Fri May  9 10:01:34 EST 2008 Jim Meyering <meyering@redhat.com>

330 331 332
	sytnax-check: add a check for risky ctype macro use
	* Makefile.maint (sc_risky_ctype_macros): New rule.

333 334 335
	avoid one more ctype vs. sign-extension problem
	* src/util.c (TOLOWER): Also convert tolower argument.

336 337 338 339 340 341 342 343 344 345
	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 已提交
346 347 348 349 350
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

351 352 353 354
Thu May  8 10:36:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* HACKING: Added notes on string/memory/buffer internal APIs

355 356 357 358 359 360 361 362
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 已提交
363 364 365 366 367 368
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 已提交
369 370 371 372 373
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)

374 375 376 377 378
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

379 380 381 382 383
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

384 385 386 387 388 389 390 391 392 393 394 395 396 397
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 已提交
398 399 400 401 402 403 404 405 406
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

407 408 409 410
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

411 412 413 414 415
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.

416 417 418 419 420
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)

421 422 423 424 425
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)

426 427 428 429 430
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 已提交
431 432 433 434 435 436 437 438 439 440 441
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.

442 443 444 445 446
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)

447 448 449 450 451 452 453 454 455 456 457 458 459 460
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

461 462
Tue Apr 29 21:43:28 CEST 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
463 464 465
	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.
466
	* gnulib/tests/test-EOVERFLOW.c: Likewise.
467
	* gnulib/lib/stdio-impl.h: Likewise.
J
Jim Meyering 已提交
468

J
Jim Meyering 已提交
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519
	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.

520 521 522 523 524 525 526 527 528 529
	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):

530 531 532 533 534
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

535 536 537 538 539
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 已提交
540 541 542 543 544
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

545 546 547 548 549
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 已提交
550 551
Tue Apr 29 15:20:12 CEST 2008 Jim Meyering <meyering@redhat.com>

552 553 554
	also check for useless test-before-xmlFree
	* Makefile.cfg (useless_free_options): Add --name=xmlFree.

555 556 557
	Recognize more uses of strcmp.
	* Makefile.maint (sc_prohibit_strcmp): Relax regexp.

558 559 560 561
	Avoid "make syntax-check" failures.
	* src/memory.c: Include "config.h".
	Remove trailing blanks.

J
Jim Meyering 已提交
562 563 564 565
	Avoid in-function #if directives.
	* src/parthelper.c [!PED_PARTITION_PROTECTED]: Define to 0.
	Remove in-function #ifdefs.

566 567 568 569 570 571
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).

572 573 574 575 576 577 578 579 580 581
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

582 583 584 585 586 587 588 589 590 591 592
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 已提交
593 594 595 596 597 598
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.

599 600 601 602 603
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 已提交
604 605 606 607 608 609
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.

610 611 612 613 614 615 616
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.

617 618 619 620 621 622 623 624 625 626
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

627 628 629 630 631 632 633 634 635 636 637 638 639
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>
640 641 642 643 644 645 646

	* 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

647 648 649 650 651
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.

652 653 654 655 656 657 658 659 660 661 662
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 已提交
663 664 665 666 667
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.

668 669 670 671
Thu Apr 24 14:34:37 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* AUTHORS: update, list people with commit access

D
Daniel Veillard 已提交
672 673 674 675
Thu Apr 24 11:42:53 CEST 2008 Daniel Veillard <veillard@redhat.com>

	* libvirt.css search.php: fix the search box and PHP output

676 677
Thu Apr 24 18:00:21 JST 2008 Atsushi SAKAI <sakaia@jp.fujitsu.com>

D
Daniel Veillard 已提交
678
	* proxy/libvirt_proxy.c docs/*: fixing typos
679

D
Daniel Veillard 已提交
680 681 682 683 684
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 已提交
685 686 687 688
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 已提交
689 690 691 692 693
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

694 695 696 697 698 699 700 701 702 703 704 705 706 707
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

708 709 710 711 712 713 714
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 已提交
715 716 717 718 719 720
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.

721 722 723 724 725 726
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.

727 728 729 730 731 732 733 734 735
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

736 737 738 739 740
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

741 742 743 744 745
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 已提交
746 747 748 749 750 751 752 753 754 755 756 757
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.

758 759 760 761 762
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

763 764 765 766
Mon Apr 14 13:44:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* po/POTFILES.in: Added src/lxc_container.c entry

767 768 769 770 771
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.

772 773
Thu Apr 10 18:54:03 CEST 2008 Jim Meyering <meyering@redhat.com>

774 775
	HACKING: New file: begin to describe contributor/coding guidelines

776 777 778
	ensure that no C source file uses TABs for indentation
	* Makefile.maint (sc_TAB_in_indentation): New rule.

779 780 781 782
	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
783 784 785 786 787 788 789 790

	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 已提交
791 792 793 794 795 796
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>
797 798 799 800

	* src/xend_internal.c: applied a patch from Ryan Scott to ask
	  xend to save the change in the config file

D
Daniel Veillard 已提交
801
Thu Apr 10 09:28:31 CEST 2008 Daniel Veillard <veillard@redhat.com>
802 803 804 805 806 807

	* 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 已提交
808 809 810 811 812
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.

813 814 815 816 817 818
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.

819 820 821 822 823 824
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.

825 826 827 828 829 830
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 已提交
831
Tue Apr  8 18:44:27 CEST 2008 Daniel Veillard <veillard@redhat.com>
D
Daniel Veillard 已提交
832 833 834

	* configure.in NEWS doc/* po/*: making libvirt-0.4.2 release

835 836
Mon Apr  8 17:32:07 CET 2008 Jim Meyering <meyering@redhat.com>

837 838
	* configure.in (ALL_LINGUAS): Fix typo: s/Latn/latin/.

839 840 841 842 843 844 845 846
	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.

847 848 849 850 851
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 已提交
852
Tue Apr  8 11:50:42 CEST 2008 Daniel Veillard <veillard@redhat.com>
853 854 855 856

	* po/sr.po po/sr@Latn.po po/sr@latin.po: fix/update serbian
	  translations.

D
Daniel Veillard 已提交
857
Tue Apr  8 11:24:28 CEST 2008 Daniel Veillard <veillard@redhat.com>
858 859 860 861

	* src/test.c: patch from Cole Robinson adding xen and hvm guest types
	  to the test driver's capabilities.

D
Daniel Veillard 已提交
862
Tue Apr  8 10:19:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
863 864 865

	* python/generator.py: fix an infinite loop bug

866 867 868 869
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 已提交
870 871 872 873 874
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.

875 876 877 878 879 880
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 已提交
881 882 883 884
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 已提交
885 886 887 888 889
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 已提交
890 891 892 893 894 895 896
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

897 898 899 900 901
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

902 903 904 905 906 907
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).

908 909 910 911 912
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

913 914 915 916 917 918
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

919 920 921 922 923
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

924 925 926 927 928 929 930 931
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

932 933 934 935 936 937 938 939
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
940 941
	  (patches from Mads Chr. Olesen)

942
Fri Mar 28 13:55:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
943 944 945 946

	* src/storage_conf.c: Fix XML output tag for FS storage pools
	directory path

947 948 949 950 951 952
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)

953 954
Thu Mar 27 14:36:56 CET 2008 Jim Meyering <meyering@redhat.com>

955 956 957 958
	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.

959 960 961 962 963
	testError: mark most string arguments for translation
	* Makefile.maint (msg_gen_function): Add testError
	* src/test.c (testDomainSave, testDomainRestore): Mark strings.
	(testDomainCoreDump): Likewise.

964 965 966 967 968 969 970
	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.

971 972 973 974 975 976 977 978 979 980 981 982 983 984
	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.

985 986 987 988 989 990 991
	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.

992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006
	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.

1007 1008 1009 1010
	ReportError: mark for translation string args to this function
	* Makefile.maint (msg_gen_function): Add ReportError.
	* src/util.c (_virExec): Mark strings.

1011 1012 1013 1014 1015
	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.

1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077
	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.

1078 1079 1080 1081 1082 1083 1084
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.

1085 1086 1087 1088 1089
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.

1090 1091 1092 1093 1094
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

1095 1096 1097 1098
Wed Mar 26 12:57:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	* po/lt.po: Fixed typo (Beth Kon).

1099 1100 1101 1102 1103
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).

1104 1105 1106 1107 1108
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

1109 1110 1111 1112 1113
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 已提交
1114 1115
Mon Mar 24 11:16:58 CET 2008 Jim Meyering <meyering@redhat.com>

1116 1117
	* Makefile.maint (err_func_re): Add lxcError.

1118 1119
	* qemud/remote.c: Don't include <getopt.h>. Not used.

1120 1121 1122 1123
	Sync Makefile rules from coreutils.
	* Makefile.maint: Merge.
	* GNUmakefile: Update from coreutils.

1124 1125 1126 1127 1128 1129 1130 1131 1132
	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 已提交
1133 1134 1135 1136 1137 1138
	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.

1139 1140 1141 1142 1143 1144
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 已提交
1145 1146 1147 1148 1149 1150 1151 1152
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

1153 1154 1155 1156 1157 1158
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

1159 1160 1161 1162 1163
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

1164 1165 1166 1167 1168
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.

1169 1170 1171 1172 1173 1174 1175 1176 1177
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.
1178

1179 1180 1181 1182 1183 1184
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.

1185 1186 1187 1188 1189
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

1190 1191 1192 1193 1194 1195
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

1196 1197 1198 1199 1200
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

1201 1202 1203 1204 1205
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.

1206 1207 1208 1209
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
1210
	  tests/confdata/libvirtd.conf tests/confdata/libvirtd.out: patch from
1211 1212
	  Atsushi SAKAI fixing a ot more typo

1213 1214 1215 1216 1217 1218 1219
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 已提交
1220 1221 1222 1223
Fri Mar 14 16:55:34 CET 2008 Daniel Veillard <veillard@redhat.com>

	* po/*: updated translations

D
typo  
Daniel Veillard 已提交
1224 1225 1226 1227
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 已提交
1228 1229 1230 1231 1232
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

1233 1234
Fri Mar 14 11:01:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>

D
Daniel Veillard 已提交
1235 1236 1237 1238 1239 1240 1241 1242 1243
	* 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:
1244 1245 1246
	Fix typo "informations" -> "information" (Atsushi SAKAI and
	Saori FUKUTA).

1247 1248
Thu Mar 13 10:24:45 CET 2008 Daniel Veillard <veillard@redhat.com>

1249
	* src/libvirt.c: virDomainSetSchedulerParameters need to be
1250 1251
	  blocked on read-only connections, patch from Saori Fukuta

1252 1253 1254 1255
Thu Mar 13 10:19:16 CET 2008 Daniel Veillard <veillard@redhat.com>

	* src/bridge.c src/virsh.c: typo fixes from Atsushi SAKAI

1256 1257 1258 1259 1260
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.

1261 1262 1263 1264 1265 1266
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.

1267 1268 1269 1270 1271
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.

1272 1273 1274 1275 1276
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.

1277 1278 1279 1280 1281
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

1282 1283 1284 1285 1286
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

1287 1288 1289 1290 1291 1292
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).

1293 1294 1295 1296 1297 1298
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).

1299 1300 1301 1302 1303 1304 1305
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.

1306 1307 1308 1309 1310
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.

1311 1312
Mon Mar  3 19:09:51 CET 2008 Jim Meyering <meyering@redhat.com>

1313 1314 1315 1316
	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].

1317 1318 1319 1320
	Avoid segfault upon early libvirtd failure.
	* qemud/qemud.c (main): Don't call qemudCleanup on an
	uninitialized pointer.

D
Daniel Veillard 已提交
1321 1322 1323 1324 1325
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

1326 1327
Mon Mar  3 14:14:03 CET 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
1328 1329 1330 1331
	Plug saslUsernameWhitelist leak.
	* qemud/qemud.c (qemudCleanup): Free the array as well as
	the strings in it.

J
Jim Meyering 已提交
1332 1333 1334 1335
	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 已提交
1336 1337 1338 1339
	Plug remoteReadConfigFile leak.
	* qemud/qemud.c (remoteReadConfigFile): Be careful to free
	"conf" after a successful virConfReadFile.

1340 1341 1342 1343
	Plug two leaks: host.migrateTrans and arch.name
	* src/capabilities.c (virCapabilitiesFree): Free host.migrateTrans.
	(virCapabilitiesFreeGuest): Free arch.name member.

1344 1345 1346 1347
	Plug virCapabilities*GuestDomain leak.
	* src/capabilities.c (virCapabilitiesFreeGuestDomain): Free dom->type.
	(virCapabilitiesAddGuestDomain): Remove duplicate strdup stmt.

1348 1349 1350 1351 1352 1353
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 已提交
1354 1355 1356 1357
Fri Feb 29 18:01:14 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/Makefile.am: fix a broken line split

1358 1359 1360 1361
Fri Feb 29 12:50:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>

	Many typos fixed (Atsushi SAKAI).

1362 1363
Thu Feb 28 18:04:59 CET 2008 Jim Meyering <meyering@redhat.com>

1364 1365 1366 1367 1368 1369
	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.

1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387
	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 已提交
1388 1389 1390 1391 1392
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.

1393 1394 1395 1396 1397
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 已提交
1398 1399 1400 1401 1402
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.

1403 1404 1405 1406 1407 1408 1409 1410 1411
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).

1412 1413
Wed Feb 27 15:39:10 CET 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
1414 1415 1416
	Avoid "make distcheck" failure.
	* src/Makefile.am (virsh_SOURCES): Add util-lib.h.

1417 1418 1419 1420
	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 已提交
1421 1422 1423 1424 1425
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>
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437

	* 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

1438 1439 1440 1441 1442 1443 1444 1445
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).

1446 1447 1448 1449 1450 1451 1452
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).

1453 1454 1455 1456 1457 1458 1459 1460
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

1461 1462 1463 1464 1465
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.

1466 1467 1468 1469 1470 1471 1472 1473 1474 1475
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.

1476 1477
Fri Feb 22 13:32:11 CET 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491
	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.

1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510
	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.

1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523
	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.

1524 1525 1526 1527
	With --enable-iptables-lokkit=no, avoid warning about unused parameter.
	* src/iptables.c (iptRulesSave) [!ENABLE_IPTABLES_LOKKIT]:
	Mark parameter as used.

1528 1529 1530
	With --without-xen, avoid warning about unused function.
	* tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define.

1531 1532
Thu Feb 21 19:22:10 CET 2008 Jim Meyering <meyering@redhat.com>

J
Jim Meyering 已提交
1533 1534 1535 1536
	Rewrite openvzSetUUID.
	* src/openvz_conf.c (openvzSetUUID): Rewrite to avoid unchecked
	lseek, write, and close as well as a potential file descriptor leak.

1537 1538 1539 1540
	Handle failed openvzLocateConfDir.
	* src/openvz_conf.c (openvzLocateConfDir, openvzGetVPSUUID):
	(openvzSetUUID): Don't dereference NULL upon failure.

1541 1542 1543 1544 1545
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 已提交
1546 1547 1548 1549
Wed Feb 20 22:48:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/libvirt_sym.version: Added missing virStorageVolGetConnect

1550 1551 1552 1553 1554 1555
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.

1556 1557 1558 1559 1560 1561 1562 1563 1564
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

1565 1566 1567 1568 1569 1570
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

1571 1572 1573 1574 1575 1576
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

1577 1578 1579 1580
Wed Feb 20 10:49:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/test.c: no-op stub impl of storage APIs

1581 1582 1583 1584 1585 1586 1587 1588 1589
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

1590 1591 1592 1593 1594 1595 1596 1597 1598
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

1599 1600 1601 1602
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

1603 1604 1605 1606 1607 1608 1609 1610 1611 1612
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

1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623
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

1624 1625 1626 1627 1628 1629 1630 1631
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

1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645
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

1646 1647 1648 1649 1650 1651 1652 1653 1654 1655
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

1656 1657 1658 1659
Wed Feb 20 10:22:27 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: Added commands for all storage APIs

1660 1661 1662 1663 1664
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

1665 1666 1667 1668 1669 1670
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

1671 1672 1673 1674 1675 1676 1677 1678
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

1679 1680 1681 1682 1683
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

1684 1685 1686 1687 1688 1689 1690 1691
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

1692 1693 1694 1695 1696
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

1697 1698 1699 1700 1701 1702 1703 1704 1705
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.

1706 1707
Tue Feb 12 9:44:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

1708
	* .x-sc_trailing_blank: ignore NEWS / ChangeLog file
1709

D
Daniel Veillard 已提交
1710 1711 1712 1713 1714 1715
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

1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734
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.

1735 1736
Thu Feb  7 20:19:19 CET 2008 Jim Meyering  <meyering@redhat.com>

J
Jim Meyering 已提交
1737 1738 1739 1740 1741 1742 1743
	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.

1744 1745
	* autobuild.sh: Run "make syntax-check", so the autobuilder does this.

D
Daniel Veillard 已提交
1746 1747 1748 1749
Thu Feb  7 18:02:22 CET 2008 Daniel Veillard <veillard@redhat.com>

	* qemud/remote.c: fix a missing ')' introduced earlier

D
Daniel Veillard 已提交
1750 1751 1752 1753 1754
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.

1755 1756
Thu Feb  7 17:48:30 CET 2008 Jim Meyering  <meyering@redhat.com>

1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788
	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):

1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807
	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 已提交
1808

D
Daniel Veillard 已提交
1809 1810
2008-02-07  Jim Meyering  <meyering@redhat.com>

J
Jim Meyering 已提交
1811 1812 1813
	* src/xm_internal.c: Remove trailing blanks
	* NEWS, ChangeLog: Likewise.

1814 1815 1816 1817 1818
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

1819 1820 1821
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 已提交
1822

1823 1824 1825
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 已提交
1826

1827 1828 1829 1830 1831
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.

1832 1833 1834 1835
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 已提交
1836

1837 1838
Wed Feb  6 18:55:37 CET 2008 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
1839
	* src/xm_internal.[ch]: applied patch from Shigeki Sakamoto to
1840 1841
	  add/change/delete a Disk/NIC of an inactive domains

1842 1843
Wed Feb  6 17:22:34 CET 2008 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
1844
	* src/qemu_conf.c: applied 2 patches from Guido Guenther to avoid
1845 1846
	  crashes when reading the config file

1847 1848
Tue Feb  3 20:26:53 CET 2008  Jim Meyering  <meyering@redhat.com>

1849 1850 1851
	Fix new "make distcheck" failures.
	* src/xml.c (virDomainParseXMLOSDescHVM): Mark a diagnostic.

1852 1853 1854 1855
	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.

1856 1857 1858 1859 1860 1861 1862 1863 1864
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

1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886
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.

1887 1888
Mon Feb  2 15:56:45 CET 2008  Jim Meyering  <meyering@redhat.com>

1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901
	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 已提交
1902 1903 1904
	Mark a string for translation.
	* src/virsh.c: Add a "%s" and wrap with _(...).

1905 1906 1907 1908 1909
	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.

1910 1911 1912 1913 1914
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.

1915 1916 1917 1918 1919 1920
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 已提交
1921 1922
Wed Jan 30 20:49:34 CET 2008  Jim Meyering  <meyering@redhat.com>

1923 1924 1925 1926 1927
	Avoid virsh leaks due to missing virDomainFree(dom) calls
	* src/virsh.c (cmdDomuuid): Add missing virDomainFree call.
	(cmdAttachDevice): Likewise.
	(cmdDetachDevice): Likewise.

1928 1929
	* src/virsh.c (cmdCapabilities): Plug a small leak.

1930 1931
	* src/test.c (testLoadDomain): Avoid leaks upon failure.

1932 1933 1934
	Avoid used-uninitialized errors in test driver.
	* src/test.c (testOpenFromFile): Initialize "privconn".

1935 1936
	* src/libvirt.c (do_open): Avoid double-free upon failure.

1937 1938 1939 1940
	Avoid segfault upon malloc failure, and plug a leak.
	* src/test.c (testDomainSave): Detect testDomainDumpXML failure.
	Free "xml".

J
Jim Meyering 已提交
1941 1942 1943 1944 1945 1946
	Plug test-related leaks.
	* src/test.c (testLoadNetwork): Free forwardDev.
	(testLoadDomain): Free ctxt.
	(testLoadNetwork): Likewise.
	(testOpenFromFile): Likewise.

D
Daniel P. Berrange 已提交
1947 1948 1949 1950
Wed Jan 30 13:18:25 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/hash.c: Remove double mutex lock() flaw

1951 1952 1953 1954 1955 1956 1957 1958
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.

1959 1960 1961 1962 1963 1964
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".

1965 1966 1967 1968 1969 1970 1971
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

1972 1973
Tue Jan 29 18:39:25 CET 2008  Jim Meyering  <meyering@redhat.com>

1974 1975 1976 1977 1978 1979 1980 1981 1982
	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 已提交
1983 1984 1985 1986
	Enable two more tests.
	* Makefile.cfg (local-checks-to-skip)
	[sc_cast_of_x_alloc_return_value, sc_cast_of_argument_to_free]: Enable.

1987 1988 1989 1990 1991 1992 1993
	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.

1994 1995 1996 1997
	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 已提交
1998 1999 2000 2001 2002 2003 2004
	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.

2005 2006 2007 2008 2009 2010
	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.

2011 2012 2013 2014 2015 2016
	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.

2017 2018 2019 2020 2021 2022 2023 2024 2025
	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.

2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054
	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.

2055 2056 2057 2058 2059 2060
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.

2061 2062 2063 2064 2065
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)

2066 2067 2068 2069 2070
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

2071 2072 2073 2074 2075 2076
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 已提交
2077 2078 2079 2080
Wed Jan 23 14:36:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Fix enablement of SASL

2081 2082 2083 2084 2085 2086 2087 2088 2089
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 已提交
2090 2091 2092 2093 2094
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.

2095 2096 2097 2098 2099 2100 2101 2102
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

2103 2104 2105 2106 2107
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".

2108 2109 2110 2111 2112 2113 2114 2115 2116 2117
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

2118 2119 2120 2121 2122 2123 2124
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

2125 2126 2127 2128 2129 2130 2131 2132
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

2133 2134 2135 2136 2137 2138 2139
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

2140 2141 2142 2143
Mon Jan 21 10:12:04 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/openvz_driver.c: Remove no-op networking APIs

2144 2145
Mon Jan 21 15:03:04 CET 2008  Jim Meyering  <meyering@redhat.com>

2146 2147 2148 2149 2150 2151 2152 2153 2154
	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.

2155 2156 2157 2158 2159
	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 已提交
2160 2161
Mon Jan 21 09:25:12 CET 2008 Daniel Veillard <veillard@redhat.com>

2162
	* src/xml-internal.c: apply patch from Hiroyuki Kaguchi to
D
Daniel Veillard 已提交
2163 2164
	  preserve the vif list order.

D
Daniel Veillard 已提交
2165 2166 2167 2168 2169
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

2170 2171 2172 2173 2174
Sun Jan 20 11:01:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>

	* src/internal.h: Add xstrtol_ull, xstrtol_ll convenience
	functions

2175 2176 2177 2178 2179
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

2180 2181 2182 2183 2184 2185 2186 2187 2188
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

2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206
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>
2207 2208 2209 2210

	* docs/examples/examples.xml: Regenerate, now that *.c file names
	are sorted.

2211 2212 2213 2214 2215 2216
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>
2217 2218 2219 2220 2221

	* src/remote_internal.c: Fix off by one in checking SSH
	argv for NULL. Fix format args in error message to avoid
	compile warning.

2222 2223
2008-01-14  Jim Meyering  <meyering@redhat.com>

J
Jim Meyering 已提交
2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243
	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 已提交
2244 2245 2246 2247 2248
	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.

2249 2250 2251 2252 2253
	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.

2254 2255 2256 2257 2258
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).

2259 2260 2261 2262 2263
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 已提交
2264 2265 2266 2267
Thu Jan 10 14:40:53 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c: fix an unused variable warning.

2268 2269 2270 2271 2272 2273 2274 2275
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()

2276 2277 2278 2279 2280
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

2281 2282 2283 2284 2285 2286 2287
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

2288 2289 2290 2291 2292 2293 2294 2295 2296 2297
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

2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312
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

2313 2314 2315 2316 2317
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

2318 2319 2320
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 已提交
2321

2322 2323 2324 2325 2326
Thu Jan 10 13:49:01 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c:  make use of virFileMakePath(),
	virFileBuildPath() and virRun().

2327 2328 2329 2330
Thu Jan 10 13:48:01 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/iptables.c: Fix compile error in --with-iptables-dir code

2331 2332 2333 2334 2335
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.

2336 2337 2338 2339
Thu Jan 10 13:44:17 GMT 2008 Mark McLoughlin <markmc@redhat.com>

	* src/util.[ch]: Add virRun() helper function (Dan Berrange)

2340 2341 2342 2343 2344
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)

2345 2346 2347 2348 2349
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 已提交
2350 2351 2352 2353
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 已提交
2354 2355 2356 2357
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

2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368
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>
2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381

	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>.

2382 2383 2384 2385 2386
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

2387 2388 2389 2390 2391
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

2392 2393 2394 2395 2396
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 已提交
2397 2398 2399 2400 2401
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>
2402 2403 2404 2405

	* src/xend_internal.c: Compatability with Xen 3.2.0 changed
	fields for physinfo data used by virNodeInfoPtr.

2406 2407 2408 2409 2410 2411
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).

2412 2413 2414 2415 2416 2417 2418 2419
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.

2420 2421 2422 2423 2424 2425 2426
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.

2427 2428 2429 2430 2431 2432 2433
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

2434 2435 2436 2437 2438
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

2439 2440 2441 2442 2443 2444
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

2445 2446 2447 2448 2449
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 已提交
2450 2451 2452 2453 2454 2455 2456
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 已提交
2457 2458 2459 2460 2461 2462
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).

2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494
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_.

2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505
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 已提交
2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544
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.

2545 2546 2547 2548
Sat Dec  8 18:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* gnulib/lib/arpa/inet.h: Remove autogenerated file

2549 2550 2551 2552 2553
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 已提交
2554 2555 2556 2557
Fri Dec  7 10:16:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: ensure $prefix is quoted in conditional test

2558 2559 2560 2561 2562
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.

2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575
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.

2576 2577 2578 2579 2580
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.

2581 2582 2583 2584 2585 2586 2587 2588 2589 2590
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).
2591 2592 2593 2594
	* src/xen_unified.h, src/util.c, src/test.c: Include <winsock2.h>
	  on Windows.
	* src/util.c: Disable virExec* and virFileLinkPointsTo on
	  MinGW.
2595

2596 2597 2598 2599
Fri Dec  7 14:34:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/sexpr.c: Cosmetic rearrangement of headers.

2600 2601 2602 2603 2604
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).

2605 2606 2607 2608 2609
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.

2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620
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.

2621 2622 2623 2624 2625
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

2626 2627 2628 2629
Thu Dec  6 12:41:18 CET 2007 Jim Meyering <meyering@redhat.com>

	* qemud/qemud.c (qemudInitPaths): Remove unused code.

2630 2631 2632 2633 2634
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.

2635 2636 2637 2638 2639
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 已提交
2640 2641 2642 2643
Thu Dec  6 10:35:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Fix macros build on RHEL distros

2644 2645 2646 2647
Thu Dec  6 15:53:41 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/*: rebuilt the docs and XML files

2648 2649 2650 2651
Thu Dec  6 15:42:52 CET 2007 Daniel Veillard <veillard@redhat.com>

	* po/*: updated the localization files

2652 2653 2654 2655 2656
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.

2657 2658 2659 2660 2661 2662 2663
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.

2664 2665 2666 2667 2668
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

2669 2670 2671 2672 2673
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 已提交
2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689
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.

2690 2691 2692 2693 2694
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.

2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744
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.

2745 2746 2747 2748 2749 2750
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

2751 2752 2753 2754 2755 2756 2757
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

2758 2759 2760 2761 2762 2763 2764
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

2765 2766 2767 2768 2769 2770 2771
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

2772 2773 2774 2775 2776
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

2777 2778 2779 2780 2781
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

2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793
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.

2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805
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

2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821
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

2822 2823 2824 2825 2826
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.

2827 2828 2829 2830
Wed Dec  5 11:24:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/virsh.c: quit if initial conection attempt fails

2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844
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

2845 2846 2847 2848 2849 2850
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.

2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867
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

2868 2869 2870 2871 2872
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.

2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891
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.

2892 2893 2894 2895
Tue Dec  4 18:25:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Fix configure if rpcgen program is missing.

2896 2897 2898 2899 2900 2901 2902
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.

2903 2904 2905 2906 2907 2908
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.

2909 2910 2911 2912
Mon Dec  3 16:15:10 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/util.c: Fix header files for Windows builds.

2913 2914 2915 2916 2917 2918 2919 2920 2921 2922
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

2923 2924 2925 2926 2927 2928 2929
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 已提交
2930 2931 2932 2933 2934 2935 2936 2937 2938
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

2939 2940 2941 2942 2943
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

2944 2945 2946 2947 2948 2949
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

2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969
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.

2970 2971 2972 2973 2974 2975 2976 2977 2978
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).

2979 2980 2981 2982 2983 2984 2985 2986 2987
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.

2988 2989 2990 2991 2992 2993 2994 2995
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.

2996 2997 2998 2999 3000 3001
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.

3002 3003 3004 3005 3006
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).

3007 3008 3009 3010
Wed Nov 28 14:20:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

	* src/virsh.c: Missing comma.

3011 3012 3013 3014
Wed Nov 28 14:21:47 CET 2007 Jim Meyering <meyering@redhat.com>

	* src/virsh.c (vshCloseLogFile): Diagnose close/write failure.

3015 3016 3017 3018 3019
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).

3020 3021 3022 3023 3024 3025 3026 3027 3028
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.

3029 3030 3031 3032 3033
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

3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047
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.

3048 3049
Mon Nov 26 15:06:19 CET 2007 Daniel Veillard <veillard@redhat.com>

3050
	* doc/*: modified the python page into a bindings page,
3051 3052
	  added the Ruby binding link to all pages

3053 3054 3055 3056 3057
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.

3058 3059 3060 3061 3062 3063 3064
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.

3065 3066 3067 3068
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.

3069 3070 3071 3072 3073
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.

3074 3075 3076 3077 3078
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.

3079 3080 3081 3082 3083 3084
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.

3085 3086 3087 3088 3089
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.

3090 3091 3092 3093 3094
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.

3095 3096 3097 3098 3099 3100 3101 3102 3103 3104
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.

3105 3106 3107 3108
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 已提交
3109 3110 3111 3112 3113 3114
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.

3115 3116 3117 3118 3119 3120
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.

3121 3122 3123 3124 3125
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.

3126 3127 3128 3129 3130
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.

3131 3132 3133 3134 3135
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

3136 3137 3138 3139 3140 3141
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.

3142 3143 3144 3145 3146 3147 3148
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

3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159
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

3160 3161 3162 3163 3164
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

3165 3166 3167 3168 3169
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

3170 3171 3172 3173
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 已提交
3174 3175 3176 3177
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

3178 3179
Sat Nov 17 11:04:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>

J
Jim Meyering 已提交
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191
	* 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.
3192

3193 3194 3195 3196 3197 3198 3199
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.

3200 3201 3202 3203 3204 3205 3206 3207 3208
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.

3209 3210 3211 3212 3213
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 已提交
3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230
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.

3231 3232 3233 3234 3235 3236 3237
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

3238 3239
Wed Nov 14 18:09:31 CET 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
3240
	* doc/libvir.html doc/format.html: add missing docs for
3241 3242 3243
	  <shareable/> on disk devices
	* src/Makefile.am: fix the tst build rule for missing libraries

J
Jim Meyering 已提交
3244 3245 3246 3247 3248 3249
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.

3250 3251 3252 3253 3254 3255 3256
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.

3257 3258 3259 3260 3261 3262
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.

3263 3264
Wed Nov 14 11:34:35 CET 2007 Jim Meyering <meyering@redhat.com>

3265 3266 3267 3268 3269 3270 3271 3272 3273 3274
	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.

3275 3276
	Arrange for tests to pass in a non-srcdir build.
	* tests/Makefile.am: Include the contents of the *data directories
3277 3278 3279
	  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.
3280
	* tests/nodeinfotest.c: Prepend "$abs_top_srcdir/tests" to
3281
	  each input file name.
3282 3283 3284 3285 3286 3287 3288 3289 3290
	* 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.

3291 3292 3293 3294 3295 3296
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.

3297 3298 3299 3300 3301 3302
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.

3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319
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.

3320 3321 3322 3323 3324
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.

3325 3326 3327 3328
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.

3329 3330 3331 3332 3333
Thu Nov  8 17:06:50 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: patch from Jim Meyering to correct vshCommandOptInt
	  indentation

3334 3335 3336 3337 3338 3339
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

3340 3341 3342 3343 3344 3345 3346 3347 3348 3349
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.

3350 3351 3352 3353 3354
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

3355 3356 3357 3358 3359 3360
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.

3361 3362 3363 3364 3365
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.

3366 3367 3368 3369 3370
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

3371 3372 3373 3374 3375 3376
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

3377 3378 3379 3380 3381 3382 3383 3384
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.

3385 3386 3387 3388 3389 3390
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.

3391 3392 3393 3394
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 已提交
3395 3396 3397 3398 3399
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 已提交
3400 3401 3402 3403
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

3404 3405 3406 3407 3408
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

3409 3410 3411 3412
Fri Oct 26 15:40:44 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: fix build when configured without Xen

3413 3414 3415 3416 3417
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.

3418 3419 3420 3421
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

3422 3423 3424 3425
Tue Oct 23 17:44:12 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* po/*: updated from translation team

3426 3427 3428 3429
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

3430 3431 3432 3433 3434 3435 3436 3437
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.

3438 3439 3440 3441 3442
Mon Oct 22 22:27:40 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* docs/format.html docs/libvir.html: documentation cleaups
	  from Jim Paris

3443 3444 3445 3446
Mon Oct 22 15:05:30 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xend_internal.c: update to cpuset parsing code for NUMA

3447 3448 3449 3450 3451 3452
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.

3453 3454 3455 3456 3457
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

3458 3459 3460 3461 3462 3463 3464
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 已提交
3465
	  qemudBuildCommandLine.
3466

3467 3468 3469 3470
Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* libvirt.spec.in (BuildRequires): Add "qemu" (Jim Meyering).

3471 3472 3473 3474 3475
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)

3476 3477 3478 3479 3480 3481
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'

3482 3483 3484 3485 3486 3487
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.

3488 3489 3490 3491 3492 3493 3494 3495
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 已提交
3496 3497 3498 3499 3500 3501
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.

3502 3503 3504 3505 3506
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)

3507 3508 3509 3510 3511
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.

3512 3513 3514 3515 3516 3517 3518
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

3519 3520
Mon Oct  8 17:01:53 CEST 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
3521
	* src/xend_internal.c: applied patch from Beth Kon to fix
3522 3523
	  NUMA topology for cells without CPUs

3524 3525 3526 3527 3528
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)

3529 3530 3531 3532
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

3533 3534 3535 3536 3537 3538
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

3539 3540 3541 3542 3543
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

3544 3545 3546 3547 3548 3549
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

3550 3551 3552 3553 3554 3555
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()

3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572
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.

3573 3574 3575 3576 3577
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 已提交
3578 3579 3580 3581 3582 3583
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.

3584 3585 3586 3587 3588 3589
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)

3590 3591 3592 3593
Fri Sep 28 16:41:41 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_conf.c: Fix crash processing multiple <input> tags

3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606
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

3607 3608 3609 3610 3611
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.

3612 3613 3614 3615 3616
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).

3617 3618 3619 3620 3621 3622 3623 3624
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.

3625 3626 3627 3628 3629 3630
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

3631 3632
Fri Sep 21 15:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

3633
	* acinclude.m4: Check all compiler flags link successfully
3634 3635 3636
	instead of just compiling, to deal with broken debian linker
	with stack protector
	* configure.in: Remove redundant -fno-stack-protector workaround
3637

3638 3639 3640 3641
Fri Sep 21 15:06:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/qemu_driver.c: Use libxml for parsing & checking URIs

3642 3643 3644 3645 3646 3647 3648 3649 3650
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.

3651 3652 3653 3654 3655
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.

3656 3657 3658 3659 3660
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.

3661 3662 3663 3664 3665
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.

3666 3667 3668 3669 3670
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)

3671 3672 3673 3674 3675 3676
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

3677 3678 3679 3680 3681 3682
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

3683 3684 3685 3686 3687 3688 3689
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

3690 3691 3692
Tue Sep 18 21:34:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Added checks for locating Avahi.
J
Jim Meyering 已提交
3693
	* qemud/mdns.c, qemud/mdns.h, qemud/Makefile.am: Convenience API to
3694 3695 3696 3697 3698 3699 3700
	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

3701 3702 3703 3704 3705 3706 3707 3708 3709
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:

3710 3711 3712 3713 3714 3715
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

3716 3717 3718 3719 3720
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 已提交
3721 3722 3723 3724
Tue Sep 18 19:32:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* configure.in: Print out summary of configuration options

3725 3726 3727 3728 3729
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

3730 3731 3732 3733 3734 3735 3736 3737
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

3738 3739 3740 3741 3742
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).

3743 3744 3745 3746 3747
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.

3748 3749 3750 3751 3752
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.

3753 3754 3755 3756 3757
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

3758 3759 3760 3761 3762 3763
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

3764 3765 3766 3767 3768 3769 3770
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

3771 3772 3773 3774 3775
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

3776 3777 3778 3779 3780
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.

3781 3782 3783 3784 3785 3786
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().

3787 3788 3789 3790 3791
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.

3792 3793 3794 3795 3796 3797
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.

3798 3799 3800 3801 3802
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.

3803 3804 3805 3806 3807
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.

3808 3809 3810 3811 3812 3813 3814
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

3815 3816 3817 3818 3819 3820 3821
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

3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834
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.

3835 3836 3837 3838 3839
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.

3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853
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.

3854 3855 3856 3857 3858 3859 3860 3861 3862 3863
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.

3864 3865 3866 3867 3868 3869
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.

3870 3871 3872 3873 3874
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.

3875 3876 3877 3878 3879
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

3880 3881 3882 3883 3884
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

3885 3886 3887 3888 3889
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

3890 3891 3892 3893 3894
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!

3895 3896
Tue Aug 14 09:10:51 CEST 2007 Daniel Veillard <veillard@redhat.com>

3897
	* src/virsh.c: patch from Atsushi SAKAI fixing schedinfo synopsis
3898

3899 3900 3901 3902
Tue Aug 14 09:04:41 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* virsh.1 docs/virsh.pod: typo fixes from Atsushi SAKAI

3903 3904 3905 3906 3907 3908
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

3909 3910 3911 3912 3913
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

3914 3915 3916 3917 3918 3919 3920 3921
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

3922 3923 3924
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
3925 3926
	for passing -incoming option to QEMU for migration/restore. Patch
	from Jim Paris
3927

3928 3929 3930 3931 3932
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
3933
	parameter above where neccessary. Patch from Jim Paris
3934

3935 3936 3937 3938 3939 3940
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.

3941 3942 3943 3944 3945
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

3946 3947 3948 3949 3950 3951 3952 3953
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

3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965
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

3966 3967 3968 3969 3970
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).

3971 3972 3973 3974
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).

3975 3976 3977 3978 3979
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.

3980 3981 3982 3983
Tue Aug  7 14:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* qemud/qemud.c: Fix --config/-f option to libvirtd.

3984 3985 3986 3987 3988 3989 3990
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.

3991 3992 3993 3994 3995
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 已提交
3996 3997 3998 3999 4000
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

4001 4002 4003 4004 4005
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

4006 4007 4008 4009
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 已提交
4010
	* tests/xencapsdata/xen-i686-pae-hvm.xml
4011 4012 4013 4014
	  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

4015 4016 4017
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
4018
	  ACPI/APIC features for i686 and x86_64, patch from David Lutterkort
4019

4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030
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

4031 4032 4033 4034 4035
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

4036 4037 4038 4039 4040 4041
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>
4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052

	* 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

4053 4054 4055 4056 4057 4058
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

4059 4060 4061 4062 4063 4064 4065 4066 4067 4068
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

4069 4070 4071 4072 4073
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.

4074 4075 4076 4077 4078
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

4079 4080 4081 4082 4083 4084
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

4085 4086 4087 4088
Tue Jul 24 10:15:33 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* po/*: update translations and regenerate .pot

4089 4090 4091 4092 4093
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.

4094 4095 4096 4097 4098
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

4099 4100 4101 4102
Fri Jul 20 12:53:35 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: and nother one again from Saori Fukuta

4103 4104 4105 4106
Fri Jul 20 11:02:28 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: some error handling improvements from Saori Fukuta

4107 4108 4109 4110 4111 4112 4113
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.

4114 4115 4116 4117 4118 4119
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.

4120 4121 4122 4123 4124
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

4125 4126 4127 4128 4129
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

4130 4131 4132 4133 4134 4135 4136
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 已提交
4137 4138 4139 4140 4141
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

4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154
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

4155 4156 4157 4158 4159
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

4160 4161 4162 4163 4164
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.

4165 4166 4167 4168 4169 4170 4171 4172
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 已提交
4173 4174 4175 4176 4177
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

4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190
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

4191 4192 4193 4194 4195
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.

4196 4197 4198 4199 4200 4201 4202
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

4203 4204 4205 4206 4207 4208 4209
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.

4210 4211 4212 4213 4214 4215
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.

4216 4217 4218 4219 4220 4221
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.

4222 4223 4224 4225 4226 4227 4228 4229
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>
4230 4231 4232 4233 4234

	* 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

4235 4236 4237 4238 4239 4240
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

4241 4242 4243 4244 4245
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.

4246 4247 4248 4249 4250 4251
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.

4252 4253 4254 4255 4256
Wed Jul 11 10:43:25 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: patch from Masayuki Sunou fixing leaks in
	  virDomainParseXMLDiskDesc

4257 4258 4259 4260 4261
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

4262 4263 4264 4265 4266 4267 4268 4269
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.

4270 4271 4272 4273 4274 4275
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

4276 4277 4278 4279 4280 4281
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.

4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296
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.

4297 4298 4299 4300
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

4301 4302 4303 4304 4305 4306 4307 4308 4309 4310
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.

4311 4312 4313 4314 4315 4316 4317 4318
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.

4319 4320 4321 4322 4323 4324 4325
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

4326 4327 4328 4329 4330 4331 4332
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 已提交
4333 4334 4335 4336 4337
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.

4338 4339 4340 4341 4342 4343
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.

4344 4345 4346 4347 4348 4349 4350 4351
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.

4352 4353 4354 4355 4356 4357 4358 4359 4360 4361
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

4362 4363 4364 4365 4366
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.

4367 4368 4369 4370 4371 4372 4373 4374 4375
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

4376 4377 4378 4379 4380 4381
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.

4382 4383 4384 4385 4386
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

4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399
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

4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410
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

4411 4412 4413 4414 4415
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

4416 4417 4418 4419 4420
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 已提交
4421 4422 4423 4424 4425 4426
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.

4427 4428 4429 4430 4431 4432
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

4433 4434 4435 4436
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

4437 4438 4439 4440 4441 4442 4443
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

4444 4445 4446 4447 4448 4449 4450 4451
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.

4452 4453 4454 4455 4456 4457
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

4458 4459 4460 4461 4462 4463
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.

4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474
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 已提交
4475 4476 4477 4478 4479 4480
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 已提交
4481 4482 4483 4484

	* qemud/conf.c, qemud/uuid.c, qemud/uuid.h: Rename the
	UUID functions to not include QEMU in name.

4485 4486 4487 4488 4489 4490 4491 4492
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

4493 4494 4495 4496 4497 4498 4499 4500
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>
4501 4502 4503 4504

	* qemud/driver.c, qemud/driver.h, qemud/qemud.c: Move code
	handling global startup, shutdown & reload into driver.c

4505 4506 4507 4508 4509 4510 4511
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>
4512 4513 4514 4515 4516

	* qemud/dispatch.c, qemud/driver.c, qemud/driver.h: Move
	code for generating capabilities XML into driver.c file
	alongside other driver APIs

4517
Tue Jun 26 14:52:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
4518 4519 4520 4521 4522 4523 4524

	* 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

4525 4526 4527 4528 4529 4530 4531 4532
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.

4533 4534 4535 4536 4537 4538
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.

4539 4540 4541 4542 4543 4544 4545
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.

4546 4547 4548 4549 4550
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.

4551 4552 4553 4554 4555
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.

4556 4557 4558 4559 4560 4561
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.

4562 4563 4564 4565
Mon Jun 25 09:19:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/site.xsl: Added link to OCaml bindings.

4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577
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.

4578 4579 4580 4581 4582 4583
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.

4584 4585 4586 4587 4588 4589 4590 4591
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.

4592 4593 4594 4595 4596
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.

4597 4598 4599 4600
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.

4601 4602 4603 4604 4605 4606 4607
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.

4608 4609 4610 4611 4612
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

4613 4614 4615 4616 4617 4618
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.

4619 4620 4621 4622 4623
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

4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634
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".

4635 4636 4637 4638 4639 4640
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.

4641 4642 4643 4644 4645 4646 4647
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).

4648 4649 4650 4651 4652
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.

4653 4654 4655 4656 4657
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.

4658 4659 4660
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 已提交
4661
	  adding a placeholder for the new URIs page, update the
4662 4663
	  stylesheet to generate a new page, rebuilt.

4664 4665 4666 4667 4668
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.

4669 4670 4671 4672 4673 4674
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).

4675 4676 4677 4678 4679 4680 4681
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

4682 4683 4684 4685 4686
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.

4687 4688 4689 4690
Mon Jun 18 10:32:14 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: applied SetMem cleanup patch from Mark Johnson

4691 4692 4693 4694
Fri Jun 15 16:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* configure.in: Solaris header file fixes (Mark Johnson).

4695 4696 4697 4698 4699
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.

4700 4701 4702 4703 4704 4705 4706 4707 4708 4709
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).

4710 4711 4712 4713 4714
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

4715 4716 4717 4718 4719
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

4720 4721 4722 4723 4724 4725
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.

4726 4727 4728 4729 4730 4731 4732
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 已提交
4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744
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.

4745 4746 4747 4748
Mon Jun 11 13:24:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/examples/.cvsignore: Ignore .deps and .libs subdirectories.

4749 4750 4751 4752 4753
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.

4754 4755 4756 4757 4758 4759
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.

4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773
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.

4774 4775 4776 4777 4778
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)

4779 4780 4781 4782 4783 4784 4785 4786
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.

4787 4788 4789 4790 4791 4792
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.

4793 4794
Mon Jun 11 12:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

4795 4796
	* qemud/remote_protocol.x, qemud/rpcgen_fix.pl,
	  qemud/remote_protocol.c, qemud/remote_protocol.h: Client/server
4797 4798
	  protocol used by remote.

4799 4800 4801 4802 4803
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

4804 4805 4806 4807
Fri Jun  8 11:35:55 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* po/*: new merge of localization strings

4808 4809 4810 4811 4812 4813 4814
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

4815 4816 4817 4818
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 已提交
4819
Thu Jun  7 10:08:30 EST 2007 Daniel Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
4820 4821 4822 4823 4824 4825

	* 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

4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836
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

4837 4838 4839 4840 4841 4842 4843
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.

4844 4845 4846 4847 4848 4849
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

4850 4851 4852 4853 4854 4855
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

4856 4857
Wed Jun  6 09:20:23 CEST 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
4858
	* po/*: merge all po from Red Hat/Fedora translations, and
4859 4860
	  ran 'make update-po'

4861 4862 4863 4864 4865
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

4866 4867 4868 4869 4870 4871 4872 4873
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 已提交
4874
	  with patch from Rich Jones for error handing, and a number
4875 4876
	  of cleanups and more error checking from me

4877 4878 4879 4880 4881
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

4882 4883 4884 4885 4886
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

4887 4888 4889 4890 4891 4892 4893 4894
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.

4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905
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.

4906 4907 4908 4909 4910
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

4911 4912 4913 4914 4915 4916
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.

4917 4918 4919 4920 4921 4922
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 已提交
4923 4924 4925 4926 4927 4928
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

4929 4930 4931 4932 4933 4934
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 已提交
4935 4936 4937 4938
Thu May 11 10:20:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* src/xm_internal.c: Fix boot device XML syntax

4939 4940 4941 4942 4943
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 已提交
4944 4945 4946 4947
Thu May 11 09:34:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* libvirt.spec.in: Added dep on dnsmasq

4948 4949 4950 4951 4952
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.

4953 4954 4955 4956 4957 4958 4959
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.

4960 4961 4962 4963 4964 4965 4966
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.

4967 4968 4969 4970 4971
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 已提交
4972 4973 4974 4975 4976 4977 4978
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>
4979 4980 4981 4982

	* src/virsh.c: fix help for dumpxml and net-dumpxml commands
	  based on Chris Wright feedback

4983 4984 4985 4986 4987 4988
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.

4989 4990 4991 4992 4993 4994 4995 4996
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.

4997 4998 4999 5000 5001 5002 5003 5004
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.

5005 5006 5007 5008
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 已提交
5009

5010 5011 5012 5013 5014
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

5015 5016 5017 5018
Wed May  2 11:50:35 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/qemud.c: Use --strict-order when running dnsmasq

5019 5020 5021 5022 5023 5024 5025
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.

5026 5027 5028 5029 5030
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.

5031 5032 5033 5034 5035 5036
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.

5037 5038 5039 5040 5041
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).

5042 5043 5044 5045
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.

5046 5047 5048 5049 5050
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.

5051 5052 5053 5054 5055
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.

5056 5057 5058 5059
Thu Apr 19 12:09:15 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* docs/libvirt.rng: fix duplicate x86_64 arch

5060 5061 5062 5063
Thu Apr 19 09:45:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* docs/libvir.html: Change &nbsp; to space.

5064 5065 5066 5067
Thu Apr 19 09:55:28 CEST 2007 Daniel Veillard <veillard@redhat.com>

	* libvir.rng: applied patch to fix regexp constructs from Robin Green

5068 5069 5070 5071
Wed Apr 18 16:16:00 BST 2007 Richard W.M. Jones  <rjones@redhat.com>

	* docs/libvir.html: Documentation for the remote patch.

5072 5073 5074 5075 5076 5077 5078 5079
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 ("/").

5080 5081 5082 5083 5084
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

5085 5086 5087 5088 5089
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.

5090 5091 5092 5093 5094
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

5095 5096 5097 5098 5099
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

5100 5101 5102 5103 5104 5105
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

5106 5107 5108 5109 5110
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.

5111 5112 5113 5114 5115
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.

5116 5117 5118 5119 5120
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

5121
Thu Apr 12 19:51:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141

	* 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.

5142 5143 5144 5145 5146
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.

5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157
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.

5158 5159 5160 5161 5162 5163 5164
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.

5165 5166 5167 5168 5169
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.

5170 5171 5172 5173 5174
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

5175 5176 5177 5178 5179 5180
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.

5181 5182 5183 5184
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.

5185 5186 5187 5188 5189
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

5190 5191
Fri Apr  6 14:27:13 CEST 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
5192
	* src/xml.[ch]: first patch to clean up XPath accesses with new
5193 5194
	  routines, only xml.c is cleaned up, other modules to follow.

5195 5196 5197 5198 5199 5200
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

5201 5202 5203 5204 5205 5206 5207 5208
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.

5209 5210 5211 5212 5213
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

5214 5215 5216 5217
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 已提交
5218

5219 5220 5221 5222 5223
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 已提交
5224

5225 5226 5227 5228 5229 5230 5231 5232
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 已提交
5233

5234 5235 5236 5237
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 已提交
5238

5239 5240 5241 5242 5243 5244
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.

5245 5246 5247 5248 5249 5250 5251
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

5252 5253 5254 5255 5256 5257
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.

5258 5259 5260 5261 5262 5263 5264 5265 5266
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

5267 5268 5269 5270 5271 5272
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.

5273 5274 5275 5276 5277
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

5278 5279 5280 5281 5282
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

5283 5284 5285 5286 5287 5288
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.

5289 5290 5291
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 已提交
5292
	  src/virsh.c src/xm_internal.c: change malloc/memset(0) pairs to
5293 5294
	  using calloc()

5295 5296 5297 5298 5299
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

5300 5301 5302 5303 5304
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

5305 5306 5307 5308 5309
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

5310 5311 5312 5313 5314
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

5315 5316 5317 5318 5319 5320
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.

5321 5322 5323 5324 5325 5326 5327
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

5328 5329 5330 5331 5332
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

5333 5334 5335 5336 5337
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

5338 5339
Tue Mar 20 16:30:29 CET 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
5340
	* src/xen_internal.c: applied patch from Atsushi SAKAI fixing
5341 5342
	  direct hypervisor calls on some recent Xen versions

5343 5344 5345 5346
Tue Mar 20 15:58:10 CET 2007 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in: missing /etc/libvirt/qemu/networks/autostart

5347 5348 5349 5350 5351
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

5352 5353 5354 5355 5356
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).

5357 5358 5359 5360 5361 5362
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

5363 5364 5365 5366 5367
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.

5368 5369 5370 5371 5372
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

5373 5374 5375 5376 5377 5378
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

5379 5380 5381 5382 5383 5384 5385
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

5386 5387 5388 5389 5390
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

5391 5392
Fri Mar 16 11:43:08 CET 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
5393
	* python/generator.py: patch from Tatsuro Enokura to fix
5394 5395
	  virNetworkDefine binding

5396 5397 5398 5399 5400 5401 5402 5403
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.

5404 5405 5406 5407 5408 5409 5410 5411 5412
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.

5413 5414 5415 5416
Thu Mar 15 14:14:20 EST 2007 Daniel P Berrange <berrange@redhat.com>

	* src/xen_internal.c: Fix missing NULL initializer

5417 5418 5419 5420 5421 5422 5423
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.

5424 5425 5426 5427
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 已提交
5428
	  qemud/dispatch.c qemud/internal.h qemud/protocol.h
5429 5430 5431 5432 5433 5434 5435 5436 5437 5438
	  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


5439 5440 5441 5442 5443 5444 5445
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

5446 5447 5448 5449 5450 5451 5452 5453 5454
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

5455 5456
Thu Mar 15 08:40:33 CET 2007 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
5457 5458 5459 5460
	* 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
5461 5462 5463 5464 5465 5466
	  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.

5467 5468 5469 5470 5471 5472
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

5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508
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

5509 5510 5511 5512 5513 5514
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

5515 5516 5517 5518 5519 5520 5521
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>
5522 5523 5524 5525

	* qemud/Makefile.am: Generate a fixed, but random UUID in the default
	network config file when installing it

5526 5527 5528 5529 5530 5531 5532
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.

5533 5534 5535 5536 5537 5538
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

5539 5540 5541 5542
Fri Mar  9 14:43:11 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: bad pointer/int mismatch fixes from Richard Jones

5543 5544 5545 5546
Thu Mar  8 22:07:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c: Fix double free in XML parsing routine

5547 5548 5549 5550 5551
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

5552 5553 5554 5555 5556
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

5557 5558 5559 5560 5561 5562
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.

5563 5564 5565 5566 5567 5568
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.

5569 5570 5571 5572 5573 5574
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.

5575 5576 5577 5578 5579 5580 5581
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.

5582
Thu Mar  8 08:45:46 EST 2007 Daniel P. Berrange <berrange@redhat.com>
5583 5584 5585 5586 5587

	* 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

5588 5589 5590 5591 5592
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.

5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604
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.

5605 5606 5607 5608
Wed Mar 07 11:53:22 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/default-network.xml: add a default network

J
Jim Meyering 已提交
5609
	* qemud/Makefile.am: install it, and the autostart symlink
5610 5611 5612

	* libvirt.spec.in: update

5613 5614 5615 5616 5617
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)

5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628
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

5629 5630 5631 5632 5633 5634 5635 5636
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

5637 5638 5639 5640 5641
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)

5642 5643 5644 5645 5646
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 已提交
5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657
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

5658 5659 5660 5661
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 已提交
5662

5663
Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
5664 5665

	* qemud/driver.c: fix a couple of invalid free() calls
J
Jim Meyering 已提交
5666

5667
Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
5668 5669 5670 5671 5672 5673 5674

	* 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 已提交
5675

5676
Mon Mar 05 10:52:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
5677 5678 5679 5680

	* 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 已提交
5681

5682 5683 5684 5685 5686 5687 5688
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>

5689 5690 5691 5692 5693 5694
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>
5695 5696 5697 5698 5699

	* 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

5700
Thu Mar 01 16:17:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
5701 5702 5703

	* acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
	GNOME but with a few more flags we'd been using.
J
Jim Meyering 已提交
5704

5705 5706
	* configure.in: use that instead of setting CFLAGS
	directly.
J
Jim Meyering 已提交
5707

5708 5709
	* proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
	  src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
J
Jim Meyering 已提交
5710

5711
Thu Mar 01 16:00:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
J
Jim Meyering 已提交
5712

5713 5714 5715 5716
	Fix from Richard W.M. Jones <rjones@redhat.com>

	* proxy/libvirt_proxy.c: include locale.h

5717 5718 5719 5720 5721
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

5722 5723 5724 5725 5726
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>).

5727 5728 5729 5730 5731
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

5732 5733 5734 5735 5736 5737 5738
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.

5739 5740 5741 5742
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 已提交
5743

5744 5745 5746 5747 5748 5749 5750
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 已提交
5751

5752 5753 5754 5755
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 已提交
5756

5757 5758 5759 5760 5761 5762 5763
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 已提交
5764

5765 5766 5767 5768 5769 5770 5771
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

5772 5773 5774 5775 5776 5777 5778
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

5779 5780 5781 5782 5783
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 已提交
5784

5785 5786 5787 5788 5789 5790 5791 5792 5793
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 已提交
5794

5795 5796 5797 5798 5799 5800 5801
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 已提交
5802

5803 5804 5805 5806
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 已提交
5807

5808 5809
	* src/Makefile.am, src/qemu_internal.c: pass the correct
	path to libvirt
J
Jim Meyering 已提交
5810

5811 5812 5813 5814 5815
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 已提交
5816

5817 5818 5819 5820
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 已提交
5821

5822
Fri Feb 23 09:08:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
5823 5824 5825 5826 5827 5828 5829 5830

	* 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 已提交
5831

5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848
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 已提交
5849

5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860
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 已提交
5861

5862 5863 5864 5865
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 已提交
5866

5867 5868 5869 5870 5871 5872 5873
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 已提交
5874

5875
	* src/driver.h: add methods to the driver vtables.
J
Jim Meyering 已提交
5876

5877 5878 5879 5880
	* 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 已提交
5881

5882
Fri Feb 23 08:41:34 IST 2007 MarkMcLoughlin <markmc@redhat.com>
5883 5884 5885 5886 5887 5888 5889

	* 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 已提交
5890

5891 5892 5893 5894
	* 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 已提交
5895

5896
	* qemud/qemud.c: use qemudRemoveInactiveVM/Network()
J
Jim Meyering 已提交
5897

5898 5899 5900 5901 5902 5903
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 已提交
5904

5905
Fri Feb 23 08:37:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
5906 5907 5908 5909 5910 5911 5912

	* 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 已提交
5913

5914 5915 5916 5917 5918 5919 5920
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.

5921 5922 5923 5924 5925 5926
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>

5927 5928 5929
Thu Feb 22 10:37:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix another xml property leak.
J
Jim Meyering 已提交
5930

5931 5932 5933 5934
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 已提交
5935

5936
Tue Feb 20 19:07:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
5937 5938 5939

	* qemud/conf.c: don't free active networks/vms if we
	fail to save the new config
J
Jim Meyering 已提交
5940

5941
Tue Feb 20 18:25:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
5942 5943

	* virsh.c: cmdNetworkList() re-indent this.
J
Jim Meyering 已提交
5944

5945
Tue Feb 20 17:49:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
5946 5947 5948 5949 5950 5951 5952 5953 5954

	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 已提交
5955

5956
Tue Feb 20 16:49:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
5957 5958 5959 5960

	* qemud/conf.c, qemud/qemud.c: only create config dirs
	when actually trying to write out config.

5961
Tue Feb 20 09:56:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
5962 5963 5964

	* qemud/bridge.c: change the fix for the alignment warning
	a little.
J
Jim Meyering 已提交
5965

5966
Tue Feb 20 09:03:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
5967 5968 5969 5970

	* 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 已提交
5971

5972
Mon Feb 19 16:59:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
5973 5974 5975

	* qemud/qemud.c: don't shutdown guest and networks on
	SIGHUP
J
Jim Meyering 已提交
5976

5977
Mon Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
5978 5979

	* qemud/qemud.c: handle SIGQUIT.
J
Jim Meyering 已提交
5980

5981 5982 5983
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 已提交
5984
	with endianness / alignment issues on IA64 platforms. Patch
5985 5986
	from Atsushi SAKAI <sakaia@jp.fujitsu.com>

5987 5988 5989
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 已提交
5990
	qemud/conf.c, qemud/driver.c, configure.in: add a
5991 5992 5993 5994 5995
	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 已提交
5996

5997 5998 5999 6000 6001 6002
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 已提交
6003

6004 6005 6006 6007 6008 6009
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 已提交
6010

6011 6012 6013 6014
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 已提交
6015

D
Daniel P. Berrange 已提交
6016 6017 6018 6019
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 已提交
6020 6021 6022 6023 6024 6025 6026
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)

6027 6028 6029 6030 6031
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.

6032 6033 6034
Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix <interface type='network'> output
J
Jim Meyering 已提交
6035

6036 6037 6038 6039
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 已提交
6040

6041 6042 6043
Thu Feb 15 19:06:22 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix a couple of typos
J
Jim Meyering 已提交
6044

6045 6046 6047
Thu Feb 15 19:05:48 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix segfault
J
Jim Meyering 已提交
6048

6049 6050 6051
Thu Feb 15 19:04:10 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.h: move qemudFreeVMDef() down a bit
J
Jim Meyering 已提交
6052

6053 6054 6055 6056
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 已提交
6057

6058 6059 6060 6061 6062
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 已提交
6063

6064 6065 6066 6067 6068
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 已提交
6069

6070 6071 6072 6073 6074
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

6075 6076 6077 6078 6079
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

6080 6081 6082 6083 6084
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

6085 6086 6087 6088 6089
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

6090 6091 6092 6093 6094 6095
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

6096
Wed Feb 14 12:35:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
6097 6098 6099 6100

	* libvirt.spec.in: Added dep on libsysfs-devel. Pre-create
	the qemu config dir & socket dir.

6101
Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
6102 6103 6104 6105 6106

	* 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

6107
Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
6108 6109 6110 6111

	* python/generator.py: blacklist  vshRunConsole method from
	the python bindings

6112
Wed Feb 14 12:17:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
6113 6114 6115 6116

	* po/libvirt.pot, po/*.po: Updated the i18n strings wrt to
	the recent code changes

6117
Wed Feb 14 11:58:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
6118 6119 6120 6121 6122

	* 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.

6123
Wed Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
6124 6125 6126 6127 6128

	Fix from Richard W.M. Jones <rjones@redhat.com>

	* virsh.c: add a colon after the connect arg to
	getopt_long()
J
Jim Meyering 已提交
6129

6130
Wed Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
6131 6132 6133

	* src/qemu_internal.c: correctly register the network
	driver
J
Jim Meyering 已提交
6134

6135
Wed Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
6136 6137

	* autogen.sh: run autoheader before automake
J
Jim Meyering 已提交
6138

6139
Wed Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
6140 6141 6142 6143 6144

	* qemud/iptables.[ch]: add code for managing iptables
	rules.

	* qemud/Makefile.am: add iptables.[ch].
J
Jim Meyering 已提交
6145

6146 6147
	* qemud/qemud.c: add and remove iptables rules as
	appropriate.
J
Jim Meyering 已提交
6148

6149 6150 6151
	* qemud/conf.c: when starting a guess, add a rule
	allowing it to forward packets across the networks
	bridge.
J
Jim Meyering 已提交
6152

6153
	* qemud/internal.h: add iptables context ptr
J
Jim Meyering 已提交
6154

6155 6156 6157 6158 6159 6160
	* 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 已提交
6161

6162
	   https://bugzilla.redhat.com/227011
J
Jim Meyering 已提交
6163

6164
Wed Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
6165 6166 6167

	* src/xml.c: with <interface type="network"> connect the
	Xen guest to the appropriate bridge.
J
Jim Meyering 已提交
6168

6169
Wed Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
6170 6171 6172 6173

	* 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 已提交
6174

6175
	* src/driver.h: add networkGetBridgeName() to vtable.
J
Jim Meyering 已提交
6176

6177 6178
	* qemud/protocol.h: add the request and reply to
	the qemud protocol.
J
Jim Meyering 已提交
6179

6180 6181
	* qemud/dispatch.c, qemud/driver.[ch]: handle them
	here.
J
Jim Meyering 已提交
6182

6183 6184
	* src/qemu_internal.c: implement GetBridgeName()
	in the qemu driver.
J
Jim Meyering 已提交
6185

6186
	* src/libvirt_sym.version: add new symbol.
J
Jim Meyering 已提交
6187

6188
Wed Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
6189 6190 6191

	* src/xend_internal.c, src/xm_internal.c: pass the
	connection to virDomainParseXMLDesc()
J
Jim Meyering 已提交
6192

6193 6194 6195
	* 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 已提交
6196

6197 6198
	* tests/xml2sexprtest.c: just pass NULL here, it's
	safe
J
Jim Meyering 已提交
6199

6200
Wed Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
6201 6202 6203 6204

	* 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 已提交
6205

6206 6207 6208
	* qemud/internal.h: add <interface type="network">
	config and track tapfds so as to not close them
	on exec.
J
Jim Meyering 已提交
6209

6210 6211
	* qemud/qemud.c: don't close tapfds on exec and
	disconnect the iface when the guest shuts down.
J
Jim Meyering 已提交
6212

6213
Wed Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
6214 6215

	* qemud/conf.c, qemud/internal.h: add dhcp config
J
Jim Meyering 已提交
6216

6217 6218
	* qemud/qemud.c: start dnsmasq to provide dns/dhcp
	for virtual networks.
J
Jim Meyering 已提交
6219

6220
Wed Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
6221 6222 6223 6224 6225

	* configure.in: add --disable-bridge-params, check
	for libsysfs and various kernel headers

	* bridge.[ch]: add code for managing bridges
J
Jim Meyering 已提交
6226

6227 6228
	* qemud/Makefile.am: add bridge.[ch] and link against
	libsysfs if enabled.
J
Jim Meyering 已提交
6229

6230
	* qemud/conf.c: add support for bridge config.
J
Jim Meyering 已提交
6231

6232 6233 6234 6235
	* qemud/internal.h: add various bridging bits

	* qemud/qemud.c: implement qemudStartNetworkDaemon()
	and qemudShutdownNetworkDaemon().
J
Jim Meyering 已提交
6236

6237
Wed Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
6238 6239 6240 6241 6242

	* qemud/conf.[ch]: implement parsing and saving network
	configs.

	* qemud/driver.c: flesh out the stubs
J
Jim Meyering 已提交
6243

6244 6245
	* qemud/internal.h: add networks list etc. to
	struct qemud_server
J
Jim Meyering 已提交
6246

6247 6248
	* qemud/qemud.c: add qemudStartNetworkDaemon() and
	qemudShutdownNetworkDaemon() stubs.
J
Jim Meyering 已提交
6249

6250
Wed Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
6251 6252 6253 6254 6255 6256 6257 6258 6259 6260

	* 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 已提交
6261

6262
Wed Feb 14 15:43:28 IST 2007 Mark McLoughlin <markmc@redhat.com>
6263 6264

	* src/virsh.c: add the net-* commands.
J
Jim Meyering 已提交
6265

6266
Wed Feb 14 15:37:17 IST 2007 Mark McLoughlin <markmc@redhat.com>
6267 6268 6269 6270 6271 6272 6273

	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 已提交
6274

6275 6276
	* src/internal.h, src/virterror.c: add network param
	to __virRaiseError()
J
Jim Meyering 已提交
6277

6278 6279 6280 6281
	* 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 已提交
6282

6283
Wed Feb 14 15:33:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
6284 6285

	* include/libvirt/libvirt.h.in: add the networks APIs
J
Jim Meyering 已提交
6286

6287
	* include/libvirt/virterror.h: add some error codes
J
Jim Meyering 已提交
6288

6289
	* src/driver.h: add network driver vtable
J
Jim Meyering 已提交
6290

6291
	* src/hash.c: add networks hash
J
Jim Meyering 已提交
6292

6293 6294 6295 6296
	* src/internal.h: add virNetwork

	* src/libvirt.c: hook up the APIs to the network
	driver
J
Jim Meyering 已提交
6297

6298
	* src/libvirt_sym.version: add the new APIs
J
Jim Meyering 已提交
6299

6300
	* src/virterror.c: handle the new error codes
J
Jim Meyering 已提交
6301

6302
Wed Feb 14 15:07:26 IST 2007 Mark McLoughlin <markmc@redhat.com>
6303 6304 6305

	* src/conf.h: fix merge error - remove the argc argument
	from qemudBuildCommandLine()
J
Jim Meyering 已提交
6306

6307
Wed Feb 14 15:03:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
6308 6309 6310

	* 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 已提交
6311

6312
Wed Feb 14 14:58:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
6313 6314 6315 6316

	* 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 已提交
6317

6318
Wed Feb 14 14:57:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
6319

6320
	* qemud/conf.c: qemudSaveConfig() will always report a
6321 6322
	more specific error, so	we should avoid overwriting
	this error.
J
Jim Meyering 已提交
6323

6324
Wed Feb 14 14:54:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
6325 6326 6327 6328 6329 6330

	* 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 已提交
6331

6332
Wed Feb 14 14:52:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
6333 6334 6335 6336 6337 6338 6339 6340

	* 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 已提交
6341

6342
Wed Feb 14 14:50:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
6343

J
Jim Meyering 已提交
6344
	* qemud/conf.c: handle an unspecified MAC address,
6345 6346
	fix the argv freeing code in qemudBuildCommandLine()
	and fix copy and paste error in qemudGenerateXML()
J
Jim Meyering 已提交
6347

6348
Wed Feb 14 14:42:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
6349 6350 6351 6352 6353

	* 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 已提交
6354

6355
Wed Feb 14 14:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
6356 6357 6358

	* qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
	  qemud/qemud.c: include autoconf's config.h
J
Jim Meyering 已提交
6359

6360
Wed Feb 14 14:39:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
6361 6362 6363 6364 6365 6366 6367

	* 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 已提交
6368

6369
Wed Feb 14 14:33:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
6370 6371 6372 6373

	* autogen.sh: run autoheader

	* config.h.in: remove
J
Jim Meyering 已提交
6374

6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387
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 已提交
6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404
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.

6405 6406 6407 6408 6409
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.

6410 6411 6412 6413 6414
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

6415 6416 6417 6418 6419 6420
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.

6421 6422 6423 6424 6425 6426
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

6427 6428 6429 6430 6431 6432
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 已提交
6433 6434 6435 6436 6437
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

6438 6439 6440 6441 6442 6443 6444
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

6445 6446 6447 6448 6449
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()

6450 6451 6452 6453 6454
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

6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465
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
6466

6467 6468 6469 6470 6471 6472
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 已提交
6473

6474 6475 6476 6477 6478
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.

6479 6480 6481 6482 6483
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.
6484

6485 6486 6487 6488
	* 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.

6489 6490 6491 6492 6493 6494 6495 6496 6497
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.

6498 6499 6500 6501 6502 6503 6504
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

6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516
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.

6517 6518 6519 6520 6521 6522
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.

6523 6524 6525 6526 6527 6528
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 已提交
6529 6530 6531 6532 6533
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

6534 6535 6536 6537 6538 6539
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.

6540 6541 6542 6543 6544 6545
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.

6546 6547 6548 6549
Wed Jan 10 16:20:02 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/libvirt.rng: udated for the upcoming KVM and QEmu support

6550 6551 6552 6553 6554
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

6555
Tue Jan  9 17:28:18 CET 2007 Daniel Veillard <veillard@redhat.com>
6556

6557 6558 6559
	* docs/libvirt.rng: first version of the Relax-NG schemas to validate
	  XML instances

6560 6561 6562 6563 6564 6565
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

6566 6567 6568 6569 6570 6571 6572
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'.

6573 6574 6575 6576 6577
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

6578 6579 6580 6581 6582
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.

6583 6584
Wed Dec 13 17:24:03 EST 2006 Daniel Berrange <berrange@redhat.com>

6585 6586 6587 6588 6589 6590
	* 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.
6591 6592 6593 6594 6595 6596
	* 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>
6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611

	* 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

6612 6613 6614 6615 6616 6617
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>
6618 6619 6620 6621 6622 6623 6624

	* 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

6625
Wed Dec  6 17:40:03 EST 2006 Daniel Berrange <berrange@redhat.com>
6626 6627 6628 6629

	* test/xml2sexprdata/xml2sexpr-curmem.xml, test/xml2sexprdata/xml2sexpr-curmem.sexpr:
	Fix test case to reflect recent change to bootloader/image handling

6630 6631 6632 6633 6634 6635 6636
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

6637 6638 6639 6640 6641
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

6642 6643 6644 6645 6646 6647 6648
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

6649 6650 6651 6652 6653
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

6654 6655
Mon Nov 27 23:27:26 CET 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
6656
	* src/xml.c: patch for rhbz#214741, when using pygrub
6657 6658 6659
	  do not push the os image information for domain creation
	  via xend

D
Daniel Veillard 已提交
6660 6661 6662 6663 6664 6665
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 已提交
6666
	  src/xs_internal.c: added support for dumping core of domains
D
Daniel Veillard 已提交
6667 6668
	  assuming a xend with the latest patch to do so.

6669 6670
Tue Nov 21 18:05:33 CET 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
6671
	* src/xs_internal.c: Michel Ponceau pointed out a bug in
6672 6673
	  xenStoreDomainGetNetworkID refactoring

6674 6675 6676
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 已提交
6677
	  dynamic device code to isolate as a separate function
6678 6679
	  xenStoreDomainGetNetworkID() the access to the XenStore

6680 6681 6682 6683 6684 6685
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.

6686 6687 6688 6689 6690 6691
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.

6692 6693 6694 6695 6696 6697 6698 6699 6700 6701
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

6702 6703 6704 6705 6706 6707 6708 6709
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 已提交
6710
	  a few small things. Still a TODO in src/xml.c about
6711 6712
	  moving xenstore direct accesses to a new routine.

6713 6714 6715 6716 6717
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.

6718 6719 6720 6721 6722 6723 6724 6725 6726
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>
6727 6728 6729 6730 6731

	* src/hash.c, src/hash.h: Added three new methods for iterating
	over hashtable entries, virHashForEach, virHashRemoveSet &
	virHashSearch.

6732
Wed Nov 15 14:52:01 EST 2006 Daniel Berrange <berrange@redhat.com>
6733 6734 6735 6736 6737

	* 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

6738
Wed Nov 15 14:42:01 EST 2006 Daniel Berrange <berrange@redhat.com>
6739 6740 6741 6742 6743

	* 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

6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754
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

6755 6756 6757 6758 6759
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

6760 6761 6762 6763
Fri Nov 10 17:53:41 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xml.c: Fix memory leak, by freeing xmlParserContextPtr object

6764 6765 6766 6767 6768
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 已提交
6769
	* tests/sexpr2xmltest.c tests/xml2sexprtest.c
6770 6771 6772 6773
	  tests/sexpr2xmldata/sexpr2xml-curmem.*
	  tests/xml2sexprdata/xml2sexpr-curmem.*: added specific regression
	  tests for this, this didn't disturb any of the other tests.

6774 6775 6776 6777 6778 6779 6780
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

6781 6782 6783 6784
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

6785 6786 6787 6788 6789 6790
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.

6791 6792 6793 6794 6795
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.

6796 6797 6798 6799 6800 6801
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

6802 6803 6804 6805 6806 6807
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.

6808 6809 6810 6811 6812 6813 6814 6815 6816
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

6817 6818 6819 6820 6821 6822 6823
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.

6824 6825 6826 6827 6828 6829 6830 6831 6832
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 .

6833 6834 6835 6836 6837 6838 6839
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.

6840 6841 6842 6843 6844 6845 6846 6847 6848
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.


6849 6850 6851 6852 6853 6854 6855
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

6856 6857 6858 6859 6860
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

6861 6862 6863 6864 6865
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

6866 6867 6868 6869 6870
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.

6871 6872
Wed Oct 11 16:23:58 CEST 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
6873
	* virsh.1: fixed some typo and unclear language pointed out by
6874 6875
	  Noriko Mizumoto

6876 6877 6878 6879 6880 6881 6882 6883 6884 6885
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

6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897
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.

6898 6899 6900 6901 6902
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

6903 6904 6905 6906 6907
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

6908 6909 6910 6911
Fri Sep 29 17:16:40 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: fix for system with page size != 4k

6912 6913 6914 6915 6916 6917 6918
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

6919 6920 6921 6922
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

6923 6924 6925 6926 6927 6928 6929 6930 6931
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.

6932 6933 6934 6935 6936 6937 6938 6939 6940 6941
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.

6942 6943 6944 6945
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

6946 6947 6948 6949 6950 6951 6952 6953 6954 6955
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.

6956 6957 6958 6959 6960
Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* docs/*.html: re-generated documentation to pull in latest
	APIs

6961 6962 6963 6964 6965 6966 6967
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

6968 6969 6970 6971 6972
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

6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985
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

6986 6987 6988 6989 6990 6991 6992
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 已提交
6993 6994 6995 6996 6997 6998
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

6999 7000 7001 7002 7003 7004 7005 7006 7007 7008
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

7009 7010 7011 7012 7013 7014
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

7015 7016 7017 7018 7019
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

7020 7021
Mon Sep  4 14:13:24 EDT 2006 Daniel Berrange <berrange@redhat.com>

7022
	* src/xen_internal.h: Added missing return(-1) statements
7023 7024
	in xenHypervisorGetVcpus and xenHypervisorPinVcpu methods.
	#ifndef out the pause/resume/etc methods from proxy code
J
Jim Meyering 已提交
7025

7026 7027 7028 7029
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 已提交
7030
	* tests/confdata/fc4.conf, tests/confdata/fc4.out: Expand test
7031
	config to include a '_' in a name, and a trailing ',' in a list.
J
Jim Meyering 已提交
7032

D
Daniel P. Berrange 已提交
7033 7034 7035 7036
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 已提交
7037

7038 7039 7040 7041 7042
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 已提交
7043
	to sort active domains by Id, and inactive domains by name, since
7044 7045 7046
	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 已提交
7047

7048 7049
Sat Sep  2 22:28:18 CEST 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7050
	* src/xen_internal.c: converting to handle the new incompatible
7051 7052 7053 7054
	  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()

7055 7056 7057 7058 7059 7060
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.

7061
Wed Aug 30 09:30:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073

	* 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

7074 7075 7076 7077
Tue Aug 29 23:48:43 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/conf.c: add missing entry point virConfGetValue()

D
Daniel Veillard 已提交
7078 7079 7080 7081 7082 7083 7084 7085 7086 7087
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

7088 7089 7090 7091 7092
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).
7093

7094 7095
Tue Aug 29 15:41:46 CEST 2006 Daniel Veillard <veillard@redhat.com>

7096
	* python/libvir.c: Pete Vetere pointed out a bug in string cast
7097 7098
	  when handling errors in Python

7099 7100 7101 7102 7103
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

7104 7105 7106 7107
Sat Aug 26 00:17:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* docs/site.xsl docs/*.html: add links to virt-manager

7108 7109 7110 7111 7112 7113
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 已提交
7114

7115 7116 7117 7118 7119 7120 7121 7122 7123 7124
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

7125 7126 7127 7128 7129 7130
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

7131 7132 7133 7134 7135 7136 7137 7138 7139 7140
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.

7141 7142 7143 7144 7145 7146 7147
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>
7148 7149 7150 7151

	* src/xml.c: fix networking in paravirt guests - only set the
	'(type ioemu)' option for HVM.

7152 7153
Thu Aug 17 19:42:50 CEST 2006 Daniel Veillard <veillard@redhat.com>

7154
	* src/xml.c: fix virParseUUID()
7155

7156 7157
Wed Aug 16 19:07:52 CEST 2006 Daniel Veillard <veillard@redhat.com>

7158
	* NEWS configure.in doc//* include/libvirt/libvirt.h
7159 7160 7161 7162 7163
	  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

7164 7165 7166 7167 7168 7169
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.

7170 7171 7172 7173 7174 7175 7176
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
7177

7178
Wed Aug 16 11:36:21 EDT 2006 Daniel Berrange <berrange@redhat.com>
7179 7180

	* src/xend_internal.c, src/xml.c, src/xml.h: Refactored the
7181 7182
	sexpr_uuid method into a re-usable virParseUUID method which
	can be used by any backend
7183

7184 7185 7186 7187
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 已提交
7188
	be 'quiet' when opening a RW connection, to stop XenD driver
7189
	complaining when we open the test driver.
J
Jim Meyering 已提交
7190

7191 7192 7193 7194 7195 7196
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.

7197 7198 7199 7200 7201 7202 7203 7204
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

7205 7206 7207 7208 7209 7210
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

7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227
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

7228 7229 7230 7231 7232
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

7233 7234 7235 7236 7237 7238
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.

7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254
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:
7255
	Added implmentation of virDomainGetXMLDesc driver method which
7256
	goes via proxy.
7257

7258 7259 7260 7261 7262 7263 7264 7265
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.

7266 7267
Mon Aug  7 18:33:45 EDT 2006 Daniel Berrange <berrange@redhat.com>

7268
	* src/xend_internal.c: Added details of serial console TTY to XML
7269 7270 7271 7272 7273 7274
	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.
7275

D
Daniel Veillard 已提交
7276 7277 7278 7279
Mon Aug  7 21:57:41 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated with new items

7280 7281
Mon Aug  7 14:57:12 EDT 2006 Daniel Berrange <berrange@redhat.com>

D
Daniel Veillard 已提交
7282 7283
	* src/xend_internal.c: Corrected string length calculation when
	  appending a CDROM boot device element. Fixes corrupt XML structure.
7284

7285 7286 7287 7288 7289
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.
7290

7291 7292 7293 7294 7295
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

7296 7297 7298 7299
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).
7300
	* include/libvirt/libvirt.h: Add some convenience macros for
7301 7302
	calculating neccessary CPU map lengths & total host CPUs
	* src/virsh.c: Add 'vcpuinfo' and 'vcpumap' commands
7303

7304 7305 7306 7307 7308 7309
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

7310 7311 7312 7313 7314 7315 7316 7317
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.

7318 7319 7320 7321
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

7322 7323 7324 7325 7326 7327
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

7328 7329 7330 7331
Mon Jul 24 14:34:15 IST 2006 Mark McLoughlin <markmc@redhat.com>

	* libvirt.spec.in: sync changes from fedora CVS

7332 7333 7334 7335 7336 7337
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.

7338 7339 7340 7341 7342
Wed Jul 19 17:26:48 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/*.c: Bulk replace 'informations' with 'information' to
	correct English spelling

7343 7344 7345 7346 7347
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.

7348 7349 7350 7351
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 已提交
7352
	* src/xend_internal.c: uninitialized var and disable TCP slow start
7353

7354 7355 7356 7357 7358
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.

7359 7360 7361 7362 7363
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

7364
Fri Jul  7 09:47:14 EDT 2006 Daniel Berrange <berrange@redhat.com>
7365

7366 7367 7368 7369 7370
	* 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).

7371 7372 7373 7374
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.
7375

7376 7377 7378 7379 7380 7381 7382
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

7383 7384 7385 7386 7387
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 已提交
7388

7389 7390 7391 7392
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 已提交
7393

7394 7395 7396 7397 7398 7399
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

7400 7401 7402 7403 7404 7405 7406
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.

7407 7408
Mon Jul  3 13:54:03 EDT 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7409
	* libvirt.spec.in proxy/Makefile.am src/proxy_internal.c
7410
	  src/xen_internal.c: fixing the proxy installation, integrate in
J
Jim Meyering 已提交
7411
	  the spec file and fix a few bugs in the proxy, seems to behave
7412 7413 7414
	  correctly now.
	* docs/apibuild.py docs/*: fixing the doc and API generator

7415 7416 7417 7418 7419
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.

7420 7421 7422 7423 7424 7425
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.

7426 7427 7428 7429 7430 7431 7432
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

7433 7434 7435 7436 7437
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 已提交
7438
	* proxy/Makefile.am proxy/libvirt_proxy.c src/xen_internal.c
7439 7440
	  src/xen_internal.h src/xend_internal.c: various related cleanups.

7441 7442 7443 7444 7445 7446
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

7447 7448 7449 7450 7451 7452 7453 7454
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.

7455 7456 7457
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 已提交
7458
	  include/libvirt/virterror.h python/generator.py python/libvir.c
7459 7460 7461 7462 7463 7464
	  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.

7465 7466 7467 7468
Wed Jun 21 14:41:04 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS libvirt.spec.in docs/*: preparing release of 0.1.1

7469 7470 7471 7472 7473 7474 7475
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.

7476 7477 7478 7479 7480
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.

7481 7482 7483
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 已提交
7484

7485 7486 7487 7488 7489
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

7490 7491
Fri Jun 16 12:44:02 EDT 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7492
	* src/libvirt.c src/xen_internal.c src/xend_internal.c: more driver
7493 7494
	  related cleanups, nearly finished

7495 7496 7497 7498 7499
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

7500 7501 7502 7503 7504
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.

7505 7506 7507 7508 7509 7510
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.

7511 7512 7513 7514 7515 7516
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.

7517 7518 7519 7520
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

7521 7522 7523 7524 7525 7526
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.

7527 7528 7529 7530 7531
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.

7532 7533 7534
Tue Jun 13 16:37:27 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* docs//*: rebuilt the documentation
J
Jim Meyering 已提交
7535
	* src/driver.h src/libvirt.c src/test.c src/xen_internal.c
7536 7537 7538 7539
	  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.

7540 7541 7542 7543 7544 7545 7546
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.

7547 7548 7549 7550 7551 7552
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

7553 7554 7555 7556 7557 7558 7559 7560 7561
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 已提交
7562
Mon May 29 17:02:26 CEST 2006 Karel Zak <kzak@redhat.com>
7563 7564 7565 7566 7567 7568

	* 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 已提交
7569 7570
Mon May 29 16:33:39 CEST 2006 Karel Zak <kzak@redhat.com>

J
Jim Meyering 已提交
7571
	* src/virsh.c: improved vshCommandOptDomain(), added <name> to the
K
Karel Zak 已提交
7572 7573 7574 7575 7576 7577 7578 7579
	  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 已提交
7580 7581 7582 7583
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 已提交
7584
	* virsh.1: added information about UUID, fixed list of commands and
K
Karel Zak 已提交
7585 7586 7587 7588
	  domains statuses
	* src/libvirt.c include/libvirt.h.in src/libvirt_sym.version: added
	  virDomainGetUUIDString() and virDomainLookupByUUIDString()

K
Karel Zak 已提交
7589 7590 7591 7592 7593
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 已提交
7594 7595 7596
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 已提交
7597
	* tests/xmlrpctest.c: added performace tests for virBufferStrcat() and
K
Karel Zak 已提交
7598 7599 7600
	  virBufferVSprintf()
	* src/xmlrpc.c: used virBufferStrcat()

K
Karel Zak 已提交
7601 7602
Tue May  9 16:37:22 CEST 2006 Karel Zak <kzak@redhat.com>

J
Jim Meyering 已提交
7603
	* tests/Makefile.am tests/xmlrpctest.c tests/testutils.h: added test
K
Karel Zak 已提交
7604 7605 7606 7607 7608 7609
	  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()

7610 7611 7612 7613 7614 7615
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

7616 7617 7618 7619 7620
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

7621 7622
Wed Apr 26 08:32:38 CEST 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7623
	* src/xml.c: applied patch from Jeremy Katz to not require a
7624 7625 7626
	  root entry in XML nor try to extract it from command line
	  informations.

7627 7628 7629 7630 7631
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.

7632 7633 7634 7635
Tue Apr 25 17:56:32 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in: patch for ncurses fallback from Jim Fehlig

7636 7637
Tue Apr 25 17:10:10 CEST 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7638
	* configure.in libvirt.spec.in docs/examples/Makefile.am
7639 7640 7641
	  docs/examples/index.py docs/examples/python/*: integrated
	  examples for Python from David Lutterkort

7642 7643 7644 7645 7646
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)

7647 7648 7649 7650 7651 7652 7653 7654
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.

7655 7656 7657 7658 7659
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.

7660 7661 7662 7663 7664 7665 7666 7667 7668 7669
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)

7670 7671 7672 7673 7674 7675
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

7676 7677 7678 7679 7680 7681 7682 7683
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

7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696
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 已提交
7697
Thu Apr  6 11:32:46 CEST 2006 Karel Zak <kzak@redhat.com>
7698

J
Jim Meyering 已提交
7699
	* src/virsh.c: use stdout for standard outputs, improve
7700 7701
	 allocation checks

D
Daniel Veillard 已提交
7702 7703 7704 7705
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 已提交
7706
	* src/libvirt.c: applied patch from Jim Fehlig to fix
D
Daniel Veillard 已提交
7707 7708
	  virDomainLookupByID when run as root.

K
Karel Zak 已提交
7709 7710
Tue Apr  4 22:49:33 CEST 2006 Karel Zak <kzak@redhat.com>

J
Jim Meyering 已提交
7711
	* src/virsh.c: rename dstate, idof and nameof to domstate,
K
Karel Zak 已提交
7712 7713
	  domname and domid

7714 7715 7716 7717
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 已提交
7718
	* docs/FAQ.html docs/libvir.html src/virsh.c: rename command
7719 7720
	  "dinfo" to "dominfo"

7721 7722
Mon Apr  3 14:46:39 EDT 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7723
	* include/libvirt.h[.in] src/driver.h src/libvirt.c
7724 7725 7726
	  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 已提交
7727
	* docs/*: regenerated
7728

7729 7730 7731 7732 7733
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

7734 7735 7736 7737
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 已提交
7738
	* src/xend_internal.c src/xml.c: trying to cope with the new
7739 7740 7741
	  xvda domains states generated on FC5, but Dom0 bootloader
	  really break the model, so that doesn't work.

7742 7743 7744 7745 7746
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 已提交
7747 7748 7749 7750
Wed Mar 29 16:36:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* doc/*: rebuilt

7751 7752 7753 7754 7755 7756 7757
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

7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768
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

7769 7770 7771 7772 7773 7774 7775 7776
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

7777 7778 7779 7780
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 已提交
7781
	* python/libvirt_wrap.h: added a missing include.
7782

7783 7784 7785 7786 7787 7788 7789 7790
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 已提交
7791

7792 7793 7794 7795 7796
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

7797 7798 7799 7800
Sat Mar 25 11:38:29 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/virterror.c: add message as pointed by Jim Meyering

7801 7802 7803 7804
Fri Mar 24 23:57:56 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/virterror.h: fix typos pointed by Jim Meyering

7805 7806 7807 7808 7809
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.

7810 7811 7812 7813
Fri Mar 24 14:17:52 CET 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.pc.in: applied patch from Daniel Berrange to fix --cflags

7814 7815 7816 7817
Fri Mar 24 14:03:26 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am: fix out of tree build

7818 7819
Thu Mar 23 16:40:37 CET 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7820
	* src/xs_internal.c src/xs_internal.h include/virterror.h
7821 7822 7823 7824
	  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

7825 7826 7827 7828 7829 7830
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

7831 7832 7833 7834
Wed Mar 22 13:34:32 EST 2006 Daniel Veillard <veillard@redhat.com>

	* python/tests/create.py: adapt to new naming scheme in FC5

7835 7836 7837 7838 7839 7840
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 ...

7841 7842 7843 7844 7845 7846 7847
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.

7848 7849 7850 7851 7852 7853 7854 7855
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.

7856 7857
Fri Mar 10 11:07:58 CET 2006 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
7858
	* configure.in: applied patch for --with-xen-distdir option from
7859 7860 7861
	  Ronald Aigner
	* docs/site.xsl docs/*.html: added link to Bugzilla

7862 7863 7864 7865 7866
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.

7867 7868 7869 7870 7871
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.

7872 7873 7874 7875 7876
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

7877 7878 7879 7880 7881
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 已提交
7882 7883 7884
Tue Feb 28 13:12:50 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
J
Jim Meyering 已提交
7885 7886
	* python/Makefile.am python/generator.py python/libvir.c
	  python/libvir.py: improved python binding, raise exception
D
Daniel Veillard 已提交
7887 7888 7889 7890 7891
	  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 已提交
7892 7893 7894 7895
Mon Feb 27 17:36:29 EST 2006 Daniel Veillard <veillard@redhat.com>

	* doc//*: rebuilt

7896 7897 7898 7899 7900 7901
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.

7902 7903 7904 7905 7906 7907
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.

7908 7909 7910 7911 7912 7913 7914 7915
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.

7916 7917 7918 7919 7920
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 已提交
7921 7922 7923 7924 7925 7926 7927 7928
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.

7929 7930 7931 7932 7933 7934 7935 7936 7937
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

7938 7939 7940 7941
Fri Feb 24 22:17:12 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs/index.py docs/search.php: fixing the search engine.

7942 7943 7944 7945 7946 7947
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.

7948 7949 7950 7951 7952 7953 7954 7955
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

7956 7957 7958 7959 7960 7961
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

7962 7963 7964 7965
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

7966 7967 7968 7969 7970 7971 7972
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

7973 7974 7975 7976 7977
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 已提交
7978 7979 7980 7981 7982 7983
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 已提交
7984 7985 7986 7987
Tue Feb 21 22:00:11 CET 2006 Karel Zak <kzak@redhat.com>

	* TODO: added virsh part

7988 7989 7990 7991 7992 7993
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 已提交
7994 7995 7996
Tue Feb 21 14:21:39 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
J
Jim Meyering 已提交
7997
	* python/tests/Makefile.am: fix a small PYTHONPATH bug
D
Daniel Veillard 已提交
7998 7999 8000
	* docs//*: fixed the xsl a bit for toc names, added doc for
	  the python bindings, regenerated

8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012
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

8013 8014 8015 8016 8017 8018 8019
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 已提交
8020 8021 8022 8023 8024
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 已提交
8025
	* src/xend_internal.c src/xml.c src/xml.h: reimplement
D
Daniel Veillard 已提交
8026 8027
	  virDomainGetXMLDesc() based on xend interface, now work as user too.

8028 8029 8030 8031 8032 8033 8034
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.

8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046
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

8047 8048 8049
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 已提交
8050
	  src/Makefile.am: fix rpm packaging problems whith head, more
8051 8052
	  LIBVIR -> LIBVIRT changes.

8053 8054 8055
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 已提交
8056
	  python/tests/basic.py: added first python test script and
8057 8058
	  a 'make tests' target

8059 8060 8061 8062
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

8063 8064 8065 8066
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

8067 8068 8069 8070 8071
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

8072 8073 8074 8075
Fri Feb 10 11:09:11 CET 2006 Daniel Veillard <veillard@redhat.com>

	* README TODO config.h.in libvirt.pc.in: more cleanups.

8076 8077 8078 8079
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

8080 8081 8082 8083 8084
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

8085 8086 8087 8088 8089 8090
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 已提交
8091 8092 8093 8094
Fri Feb  3 15:47:32 CET 2006 Karel Zak <kzak@redhat.com>

	* src/virsh.c: fix order of the save command options

8095 8096 8097 8098 8099
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

8100 8101 8102 8103 8104 8105 8106 8107 8108 8109
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

8110 8111 8112 8113 8114
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

8115 8116 8117 8118 8119
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

8120 8121 8122 8123 8124
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)

8125 8126 8127 8128 8129 8130
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 已提交
8131 8132 8133 8134 8135 8136
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 已提交
8137
Tue Jan 24 11:44:53 CET 2006 Karel Zak <kzak@redhat.com>
8138 8139

	* src/libvir_sym.version: add virDeomainRestore and virDomainSave
J
Jim Meyering 已提交
8140
	* src/virsh.c: support '=' in options, fix command grammar
8141 8142
	* src/libvir.c: add conn->xshandle checks

8143 8144 8145 8146 8147
Tue Jan 24 14:09:37 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c: Karel pointed out handle was lost in
	  virConnectOpenReadOnly()

8148 8149 8150 8151 8152 8153
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.

8154 8155
Mon Jan 23 14:23:16 CET 2006 Daniel Veillard <veillard@redhat.com>

8156
	* docs/*: augment and try to complete the doc in its current state
8157

8158 8159
Sun Jan 22 17:26:20 CET 2006 Daniel Veillard <veillard@redhat.com>

8160
	* docs/*: started to augment and update the documentation
8161

8162 8163
Sat Jan 21 23:33:46 GMT 2006 Daniel Veillard <veillard@redhat.com>

8164
	* docs//*: mostly finished the revamp in the plane, starts to look good
8165

8166 8167
Fri Jan 20 16:48:05 CET 2006 Daniel Veillard <veillard@redhat.com>

8168
	* docs/* : total revamp of the web site based on Diana Fong design
8169 8170
	  but not completely integrated yet

8171 8172 8173 8174 8175 8176 8177 8178
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

8179 8180 8181 8182 8183 8184
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.

8185 8186 8187 8188
Wed Jan 18 19:57:53 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c: small change w.r.t. reboot.

8189 8190 8191
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 已提交
8192
	  of libxend capabilities, including checkpointing and restoring
8193 8194 8195
	  in a file.
	* docs//*: regenerated the docs

8196 8197 8198 8199 8200 8201 8202 8203 8204
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.

8205 8206 8207 8208 8209 8210
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.

8211 8212 8213 8214 8215 8216
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.

8217 8218 8219 8220 8221 8222 8223
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

8224 8225 8226 8227 8228
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.

8229 8230 8231 8232
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

8233 8234 8235 8236 8237 8238 8239 8240
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 已提交
8241 8242
Fri Dec 16 19:35:29 CET 2005 Karel Zak <kzak@redhat.com>

J
Jim Meyering 已提交
8243
	* src/xml.c src/internal.h src/libvir.c: struct checks cleanup,
K
Karel Zak 已提交
8244 8245
	  add macros VIS_IS_DOMAIN(), VIR_IS_CONNECT() and VIR_IS_CONNECTED_DOMAIN()

8246 8247 8248 8249 8250
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

8251 8252 8253 8254
Fri Dec 16 13:59:35 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/libvir_sym.version: oops forgot to export the new symbol

8255 8256 8257 8258 8259 8260 8261
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

8262 8263 8264
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 已提交
8265
	* include/libvir.h.in src/libvir.c src/virsh src/libvir_sym.version: add
8266
	  virDomainGetOSType()
J
Jim Meyering 已提交
8267
	* src/internal.h src/libvir.c src/xml.c: add internal function virDomainGetVM(),
8268 8269
	  move virDomainGetVMInfo() from src/xml.c

K
Karel Zak 已提交
8270 8271 8272 8273
Thu Dec 15 17:56:27 CET 2005 Karel Zak <kzak@redhat.com>

	* src/virsh.c: remove --id / --name options

8274 8275 8276 8277
Wed Dec 14 16:28:24 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: add dump of os/boot informations

8278 8279 8280 8281
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

8282 8283 8284 8285 8286
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.

8287 8288 8289 8290 8291 8292 8293 8294
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.

8295 8296 8297 8298 8299
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.

8300 8301 8302 8303 8304
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.

8305 8306 8307 8308
Fri Dec  9 14:03:13 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/*: extended the documentation

8309 8310 8311 8312 8313
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.

8314 8315 8316 8317 8318
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

8319 8320 8321 8322 8323
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.

8324 8325 8326 8327 8328
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.

8329 8330 8331 8332 8333 8334
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

8335 8336 8337 8338 8339
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 已提交
8340
	* include/libvir.h.in src/libvir.c: revamp APIs and implement
8341 8342 8343
	  complete ones.
	* src/virsh.c: finish the version command and a bit of cleanup.

K
Karel Zak 已提交
8344
Thu Dec  8 15:20:57 CET 2005 Karel Zak <kzak@redhat.com>
8345

K
Karel Zak 已提交
8346 8347
	* src/virsh.c: code cleanup to prevent gcc warnings

8348 8349 8350 8351 8352 8353 8354
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 已提交
8355
Thu Dec  8 11:19:48 CET 2005 Karel Zak <kzak@redhat.com>
8356

K
Karel Zak 已提交
8357 8358 8359
	* src/Makefile.am src/virsh.c configure.in: adding readline support,
	  and implement basic commands to virsh.

8360 8361 8362 8363
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

8364 8365 8366 8367 8368 8369
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.

8370 8371 8372 8373
Wed Dec  7 15:08:54 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/*: adding missing links to API page.

8374 8375 8376 8377 8378 8379
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 已提交
8380 8381 8382 8383
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.

8384 8385 8386 8387 8388 8389
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

8390 8391 8392 8393 8394
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

8395 8396 8397 8398 8399 8400 8401 8402
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

8403 8404 8405 8406 8407 8408 8409
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.

8410 8411 8412 8413 8414
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.

8415 8416
Tue Dec  6 14:46:50 CET 2005 Daniel Veillard <veillard@redhat.com>

J
Jim Meyering 已提交
8417
	* include/libvir.h src/libvir.c src/virsh.c: tweaking of the
8418 8419 8420
	  GetInfo() API, returns bytes and nanoseconds, try to fix
	  the scales, but time on unpriviledged interfaces doesn't work.

8421 8422 8423 8424 8425 8426
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.

8427 8428 8429 8430 8431 8432 8433 8434
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

8435 8436 8437 8438 8439 8440
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()

8441 8442 8443 8444 8445
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

8446 8447 8448 8449 8450 8451 8452
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

8453 8454 8455 8456 8457 8458 8459
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

8460 8461 8462 8463 8464 8465
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

8466 8467 8468 8469 8470 8471 8472 8473
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

8474 8475 8476 8477 8478 8479
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

8480 8481 8482 8483 8484
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.

8485 8486 8487 8488
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 已提交
8489 8490 8491 8492 8493 8494 8495
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

8496 8497 8498 8499 8500 8501 8502
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

8503 8504 8505 8506 8507 8508
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 已提交
8509 8510 8511 8512
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