ChangeLog 117.8 KB
Newer Older
1 2 3 4 5
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

6 7 8 9 10 11
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.

12 13 14 15 16 17 18
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

19 20 21 22 23
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

24 25 26 27 28
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

29 30 31 32 33
Tue Mar 20 16:30:29 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: applied patch from Atsushi SAKAI fixing 
	  direct hypervisor calls on some recent Xen versions

34 35 36 37
Tue Mar 20 15:58:10 CET 2007 Daniel Veillard <veillard@redhat.com>

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

38 39 40 41 42
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

43 44 45 46 47
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).

48 49 50 51 52 53
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

54 55 56 57 58
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.

59 60 61 62 63
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

64 65 66 67 68 69
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

70 71 72 73 74 75 76
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

77 78 79 80 81
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

82 83 84 85 86
Fri Mar 16 11:43:08 CET 2007 Daniel Veillard <veillard@redhat.com>

	* python/generator.py: patch from Tatsuro Enokura to fix 
	  virNetworkDefine binding

87 88 89 90 91 92 93 94
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.

95 96 97 98 99 100 101 102 103
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.

104 105 106 107
Thu Mar 15 14:14:20 EST 2007 Daniel P Berrange <berrange@redhat.com>

	* src/xen_internal.c: Fix missing NULL initializer

108 109 110 111 112 113 114
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.

115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
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
	  qemud/dispatch.c qemud/internal.h qemud/protocol.h 
	  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


130 131 132 133 134 135 136
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

137 138 139 140 141 142 143 144 145
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

146 147 148 149 150 151 152 153 154 155 156 157
Thu Mar 15 08:40:33 CET 2007 Daniel Veillard <veillard@redhat.com>

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

158 159 160 161 162 163
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

164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
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

200 201 202 203 204 205
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

206 207 208 209 210 211 212
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>
213 214 215 216

	* qemud/Makefile.am: Generate a fixed, but random UUID in the default
	network config file when installing it

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

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

230 231 232 233
Fri Mar  9 14:43:11 CET 2007 Daniel Veillard <veillard@redhat.com>

	* src/virsh.c: bad pointer/int mismatch fixes from Richard Jones

234 235 236 237
Thu Mar  8 22:07:14 EST 2007 Daniel P. Berrange <berrange@redhat.com>

	* qemud/conf.c: Fix double free in XML parsing routine

238 239 240 241 242
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

243 244 245 246 247
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

248 249 250 251 252 253
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.

254 255 256 257 258 259
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.

260 261 262 263 264 265
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.

266 267 268 269 270 271 272
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.

273
Thu Mar  8 08:45:46 EST 2007 Daniel P. Berrange <berrange@redhat.com>
274 275 276 277 278

	* 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

279 280 281 282 283
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.

284 285 286 287 288 289 290 291 292 293 294 295
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.

296 297 298 299 300 301 302 303
Wed Mar 07 11:53:22 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/default-network.xml: add a default network

	* qemud/Makefile.am: install it, and the autostart symlink 

	* libvirt.spec.in: update

304 305 306 307 308
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)

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

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

328 329 330 331 332
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)

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

349 350 351 352 353 354
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
	
Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
355 356 357

	* qemud/driver.c: fix a couple of invalid free() calls
	
358
Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
359 360 361 362 363 364 365 366

	* 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
	
367
Mon Mar 05 10:52:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
368 369 370 371 372

	* 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.
	
373 374 375 376 377 378 379
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>

380 381 382 383 384 385
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>
386 387 388 389 390

	* 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

391
Thu Mar 01 16:17:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
392 393 394 395 396 397 398 399 400 401

	* acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
	GNOME but with a few more flags we'd been using.
	
	* configure.in: use that instead of setting CFLAGS
	directly.
	
	* proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
	  src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
	
402
Thu Mar 01 16:00:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
403 404 405 406 407
	
	Fix from Richard W.M. Jones <rjones@redhat.com>

	* proxy/libvirt_proxy.c: include locale.h

408 409 410 411 412
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

413 414 415 416 417
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>).

418 419 420 421 422
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

423 424 425 426 427 428 429
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.

430 431 432 433 434
Mon Feb 26 15:33:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c, qemud/uuid.[ch]: move qemudParseUUID()
	into uuid.c
	
435 436 437 438 439 440 441 442
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
	
443 444 445 446 447
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.
	
448 449 450 451 452 453 454 455
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.
	
456 457 458 459 460 461 462
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

463 464 465 466 467 468 469
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

470 471 472 473 474 475
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.
	
476 477 478 479 480 481 482 483 484 485
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
	
486 487 488 489 490 491 492 493
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
	
494 495 496 497 498 499 500 501
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
	
	* src/Makefile.am, src/qemu_internal.c: pass the correct
	path to libvirt
	
502 503 504 505 506 507
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.
	
508 509 510 511 512 513
Fri Feb 23 09:11:53 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: actually autostart guests/networks at startup
	as appropriate.
	
Fri Feb 23 09:08:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
514 515 516 517 518 519 520 521 522

	* 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.
	
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540
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.
	
541 542 543 544 545 546 547 548 549 550 551 552
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.
	
553 554 555 556 557
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.
	
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
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
	
	* src/driver.h: add methods to the driver vtables.
	
	* 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
	
573
Fri Feb 23 08:41:34 IST 2007 MarkMcLoughlin <markmc@redhat.com>
574 575 576 577 578 579 580 581 582 583 584 585 586 587 588

	* 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.
	
	* 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.
	
	* qemud/qemud.c: use qemudRemoveInactiveVM/Network()
	
589 590 591 592 593 594 595 596
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().
	
Fri Feb 23 08:37:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
597 598 599 600 601 602 603 604

	* 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.
	
605 606 607 608 609 610 611
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.

612 613 614 615 616 617
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>

