ChangeLog 104.2 KB
Newer Older
1 2 3 4
Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com:

	* qemud/driver.c: fix a couple of invalid free() calls
	
5 6 7 8 9 10 11 12 13
Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com:

	* 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
	
14 15 16 17 18 19
Mon Mar 05 10:52:02 IST 2007 Mark McLoughlin <markmc@redhat.com:

	* 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.
	
20 21 22 23 24 25 26
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>

27 28 29 30 31 32
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>
33 34 35 36 37

	* 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

38
Thu Mar 01 16:17:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
39 40 41 42 43 44 45 46 47 48

	* 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)
	
49
Thu Mar 01 16:00:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
50 51 52 53 54
	
	Fix from Richard W.M. Jones <rjones@redhat.com>

	* proxy/libvirt_proxy.c: include locale.h

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

60 61 62 63 64
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>).

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

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

77 78 79 80 81
Mon Feb 26 15:33:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c, qemud/uuid.[ch]: move qemudParseUUID()
	into uuid.c
	
82 83 84 85 86 87 88 89
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
	
90 91 92 93 94
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.
	
95 96 97 98 99 100 101 102
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.
	
103 104 105 106 107 108 109
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

110 111 112 113 114 115 116
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

117 118 119 120 121 122
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.
	
123 124 125 126 127 128 129 130 131 132
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
	
133 134 135 136 137 138 139 140
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
	
141 142 143 144 145 146 147 148
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
	
149 150 151 152 153 154
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.
	
155 156 157 158 159 160
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>
161 162 163 164 165 166 167 168 169

	* 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.
	
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
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.
	
188 189 190 191 192 193 194 195 196 197 198 199
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.
	
200 201 202 203 204
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.
	
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
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
	
220
Fri Feb 23 08:41:34 IST 2007 MarkMcLoughlin <markmc@redhat.com>
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235

	* 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()
	
236 237 238 239 240 241 242 243
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>
244 245 246 247 248 249 250 251

	* 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.
	
252 253 254 255 256 257 258
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.

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

265 266 267 268
Thu Feb 22 10:37:08 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix another xml property leak.
	
269 270 271 272 273 274
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>
275 276 277 278

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

	* virsh.c: cmdNetworkList() re-indent this.
	
283
Tue Feb 20 17:49:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
284 285 286 287 288 289 290 291 292 293

	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
	
294
Tue Feb 20 16:49:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
295 296 297 298

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

299
Tue Feb 20 09:56:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
300 301 302 303

	* qemud/bridge.c: change the fix for the alignment warning
	a little.
	
304
Tue Feb 20 09:03:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
305 306 307 308 309

	* 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.
	
310
Mon Feb 19 16:59:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
311 312 313 314

	* qemud/qemud.c: don't shutdown guest and networks on
	SIGHUP
	
315
Mon Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
316 317 318

	* qemud/qemud.c: handle SIGQUIT.
	
319 320 321 322 323 324
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>

325 326 327 328 329 330 331 332 333 334
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.
	
335 336 337 338 339 340 341
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.
	
342 343 344 345 346 347 348
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.
	
349 350 351 352 353
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 已提交
354 355 356 357
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 已提交
358 359 360 361 362 363 364
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)

365 366 367 368 369
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.

370 371 372 373
Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix <interface type='network'> output
	
374 375 376 377 378
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
	
379 380 381 382
Thu Feb 15 19:06:22 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix a couple of typos
	
383 384 385 386
Thu Feb 15 19:05:48 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.c: fix segfault
	
387 388 389 390
Thu Feb 15 19:04:10 IST 2007 Mark McLoughlin <markmc@redhat.com>

	* qemud/conf.h: move qemudFreeVMDef() down a bit
	
391 392 393 394 395
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.
	
396 397 398 399 400 401
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.
	
402 403 404 405 406 407
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()
	
408 409 410 411 412
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

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

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

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

428 429 430 431 432 433
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

434
Wed Feb 14 12:35:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
435 436 437 438

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

439
Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
440 441 442 443 444

	* 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

445
Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
446 447 448 449

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

450
Wed Feb 14 12:17:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
D
Daniel P. Berrange 已提交
451 452 453 454

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

455
Wed Feb 14 11:58:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
456 457 458 459 460

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

461
Wed Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
462 463 464 465 466 467

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

	* virsh.c: add a colon after the connect arg to
	getopt_long()
	
468
Wed Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
469 470 471 472

	* src/qemu_internal.c: correctly register the network
	driver
	
473
Wed Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
474 475 476

	* autogen.sh: run autoheader before automake
	
477
Wed Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501

	* 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
	
502
Wed Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
503 504 505 506

	* src/xml.c: with <interface type="network"> connect the
	Xen guest to the appropriate bridge.
	
507
Wed Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525

	* 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.
	
526
Wed Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
527 528 529 530 531 532 533 534 535 536 537

	* 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
	
538
Wed Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
539 540 541 542 543 544 545 546 547 548 549 550

	* 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.
	
551
Wed Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
552 553 554 555 556 557

	* qemud/conf.c, qemud/internal.h: add dhcp config
	
	* qemud/qemud.c: start dnsmasq to provide dns/dhcp
	for virtual networks.
	
558
Wed Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574

	* 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().
	
575
Wed Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
576 577 578 579 580 581 582 583 584 585 586 587

	* 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.
	
588
Wed Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
589 590 591 592 593 594 595 596 597 598 599

	* 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
	
600
Wed Feb 14 15:43:28 IST 2007 Mark McLoughlin <markmc@redhat.com>
601 602 603

	* src/virsh.c: add the net-* commands.
	
604
Wed Feb 14 15:37:17 IST 2007 Mark McLoughlin <markmc@redhat.com>
605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620

	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.
	
621
Wed Feb 14 15:33:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639

	* 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
	
640
Wed Feb 14 15:07:26 IST 2007 Mark McLoughlin <markmc@redhat.com>
641 642 643 644

	* src/conf.h: fix merge error - remove the argc argument
	from qemudBuildCommandLine()
	
645
Wed Feb 14 15:03:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
646 647 648 649

	* src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff
	to VSH_BYFOO in order to re-use it for the network stuff.
	
650
Wed Feb 14 14:58:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
651 652 653 654 655

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

658
	* qemud/conf.c: qemudSaveConfig() will always report a
659 660 661
	more specific error, so	we should avoid overwriting
	this error.
	
662
Wed Feb 14 14:54:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
663 664 665 666 667 668 669

	* 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.
	
670
Wed Feb 14 14:52:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
671 672 673 674 675 676 677 678 679

	* 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
	
680
Wed Feb 14 14:50:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
681 682 683 684 685

	* qemud/conf.c: handle an unspecified MAC address, 
	fix the argv freeing code in qemudBuildCommandLine()
	and fix copy and paste error in qemudGenerateXML()
	
686
Wed Feb 14 14:42:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
687 688 689 690 691 692

	* 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
	
693
Wed Feb 14 14:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
694 695 696 697

	* qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
	  qemud/qemud.c: include autoconf's config.h
	
698
Wed Feb 14 14:39:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
699 700 701 702 703 704 705 706

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

	* Makefile.am: update

	* driver.c, qemud.c: upd.
	
707
Wed Feb 14 14:33:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
708 709 710 711 712

	* autogen.sh: run autoheader

	* config.h.in: remove
	
713 714 715 716 717 718 719 720 721 722 723 724 725
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 已提交
726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742
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.

743 744 745 746 747
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.

748 749 750 751 752
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

753 754 755 756 757 758
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.

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

765 766 767 768 769 770
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 已提交
771 772 773 774 775
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

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

783 784 785 786 787
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()

788 789 790 791 792
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

793 794 795 796 797 798 799 800 801 802 803
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
804

805 806 807 808 809 810 811
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()
	
812 813 814 815 816
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.

817 818 819 820 821
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.
822

823 824 825 826
	* 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.

827 828 829 830 831 832 833 834 835
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.

836 837 838 839 840 841 842
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

843 844 845 846 847 848 849 850 851 852 853 854
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.

855 856 857 858 859 860
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.

861 862 863 864 865 866
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 已提交
867 868 869 870 871
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

872 873 874 875 876 877
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.

878 879 880 881 882 883
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.

884 885 886 887
Wed Jan 10 16:20:02 CET 2007 Daniel Veillard <veillard@redhat.com>

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

888 889 890 891 892
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

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

895 896 897
	* docs/libvirt.rng: first version of the Relax-NG schemas to validate
	  XML instances

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

904 905 906 907 908 909 910
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'.

911 912 913 914 915
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

916 917 918 919 920
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.

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

923 924 925 926 927 928
	* 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.
929 930 931 932 933 934
	* 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>