618 619 620 621
Thu Feb 22 10:37:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix another xml property leak.
	
622 623 624 625 626 627
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
	
Tue Feb 20 19:07:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
628 629 630 631

	* qemud/conf.c: don't free active networks/vms if we
	fail to save the new config
	
632
Tue Feb 20 18:25:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
633 634 635

	* virsh.c: cmdNetworkList() re-indent this.
	
636
Tue Feb 20 17:49:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
637 638 639 640 641 642 643 644 645 646

	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
	
647
Tue Feb 20 16:49:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
648 649 650 651

	* qemud/conf.c, qemud/qemud.c: only create config dirs
	when actually trying to write out config.

652
Tue Feb 20 09:56:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
653 654 655 656

	* qemud/bridge.c: change the fix for the alignment warning
	a little.
	
657
Tue Feb 20 09:03:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
658 659 660 661 662

	* 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.
	
663
Mon Feb 19 16:59:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
664 665 666 667

	* qemud/qemud.c: don't shutdown guest and networks on
	SIGHUP
	
668
Mon Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
669 670 671

	* qemud/qemud.c: handle SIGQUIT.
	
672 673 674 675 676 677
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
	with endianness / alignment issues on IA64 platforms. Patch 
	from Atsushi SAKAI <sakaia@jp.fujitsu.com>

678 679 680 681 682 683 684 685 686 687
Fri Feb 16 18:28:32 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/qemud.c, qemud/dispatch.c, qemud/internal.h
	qemud/conf.c, qemud/driver.c, configure.in: add a 
	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.
	
688 689 690 691 692 693 694
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.
	
695 696 697 698 699 700 701
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.
	
702 703 704 705 706
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.
	
D
Daniel P. Berrange 已提交
707 708 709 710
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 已提交
711 712 713 714 715 716 717
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)

718 719 720 721 722
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.

723 724 725 726
Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix <interface type='network'> output
	
727 728 729 730 731
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
	
732 733 734 735
Thu Feb 15 19:06:22 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix a couple of typos
	
736 737 738 739
Thu Feb 15 19:05:48 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix segfault
	
740 741 742 743
Thu Feb 15 19:04:10 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.h: move qemudFreeVMDef() down a bit
	
744 745 746 747 748
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.
	
749 750 751 752 753 754
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.
	
755 756 757 758 759 760
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()
	
761 762 763 764 765
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

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

771 772 773 774 775
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

776 777 778 779 780
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

781 782 783 784 785 786
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

787
Wed Feb 14 12:35:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
788 789 790 791

	* libvirt.spec.in: Added dep on libsysfs-devel. Pre-create
	the qemu config dir & socket dir.

792
Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
793 794 795 796 797

	* 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

798
Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
799 800 801 802

	* python/generator.py: blacklist  vshRunConsole method from
	the python bindings