935 936 937 938 939 940 941 942 943 944 945 946 947 948 949

	* 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

950 951 952 953 954 955
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>
956 957 958 959 960 961 962

	* 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

963
Wed Dec  6 17:40:03 EST 2006 Daniel Berrange <berrange@redhat.com>
964 965 966 967

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

968 969 970 971 972 973 974
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

975 976 977 978 979
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

980 981 982 983 984 985 986
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

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

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

1007 1008 1009 1010 1011
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

1012 1013 1014 1015 1016 1017
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

1018 1019 1020 1021 1022 1023
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.

1024 1025 1026 1027 1028 1029
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.

1030 1031 1032 1033 1034 1035 1036 1037 1038 1039
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

1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
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.

1051 1052 1053 1054 1055
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.

1056 1057 1058 1059 1060 1061 1062 1063 1064
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>
1065 1066 1067 1068 1069

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

1070
Wed Nov 15 14:52:01 EST 2006 Daniel Berrange <berrange@redhat.com>
1071 1072 1073 1074 1075

	* 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

1076
Wed Nov 15 14:42:01 EST 2006 Daniel Berrange <berrange@redhat.com>
1077 1078 1079 1080 1081

	* 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

1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092
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

1093 1094 1095 1096 1097
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

1098 1099 1100 1101
Fri Nov 10 17:53:41 EDT 2006 Daniel Berrange <berrange@redhat.com>

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

1102 1103 1104 1105 1106 1107 1108 1109 1110 1111
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.

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

1119 1120 1121 1122
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

1123 1124 1125 1126 1127 1128
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.

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

1134 1135 1136 1137 1138 1139
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

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

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

1155 1156 1157 1158 1159 1160 1161
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.

1162 1163 1164 1165 1166 1167 1168 1169 1170
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 .

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

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


1187 1188 1189 1190 1191 1192 1193
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

1194 1195 1196 1197 1198
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

1199 1200 1201 1202 1203
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

1204 1205 1206 1207 1208
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.

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

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

1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235
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.

1236 1237 1238 1239 1240
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

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

1246 1247 1248 1249
Fri Sep 29 17:16:40 CEST 2006 Daniel Veillard <veillard@redhat.com>

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

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

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

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

1270 1271 1272 1273 1274 1275 1276 1277 1278 1279
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.

1280 1281 1282 1283
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

1284 1285 1286 1287 1288 1289 1290 1291 1292 1293
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.

1294 1295 1296 1297 1298
Thu Sep 21 10:19:02 EDT 2006 Daniel Berrange <berrange@redhat.com>

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

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

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

1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323
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

1324 1325 1326 1327 1328 1329 1330
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 已提交
1331 1332 1333 1334 1335 1336
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

1337 1338 1339 1340 1341 1342 1343 1344 1345 1346
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

1347 1348 1349 1350 1351 1352
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

1353 1354 1355 1356 1357
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

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

1360
	* src/xen_internal.h: Added missing return(-1) statements
1361 1362 1363
	in xenHypervisorGetVcpus and xenHypervisorPinVcpu methods.
	#ifndef out the pause/resume/etc methods from proxy code
	
1364 1365 1366 1367 1368 1369 1370
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 已提交
1371 1372 1373 1374 1375
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.
	
1376 1377 1378 1379 1380 1381 1382 1383 1384 1385
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.
	
1386 1387 1388 1389 1390 1391 1392
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()

1393 1394 1395 1396 1397 1398
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.

1399
Wed Aug 30 09:30:23 EDT 2006 Daniel Berrange <berrange@redhat.com>
1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411

	* 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

1412 1413 1414 1415
Tue Aug 29 23:48:43 CEST 2006 Daniel Veillard <veillard@redhat.com>

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

D
Daniel Veillard 已提交
1416 1417 1418 1419 1420 1421 1422 1423 1424 1425
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

1426 1427 1428 1429 1430
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).
1431

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

1434
	* python/libvir.c: Pete Vetere pointed out a bug in string cast
1435 1436
	  when handling errors in Python

1437 1438 1439 1440 1441
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

1442 1443 1444 1445
Sat Aug 26 00:17:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

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

1446 1447 1448 1449 1450 1451 1452
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).
	
1453 1454 1455 1456 1457 1458 1459 1460 1461 1462
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

1463 1464 1465 1466 1467 1468
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

1469 1470 1471 1472 1473 1474 1475 1476 1477 1478
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.

1479 1480 1481 1482 1483 1484 1485
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>
1486 1487 1488 1489

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

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

1492
	* src/xml.c: fix virParseUUID()
1493

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

1496
	* NEWS configure.in doc//* include/libvirt/libvirt.h
1497 1498 1499 1500 1501
	  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

1502 1503 1504 1505 1506 1507
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.

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

1516
Wed Aug 16 11:36:21 EDT 2006 Daniel Berrange <berrange@redhat.com>
1517 1518

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

1522 1523 1524 1525 1526 1527 1528
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.
	
1529 1530 1531 1532 1533 1534
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.

1535 1536 1537 1538 1539 1540 1541 1542
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

1543 1544 1545 1546 1547 1548
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

1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565
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

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

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

1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592
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:
1593
	Added implmentation of virDomainGetXMLDesc driver method which
1594
	goes via proxy.
1595

1596 1597 1598 1599 1600 1601 1602 1603
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.

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

1606
	* src/xend_internal.c: Added details of serial console TTY to XML
1607 1608 1609 1610 1611 1612
	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.
1613

D
Daniel Veillard 已提交
1614 1615 1616 1617
Mon Aug  7 21:57:41 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* TODO: updated with new items

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

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

1623 1624 1625 1626 1627
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.
1628

1629 1630 1631 1632 1633
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

1634 1635 1636 1637
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).
1638
	* include/libvirt/libvirt.h: Add some convenience macros for
1639 1640
	calculating neccessary CPU map lengths & total host CPUs
	* src/virsh.c: Add 'vcpuinfo' and 'vcpumap' commands
1641

1642 1643 1644 1645 1646 1647
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

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

1656 1657 1658 1659
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

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

1666 1667 1668 1669
Mon Jul 24 14:34:15 IST 2006 Mark McLoughlin <markmc@redhat.com>

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

1670 1671 1672 1673 1674 1675
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.

1676 1677 1678 1679 1680
Wed Jul 19 17:26:48 EDT 2006 Daniel Berrange <berrange@redhat.com>

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

1681 1682 1683 1684 1685
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.

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

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

1697 1698 1699 1700 1701
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

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

1704 1705 1706 1707 1708
	* 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).

1709 1710 1711 1712
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.
1713

1714 1715 1716 1717 1718 1719 1720
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

1721 1722 1723 1724 1725 1726
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.
	
1727 1728 1729 1730 1731
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
	
1732 1733 1734 1735 1736 1737
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

1738 1739 1740 1741 1742 1743 1744
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.

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

1753 1754 1755 1756 1757
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.

1758 1759 1760 1761 1762 1763
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.

1764 1765 1766 1767 1768 1769 1770
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

1771 1772 1773 1774 1775 1776 1777 1778
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.

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

1785 1786 1787 1788 1789 1790 1791 1792
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.

1793 1794 1795 1796 1797 1798 1799 1800 1801 1802
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.

1803 1804 1805 1806
Wed Jun 21 14:41:04 CEST 2006 Daniel Veillard <veillard@redhat.com>

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

1807 1808 1809 1810 1811 1812 1813
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.

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

1819 1820 1821 1822
Tue Jun 20 16:14:26 EDT 2006 Daniel Veillard <veillard@redhat.com>

	* src/xen_internal.c: fix breakage introduced in Xen changeset 10277
	  
1823 1824 1825 1826 1827
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

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

1833 1834 1835 1836 1837
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

1838 1839 1840 1841 1842
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.

1843 1844 1845 1846 1847 1848
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.

1849 1850 1851 1852 1853 1854
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.

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

1859 1860 1861 1862 1863 1864
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.

1865 1866 1867 1868 1869
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.

1870 1871 1872 1873 1874 1875 1876 1877
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.

1878 1879 1880 1881 1882 1883 1884
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.

1885 1886 1887 1888 1889 1890
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

1891 1892 1893 1894 1895 1896 1897 1898 1899
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.

1900 1901 1902 1903 1904 1905 1906
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 已提交
1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917
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 已提交
1918 1919 1920 1921 1922 1923 1924 1925 1926
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 已提交
1927 1928 1929 1930 1931
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 已提交
1932 1933 1934 1935 1936 1937 1938
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 已提交
1939 1940 1941 1942 1943 1944 1945 1946 1947
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()

1948 1949 1950 1951 1952 1953
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

1954 1955 1956 1957 1958
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

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

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