803
Wed Feb 14 12:17:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
804 805 806 807

	* po/libvirt.pot, po/*.po: Updated the i18n strings wrt to
	the recent code changes

808
Wed Feb 14 11:58:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
809 810 811 812 813

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

814
Wed Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
815 816 817 818 819 820

	Fix from Richard W.M. Jones <rjones@redhat.com>

	* virsh.c: add a colon after the connect arg to
	getopt_long()
	
821
Wed Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
822 823 824 825

	* src/qemu_internal.c: correctly register the network
	driver
	
826
Wed Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
827 828 829

	* autogen.sh: run autoheader before automake
	
830
Wed Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854

	* qemud/iptables.[ch]: add code for managing iptables
	rules.

	* qemud/Makefile.am: add iptables.[ch].
	
	* qemud/qemud.c: add and remove iptables rules as
	appropriate.
	
	* qemud/conf.c: when starting a guess, add a rule
	allowing it to forward packets across the networks
	bridge.
	
	* qemud/internal.h: add iptables context ptr
	
	* 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:
	
	   https://bugzilla.redhat.com/227011
	
855
Wed Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
856 857 858 859

	* src/xml.c: with <interface type="network"> connect the
	Xen guest to the appropriate bridge.
	
860
Wed Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878

	* 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.
	
	* src/driver.h: add networkGetBridgeName() to vtable.
	
	* qemud/protocol.h: add the request and reply to
	the qemud protocol.
	
	* qemud/dispatch.c, qemud/driver.[ch]: handle them
	here.
	
	* src/qemu_internal.c: implement GetBridgeName()
	in the qemu driver.
	
	* src/libvirt_sym.version: add new symbol.
	
879
Wed Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
880 881 882 883 884 885 886 887 888 889 890

	* src/xend_internal.c, src/xm_internal.c: pass the
	connection to virDomainParseXMLDesc()
	
	* src/xml.[ch]: make virDomainParseXMLDesc accept
	a virConnectPtr so that we can use it later to
	lookup the bridge associated with a network
	
	* tests/xml2sexprtest.c: just pass NULL here, it's
	safe
	
891
Wed Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
892 893 894 895 896 897 898 899 900 901 902 903

	* 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.
	
	* qemud/internal.h: add <interface type="network">
	config and track tapfds so as to not close them
	on exec.
	
	* qemud/qemud.c: don't close tapfds on exec and
	disconnect the iface when the guest shuts down.
	
904
Wed Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
905 906 907 908 909 910

	* qemud/conf.c, qemud/internal.h: add dhcp config
	
	* qemud/qemud.c: start dnsmasq to provide dns/dhcp
	for virtual networks.
	
911
Wed Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927

	* configure.in: add --disable-bridge-params, check
	for libsysfs and various kernel headers

	* bridge.[ch]: add code for managing bridges
	
	* qemud/Makefile.am: add bridge.[ch] and link against
	libsysfs if enabled.
	
	* qemud/conf.c: add support for bridge config.
	
	* qemud/internal.h: add various bridging bits

	* qemud/qemud.c: implement qemudStartNetworkDaemon()
	and qemudShutdownNetworkDaemon().
	
928
Wed Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
929 930 931 932 933 934 935 936 937 938 939 940

	* qemud/conf.[ch]: implement parsing and saving network
	configs.

	* qemud/driver.c: flesh out the stubs
	
	* qemud/internal.h: add networks list etc. to
	struct qemud_server
	
	* qemud/qemud.c: add qemudStartNetworkDaemon() and
	qemudShutdownNetworkDaemon() stubs.
	
941
Wed Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
942 943 944 945 946 947 948 949 950 951 952

	* 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
	
953
Wed Feb 14 15:43:28 IST 2007 Mark McLoughlin <markmc@redhat.com>
954 955 956

	* src/virsh.c: add the net-* commands.
	
957
Wed Feb 14 15:37:17 IST 2007 Mark McLoughlin <markmc@redhat.com>
958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973

	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
	
	* src/internal.h, src/virterror.c: add network param
	to __virRaiseError()
	
	* 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.
	
974
Wed Feb 14 15:33:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992

	* include/libvirt/libvirt.h.in: add the networks APIs
	
	* include/libvirt/virterror.h: add some error codes
	
	* src/driver.h: add network driver vtable
	
	* src/hash.c: add networks hash
	
	* src/internal.h: add virNetwork

	* src/libvirt.c: hook up the APIs to the network
	driver
	
	* src/libvirt_sym.version: add the new APIs
	
	* src/virterror.c: handle the new error codes
	
993
Wed Feb 14 15:07:26 IST 2007 Mark McLoughlin <markmc@redhat.com>
994 995 996 997

	* src/conf.h: fix merge error - remove the argc argument
	from qemudBuildCommandLine()
	
998
Wed Feb 14 15:03:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
999 1000 1001 1002

	* src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff
	to VSH_BYFOO in order to re-use it for the network stuff.
	
1003
Wed Feb 14 14:58:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
1004 1005 1006 1007 1008

	* 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.
	
1009
Wed Feb 14 14:57:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
1010

1011
	* qemud/conf.c: qemudSaveConfig() will always report a
1012 1013 1014
	more specific error, so	we should avoid overwriting
	this error.
	
1015
Wed Feb 14 14:54:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
1016 1017 1018 1019 1020 1021 1022

	* 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.
	
1023
Wed Feb 14 14:52:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
1024 1025 1026 1027 1028 1029 1030 1031 1032

	* 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
	
1033
Wed Feb 14 14:50:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
1034 1035 1036 1037 1038

	* qemud/conf.c: handle an unspecified MAC address, 
	fix the argv freeing code in qemudBuildCommandLine()
	and fix copy and paste error in qemudGenerateXML()
	
1039
Wed Feb 14 14:42:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
1040 1041 1042 1043 1044 1045

	* 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
	
1046
Wed Feb 14 14:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
1047 1048 1049 1050

	* qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
	  qemud/qemud.c: include autoconf's config.h
	
1051
Wed Feb 14 14:39:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
1052 1053 1054 1055 1056 1057 1058 1059

	* conf.[ch]: rename from config.[ch] so we can use
	autoconf's config.h

	* Makefile.am: update

	* driver.c, qemud.c: upd.
	
1060
Wed Feb 14 14:33:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
1061 1062 1063 1064 1065

	* autogen.sh: run autoheader

	* config.h.in: remove
	
1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078
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 已提交
1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
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.

1096 1097 1098 1099 1100
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.

1101 1102 1103 1104 1105
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

1106 1107 1108 1109 1110 1111
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.

1112 1113 1114 1115 1116 1117
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

1118 1119 1120 1121 1122 1123
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 已提交
1124 1125 1126 1127 1128
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

1129 1130 1131 1132 1133 1134 1135
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

1136 1137 1138 1139 1140
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()

1141 1142 1143 1144 1145
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

1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
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
1157

1158 1159 1160 1161 1162 1163 1164
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()
	
1165 1166 1167 1168 1169
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.

1170 1171 1172 1173 1174
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.
1175

1176 1177 1178 1179
	* 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.

1180 1181 1182 1183 1184 1185 1186 1187 1188
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.

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

1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207
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.

1208 1209 1210 1211 1212 1213
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.

1214 1215 1216 1217 1218 1219
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 已提交
1220 1221 1222 1223 1224
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

1225 1226 1227 1228 1229 1230
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.

1231 1232 1233 1234 1235 1236
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.

1237 1238 1239 1240
Wed Jan 10 16:20:02 CET 2007 Daniel Veillard <veillard@redhat.com>

	* docs/libvirt.rng: udated for the upcoming KVM and QEmu support

1241 1242 1243 1244 1245
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

1246
Tue Jan  9 17:28:18 CET 2007 Daniel Veillard <veillard@redhat.com>
1247

1248 1249 1250
	* docs/libvirt.rng: first version of the Relax-NG schemas to validate
	  XML instances

1251 1252 1253 1254 1255 1256
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

1257 1258 1259 1260 1261 1262 1263
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'.

1264 1265 1266 1267 1268
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

1269 1270 1271 1272 1273
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.

1274 1275
Wed Dec 13 17:24:03 EST 2006 Daniel Berrange <berrange@redhat.com>

1276 1277 1278 1279 1280 1281
	* 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.
1282 1283 1284 1285 1286 1287
	* 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>
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302

	* 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

1303 1304 1305 1306 1307 1308
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>
1309 1310 1311 1312 1313 1314 1315

	* 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

1316
Wed Dec  6 17:40:03 EST 2006 Daniel Berrange <berrange@redhat.com>
1317 1318 1319 1320

	* test/xml2sexprdata/xml2sexpr-curmem.xml, test/xml2sexprdata/xml2sexpr-curmem.sexpr:
	Fix test case to reflect recent change to bootloader/image handling

1321 1322 1323 1324 1325 1326 1327
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

1328 1329 1330 1331 1332
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

1333 1334 1335 1336 1337 1338 1339
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

1340 1341 1342 1343 1344
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

1345 1346 1347 1348 1349 1350
Mon Nov 27 23:27:26 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: patch for rhbz#214741, when using pygrub 
	  do not push the os image information for domain creation
	  via xend

D
Daniel Veillard 已提交
1351 1352 1353 1354 1355 1356 1357 1358 1359
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
	  src/xs_internal.c: added support for dumping core of domains 
	  assuming a xend with the latest patch to do so.

1360 1361 1362 1363 1364
Tue Nov 21 18:05:33 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xs_internal.c: Michel Ponceau pointed out a bug in 
	  xenStoreDomainGetNetworkID refactoring

1365 1366 1367 1368 1369 1370
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
	  dynamic device code to isolate as a separate function 
	  xenStoreDomainGetNetworkID() the access to the XenStore

1371 1372 1373 1374 1375 1376
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.

1377 1378 1379 1380 1381 1382
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.

1383 1384 1385 1386 1387 1388 1389 1390 1391 1392
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

1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403
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
	  a few small things. Still a TODO in src/xml.c about 
	  moving xenstore direct accesses to a new routine.

1404 1405 1406 1407 1408
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.

1409 1410 1411 1412 1413 1414 1415 1416 1417
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>
1418 1419 1420 1421 1422

	* src/hash.c, src/hash.h: Added three new methods for iterating
	over hashtable entries, virHashForEach, virHashRemoveSet &
	virHashSearch.

1423
Wed Nov 15 14:52:01 EST 2006 Daniel Berrange <berrange@redhat.com>
1424 1425 1426 1427 1428

	* 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

1429
Wed Nov 15 14:42:01 EST 2006 Daniel Berrange <berrange@redhat.com>
1430 1431 1432 1433 1434

	* 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

1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445
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

1446 1447 1448 1449 1450
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

1451 1452 1453 1454
Fri Nov 10 17:53:41 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/xml.c: Fix memory leak, by freeing xmlParserContextPtr object

1455 1456 1457 1458 1459 1460 1461 1462 1463 1464
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
	* tests/sexpr2xmltest.c tests/xml2sexprtest.c 
	  tests/sexpr2xmldata/sexpr2xml-curmem.*
	  tests/xml2sexprdata/xml2sexpr-curmem.*: added specific regression
	  tests for this, this didn't disturb any of the other tests.

1465 1466 1467 1468 1469 1470 1471
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

1472 1473 1474 1475
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

1476 1477 1478 1479 1480 1481
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.

1482 1483 1484 1485 1486
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.

1487 1488 1489 1490 1491 1492
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

1493 1494 1495 1496 1497 1498
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.

1499 1500 1501 1502 1503 1504 1505 1506 1507
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

1508 1509 1510 1511 1512 1513 1514
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.

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

1524 1525 1526 1527 1528 1529 1530
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.

1531 1532 1533 1534 1535 1536 1537 1538 1539
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.


1540 1541 1542 1543 1544 1545 1546
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

1547 1548 1549 1550 1551
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

1552 1553 1554 1555 1556
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

1557 1558 1559 1560 1561
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.

1562 1563 1564 1565 1566
Wed Oct 11 16:23:58 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* virsh.1: fixed some typo and unclear language pointed out by 
	  Noriko Mizumoto

1567 1568 1569 1570 1571 1572 1573 1574 1575 1576
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

1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588
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.

1589 1590 1591 1592 1593
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

1594 1595 1596 1597 1598
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

1599 1600 1601 1602
Fri Sep 29 17:16:40 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: fix for system with page size != 4k

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

1610 1611 1612 1613
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

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

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

1633 1634 1635 1636
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

1637 1638 1639 1640 1641 1642 1643 1644 1645 1646
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.

1647 1648 1649 1650 1651
Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* docs/*.html: re-generated documentation to pull in latest
	APIs

1652 1653 1654 1655 1656 1657 1658
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

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

1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676
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

1677 1678 1679 1680 1681 1682 1683
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 已提交
1684 1685 1686 1687 1688 1689
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

1690 1691 1692 1693 1694 1695 1696 1697 1698 1699
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

1700 1701 1702 1703 1704 1705
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

1706 1707 1708 1709 1710
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

1711 1712
Mon Sep  4 14:13:24 EDT 2006 Daniel Berrange <berrange@redhat.com>

1713
	* src/xen_internal.h: Added missing return(-1) statements
1714 1715 1716
	in xenHypervisorGetVcpus and xenHypervisorPinVcpu methods.
	#ifndef out the pause/resume/etc methods from proxy code
	
1717 1718 1719 1720 1721 1722 1723
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.
	* tests/confdata/fc4.conf, tests/confdata/fc4.out: Expand test 
	config to include a '_' in a name, and a trailing ',' in a list.
	
D
Daniel P. Berrange 已提交
1724 1725 1726 1727 1728
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.
	
1729 1730 1731 1732 1733 1734 1735 1736 1737 1738
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
	to sort active domains by Id, and inactive domains by name, since 
	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.
	
1739 1740 1741 1742 1743 1744 1745
Sat Sep  2 22:28:18 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: converting to handle the new incompatible 
	  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()

1746 1747 1748 1749 1750 1751
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.

1752
Wed Aug 30 09:30:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764

	* 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

1765 1766 1767 1768
Tue Aug 29 23:48:43 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/conf.c: add missing entry point virConfGetValue()

D
Daniel Veillard 已提交
1769 1770 1771 1772 1773 1774 1775 1776 1777 1778
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

1779 1780 1781 1782 1783
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).
1784

1785 1786
Tue Aug 29 15:41:46 CEST 2006 Daniel Veillard <veillard@redhat.com>

1787
	* python/libvir.c: Pete Vetere pointed out a bug in string cast
1788 1789
	  when handling errors in Python

1790 1791 1792 1793 1794
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

1795 1796 1797 1798
Sat Aug 26 00:17:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* docs/site.xsl docs/*.html: add links to virt-manager

1799 1800 1801 1802 1803 1804 1805
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).
	
1806 1807 1808 1809 1810 1811 1812 1813 1814 1815
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

1816 1817 1818 1819 1820 1821
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

1822 1823 1824 1825 1826 1827 1828 1829 1830 1831
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.

1832 1833 1834 1835 1836 1837 1838
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>
1839 1840 1841 1842

	* src/xml.c: fix networking in paravirt guests - only set the
	'(type ioemu)' option for HVM.

1843 1844
Thu Aug 17 19:42:50 CEST 2006 Daniel Veillard <veillard@redhat.com>

1845
	* src/xml.c: fix virParseUUID()
1846

1847 1848
Wed Aug 16 19:07:52 CEST 2006 Daniel Veillard <veillard@redhat.com>

1849
	* NEWS configure.in doc//* include/libvirt/libvirt.h
1850 1851 1852 1853 1854
	  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

1855 1856 1857 1858 1859 1860
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.

1861 1862 1863 1864 1865 1866 1867
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
1868

1869
Wed Aug 16 11:36:21 EDT 2006 Daniel Berrange <berrange@redhat.com>
1870 1871

	* src/xend_internal.c, src/xml.c, src/xml.h: Refactored the
1872 1873
	sexpr_uuid method into a re-usable virParseUUID method which
	can be used by any backend
1874

1875 1876 1877 1878 1879 1880 1881
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
	be 'quiet' when opening a RW connection, to stop XenD driver 
	complaining when we open the test driver.
	
1882 1883 1884 1885 1886 1887
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.

1888 1889 1890 1891 1892 1893 1894 1895
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

1896 1897 1898 1899 1900 1901
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

1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918
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

1919 1920 1921 1922 1923
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

1924 1925 1926 1927 1928 1929
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.

1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945
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:
1946
	Added implmentation of virDomainGetXMLDesc driver method which
1947
	goes via proxy.
1948

1949 1950 1951 1952 1953 1954 1955 1956
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.

1957 1958
Mon Aug  7 18:33:45 EDT 2006 Daniel Berrange <berrange@redhat.com>

1959
	* src/xend_internal.c: Added details of serial console TTY to XML
1960 1961 1962 1963 1964 1965
	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.
1966

D
Daniel Veillard 已提交
1967 1968 1969 1970
Mon Aug  7 21:57:41 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated with new items

1971 1972
Mon Aug  7 14:57:12 EDT 2006 Daniel Berrange <berrange@redhat.com>

D
Daniel Veillard 已提交
1973 1974
	* src/xend_internal.c: Corrected string length calculation when
	  appending a CDROM boot device element. Fixes corrupt XML structure.
1975

1976 1977 1978 1979 1980
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.
1981

1982 1983 1984 1985 1986
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

1987 1988 1989 1990
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).
1991
	* include/libvirt/libvirt.h: Add some convenience macros for
1992 1993
	calculating neccessary CPU map lengths & total host CPUs
	* src/virsh.c: Add 'vcpuinfo' and 'vcpumap' commands
1994

1995 1996 1997 1998 1999 2000
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

2001 2002 2003 2004 2005 2006 2007 2008
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.

2009 2010 2011 2012
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

2013 2014 2015 2016 2017 2018
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

2019 2020 2021 2022
Mon Jul 24 14:34:15 IST 2006 Mark McLoughlin <markmc@redhat.com>

	* libvirt.spec.in: sync changes from fedora CVS

2023 2024 2025 2026 2027 2028
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.

2029 2030 2031 2032 2033
Wed Jul 19 17:26:48 EDT 2006 Daniel Berrange <berrange@redhat.com>

	* src/*.c: Bulk replace 'informations' with 'information' to
	correct English spelling

2034 2035 2036 2037 2038
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.

2039 2040 2041 2042 2043 2044
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
	* src/xend_internal.c: uninitialized var and disable TCP slow start 

2045 2046 2047 2048 2049
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.

2050 2051 2052 2053 2054
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

2055
Fri Jul  7 09:47:14 EDT 2006 Daniel Berrange <berrange@redhat.com>
2056

2057 2058 2059 2060 2061
	* 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).

2062 2063 2064 2065
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.
2066

2067 2068 2069 2070 2071 2072 2073
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

2074 2075 2076 2077 2078 2079
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.
	
2080 2081 2082 2083 2084
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
	
2085 2086 2087 2088 2089 2090
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

2091 2092 2093 2094 2095 2096 2097
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.

2098 2099 2100 2101 2102 2103 2104 2105
Mon Jul  3 13:54:03 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.spec.in proxy/Makefile.am src/proxy_internal.c 
	  src/xen_internal.c: fixing the proxy installation, integrate in
	  the spec file and fix a few bugs in the proxy, seems to behave 
	  correctly now.
	* docs/apibuild.py docs/*: fixing the doc and API generator

2106 2107 2108 2109 2110
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.

2111 2112 2113 2114 2115 2116
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.

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

2124 2125 2126 2127 2128 2129 2130 2131
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.
	* proxy/Makefile.am proxy/libvirt_proxy.c src/xen_internal.c 
	  src/xen_internal.h src/xend_internal.c: various related cleanups.

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

2138 2139 2140 2141 2142 2143 2144 2145
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.

2146 2147 2148 2149 2150 2151 2152 2153 2154 2155
Mon Jun 26 16:05:27 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
	  include/libvirt/virterror.h python/generator.py python/libvir.c 
	  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.

2156 2157 2158 2159
Wed Jun 21 14:41:04 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* NEWS libvirt.spec.in docs/*: preparing release of 0.1.1

2160 2161 2162 2163 2164 2165 2166
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.

2167 2168 2169 2170 2171
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.

2172 2173 2174 2175
Tue Jun 20 16:14:26 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: fix breakage introduced in Xen changeset 10277
	  
2176 2177 2178 2179 2180
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

2181 2182 2183 2184 2185
Fri Jun 16 12:44:02 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvirt.c src/xen_internal.c src/xend_internal.c: more driver 
	  related cleanups, nearly finished

2186 2187 2188 2189 2190
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

2191 2192 2193 2194 2195
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.

2196 2197 2198 2199 2200 2201
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.

2202 2203 2204 2205 2206 2207
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.

2208 2209 2210 2211
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

2212 2213 2214 2215 2216 2217
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.

2218 2219 2220 2221 2222
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.

2223 2224 2225 2226 2227 2228 2229 2230
Tue Jun 13 16:37:27 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* docs//*: rebuilt the documentation
	* src/driver.h src/libvirt.c src/test.c src/xen_internal.c 
	  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.

2231 2232 2233 2234 2235 2236 2237
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.

2238 2239 2240 2241 2242 2243
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

2244 2245 2246 2247 2248 2249 2250 2251 2252
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.

2253 2254 2255 2256 2257 2258 2259
Mon May 29 17:02:26 CEST 2006 Karel Zak <kzak@redhat.com> 

	* 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 已提交
2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270
Mon May 29 16:33:39 CEST 2006 Karel Zak <kzak@redhat.com>

	* src/virsh.c: improved vshCommandOptDomain(), added <name> to the 
	  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 已提交
2271 2272 2273 2274 2275 2276 2277 2278 2279
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
	* virsh.1: added information about UUID, fixed list of commands and 
	  domains statuses
	* src/libvirt.c include/libvirt.h.in src/libvirt_sym.version: added
	  virDomainGetUUIDString() and virDomainLookupByUUIDString()

K
Karel Zak 已提交
2280 2281 2282 2283 2284
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 已提交
2285 2286 2287 2288 2289 2290 2291
Wed May 10 13:17:00 CEST 2006 Karel Zak <kzak@redhat.com>

	* src/xml.c src/xml.h: added virBufferNew() and virBufferStrcat()
	* tests/xmlrpctest.c: added performace tests for virBufferStrcat() and 
	  virBufferVSprintf()
	* src/xmlrpc.c: used virBufferStrcat()

K
Karel Zak 已提交
2292 2293 2294 2295 2296 2297 2298 2299 2300
Tue May  9 16:37:22 CEST 2006 Karel Zak <kzak@redhat.com>

	* tests/Makefile.am tests/xmlrpctest.c tests/testutils.h: added test 
	  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()

2301 2302 2303 2304 2305 2306
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

2307 2308 2309 2310 2311
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

2312 2313 2314 2315 2316 2317
Wed Apr 26 08:32:38 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: applied patch from Jeremy Katz to not require a 
	  root entry in XML nor try to extract it from command line
	  informations.

2318 2319 2320 2321 2322
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.

2323 2324 2325 2326
Tue Apr 25 17:56:32 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in: patch for ncurses fallback from Jim Fehlig

2327 2328 2329 2330 2331 2332
Tue Apr 25 17:10:10 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in libvirt.spec.in docs/examples/Makefile.am 
	  docs/examples/index.py docs/examples/python/*: integrated
	  examples for Python from David Lutterkort

2333 2334 2335 2336 2337
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)

2338 2339 2340 2341 2342 2343 2344 2345
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.

2346 2347 2348 2349 2350
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.

2351 2352 2353 2354 2355 2356 2357 2358 2359 2360
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)

2361 2362 2363 2364 2365 2366
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

2367 2368 2369 2370 2371 2372 2373 2374
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

2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387
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.

2388 2389 2390 2391 2392
Thu Apr  6 11:32:46 CEST 2006 Karel Zak <kzak@redhat.com> 

	* src/virsh.c: use stdout for standard outputs, improve 
	 allocation checks

D
Daniel Veillard 已提交
2393 2394 2395 2396 2397 2398 2399
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
	* src/libvirt.c: applied patch from Jim Fehlig to fix 
	  virDomainLookupByID when run as root.

K
Karel Zak 已提交
2400 2401 2402 2403 2404
Tue Apr  4 22:49:33 CEST 2006 Karel Zak <kzak@redhat.com>

	* src/virsh.c: rename dstate, idof and nameof to domstate, 
	  domname and domid

2405 2406 2407 2408 2409 2410 2411
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)
	* docs/FAQ.html docs/libvir.html src/virsh.c: rename command 
	  "dinfo" to "dominfo"

2412 2413 2414 2415 2416 2417 2418 2419
Mon Apr  3 14:46:39 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* include/libvirt.h[.in] src/driver.h src/libvirt.c 
	  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
	* docs/*: regenerated 

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

2425 2426 2427 2428 2429 2430 2431 2432
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
	* src/xend_internal.c src/xml.c: trying to cope with the new 
	  xvda domains states generated on FC5, but Dom0 bootloader
	  really break the model, so that doesn't work.

2433 2434 2435 2436 2437
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 已提交
2438 2439 2440 2441
Wed Mar 29 16:36:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* doc/*: rebuilt

2442 2443 2444 2445 2446 2447 2448
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

2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459
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

2460 2461 2462 2463 2464 2465 2466 2467
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

2468 2469 2470 2471 2472 2473
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
	* python/libvirt_wrap.h: added a missing include. 

2474 2475 2476 2477 2478 2479 2480 2481 2482
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
	
2483 2484 2485 2486 2487
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

2488 2489 2490 2491
Sat Mar 25 11:38:29 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/virterror.c: add message as pointed by Jim Meyering

2492 2493 2494 2495
Fri Mar 24 23:57:56 CET 2006 Daniel Veillard <veillard@redhat.com>

	* include/virterror.h: fix typos pointed by Jim Meyering

2496 2497 2498 2499 2500
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.

2501 2502 2503 2504
Fri Mar 24 14:17:52 CET 2006 Daniel Veillard <veillard@redhat.com>

	* libvirt.pc.in: applied patch from Daniel Berrange to fix --cflags

2505 2506 2507 2508
Fri Mar 24 14:03:26 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/Makefile.am: fix out of tree build

2509 2510 2511 2512 2513 2514 2515
Thu Mar 23 16:40:37 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/xs_internal.c src/xs_internal.h include/virterror.h 
	  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

2516 2517 2518 2519 2520 2521
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

2522 2523 2524 2525
Wed Mar 22 13:34:32 EST 2006 Daniel Veillard <veillard@redhat.com>

	* python/tests/create.py: adapt to new naming scheme in FC5

2526 2527 2528 2529 2530 2531
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 ...

2532 2533 2534 2535 2536 2537 2538
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.

2539 2540 2541 2542 2543 2544 2545 2546
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.

2547 2548 2549 2550 2551 2552
Fri Mar 10 11:07:58 CET 2006 Daniel Veillard <veillard@redhat.com>

	* configure.in: applied patch for --with-xen-distdir option from 
	  Ronald Aigner
	* docs/site.xsl docs/*.html: added link to Bugzilla

2553 2554 2555 2556 2557
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.

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

2563 2564 2565 2566 2567
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

2568 2569 2570 2571 2572
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 已提交
2573 2574 2575 2576 2577 2578 2579 2580 2581 2582
Tue Feb 28 13:12:50 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
	* python/Makefile.am python/generator.py python/libvir.c 
	  python/libvir.py: improved python binding, raise exception 
	  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 已提交
2583 2584 2585 2586
Mon Feb 27 17:36:29 EST 2006 Daniel Veillard <veillard@redhat.com>

	* doc//*: rebuilt

2587 2588 2589 2590 2591 2592
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.

2593 2594 2595 2596 2597 2598
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.

2599 2600 2601 2602 2603 2604 2605 2606
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.

2607 2608 2609 2610 2611
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 已提交
2612 2613 2614 2615 2616 2617 2618 2619
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.

2620 2621 2622 2623 2624 2625 2626 2627 2628
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

2629 2630 2631 2632
Fri Feb 24 22:17:12 CET 2006 Daniel Veillard <veillard@redhat.com>

	* docs/index.py docs/search.php: fixing the search engine.

2633 2634 2635 2636 2637 2638
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.

2639 2640 2641 2642 2643 2644 2645 2646
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

2647 2648 2649 2650 2651 2652
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

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

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

2664 2665 2666 2667 2668
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 已提交
2669 2670 2671 2672 2673 2674
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 已提交
2675 2676 2677 2678
Tue Feb 21 22:00:11 CET 2006 Karel Zak <kzak@redhat.com>

	* TODO: added virsh part

2679 2680 2681 2682 2683 2684
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 已提交
2685 2686 2687 2688 2689 2690 2691
Tue Feb 21 14:21:39 CET 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated
	* python/tests/Makefile.am: fix a small PYTHONPATH bug 
	* docs//*: fixed the xsl a bit for toc names, added doc for
	  the python bindings, regenerated

2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703
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

2704 2705 2706 2707 2708 2709 2710
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 已提交
2711 2712 2713 2714 2715 2716 2717 2718
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
	* src/xend_internal.c src/xml.c src/xml.h: reimplement 
	  virDomainGetXMLDesc() based on xend interface, now work as user too.

2719 2720 2721 2722 2723 2724 2725
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.

2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737
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

2738 2739 2740 2741 2742 2743
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
	  src/Makefile.am: fix rpm packaging problems whith head, more 
	  LIBVIR -> LIBVIRT changes.

2744 2745 2746 2747 2748 2749
Tue Feb 14 15:29:01 EST 2006 Daniel Veillard <veillard@redhat.com>

	* Makefile.am configure.in python/Makefile.am python/tests/Makefile.am
	  python/tests/basic.py: added first python test script and 
	  a 'make tests' target

2750 2751 2752 2753
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

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

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

2763 2764 2765 2766
Fri Feb 10 11:09:11 CET 2006 Daniel Veillard <veillard@redhat.com>

	* README TODO config.h.in libvirt.pc.in: more cleanups.

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

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

2776 2777 2778 2779 2780 2781
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 已提交
2782 2783 2784 2785
Fri Feb  3 15:47:32 CET 2006 Karel Zak <kzak@redhat.com>

	* src/virsh.c: fix order of the save command options

2786 2787 2788 2789 2790
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

2791 2792 2793 2794 2795 2796 2797 2798 2799 2800
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

2801 2802 2803 2804 2805
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

2806 2807 2808 2809 2810
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

2811 2812 2813 2814 2815
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)

2816 2817 2818 2819 2820 2821
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 已提交
2822 2823 2824 2825 2826 2827
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

2828 2829 2830 2831 2832 2833
Tue Jan 24 11:44:53 CET 2006 Karel Zak <kzak@redhat.com> 

	* src/libvir_sym.version: add virDeomainRestore and virDomainSave
	* src/virsh.c: support '=' in options, fix command grammar 
	* src/libvir.c: add conn->xshandle checks

2834 2835 2836 2837 2838
Tue Jan 24 14:09:37 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c: Karel pointed out handle was lost in
	  virConnectOpenReadOnly()

2839 2840 2841 2842 2843 2844
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.

2845 2846
Mon Jan 23 14:23:16 CET 2006 Daniel Veillard <veillard@redhat.com>

2847
	* docs/*: augment and try to complete the doc in its current state
2848

2849 2850
Sun Jan 22 17:26:20 CET 2006 Daniel Veillard <veillard@redhat.com>

2851
	* docs/*: started to augment and update the documentation
2852

2853 2854
Sat Jan 21 23:33:46 GMT 2006 Daniel Veillard <veillard@redhat.com>

2855
	* docs//*: mostly finished the revamp in the plane, starts to look good
2856

2857 2858
Fri Jan 20 16:48:05 CET 2006 Daniel Veillard <veillard@redhat.com>

2859
	* docs/* : total revamp of the web site based on Diana Fong design
2860 2861
	  but not completely integrated yet

2862 2863 2864 2865 2866 2867 2868 2869
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

2870 2871 2872 2873 2874 2875
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.

2876 2877 2878 2879
Wed Jan 18 19:57:53 CET 2006 Daniel Veillard <veillard@redhat.com>

	* src/libvir.c: small change w.r.t. reboot.

2880 2881 2882 2883 2884 2885 2886
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
	  of libxend capabilities, including checkpointing and restoring 
	  in a file.
	* docs//*: regenerated the docs

2887 2888 2889 2890 2891 2892 2893 2894 2895
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.

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

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

2908 2909 2910 2911 2912 2913 2914
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

2915 2916 2917 2918 2919
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.

2920 2921 2922 2923
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

2924 2925 2926 2927 2928 2929 2930 2931
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 已提交
2932 2933 2934 2935 2936
Fri Dec 16 19:35:29 CET 2005 Karel Zak <kzak@redhat.com>

	* src/xml.c src/internal.h src/libvir.c: struct checks cleanup, 
	  add macros VIS_IS_DOMAIN(), VIR_IS_CONNECT() and VIR_IS_CONNECTED_DOMAIN()

2937 2938 2939 2940 2941
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

2942 2943 2944 2945
Fri Dec 16 13:59:35 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/libvir_sym.version: oops forgot to export the new symbol

2946 2947 2948 2949 2950 2951 2952
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

2953 2954 2955 2956 2957 2958 2959 2960
Fri Dec 16 01:43:18 CET 2005 Karel Zak <kzak@redhat.com>

	* include/libvir.h.in: add missing declaration of virDomainGetXMLDesc()
	* include/libvir.h.in src/libvir.c src/virsh src/libvir_sym.version: add 
	  virDomainGetOSType()
	* src/internal.h src/libvir.c src/xml.c: add internal function virDomainGetVM(), 
	  move virDomainGetVMInfo() from src/xml.c

K
Karel Zak 已提交
2961 2962 2963 2964
Thu Dec 15 17:56:27 CET 2005 Karel Zak <kzak@redhat.com>

	* src/virsh.c: remove --id / --name options

2965 2966 2967 2968
Wed Dec 14 16:28:24 CET 2005 Daniel Veillard <veillard@redhat.com>

	* src/xml.c: add dump of os/boot informations

2969 2970 2971 2972
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

2973 2974 2975 2976 2977
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.

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

2986 2987 2988 2989 2990
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.

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

2996 2997 2998 2999
Fri Dec  9 14:03:13 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/*: extended the documentation

3000 3001 3002 3003 3004
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.

3005 3006 3007 3008 3009
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

3010 3011 3012 3013 3014
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.

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

3020 3021 3022 3023 3024 3025
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

3026 3027 3028 3029 3030 3031 3032 3033 3034
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 !
	* include/libvir.h.in src/libvir.c: revamp APIs and implement 
	  complete ones.
	* src/virsh.c: finish the version command and a bit of cleanup.

K
Karel Zak 已提交
3035
Thu Dec  8 15:20:57 CET 2005 Karel Zak <kzak@redhat.com>
3036

K
Karel Zak 已提交
3037 3038
	* src/virsh.c: code cleanup to prevent gcc warnings

3039 3040 3041 3042 3043 3044 3045
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 已提交
3046
Thu Dec  8 11:19:48 CET 2005 Karel Zak <kzak@redhat.com>
3047

K
Karel Zak 已提交
3048 3049 3050
	* src/Makefile.am src/virsh.c configure.in: adding readline support,
	  and implement basic commands to virsh.

3051 3052 3053 3054
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

3055 3056 3057 3058 3059 3060
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.

3061 3062 3063 3064
Wed Dec  7 15:08:54 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/*: adding missing links to API page.

3065 3066 3067 3068 3069 3070
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 已提交
3071 3072 3073 3074
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.

3075 3076 3077 3078 3079 3080
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

3081 3082 3083 3084 3085
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

3086 3087 3088 3089 3090 3091 3092 3093
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

3094 3095 3096 3097 3098 3099 3100
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.

3101 3102 3103 3104 3105
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.

3106 3107 3108 3109 3110 3111
Tue Dec  6 14:46:50 CET 2005 Daniel Veillard <veillard@redhat.com>

	* include/libvir.h src/libvir.c src/virsh.c: tweaking of the 
	  GetInfo() API, returns bytes and nanoseconds, try to fix
	  the scales, but time on unpriviledged interfaces doesn't work.

3112 3113 3114 3115 3116 3117
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.

3118 3119 3120 3121 3122 3123 3124 3125
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

3126 3127 3128 3129 3130 3131
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()

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

3137 3138 3139 3140 3141 3142 3143
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

3144 3145 3146 3147 3148 3149 3150
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

3151 3152 3153 3154 3155 3156
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

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

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

3171 3172 3173 3174 3175
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.

3176 3177 3178 3179
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 已提交
3180 3181 3182 3183 3184 3185 3186
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

3187 3188 3189 3190 3191 3192 3193
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

3194 3195 3196 3197 3198 3199
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 已提交
3200 3201 3202 3203
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