1970 1971 1972 1973
Tue Apr 25 17:56:32 CEST 2006 Daniel Veillard <veillard@redhat.com>

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

1974 1975 1976 1977 1978 1979
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

1980 1981 1982 1983 1984
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)

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

1993 1994 1995 1996 1997
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.

1998 1999 2000 2001 2002 2003 2004 2005 2006 2007
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)

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

2014 2015 2016 2017 2018 2019 2020 2021
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

2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034
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.

2035 2036 2037 2038 2039
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 已提交
2040 2041 2042 2043 2044 2045 2046
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 已提交
2047 2048 2049 2050 2051
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

2052 2053 2054 2055 2056 2057 2058
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"

2059 2060 2061 2062 2063 2064 2065 2066
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 

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

2072 2073 2074 2075 2076 2077 2078 2079
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.

2080 2081 2082 2083 2084
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 已提交
2085 2086 2087 2088
Wed Mar 29 16:36:24 CEST 2006 Daniel Veillard <veillard@redhat.com>

	* doc/*: rebuilt

2089 2090 2091 2092 2093 2094 2095
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

2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106
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

2107 2108 2109 2110 2111 2112 2113 2114
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

2115 2116 2117 2118 2119 2120
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. 

2121 2122 2123 2124 2125 2126 2127 2128 2129
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
	
2130 2131 2132 2133 2134
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

2135 2136 2137 2138
Sat Mar 25 11:38:29 CET 2006 Daniel Veillard <veillard@redhat.com>

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

2139 2140 2141 2142
Fri Mar 24 23:57:56 CET 2006 Daniel Veillard <veillard@redhat.com>

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

2143 2144 2145 2146 2147
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.

2148 2149 2150 2151
Fri Mar 24 14:17:52 CET 2006 Daniel Veillard <veillard@redhat.com>

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

2152 2153 2154 2155
Fri Mar 24 14:03:26 CET 2006 Daniel Veillard <veillard@redhat.com>

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

2156 2157 2158 2159 2160 2161 2162
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

2163 2164 2165 2166 2167 2168
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

2169 2170 2171 2172
Wed Mar 22 13:34:32 EST 2006 Daniel Veillard <veillard@redhat.com>

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

2173 2174 2175 2176 2177 2178
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 ...

2179 2180 2181 2182 2183 2184 2185
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.

2186 2187 2188 2189 2190 2191 2192 2193
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.

2194 2195 2196 2197 2198 2199
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

2200 2201 2202 2203 2204
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.

2205 2206 2207 2208 2209
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.

2210 2211 2212 2213 2214
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

2215 2216 2217 2218 2219
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 已提交
2220 2221 2222 2223 2224 2225 2226 2227 2228 2229
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 已提交
2230 2231 2232 2233
Mon Feb 27 17:36:29 EST 2006 Daniel Veillard <veillard@redhat.com>

	* doc//*: rebuilt

2234 2235 2236 2237 2238 2239
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.

2240 2241 2242 2243 2244 2245
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.

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

2254 2255 2256 2257 2258
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 已提交
2259 2260 2261 2262 2263 2264 2265 2266
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.

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

2276 2277 2278 2279
Fri Feb 24 22:17:12 CET 2006 Daniel Veillard <veillard@redhat.com>

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

2280 2281 2282 2283 2284 2285
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.

2286 2287 2288 2289 2290 2291 2292 2293
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

2294 2295 2296 2297 2298 2299
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

2300 2301 2302 2303
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

2304 2305 2306 2307 2308 2309 2310
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

2311 2312 2313 2314 2315
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 已提交
2316 2317 2318 2319 2320 2321
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 已提交
2322 2323 2324 2325
Tue Feb 21 22:00:11 CET 2006 Karel Zak <kzak@redhat.com>

	* TODO: added virsh part

2326 2327 2328 2329 2330 2331
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 已提交
2332 2333 2334 2335 2336 2337 2338
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

2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350
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

2351 2352 2353 2354 2355 2356 2357
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 已提交
2358 2359 2360 2361 2362 2363 2364 2365
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.

2366 2367 2368 2369 2370 2371 2372
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.

2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384
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

2385 2386 2387 2388 2389 2390
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.

2391 2392 2393 2394 2395 2396
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

2397 2398 2399 2400
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

2401 2402 2403 2404
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

2405 2406 2407 2408 2409
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

2410 2411 2412 2413
Fri Feb 10 11:09:11 CET 2006 Daniel Veillard <veillard@redhat.com>

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

2414 2415 2416 2417
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

2418 2419 2420 2421 2422
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

2423 2424 2425 2426 2427 2428
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 已提交
2429 2430 2431 2432
Fri Feb  3 15:47:32 CET 2006 Karel Zak <kzak@redhat.com>

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

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

2438 2439 2440 2441 2442 2443 2444 2445 2446 2447
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

2448 2449 2450 2451 2452
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

2453 2454 2455 2456 2457
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

2458 2459 2460 2461 2462
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)

2463 2464 2465 2466 2467 2468
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 已提交
2469 2470 2471 2472 2473 2474
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

2475 2476 2477 2478 2479 2480
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

2481 2482 2483 2484 2485
Tue Jan 24 14:09:37 CET 2006 Daniel Veillard <veillard@redhat.com>

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

2486 2487 2488 2489 2490 2491
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.

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

2494
	* docs/*: augment and try to complete the doc in its current state
2495

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

2498
	* docs/*: started to augment and update the documentation
2499

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

2502
	* docs//*: mostly finished the revamp in the plane, starts to look good
2503

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

2506
	* docs/* : total revamp of the web site based on Diana Fong design
2507 2508
	  but not completely integrated yet

2509 2510 2511 2512 2513 2514 2515 2516
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

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

2523 2524 2525 2526
Wed Jan 18 19:57:53 CET 2006 Daniel Veillard <veillard@redhat.com>

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

2527 2528 2529 2530 2531 2532 2533
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

2534 2535 2536 2537 2538 2539 2540 2541 2542
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.

2543 2544 2545 2546 2547 2548
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.

2549 2550 2551 2552 2553 2554
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.

2555 2556 2557 2558 2559 2560 2561
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

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

2567 2568 2569 2570
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

2571 2572 2573 2574 2575 2576 2577 2578
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 已提交
2579 2580 2581 2582 2583
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()

2584 2585 2586 2587 2588
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

2589 2590 2591 2592
Fri Dec 16 13:59:35 CET 2005 Daniel Veillard <veillard@redhat.com>

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

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

2600 2601 2602 2603 2604 2605 2606 2607
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 已提交
2608 2609 2610 2611
Thu Dec 15 17:56:27 CET 2005 Karel Zak <kzak@redhat.com>

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

2612 2613 2614 2615
Wed Dec 14 16:28:24 CET 2005 Daniel Veillard <veillard@redhat.com>

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

2616 2617 2618 2619
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

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

2625 2626 2627 2628 2629 2630 2631 2632
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.

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

2638 2639 2640 2641 2642
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.

2643 2644 2645 2646
Fri Dec  9 14:03:13 CET 2005 Daniel Veillard <veillard@redhat.com>

	* docs/*: extended the documentation

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

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

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

2662 2663 2664 2665 2666
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.

2667 2668 2669 2670 2671 2672
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

2673 2674 2675 2676 2677 2678 2679 2680 2681
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 已提交
2682
Thu Dec  8 15:20:57 CET 2005 Karel Zak <kzak@redhat.com>
2683

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

2686 2687 2688 2689 2690 2691 2692
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 已提交
2693
Thu Dec  8 11:19:48 CET 2005 Karel Zak <kzak@redhat.com>
2694

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

2698 2699 2700 2701
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

2702 2703 2704 2705 2706 2707
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.

2708 2709 2710 2711
Wed Dec  7 15:08:54 CET 2005 Daniel Veillard <veillard@redhat.com>

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

2712 2713 2714 2715 2716 2717
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 已提交
2718 2719 2720 2721
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.

2722 2723 2724 2725 2726 2727
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

2728 2729 2730 2731 2732
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

2733 2734 2735 2736 2737 2738 2739 2740
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

2741 2742 2743 2744 2745 2746 2747
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.

2748 2749 2750 2751 2752
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.

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

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

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

2773 2774 2775 2776 2777 2778
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()

2779 2780 2781 2782 2783
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

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

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

2798 2799 2800 2801 2802 2803
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

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

2812 2813 2814 2815 2816 2817
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

2818 2819 2820 2821 2822
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.

2823 2824 2825 2826
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 已提交
2827 2828 2829 2830 2831 2832 2833
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

2834 2835 2836 2837 2838 2839 2840
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

2841 2842 2843 2844 2845 2846
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 已提交
2847 2848 2849 2850
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