Blame ChangeLog

Packit a07778
2019-11-26  Daniel P. Berrangé  <berrange@redhat.com>
Packit a07778
Packit a07778
	Bump version & update NEWS for 3.0.0 release
Packit a07778
Packit a07778
2019-10-01  Fabiano Fidêncio  <fidencio@redhat.com>
Packit a07778
Packit a07778
	gconfig-domain-video: Add bochs video device
Packit a07778
	https://bugzilla.redhat.com/show_bug.cgi?id=1753670
Packit a07778
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
Packit a07778
2019-09-05  Fabiano Fidêncio  <fidencio@redhat.com>
Packit a07778
Packit a07778
	tests,test-gconfig: Check _domain_os_get_machine()
Packit a07778
	Let's add one more simple check for gvir_config_domain_os_get_machine().
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add _domain_os_get_firmware()
Packit a07778
	Add a way to get the value of <os firmware="bios|efi"/> which has been
Packit a07778
	set to the domain XML.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
2019-08-19  Daniel P. Berrangé  <berrange@redhat.com>
Packit a07778
Packit a07778
	Set desired glib min/max API versions
Packit a07778
	Setting GLIB_VERSION_MAX_ALLOWED ensures we get warnings if
Packit a07778
	we use APIs that are newer than our declared minimum glib
Packit a07778
	version.
Packit a07778
Packit a07778
	Setting GLIB_VERSION_MIN_REQUIRED ensures that we get
Packit a07778
	warnings if we use APIs deprecated in versions preceeding
Packit a07778
	this.
Packit a07778
Packit a07778
	If the latter is omitted then we get warnings for all
Packit a07778
	deprecations in glib, which is undesirable if we want to
Packit a07778
	keep compat with older versions.
Packit a07778
Packit a07778
	This avoids a build error with latest glib
Packit a07778
Packit a07778
	  ./../libvirt-gconfig/libvirt-gconfig-capabilities-cpu-model.c: In function 'gvir_config_capabilities_cpu_model_init':
Packit a07778
	  ../../libvirt-gconfig/libvirt-gconfig-capabilities-cpu-model.c:44:13: error: G_ADD_PRIVATE [-Werror]
Packit a07778
	     44 |     model->priv = GVIR_CONFIG_CAPABILITIES_CPU_MODEL_GET_PRIVATE(model);
Packit a07778
	        |             ^~~~~~~~~~~~~~~
Packit a07778
Packit a07778
	Caused by G_TYPE_INSTANCE_GET_PRIVATE being deprecated.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gobject: remove use of G_PARAM_PRIVATE
Packit a07778
	This enum field is a deprecated synonym for G_PARAM_STATIC_NAME
Packit a07778
	which is already set by G_PARAM_STATIC_STRINGS.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
2019-05-27  Fabiano Fidêncio  <fidencio@redhat.com>
Packit a07778
Packit a07778
	gtk-doc.make: Remove the file
Packit a07778
	Now that we're using gtkdocisze as part of autogen.sh, there's no reason
Packit a07778
	to keep our own gtk-doc.make file.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	autogen.sh: Simplify autogen.sh
Packit a07778
	Let's use an autogen.sh based on libosinfo's one, which is cleaner and
Packit a07778
	matches the current GNOME guidelines.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	docs: explicitly link against libvirt-g{config,lib,object}
Packit a07778
	Let's explicitly link against the built libvirt-gconfig, libvirt-glib,
Packit a07778
	and libvirt-gobject libtool files for introspecting the gobjects.
Packit a07778
Packit a07778
	In case it's *not* done we can run into some issues when where we try to
Packit a07778
	link against installed library, causing failures related to undefined
Packit a07778
	reference of the new symbols.
Packit a07778
Packit a07778
	Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Packit a07778
Packit a07778
2019-05-23  Fabiano Fidêncio  <fidencio@redhat.com>
Packit a07778
Packit a07778
	event-test: Change sha-bang line to use python3
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	event-test: Handle exceptions in a py3 compatible way
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	event-test: Use print() in a py3 compatible way
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	event-test: Ensure the right versions of LibvirtGLib and Gtk get loaded
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	event-test: Don't use ";" in the end of lines
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	event-test: LibvirtGLib.init() takes (at maximum) 1 argment
Packit a07778
	The previous behaviour with pygobject required 2 arguments to be passed
Packit a07778
	to LibvirtGLib.init().
Packit a07778
Packit a07778
	As it's been changed, whenever we try to run event-test we'd get:
Packit a07778
	```
Packit a07778
	Using uri:qemu:///system
Packit a07778
	Traceback (most recent call last):
Packit a07778
	  File "event-test.py", line 62, in <module>
Packit a07778
	    main()
Packit a07778
	  File "event-test.py", line 51, in main
Packit a07778
	    LibvirtGLib.init(0, "")
Packit a07778
	TypeError: LibvirtGLib.init() takes exactly 1 argument (2 given)
Packit a07778
	```
Packit a07778
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
2019-05-20  Fabiano Fidêncio  <fidencio@redhat.com>
Packit a07778
Packit a07778
	conn-test: Change sha-bang line to use python3
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	conn-test: Handle exceptions in a py3 compatible way
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	conn-test: Use print() in a py3 compatible way
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	conn-test: Ensure the right versions of LibvirtGObject and Gtk get loaded
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	conn-test: Don't use ";" in the end of lines
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	config-demo: Change sha-bang line to use python3
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	config-demo: Use octal when setting mode
Packit a07778
	Basically, just change 0744 to 0o744 in order to be compatible with
Packit a07778
	python3.
Packit a07778
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	config-demo: Use print() in a py3 compatible way
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	config-demo: Ensure the right LibvirtGConfig version gets loaded
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	config-demo: Don't use ";" in the end of lines
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gobject: Wrap virConnectGetDomainCapabilities()
Packit a07778
	In order to do so, 3 new APIs have been added:
Packit a07778
	- gvir_connection_get_domain_capabilities();
Packit a07778
	- gvir_connection_get_domain_capabilities_async();
Packit a07778
	- gvir_connection_get_domain_capabilities_finish();
Packit a07778
Packit a07778
	The returned object is a GVirConfigDomainCapabilities, from which
Packit a07778
	consumers will be able to access a few other objects representing the
Packit a07778
	XML returned by virConnectGetDomainCapabilities().
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	tests: Add basic test for domain capabilities
Packit a07778
	This basic test only ensures that we can properly parse:
Packit a07778
	<domainCapabilities>
Packit a07778
	  <os>
Packit a07778
	    <enum name="firmeware">
Packit a07778
	      <value>bios</value>
Packit a07778
	      <value>efi</value>
Packit a07778
	    </enum>
Packit a07778
	  </os>
Packit a07778
	</domainCapabilities>
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add _domain_capabilities_os_get_firmwares()
Packit a07778
	Add a way to access the <enum name="firmware"/> element's conent from
Packit a07778
	<os/>.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add _domain_capabilities_get_os()
Packit a07778
	Add a way to access the object which represents the <os/> element from
Packit a07778
	the <domainCapabilities/>.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainCapabilitiesOs
Packit a07778
	GVirConfigDomainCapabilitiesOs object has been introduced in order to
Packit a07778
	represent the <os/> element under <domainCapabilities/>.
Packit a07778
Packit a07778
	For now it's not used anywhere, but it's addition allows us to start
Packit a07778
	building the needed machinery for:
Packit a07778
	- Returning a representation os <os/> element;
Packit a07778
	- Having the most basic machinery to start adding functions to return
Packit a07778
	  any child element we may need to query from <os/> element;
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainCapabilities
Packit a07778
	GVirConfigDomainCapabilities object has been introduced in order to
Packit a07778
	represent the output of virConnectGetDomainCapabilities().
Packit a07778
Packit a07778
	For now it's not used anywhere, but its addition allows us to start
Packit a07778
	building the needed machinery for:
Packit a07778
	- Creating a wrapper around virConnectGetDomainCapabilities();
Packit a07778
	- Creating new objects that will be used to return each of the elements
Packit a07778
	  present in the output of virConnectGetDomainCapabilities(),
Packit a07778
	  accordingly to the consumers of this library's need;
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gobject: Use the proper return type in _connection_get_capabilities_finish()
Packit a07778
	Instead of returning FALSE, return NULL.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add _domain_os_set_firmware()
Packit a07778
	Add a way to set <os firmware="bios|efi"/> to the domain XML.
Packit a07778
Packit a07778
	Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Packit a07778
Packit a07778
2019-02-20  Daniel P. Berrangé  <berrange@redhat.com>
Packit a07778
Packit a07778
	po: refresh translations from zanata
Packit a07778
Packit a07778
	po: minimize uk ur vi wba yo zh_CN zh_HK zh_TW zu
Packit a07778
Packit a07778
	po: minimize sq sr@latin sr sv ta te tg th tr tw
Packit a07778
Packit a07778
	po: minimize or pa pl pt_BR pt ro ru si sk sl
Packit a07778
Packit a07778
	po: minimize mn mr ms nb nds ne nl nn nso
Packit a07778
Packit a07778
	po: minimize kw_GB kw@kkcor kw kw@uccor ky lt lv mai mk ml
Packit a07778
Packit a07778
	po: minimize id ilo is it ja ka kk km kn ko
Packit a07778
Packit a07778
	po: minimize fr gl gu he hi hr hu ia
Packit a07778
Packit a07778
	po: minimize de el en_GB eo es et eu fa fi
Packit a07778
Packit a07778
	po: minimize bn bo br brx bs ca cs cy da de_CH
Packit a07778
Packit a07778
	po: minimize af am anp ar as ast bal be bg bn_IN
Packit a07778
Packit a07778
	po: minimize & canonicalize translations stored in git
Packit a07778
	Similar to the libvirt-glib.pot, .po files contain line numbers and file
Packit a07778
	names identifying where in the source a translatable string comes from.
Packit a07778
	The source locations in the .po files are thrown away and replaced with
Packit a07778
	content from the libvirt-glib.pot whenever msgmerge is run, so this is not
Packit a07778
	precious information that needs to be stored in git.
Packit a07778
Packit a07778
	When msgmerge processes a .po file, it will add in any msgids from the
Packit a07778
	libvirt-glib.pot that were not already present. Thus, if a particular msgid
Packit a07778
	currently has no translation, it can be considered redundant and again
Packit a07778
	does not need storing in git.
Packit a07778
Packit a07778
	When msgmerge processes a .po file and can't find an exact existing
Packit a07778
	translation match, it will try todo fuzzy matching instead, marking such
Packit a07778
	entries with a "# fuzzy" comment to alert the translator to take a
Packit a07778
	look and either discard, edit or accept the match. Looking at the
Packit a07778
	existing fuzzy matches in .po files shows that the quality is awful,
Packit a07778
	with many having a completely different set of printf format specifiers
Packit a07778
	between the msgid and fuzzy msgstr entry. Fortunately when msgfmt
Packit a07778
	generates the .gmo, the fuzzy entries are all ignored anyway. The fuzzy
Packit a07778
	entries could be useful to translators if they were working on the .po
Packit a07778
	files directly from git, but Libvirt-Glib outsourced translation to the
Packit a07778
	Fedora Zanata system, so keeping fuzzy matches in git is not much help.
Packit a07778
Packit a07778
	Finally, by default msgids are sorted based on source location. Thus, if
Packit a07778
	a bit of code with translatable text is moved from one file to another,
Packit a07778
	it may shift around in the .po file, despite the msgid not itself changing.
Packit a07778
	If the msgids were sorted alphabetically, the .po files would have
Packit a07778
	stable ordering when code is refactored.
Packit a07778
Packit a07778
	This patch takes advantage of the above observations to canonicalize
Packit a07778
	and minimize the content stored for .po files in git. Instead of storing
Packit a07778
	the real .po files, we now store .mini.po files.
Packit a07778
Packit a07778
	The .mini.po files are the same file format as .po files, but have no
Packit a07778
	source location comments, are sorted alphabetically, and all fuzzy
Packit a07778
	msgstrs and msgids with no translation are discarded. This cuts the size
Packit a07778
	of content in the po directory.
Packit a07778
Packit a07778
	Users working from a libvirt-glib git checkout who need the full .po files
Packit a07778
	can run "make update-po", which merges the libvirt-glib.pot and .mini.po
Packit a07778
	file to create a .po file containing all the content previously stored
Packit a07778
	in git.
Packit a07778
Packit a07778
	Conversely if a full .po file has been modified, for example, by
Packit a07778
	downloading new content from Zanata, the .mini.po files can be updated
Packit a07778
	by running "make update-mini-po". The resulting diffs of the .mini.po
Packit a07778
	file will clearly show the changed translations without any of the noise
Packit a07778
	that previously obscured content. Being able to see content changes
Packit a07778
	clearly actually identified a bug in the zanata python client where it
Packit a07778
	was adding bogus "fuzzy" annotations to many messages:
Packit a07778
Packit a07778
	  https://bugzilla.redhat.com/show_bug.cgi?id=1564497
Packit a07778
Packit a07778
	Users working from libvirt-glib releases should not see any difference in
Packit a07778
	behaviour, since the tarballs only contain the full .po files, not the
Packit a07778
	.mini.po files.
Packit a07778
Packit a07778
	As an added benefit, generating tarballs with "make dist", will no
Packit a07778
	longer cause creation of dirty files in git, since it won't touch the
Packit a07778
	.mini.po files, only the .po files which are no longer kept in git.
Packit a07778
Packit a07778
	The languages are minimized in the following commit since it is a
Packit a07778
	large mechanical process.
Packit a07778
Packit a07778
	po: add rules for integration with zanata
Packit a07778
	Add rules to handle pushing libvirt-glib.pot to zanata, and refreshing .po
Packit a07778
	files with new content from zanata.
Packit a07778
Packit a07778
	po: remove language list from zanata configuration
Packit a07778
	The <locales> element in zanata.xml is no longer relevant as this info
Packit a07778
	is recorded server side.
Packit a07778
Packit a07778
	po: provide custom make rules for po file management
Packit a07778
	Historically we have relied on intltool to install a standard
Packit a07778
	po/Makefile.in.in which has very limited scope for customization.
Packit a07778
	intltool is deprecated in favour of standard gettextize tools,
Packit a07778
	but these share the same disadvantages.
Packit a07778
Packit a07778
	Writing make rules for po file management is no more difficult
Packit a07778
	than any other rules libvirt-glib has, so stop using intltool
Packit a07778
	and don't use gettextize ether.
Packit a07778
Packit a07778
2019-02-14  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	events: Mark 'eventlock' as static
Packit a07778
	It's not used outside of the libvirt-glib-event.c file, so there is no
Packit a07778
	good reason for not having it static. As it was not listed in
Packit a07778
	libvirt-glib.sym, this will make no change to the publicly exported
Packit a07778
	symbols (ie this is not an ABI change).
Packit a07778
Packit a07778
	Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Packit a07778
Packit a07778
	object: Fix gvir_connection_create_storage_pool() leak
Packit a07778
	We need to free the string returned by gvir_config_object_to_xml() after
Packit a07778
	using it.
Packit a07778
Packit a07778
	Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Packit a07778
Packit a07778
	config: Fix gvir_config_xml_node_to_string() leak
Packit a07778
	If xmlNodeDump() fails, we would be leaking the xmlBuffer we created.
Packit a07778
	This commit ensures we don't return early before this buffer is freed.
Packit a07778
Packit a07778
	Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Packit a07778
Packit a07778
2019-02-12  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add gvir_config_storage_vol_target_set_features
Packit a07778
	Only one feature is supported at the moment, 'lazy refcount'
Packit a07778
Packit a07778
	Reviewed-by: Cole Robinson <crobinso@redhat.com>
Packit a07778
Packit a07778
2018-10-12  Daniel P. Berrangé  <berrange@redhat.com>
Packit a07778
Packit a07778
	Bump version to 2.0.0 for new release
Packit a07778
Packit a07778
	Re-add script for doing release build testing
Packit a07778
Packit a07778
	Refresh translations from zanata
Packit a07778
Packit a07778
2018-10-12  Fabiano Fidêncio  <fidencio@redhat.com>
Packit a07778
Packit a07778
	tests: Add tests for _domain_os_{set, get}_machine()
Packit a07778
	Reviewed-by: Cole Robinson <crobinso@redhat.com>
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
Packit a07778
	gconfig: add _domain_os_get_machine()
Packit a07778
	Reviewed-by: Cole Robinson <crobinso@redhat.com>
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
Packit a07778
	gconfig-domain-sound: Add ich9 sound device
Packit a07778
	Reviewed-by: Cole Robinson <crobinso@redhat.com>
Packit a07778
	Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Packit a07778
Packit a07778
2018-10-03  Fabiano Fidêncio  <fidencio@redhat.com>
Packit a07778
Packit a07778
	domain: Introduce gvir_config_domain_set_custom_xml_ns_children()
Packit a07778
	gvir_config_domain_set_custom_xml_ns_children() basically has the same
Packit a07778
	functionallity as gvir_config_domain_set_custom_xml() but also sets the
Packit a07778
	namespace to the nodes' children.
Packit a07778
Packit a07778
	object: Also add the ns to the node's children
Packit a07778
	With the current code, we can only create a custom XML that looks like:
Packit a07778
	<metadata>
Packit a07778
	  <boxes:gnome-boxes xmlns:boxes="https://wiki.gnome.org/Apps/Boxes">
Packit a07778
	    <os-state>installed</os-state>
Packit a07778
	    <media-id>http://centos.org/centos/7.0:0</media-id>
Packit a07778
	    <media>/home/fidencio/Downloads/CentOS-7-x86_64-DVD-1804.iso</media>
Packit a07778
	  </boxes:gnome-boxes>
Packit a07778
	</metadata>
Packit a07778
Packit a07778
	Although it works well for some use cases, there are use cases where
Packit a07778
	we'd like to have something a bit more complex libosinfo or nova
Packit a07778
	examples:
Packit a07778
	<metadata>
Packit a07778
	  <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
Packit a07778
	    <libosinfo:os id="http://fedoraproject.org/fedora/17"/>
Packit a07778
	  </libosinfo:libosinfo>
Packit a07778
	  <nova:instance xmlns:nova="http://openstack.org/nova/instance/1">
Packit a07778
	    <nova:flavor name="m1.small">
Packit a07778
	      <nova:memory>512</nova:memory>
Packit a07778
	      <nova:disk>10</nova:disk>
Packit a07778
	    </nova:flavor>
Packit a07778
	  </nova:instance>
Packit a07778
	</metadata>
Packit a07778
Packit a07778
	And for the latter case we'd have to go through the node's children and
Packit a07778
	also set the namespace for each children.
Packit a07778
Packit a07778
	gconfig, gobject: Use G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE
Packit a07778
	Commit 7190c5024d introduced the usage of new GObject define macros with
Packit a07778
	private. However as the conversion hasn't been done for abstract types
Packit a07778
	(G_DEFINE_ABSTRACT_TYPE) and the addition of the private classes for the
Packit a07778
	abstract types has been removed as part of the commit, crashes can be
Packit a07778
	seen in Apps consuming libvirt-glib, as this one from GNOME Boxes:
Packit a07778
Packit a07778
	 Thread 1 "gnome-boxes" received signal SIGSEGV, Segmentation fault.
Packit a07778
	 0x00007ffff7ef2b35 in g_type_check_instance_is_fundamentally_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit a07778
	 (gdb) bt
Packit a07778
	 #0  0x00007ffff7ef2b35 in g_type_check_instance_is_fundamentally_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit a07778
	 #1  0x00007ffff7ed2e75 in g_object_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit a07778
	 #2  0x00007ffff6ef094e in gvir_domain_device_set_property (object=0x555556680950, prop_id=2, value=0x7fffffffcbe0,
Packit a07778
	     pspec=0x555556772540) at libvirt-gobject-domain-device.c:89
Packit a07778
	 #3  0x00007ffff7ed3b19 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit a07778
	 #4  0x00007ffff7ed5624 in g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit a07778
	 #5  0x00007ffff7ed5959 in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Packit a07778
	 #6  0x00005555555d8257 in boxes_libvirt_machine_get_domain_disk (self=0x5555560e6790, error=0x55555615a630)
Packit a07778
	     at /run/build/gnome-boxes/src/libvirt-machine.vala:547
Packit a07778
	 #7  0x00005555555d0e7e in boxes_libvirt_machine_update_io_stat_co (_data_=0x55555615a320)
Packit a07778
	     at /run/build/gnome-boxes/src/libvirt-machine.vala:280
Packit a07778
	 #8  0x00005555555d09b2 in boxes_libvirt_machine_update_io_stat (self=0x5555560e6790, info=0x555555f25990, stat=0x555556736a90,
Packit a07778
	     _callback_=0x5555555d2992 <boxes_libvirt_machine_update_stats_ready>, _user_data_=0x555556736a50)
Packit a07778
	     at /run/build/gnome-boxes/src/libvirt-machine.vala:5
Packit a07778
	 #9  0x00005555555d3120 in boxes_libvirt_machine_update_stats_co (_data_=0x555556736a50)
Packit a07778
	     at /run/build/gnome-boxes/src/libvirt-machine.vala:332
Packit a07778
	 #10 0x00005555555d29dd in boxes_libvirt_machine_update_stats_ready (source_object=0x5555567bb840, _res_=0x55555677ae00,
Packit a07778
	     _user_data_=0x555556736a50) at /run/build/gnome-boxes/src/libvirt-machine.vala:328
Packit a07778
	 #11 0x00007ffff72adc89 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Packit a07778
	 #12 0x00007ffff72adcc9 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Packit a07778
	 #13 0x00007ffff7dec948 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Packit a07778
	 #14 0x00007ffff7decd38 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Packit a07778
	 #15 0x00007ffff7decdcc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Packit a07778
	 #16 0x00007ffff72c2dbd in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Packit a07778
	 #17 0x00005555556004b6 in _vala_main (args=0x7fffffffd4f8, args_length1=1) at /run/build/gnome-boxes/src/main.vala:84
Packit a07778
	 #18 0x0000555555600517 in main (argc=1, argv=0x7fffffffd4f8) at /run/build/gnome-boxes/src/main.vala:68
Packit a07778
Packit a07778
	In order to solve the issue, let's just replace G_DEFINE_ABSTRACT_TYPE
Packit a07778
	by G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE.
Packit a07778
Packit a07778
2018-08-16  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	configure: Drop GLIB2_TEST_REQUIRED
Packit a07778
	Introduced in eb1f97a4b49a6e it is not needed anymore. The
Packit a07778
	minimal required version of glib is now the same as the one
Packit a07778
	required for tests.
Packit a07778
Packit a07778
	This practically reverts the referenced commit.
Packit a07778
Packit a07778
	Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Packit a07778
Packit a07778
	Use new GObject define macros with private
Packit a07778
	G_ADD_PRIVATE was added in 2.38 and older functions are getting deprecated:
Packit a07778
	https://gitlab.gnome.org/GNOME/glib/merge_requests/7/commits
Packit a07778
Packit a07778
	This also means, that the minimal required glib version is
Packit a07778
	increased to 2.38.
Packit a07778
Packit a07778
	Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Packit a07778
Packit a07778
2018-04-24  Daniel P. Berrangé  <berrange@redhat.com>
Packit a07778
Packit a07778
	git: add config file telling git-publish how to send patches
Packit a07778
	The "git-publish" tool is a useful git extension for sending patch
Packit a07778
	series for code review. It automatically creates versioned tags
Packit a07778
	each time code on a branch is sent, so that there is a record of
Packit a07778
	each version. It also remembers the cover letter so it does not
Packit a07778
	need re-entering each time the series is reposted.
Packit a07778
Packit a07778
	With this config file present it is now sufficient[1] to run
Packit a07778
Packit a07778
	  $ git publish
Packit a07778
Packit a07778
	to send all patches in a branch to the list for review, with the
Packit a07778
	correct subject prefix added for this non-core libvirt module.
Packit a07778
Packit a07778
	[1] Assuming your $HOME/.gitconfig has an SMTP server listed
Packit a07778
	at least e.g.
Packit a07778
Packit a07778
	   [sendemail]
Packit a07778
	        smtpserver = smtp.example.com
Packit a07778
Packit a07778
2018-02-20  Daniel P. Berrangé  <berrange@redhat.com>
Packit a07778
Packit a07778
	m4: disable gcc8 -Wcast-function-type warnings from -Wextra
Packit a07778
	The -Wextra flag bundle gained a new warning -Wcast-function-type.
Packit a07778
	This complains if you cast between two function prototypes where
Packit a07778
	the number of parameters or their data types are not compatible.
Packit a07778
	Unfortunately we need such "bad" function casts for our event
Packit a07778
	callbacks. It is possible to silence the warning by first casting
Packit a07778
	to the generic "void (*)(void)" function prototype, but that is
Packit a07778
	rather ugly to add throughout libvirt code.
Packit a07778
Packit a07778
2018-01-17  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	remove bogus casts of arg to g_object_ref
Packit a07778
	Latest version of glib uses typeof() magic to cast the
Packit a07778
	return value of g_object_ref to match its argument,
Packit a07778
	instead of returning a 'void *'. A few places in the
Packit a07778
	code were casting the arg to G_OBJECT() which was then
Packit a07778
	incompatible with the variable we assigned the result
Packit a07778
	to. The parameter casts were always redundant so just
Packit a07778
	remove them.
Packit a07778
Packit a07778
2017-12-04  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Refresh po files from zanata
Packit a07778
Packit a07778
2017-10-30  Marek Kasik  <mkasik@redhat.com>
Packit a07778
Packit a07778
	spec: Enable unit tests during build
Packit a07778
	Enable unit tests so that we can catch some problems soon enough
Packit a07778
	before the package gets to the users.
Packit a07778
	Show test suite log if a test fail.
Packit a07778
Packit a07778
2017-09-21  Andrea Bolognani  <abologna@redhat.com>
Packit a07778
Packit a07778
	scripts: Fix sha-bang lines
Packit a07778
	This is particularly useful on operating systems that don't ship
Packit a07778
	Perl or Python as part of the base system (eg. FreeBSD) while still
Packit a07778
	working just as well as it did before on Linux.
Packit a07778
Packit a07778
	While at it, make it explicit that our scripts are only going to
Packit a07778
	work with Python 2, add a couple of missing sha-bang lines and
Packit a07778
	tweak a couple more that just didn't look very nice.
Packit a07778
Packit a07778
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit a07778
Packit a07778
	tests: Don't rely on non-portable paths
Packit a07778
	The test-events program sets up a watch on /bin/true; however,
Packit a07778
	that path is not portable: FreeBSD uses /usr/bin/true for example.
Packit a07778
Packit a07778
	Remove the portability issue by using /dev/null instead.
Packit a07778
Packit a07778
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit a07778
Packit a07778
	configure: Look for Perl interpreter path
Packit a07778
	The $(PERL) variable is used in several places, but configure is
Packit a07778
	not actually looking for the Perl interpreter path, so it will
Packit a07778
	always end up being empty.
Packit a07778
Packit a07778
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit a07778
Packit a07778
	configure: Bump required libvirt version to 1.2.5
Packit a07778
	That's the version that introduced VIR_DOMAIN_TIME_SYNC, which we
Packit a07778
	use in the library.
Packit a07778
Packit a07778
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit a07778
Packit a07778
	maint: Drop autobuild.sh
Packit a07778
	The Test-AutoBuild project, that this script is supposed to be used
Packit a07778
	with, hasn't seen any activity in ~6 years; libvirt's own CI, which
Packit a07778
	also performs periodic builds of libvirt-glib, is running on Jenkins
Packit a07778
	with a completely independent setup that doesn't use the script at
Packit a07778
	all.
Packit a07778
Packit a07778
	Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Packit a07778
Packit a07778
2017-08-14  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Set LC_CTYPE when running glib-mkenums
Packit a07778
Packit a07778
	Revert "Don't set LC_ALL=C during build as that breaks python apps"
Packit a07778
	This reverts commit dae25f53293919bb2c22419c236bef5aa628e9be.
Packit a07778
Packit a07778
2017-07-25  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Don't set LC_ALL=C during build as that breaks python apps
Packit a07778
	Setting LC_ALL=C breaks python apps doing I/O on UTF-8 source
Packit a07778
	files. In particular this broke glib-mkenums
Packit a07778
Packit a07778
	  GEN      libvirt-gconfig-enum-types.h
Packit a07778
	Traceback (most recent call last):
Packit a07778
	  File "/usr/bin/glib-mkenums", line 669, in <module>
Packit a07778
	    process_file(fname)
Packit a07778
	  File "/usr/bin/glib-mkenums", line 406, in process_file
Packit a07778
	    line = curfile.readline()
Packit a07778
	  File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
Packit a07778
	    return codecs.ascii_decode(input, self.errors)[0]
Packit a07778
	UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 849: ordinal not in range(128)
Packit a07778
Packit a07778
2017-05-30  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Add missing dep on intltool
Packit a07778
	Libvirt-glib requires intltool at build time. Previously it
Packit a07778
	was pulled in transitively via another RPM dependancy. As of
Packit a07778
	Fedora 26, this no longer happens, exposing the missing RPM
Packit a07778
	dep.
Packit a07778
Packit a07778
2017-03-25  Guido Günther  <agx@sigxcpu.org>
Packit a07778
Packit a07778
	examples: make detail strings match event details
Packit a07778
Packit a07778
2016-11-04  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post release version bump to 1.1.0
Packit a07778
	NB, this will change to 2.0.0 if no new release is made
Packit a07778
	during 2016
Packit a07778
Packit a07778
	Update NEWS for 1.0.0 release
Packit a07778
Packit a07778
	bump release to 1.0.0 to match libvirt numbering scheme
Packit a07778
	Switch to follow the libvirt release numbering scheme
Packit a07778
Packit a07778
	- Major is incremented at start of each year
Packit a07778
	- Minor is incremented each release during a year
Packit a07778
	- Micro is reserved for stable branch releases (if any)
Packit a07778
Packit a07778
2016-11-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	tests: Don't leak xml data in test-gconfig-device-unknown
Packit a07778
Packit a07778
2016-11-04  Zeeshan Ali  <zeenix@gmail.com>
Packit a07778
Packit a07778
	gconfig,tests: Add test case for unknown devices
Packit a07778
Packit a07778
2016-11-03  Zeeshan Ali  <zeenix@gmail.com>
Packit a07778
Packit a07778
	gconfig,tests: Separate XML loading function
Packit a07778
	We'll need to load XML from file in another function, that will be added
Packit a07778
	in a following patch.
Packit a07778
Packit a07778
	gconfig: Create objects for all domain device nodes
Packit a07778
	Currently we can and do get into serious trouble with this kind of code:
Packit a07778
Packit a07778
	devices = gvir_config_domain_get_devices(domain);
Packit a07778
	gvir_config_domain_set_devices(domain, domain);
Packit a07778
Packit a07778
	since the first call above won't return a complete list of objects present
Packit a07778
	in the domain but only the ones we have specific classes for and the
Packit a07778
	second call above overwrites all device nodes under the domain. This
Packit a07778
	lately made Boxes break against the latest libvirt, where a new device
Packit a07778
	node was made compulsory[1].
Packit a07778
Packit a07778
	Although we should add support for all know domain devices ASAP, new
Packit a07778
	devices will be added in future and this can happen again. So let's first
Packit a07778
	ensure that gvir_config_domain_get_devices() always returns all devices
Packit a07778
	under the domain. All unknown/unimplemented devices will now be returned
Packit a07778
	as the very generic DomainDevice objects. Once we add support for a
Packit a07778
	particular device, there will be no API/ABI breakage since the new class
Packit a07778
	will inherit from DomainDevice class.
Packit a07778
Packit a07778
	[1] https://bugzilla.redhat.com/show_bug.cgi?id=1388091
Packit a07778
Packit a07778
2016-11-01  Zeeshan Ali  <zeenix@gmail.com>
Packit a07778
Packit a07778
	gconfig: DomainDevice now instantiable
Packit a07778
	We'll need to instatiate DomainDevice baseclass itself for unknown (think
Packit a07778
	new devices added to libvirt XML) devices in a following patch. This
Packit a07778
	change makes that possible.
Packit a07778
Packit a07778
	This doesn't break any API or ABI to the best of my knowledge and this
Packit a07778
	assumption was confirmed by Emmanuele Bassi and Tim-Philipp Muller.
Packit a07778
Packit a07778
	gconfig: Allow schema to be NULL
Packit a07778
	Validation (if attempted) should just fail in this case instead of
Packit a07778
	crashing.
Packit a07778
Packit a07778
2016-08-02  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Delete the manually written python binding
Packit a07778
	The python binding only supports python2, only supports
Packit a07778
	1 single API in libvirt-glib and has not even been enabled
Packit a07778
	in RPM builds since Fedora 15. Any distro these days should
Packit a07778
	have gobject introspection and pygobject available, so
Packit a07778
	there's no compelling reason to continue to have the python
Packit a07778
	binding exist.
Packit a07778
Packit a07778
2016-07-28  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Remove accidental debug code which changed version
Packit a07778
Packit a07778
	Fix check for libvirt optional functions
Packit a07778
	The checks for virDomainOpenGraphicsFD and
Packit a07778
	virNetworkGetDHCPLeases in configure are simply trying
Packit a07778
	to compile and link a test program. This was assuming
Packit a07778
	that libvirt was installed in /usr/lib & /usr/include,
Packit a07778
	which is not always the case. Using a pkg-config version
Packit a07778
	check avoids needing to compile and thus avoids the
Packit a07778
	bad assumptions about install locations.
Packit a07778
Packit a07778
	Avoid unused variable in DHCP lease finalize method
Packit a07778
	If the network DHCP lease support is not detected, the build
Packit a07778
	will generate a warning / error:
Packit a07778
Packit a07778
	libvirt-gobject-network-dhcp-lease.c: In function 'gvir_network_dhcp_lease_finalize':
Packit a07778
	libvirt-gobject-network-dhcp-lease.c:99:27: error: unused variable 'lease' [-Werror=unused-variable]
Packit a07778
	     GVirNetworkDHCPLease *lease = GVIR_NETWORK_DHCP_LEASE(object);
Packit a07778
	                           ^~~~~
Packit a07778
	cc1: all warnings being treated as errors
Packit a07778
Packit a07778
2016-07-27  Guido Günther  <agx@sigxcpu.org>
Packit a07778
Packit a07778
	docs: Document gvir_connection_get_{storage_pools,networks,domains}
Packit a07778
	In contrast to libvirt itself all get_* methods need to prefetch the
Packit a07778
	corresponding information first so document this.
Packit a07778
Packit a07778
	Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Packit a07778
Packit a07778
2016-07-25  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	tests: Add test for GVirConfigDomainHostdevPci API
Packit a07778
Packit a07778
2016-07-25  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainAddressPci getters
Packit a07778
	They will be useful to do more checks in the GVirDomainDeviceHostdev
Packit a07778
	unit test.
Packit a07778
Packit a07778
2016-07-25  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainHostdevPci
Packit a07778
	Add API to read and write PCI hostdev nodes.
Packit a07778
Packit a07778
2016-07-22  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainHostdev
Packit a07778
	Add API to read and write domain/devices/hostdev nodes. This patch only
Packit a07778
	adds the baseclass and hence is not useful on it's own. A more specific
Packit a07778
	subclass to represent PCI devices will be added in a following patch.
Packit a07778
Packit a07778
2016-07-21  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add gvir_config_object_has_child
Packit a07778
Packit a07778
2016-07-21  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gconfig: Add gvir_config_domain_video_get_model()
Packit a07778
	Add a getter for model of domain video device.
Packit a07778
Packit a07778
2016-02-26  Marc-André Lureau  <marcandre.lureau@gmail.com>
Packit a07778
Packit a07778
	config: add accel3d setter
Packit a07778
	Learn to set the accel3d attribute on video model.
Packit a07778
Packit a07778
	config: add virtio video model
Packit a07778
Packit a07778
	config: add spice gl child
Packit a07778
	Learn to set  "gl" on spice (to have -spice gl=on on qemu)
Packit a07778
Packit a07778
	tests: fix potential crash
Packit a07778
	The idle source is not always removed and may crash next tests
Packit a07778
Packit a07778
2016-02-14  Marc-André Lureau  <marcandre.lureau@gmail.com>
Packit a07778
Packit a07778
	build-sys: fix gir introspection warnings
Packit a07778
	Enable GIR warnings and fix them, since they are all useful.
Packit a07778
Packit a07778
2015-12-26  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	libvirt-glib-1.0.pc.in: Correctly mark variable
Packit a07778
	In the pkg-config file for libvirt-glib we have a typo:
Packit a07778
Packit a07778
	  Libs.private: @LIBVIRT_LIBS @GLIB2_LIBS@
Packit a07778
Packit a07778
	Noticed the missing '@' after LIBVIRT_LIBS? Well, I just did.
Packit a07778
Packit a07778
2015-12-16  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post release version bump
Packit a07778
Packit a07778
	Update NEWS for 0.2.3 release
Packit a07778
Packit a07778
	Refresh translations from zanata
Packit a07778
Packit a07778
2015-12-07  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	Drop unused finalize function
Packit a07778
	After 1225a160ac3b4 where I'm dropping some unused variables, the
Packit a07778
	functions I was touching became sort of redundant too.
Packit a07778
	Specifically, gvir_domain_disk_finalize() and
Packit a07778
	gvir_domain_interface_finalize().
Packit a07778
Packit a07778
2015-12-05  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gobject: Drop some unused variables
Packit a07778
	After abe983ddf8a569 there are some variables, that are unused:
Packit a07778
Packit a07778
	  CC       libvirt_gobject_1_0_la-libvirt-gobject-domain-disk.lo
Packit a07778
	  CC       libvirt_gobject_1_0_la-libvirt-gobject-domain-interface.lo
Packit a07778
	  CC       libvirt_gobject_1_0_la-libvirt-gobject-domain.lo
Packit a07778
	  CC       libvirt_gobject_1_0_la-libvirt-gobject-interface.lo
Packit a07778
	../../libvirt-gobject/libvirt-gobject-domain-interface.c: In function 'gvir_domain_interface_finalize':
Packit a07778
	../../libvirt-gobject/libvirt-gobject-domain-interface.c:54:26: error: unused variable 'self' [-Werror=unused-variable]
Packit a07778
	     GVirDomainInterface *self = GVIR_DOMAIN_INTERFACE(object);
Packit a07778
	                          ^
Packit a07778
	cc1: all warnings being treated as errors
Packit a07778
	Makefile:724: recipe for target 'libvirt_gobject_1_0_la-libvirt-gobject-domain-interface.lo' failed
Packit a07778
	make[3]: *** [libvirt_gobject_1_0_la-libvirt-gobject-domain-interface.lo] Error 1
Packit a07778
	make[3]: *** Waiting for unfinished jobs....
Packit a07778
	../../libvirt-gobject/libvirt-gobject-domain-disk.c: In function 'gvir_domain_disk_finalize':
Packit a07778
	../../libvirt-gobject/libvirt-gobject-domain-disk.c:54:21: error: unused variable 'self' [-Werror=unused-variable]
Packit a07778
	     GVirDomainDisk *self = GVIR_DOMAIN_DISK(object);
Packit a07778
	                     ^
Packit a07778
	cc1: all warnings being treated as errors
Packit a07778
	Makefile:717: recipe for target 'libvirt_gobject_1_0_la-libvirt-gobject-domain-disk.lo' failed
Packit a07778
Packit a07778
2015-12-04  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gobject,gconfig: Drop redundant debug logging
Packit a07778
	The g_debug messages in libvirt-gobject creation/destruction were to aid
Packit a07778
	troubleshooting of object reference leaks. GObject has built-in systemtap
Packit a07778
	probes that allow the same to be achieved in a more flexible manner, so
Packit a07778
	the g_debug calls can be removed
Packit a07778
Packit a07778
2015-11-26  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gobject: Port to GTask API
Packit a07778
	Drop usage of deprecated GSimpleAsyncResult API.
Packit a07778
Packit a07778
2015-11-23  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gobject,gconfig: Drop redundant glib compatibility code
Packit a07778
	We already require and use glib >= 2.36 so there is no reason to keep
Packit a07778
	around code to ensure compatibility with glib older than that.
Packit a07778
Packit a07778
	gobject: Add wrapper virDomainSetTime()
Packit a07778
Packit a07778
2015-09-23  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gobject: Correct docs for gvir_storage_pool_get_info()
Packit a07778
	The returned GVirStoragePoolInfo pointer is not a GObject so it must not
Packit a07778
	be unrefed using g_object_unref(). Since gvir_storage_pool_info_free()
Packit a07778
	is private function, callers must either use g_slice_free() or
Packit a07778
	g_boxed_free().
Packit a07778
Packit a07778
2015-07-24  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	configure.ac: update min required versions
Packit a07778
	Based on the distro target policy we have the following
Packit a07778
	min versions in various distros
Packit a07778
Packit a07778
	                   libvirt  glib2    gobject-introspection
Packit a07778
	        RHEL 7.0:  1.1.1    2.36.3   1.36.0
Packit a07778
	       Fedora 21:  1.2.9    2.42.1   1.42.0
Packit a07778
	    Ubuntu 14.10:  1.2.8    2.42.0   1.41.0
Packit a07778
	Ubuntu LTS 14.04:  1.2.2    2.40.0   1.40.0
Packit a07778
	       Suse 12.0:  1.2.5    2.38.2   1.38.0
Packit a07778
	   OpenSUSE 13.1:  1.1.2    2.38.2   1.38.0
Packit a07778
	        Debian 8:  1.2.9    2.42.0   1.42.0
Packit a07778
Packit a07778
	Which means we can reasonably depend on
Packit a07778
Packit a07778
	  libvirt >= 1.1.1
Packit a07778
	  glib2 >= 2.36.0
Packit a07778
	  gobject-introspection >= 1.36.0
Packit a07778
Packit a07778
	NB, choosen 2.36.0 rather than 2.36.3 because they are
Packit a07778
	API compatible, the micro digit just indicates a bug
Packit a07778
	fix release.
Packit a07778
Packit a07778
	README: formally document intended platform support targets
Packit a07778
	Give users an indication of what distro platforms the project
Packit a07778
	intends to be buildable on. This policy will be used to decide
Packit a07778
	when it is appropriate to increase the minimum required versions
Packit a07778
	of external dependancies.
Packit a07778
Packit a07778
	As an example, as of July 1st 2015, this policy would aim to pick the
Packit a07778
	min versions based on what's available across the following sample
Packit a07778
	distros:
Packit a07778
Packit a07778
	 - RHEL: 7.0, 7.1
Packit a07778
	 - Fedora: 21, 22
Packit a07778
	 - Ubuntu LTS: 14.04 (Trusty)
Packit a07778
	 - Ubuntu: 14.10 (Utopic), 15.04 (Vivid)
Packit a07778
	 - Suse: 12.0
Packit a07778
	 - OpenSUSE: 13.1, 13.2
Packit a07778
	 - Debian: 8.0 (Jessie)
Packit a07778
Packit a07778
2015-07-22  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	examples: Don't leak mainloop in conn-test.c
Packit a07778
	The program exits right after this, so it's no big deal, but this gives
Packit a07778
	us a clean valgrind --leak-check=full output.
Packit a07778
Packit a07778
	gconfig: Use GVirConfigObject helpers for <video> XML
Packit a07778
	GVirConfigDomainVideo is using raw libxml calls to set the 'heads' and
Packit a07778
	'vram' XML attributes rather than the helpers provided by
Packit a07778
	GVirConfigObject. This commit changes that, making the code a bit
Packit a07778
	simpler.
Packit a07778
Packit a07778
	test-gconfig: Test video heads/vram setting
Packit a07778
Packit a07778
	test-gconfig: Fix various leaks
Packit a07778
	Running test-gconfig under valgrind reports a few leaks that this commit
Packit a07778
	fixes.
Packit a07778
Packit a07778
	gconfig: Fix leak in gvir_config_domain_filesys_set_ram_usage
Packit a07778
	The object returned by gvir_config_object_replace_child() must be
Packit a07778
	unref'ed when no longer needed.
Packit a07778
Packit a07778
2015-07-21  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post release version bump to 0.2.3
Packit a07778
Packit a07778
	Update NEWS for 0.2.2 release
Packit a07778
Packit a07778
	Make use of DHCP API conditionally compiled
Packit a07778
	Previously the use of virDomainOpenGraphicsFD API from libvirt
Packit a07778
	1.2.8 was made to be conditionally compiled. Given this past
Packit a07778
	practice, make use of the virNetworkGetDHCPLeases API
Packit a07778
	conditional too, rather than requiring newer libvirt.
Packit a07778
Packit a07778
2015-07-17  T A Mahadevan  <ta.mahadevan@gmail.com>
Packit a07778
Packit a07778
	Add ram and vgamem attributes for graphics model.
Packit a07778
Packit a07778
	buildsys: Add missing libraries to LDFLAGS
Packit a07778
	Without these changes 'make check' would not
Packit a07778
	run on Ubuntu because of a link failure as
Packit a07778
	the tests are directly using glib/libvirt
Packit a07778
	symbols.
Packit a07778
Packit a07778
	Add LibvirtGConfigDomainChardevSourceUnix
Packit a07778
	This is needed to be able to add UNIX channels
Packit a07778
Packit a07778
2015-07-13  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Require libvirt-glib >= 1.2.6
Packit a07778
	With bindings added to API that came in 1.2.6:
Packit a07778
Packit a07778
	81c5969 - gobject: Add wrapper for virNetworkGetDHCPLeases
Packit a07778
	deed153 - gobject: Add wrapper for virNetworkDHCPLease
Packit a07778
Packit a07778
	we better make our requirement explicit.
Packit a07778
Packit a07778
	The alternative would be to make use of #ifdef to only use newer symbols
Packit a07778
	from libvirt if installed version is >= 1.2.6 but that would require at
Packit a07778
	least 12 #ifdef in different places and hence very ugly IMO. Keeping in
Packit a07778
	mind that 1.2.6 is more than an year old now and it doesn't make much
Packit a07778
	sense to wanting to upgrade to latest libvirt-glib but not wanting to
Packit a07778
	upgrade to even an year old libvirt, this is very unlikely to cause any
Packit a07778
	real issues.
Packit a07778
Packit a07778
2015-07-08  Cédric Bosdonnat  <cbosdonnat@suse.com>
Packit a07778
Packit a07778
	Dsitribute the whole tests/xml folder
Packit a07778
Packit a07778
	Don't overwrite filesystem type when writing format
Packit a07778
	When setting filesystem driver format first and type, only the type
Packit a07778
	remained and vice-versa.
Packit a07778
Packit a07778
2015-07-07  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gobject: Add wrapper for virNetworkGetDHCPLeases
Packit a07778
Packit a07778
	gobject: Add wrapper for virNetworkDHCPLease
Packit a07778
Packit a07778
	gobject: Add API to query connection networks
Packit a07778
	Add API to query networks from a connection.
Packit a07778
Packit a07778
	gobject: Add API to query connection interfaces
Packit a07778
	Add API to query network interfaces from a connection.
Packit a07778
Packit a07778
	gobject: Port GVirConnection to GTask
Packit a07778
	GSimpleAsyncResult has been deprecated in favour of GTask and with
Packit a07778
	latest glib headers, we get tons of warnings about use of deprecated
Packit a07778
	API. This patch ports the GVirConnection class to GTask.
Packit a07778
Packit a07778
	gobject: Plug 2 virConnect leaks
Packit a07778
	A virConnect reference is leaked in error cases. This patch moves the
Packit a07778
	unref after the label we jump to on errors, to avoid this leak.
Packit a07778
Packit a07778
	gobject: Simplify gvir_connection_list*() implementations
Packit a07778
	Make use of virConnectListAll* functions to avoid making 4 calls and
Packit a07778
	hence avoid race conditions and complicated code.
Packit a07778
Packit a07778
2015-07-03  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Bump version
Packit a07778
Packit a07778
2015-06-27  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gobject: Add gvir_interface_get_mac()
Packit a07778
	Add a wrapper for virInterfaceGetMACString().
Packit a07778
Packit a07778
2015-06-17  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gconfig: Fix small leak in test-domain-create
Packit a07778
	The object returned by gvir_config_domain_disk_get_driver() must be
Packit a07778
	unref'ed when no longer used.
Packit a07778
Packit a07778
2015-06-16  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Update NEWS for 0.2.1 release
Packit a07778
Packit a07778
	Refresh translations from zanata
Packit a07778
Packit a07778
2015-06-16  Cédric Bosdonnat  <cbosdonnat@suse.com>
Packit a07778
Packit a07778
	domain config: add API to set the filesystem image format
Packit a07778
	Add the gvir_config_domain_filesys_set_driver_format function to allow
Packit a07778
	setting nbd driver type + image format for containers filesystems.
Packit a07778
Packit a07778
	Add loop, nbd and ploop filesystem types
Packit a07778
Packit a07778
	gvir_config_domain_filesys_set_driver_type: replace the driver node
Packit a07778
	Replace the driver node in case the user calls the function more than
Packit a07778
	one time.
Packit a07778
Packit a07778
	test-gconfig: add filesystem test
Packit a07778
Packit a07778
2015-06-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	storage-pool: API to get/set autostart flag
Packit a07778
	Add binding for virStoragePoolGetAutostart & virStoragePoolSetAutostart.
Packit a07778
Packit a07778
2015-06-01  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gconfig: Don't try to return value from gvir_config_domain_set_memory
Packit a07778
	gvir_config_domain_set_memory() is a void function, so using
Packit a07778
	g_return_val_if_fail() is not correct. This causes a warning/compilation
Packit a07778
	failure on CentOS CI framework:
Packit a07778
	https://ci.centos.org/view/libvirt-project/job/libvirt-glib-build/systems=libvirt-fedora-20/144/console
Packit a07778
Packit a07778
	gconfig: Add precondition checks to some public entry points
Packit a07778
	It's currently possible to trigger a crash by passing eg NULL to these
Packit a07778
	functions. Better to return a prominent warning to the caller without
Packit a07778
	crashing.
Packit a07778
Packit a07778
2015-05-18  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Bump version to 0.2.1
Packit a07778
Packit a07778
2015-04-13  Richa Sehgal  <richasehgal2908@gmail.com>
Packit a07778
Packit a07778
	gconfig: Add support for 'compat' storage volume node
Packit a07778
	This change adds support for setting of compat XML node in
Packit a07778
	libvirt-gconfig storage volumes target.
Packit a07778
Packit a07778
2015-03-24  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	build-sys: Fix libtoolize detection in autogen.sh
Packit a07778
	autogen.sh is currently checking for the libtool binary, but
Packit a07778
	it's libtoolize which is needed by autoreconf, not libtool.
Packit a07778
Packit a07778
	These binaries are packaged separately on Debian/Ubuntu so this can
Packit a07778
	cause actual issues on some systems.
Packit a07778
Packit a07778
	Bug reported by Frederic Peters
Packit a07778
Packit a07778
2015-02-18  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Switch over to using zanata for translation
Packit a07778
	Remove obsolete transifex config and add zanata config,
Packit a07778
	re-generating all po files
Packit a07778
Packit a07778
2014-12-15  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Update NEWS for 0.2.0 release
Packit a07778
Packit a07778
	Fix build on win32 due to missing sys/socket.h
Packit a07778
Packit a07778
2014-11-27  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add gvir_domain_open_graphics_fd()
Packit a07778
	Add binding for virDomainOpenGraphicsFD. If virDomainOpenGraphicsFD is
Packit a07778
	not available, it means we are dealing with older libvirt so we create
Packit a07778
	the socket pair ourselves if that is the case.
Packit a07778
Packit a07778
2014-11-13  Martin Kletzander  <mkletzan@redhat.com>
Packit a07778
Packit a07778
	Revert back deleted glib-specific warning options
Packit a07778
	Commit f525ba7796a2fd35bf55e88fb94459b2277fcd67 copied warning macros
Packit a07778
	from gnulib without keeping glib-specific settings.  This build-breaker
Packit a07778
	brings back those needed ones except unused-parameter, which is no
Packit a07778
	longer needed.
Packit a07778
Packit a07778
	Properly mark unused parameters
Packit a07778
Packit a07778
2014-11-13  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	m4: sync macros with libvirt
Packit a07778
	The macros under the m4 directory are outdated a bit. When trying
Packit a07778
	to compile with newer gcc I see some errors:
Packit a07778
Packit a07778
	make[2]: Entering directory '/home/zippy/work/libvirt/libvirt-glib.git/libvirt-glib'
Packit a07778
	  CC       libvirt_glib_1_0_la-libvirt-glib-error.lo
Packit a07778
	gcc: warning: switch '-Wmudflap' is no longer supported
Packit a07778
Packit a07778
2014-09-29  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gconfig: Add GVIR_CONFIG_DOMAIN_INPUT_DEVICE_KEYBOARD
Packit a07778
	Add missing enum type for keyboard input device.
Packit a07778
Packit a07778
2014-08-20  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post-release version bump to 0.2.0
Packit a07778
Packit a07778
	Update NEWS for 0.1.9 release
Packit a07778
Packit a07778
	Refresh translations from transifex
Packit a07778
Packit a07778
2014-08-20  Timm Bäder  <mail@baedert.org>
Packit a07778
Packit a07778
	GVirDomainSnapshot: Add async version of _delete
Packit a07778
Packit a07778
	GVirDomain: Add async version of _create_snapshot
Packit a07778
Packit a07778
	GVirDomainSnapshot: Add async version of _revert_to
Packit a07778
Packit a07778
	GVirDomain: Fix some doc comments of the snapshot API
Packit a07778
	Fixes the following warnings from g-ir-scanner and some cosmetic issues:
Packit a07778
Packit a07778
	libvirt-gobject-domain.c:1532: Warning: LibvirtGObject: unknown
Packit a07778
	annotation: transfer-none
Packit a07778
	libvirt-gobject-domain.c:1650: Error: LibvirtGObject: identifier not
Packit a07778
	found on the first line:
Packit a07778
	 *
Packit a07778
	   ^
Packit a07778
Packit a07778
	GVirDomain: Add _get_has_current_snapshot
Packit a07778
	... which uses virDomainHasCurrentSnapshot to determine if the given
Packit a07778
	domain has a current snapshot or not.
Packit a07778
Packit a07778
	GVirDomainSnapshot: Add _set_config
Packit a07778
	... which is basically analogous to gvir_domain_set_config
Packit a07778
Packit a07778
	GVirDomainSnapshot: Add _revert_to
Packit a07778
	Add a way to revert a domain to one of its snapshots.
Packit a07778
Packit a07778
	GVirDomainSnapshot: Add _get_is_current
Packit a07778
	Add a way to determine if the given GVirDomainSnapshot is the current
Packit a07778
	snapshot of its GVirDomain.
Packit a07778
Packit a07778
2014-08-04  Timm Bäder  <mail@baedert.org>
Packit a07778
Packit a07778
	GVirDomain: Add async version of _fetch_snapshots
Packit a07778
Packit a07778
	libvirt-gobject-domain: Add _get_snapshots
Packit a07778
	... which returns a GList of GVirDomainSnapshots, i.e. without any tree
Packit a07778
	structure or other relationship between the snapshots.
Packit a07778
Packit a07778
	libvirt-gobject-domain: Add _fetch_snapshots
Packit a07778
	This function can be used to fetch the snapshots of a domain (according
Packit a07778
	to the given GVirDomainSnapshotListFlags) and save them in a
Packit a07778
	domain-internal GHashTable. A function to access them from outside will
Packit a07778
	be added in a later patch.
Packit a07778
Packit a07778
2014-08-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	spec: Substitute minimum glib2 version from configure.ac
Packit a07778
	This way we don't have to keep track of the minimum glib2 version we
Packit a07778
	need in 2 separate places.
Packit a07778
Packit a07778
	gobject: Fix GEnum generation through glib-mkenums
Packit a07778
	We were only passing libvirt-gobject-domain.h and
Packit a07778
	libvirt-gobject-connection.h through glib-mkenums, which causes it to
Packit a07778
	only generate GEnum information for enums found in these headers.
Packit a07778
	We want to do that for all enums defined in installed headers, so
Packit a07778
	passing all headers listed in libvirt_gobject_1_0_la_HEADERS is more
Packit a07778
	appropriate.
Packit a07778
Packit a07778
2014-08-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add gvir_config_domain_cpu_set_model()
Packit a07778
	Add a method to set model of domain CPU.
Packit a07778
Packit a07778
	Add GVirConfigDomainCpuModel class
Packit a07778
	Add a class to represent 'model' node under domain/cpu.
Packit a07778
Packit a07778
	Add gvir_config_capabilities_cpu_get_model()
Packit a07778
	Add a method to get the model of the CPU from capabilities.
Packit a07778
Packit a07778
2014-07-15  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add GVirConfigCapabilitiesCpuModel class
Packit a07778
	Add a class to represent 'model' node under capabilities/host/cpu.
Packit a07778
Packit a07778
2014-06-17  Cédric Bosdonnat  <cbosdonnat@suse.com>
Packit a07778
Packit a07778
	Add API to get security models from host capabilities
Packit a07778
Packit a07778
2014-06-04  Michael Catanzaro  <mcatanzaro@gnome.org>
Packit a07778
Packit a07778
	build: fix race in vapi/ subdirectory
Packit a07778
	libvirt-gobject-1.0.vapi depends on libvirt-gconfig-1.0.vapi
Packit a07778
Packit a07778
2014-06-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	spec: Move .vapi files to -devel RPMs
Packit a07778
	.vapi files are only needed when building vala programs using
Packit a07778
	libvirt-glib, so they belong to the -devel RPMs, not to the non-devel
Packit a07778
	RPMs which only hold files needed at runtime.
Packit a07778
Packit a07778
2014-06-03  Timm Bäder  <mail@baedert.org>
Packit a07778
Packit a07778
	GVirDomainSnapshot: Add gvir_domain_snapshot_delete
Packit a07778
Packit a07778
	Remove #if 0's from libvirt-gobject-domain-snapshot
Packit a07778
	The code seems to be fine.
Packit a07778
Packit a07778
2014-06-03  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	tests: Fix make distcheck
Packit a07778
	Some files are missing from EXTRA_DIST, causing make distcheck to fail
Packit a07778
	when tests are enabled.
Packit a07778
Packit a07778
	tests: Move EXTRA_DIST back into ENABLE_TESTS conditional
Packit a07778
	When deciding which files to put into the make dist tarball, automake is
Packit a07778
	clever enough to ignore conditional blocks, and to pick all files which are
Packit a07778
	needed for all values of the conditional.
Packit a07778
Packit a07778
	Having EXTRA_DIST=xxx at the beginning of tests/Makefile.am causes
Packit a07778
	warnings from automake when ENABLE_TESTS is true as glib-tap.mk will
Packit a07778
	unconditionally empty it.
Packit a07778
Packit a07778
	Keeping EXTRA_DIST+=xxx outside of the ENABLE_TESTS conditional would
Packit a07778
	cause a different warning from automake when ENABLE_TESTS is false as
Packit a07778
	we'd be appending to a variable which was never set.
Packit a07778
Packit a07778
	Moving EXTRA_DIST+= back into the conditional solves these 2 warnings.
Packit a07778
Packit a07778
2014-05-16  Marc-André Lureau  <marcandre.lureau@gmail.com>
Packit a07778
Packit a07778
	tests: test spiceport chardev
Packit a07778
Packit a07778
	gconfig: add spiceport chardev
Packit a07778
Packit a07778
2014-05-12  Timm Bäder  <mail@baedert.org>
Packit a07778
Packit a07778
	domain-device-private: fix typo in header guard
Packit a07778
Packit a07778
2014-02-21  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post release version bump to 0.1.9
Packit a07778
Packit a07778
	Update NEWS for 0.1.8 release
Packit a07778
Packit a07778
	Disable test suite unless glib >= 2.38
Packit a07778
	The TAP harness for glib only works with version 2.38 or later,
Packit a07778
	so must be disabled for earlier versions
Packit a07778
Packit a07778
2014-02-20  Pavel Hrdina  <phrdina@redhat.com>
Packit a07778
Packit a07778
	gobject-stream: fix issue found by coverity
Packit a07778
	The coverity server found issue in gvir_stream_close function that
Packit a07778
	we ignore return values of g_input_stream_close and
Packit a07778
	g_output_stream_close, but we also ignore the error message and we
Packit a07778
	assume that it's closed without error.
Packit a07778
Packit a07778
	Now we will check return values and also propagate the error message
Packit a07778
	to the upper layers. We should try to close both streams even if
Packit a07778
	closing the first one will fails. We can propagate only one error
Packit a07778
	message.
Packit a07778
Packit a07778
2014-02-14  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Avoid false positive in diagnostic check against tap-driver.sh
Packit a07778
Packit a07778
	Add <config.h> to test cases
Packit a07778
Packit a07778
	Remove doubled 'on on' word in tap-driver.sh
Packit a07778
Packit a07778
	Don't mandate test files to call bindtextdomain
Packit a07778
Packit a07778
	Fix symfile checks in VPATH build
Packit a07778
	The check-symfile and check-symsorting rules were not
Packit a07778
	taking $(srcdir) into account when accessing the symfile
Packit a07778
	paths.
Packit a07778
Packit a07778
2014-02-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	build-sys: Update .gitignore
Packit a07778
Packit a07778
	glib: Add unit test for libvirt/glib mainloop integration
Packit a07778
	It's currently only testing removal of disabled timer/watches
Packit a07778
Packit a07778
	gconfig: Start adding more formal unit tests
Packit a07778
	Rather than the ever growing standalone libvirt-gconfig/tests/test-domain-create
Packit a07778
	program, this commit adds support for glib GTester framework as well as 2
Packit a07778
	smaller tests cases for GVirConfigDomain and GVirConfigDomainClock.
Packit a07778
Packit a07778
	glib: Don't leak GIOChannel when destroying IO handle
Packit a07778
	gvir_event_handle_add() creates a GIOChannel in order to watch the fd it
Packit a07778
	was given for changes.
Packit a07778
	gvir_event_handle_remove() is freeing all the resources allocated by
Packit a07778
	gvir_event_handle_add() except for this GIOChannel. This commit adds
Packit a07778
	the needed g_io_channel_unref() call to gvir_event_handle_remove()
Packit a07778
Packit a07778
	glib: Allow to remove disabled timers and handles
Packit a07778
	Trying to remove a disabled timer or handle will cause
Packit a07778
	gvir_{event,timer}_handle_remove() to return an error
Packit a07778
	rather than removing it.
Packit a07778
Packit a07778
	glib: Don't create glib IO watch for disabled handles
Packit a07778
	It's possible to create a handle to watch for file events which do not
Packit a07778
	watch for any file event. Such a handle can be enabled later with
Packit a07778
	gvir_event_handle_update() by setting some conditions to watch for.
Packit a07778
Packit a07778
	When a handle is disabled after it has been created,
Packit a07778
	gvir_event_handle_update() makes sure it removes the corresponding
Packit a07778
	gvir_event_handle::source IO watch if any was set.
Packit a07778
	gvir_event_handle_add() will always create a gvir_event_handle::source
Packit a07778
	IO watch even if the handle is not watching for any events.
Packit a07778
Packit a07778
	This commit makes consistent by only creating a watch with g_io_add_watch()
Packit a07778
	when the caller asked to watch for some events.
Packit a07778
Packit a07778
	gconfig: Fix removal of GVirConfigDomainCpu from domains
Packit a07778
	A wrong precondition in gvir_config_domain_set_cpu() would reject NULL
Packit a07778
	GVirConfigDomainCpus instead of accepting them.
Packit a07778
Packit a07778
	gconfig: Fix removal of GVirConfigCapabilitiesCpu topology
Packit a07778
	Calling gvir_config_capabilities_cpu_set_topology with a NULL topology
Packit a07778
	would not remove the topology as expected as NULL would be rejected by
Packit a07778
	this method preconditions.
Packit a07778
Packit a07778
	gconfig: Implement getters for GVirConfigDomainInput
Packit a07778
Packit a07778
	gconfig: Add various clock-related getters
Packit a07778
Packit a07778
	gconfig: Adjust transfer annotation for gvir_config_domain_os_get_boot_devices()
Packit a07778
	(transfer container) is more correct than (transfer full) for GList of
Packit a07778
	scalar values, it's not clear whether it's an issue or not, but better be
Packit a07778
	safe than sorry.
Packit a07778
Packit a07778
	gconfig: Fix gvir_config_domain_os_get_boot_devices() API doc
Packit a07778
	The elements of the returned list are integer enum values, so they cannot
Packit a07778
	be unreffed.
Packit a07778
Packit a07778
	gconfig: Fix GVirConfigDomainTimerPit parent class/object
Packit a07778
	GVirConfigDomainTimerPit is correctly define as inheriting from
Packit a07778
	GVirConfigDomainTimer in the G_DEFINE_TYPE macro, but it only
Packit a07778
	embeds GVirConfigObject/GVirConfigObjectClass structs.
Packit a07778
Packit a07778
	This is an ABI break as this changes the size of the
Packit a07778
	GVirConfigDomainTimerPit/GVirConfigDomainTimerPitClass structs
Packit a07778
	However, since these structs only have non-public members, users of the
Packit a07778
	library will not be trying to access fields of the struct past the first
Packit a07778
	field (which is the one which changed size). This would also be an issue
Packit a07778
	if anything had subclassed GVirConfigDomainTimerPit, which is unlikely at
Packit a07778
	this point.
Packit a07778
	All in all, it's imo more convenient to silently fix this without an soname
Packit a07778
	bump. I've tested that GNOME Boxes built with an older version of
Packit a07778
	libvirt-gconfig still generates the correct GVirConfigDomainTimerPit
Packit a07778
	elements when using a version of libvirt-gconfig with this patch.
Packit a07778
Packit a07778
2014-01-28  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Fix event loop implementation on win32
Packit a07778
	Libvirt uses gnulib for making winsock look like POSIX
Packit a07778
	sockets. This means that in the libvirt event handle
Packit a07778
	callbacks the application will be given a file descriptor
Packit a07778
	rather than a winsock HANDLE object. The g_io_channel_unix_new
Packit a07778
	method will detect that it is an FD and delegate to the
Packit a07778
	g_io_channel_win32_new_fd method. Unfortunately the glib Win32
Packit a07778
	event loop impl is not very good at dealing with FD objects,
Packit a07778
	simulating poll() by doing a read() on the FD :-(
Packit a07778
Packit a07778
	The API docs for g_io_channel_win32_new_fd say
Packit a07778
Packit a07778
	 "All reads from the file descriptor should be done by
Packit a07778
	  this internal GLib thread. Your code should call only
Packit a07778
	  g_io_channel_read()."
Packit a07778
Packit a07778
	This isn't going to fly for libvirt, since it has zero
Packit a07778
	knowledge of glib at all, so is just doing normal read().
Packit a07778
Packit a07778
	Fortunately we can work around this problem by turning
Packit a07778
	the FD we get from libvirt back into a HANDLE using the
Packit a07778
	_get_osfhandle() method.
Packit a07778
Packit a07778
2014-01-21  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add GVirConfigDomainTimerHpet
Packit a07778
	This will be needed in order to solve
Packit a07778
	https://bugzilla.gnome.org/show_bug.cgi?id=722293
Packit a07778
Packit a07778
	Add gvir_config_domain_timer_[gs]et_present()
Packit a07778
Packit a07778
	Add getters for some GVirConfigDomainGraphics* attributes
Packit a07778
	Now that there is a gvir_config_object_get_attribute_boolean(), these
Packit a07778
	are trivial to implement.
Packit a07778
Packit a07778
	Implement gvir_config_object_get_attribute_boolean()
Packit a07778
	gvir_config_object_set_attribute() converts (TRUE, FALSE) to ("yes", "no"),
Packit a07778
	but we don't have the corresponding getter. This commit adds this.
Packit a07778
Packit a07778
	Add scripts for validating the libvirt-glib symbol files
Packit a07778
	Import two test scripts from libvirt code which validate that
Packit a07778
	all symbols in libvirt-glib symbol files exist in the ELF binary, and also
Packit a07778
	validate the alphabetical sorting. These are hooked up to run with 'make
Packit a07778
	check'.
Packit a07778
Packit a07778
	This commit is based on a libosinfo patch from Daniel P. Berrange
Packit a07778
Packit a07778
	Fix typo in symbol name in libvirt-gobject.sym
Packit a07778
	gvir_connection_restore_domain_from_file_finish was not properly exported
Packit a07778
	because of a typo in the symbol name.
Packit a07778
	This commit also removes a newer occurrence of this symbol in the file
Packit a07778
	(without the typo). This can be done without breaking ABI as we haven't
Packit a07778
	made a release since this duplicate symbol was added in the symbol file.
Packit a07778
Packit a07778
	Remove gvir_config_domain_cpu_get_features() from sym file
Packit a07778
	This method was never exported. GVirConfigDomainCpu inherits from
Packit a07778
	GVirConfigCapabilitiesCpu so gvir_config_capabilities_cpu_get_features()
Packit a07778
	should be used to get these features (this calls the virtual method
Packit a07778
	GVirConfigCapabilities::get_features() which GVirConfigDomainCpu
Packit a07778
	implements).
Packit a07778
Packit a07778
	Alphabetically sort libvirt-glib sym files
Packit a07778
	This is in preparation to enforcing this sorting during make check.
Packit a07778
	The script only checks for alphabetical sorting, which leads to unexpected
Packit a07778
	sorting between classes sharing a common prefix (eg the correct order is:
Packit a07778
	gvir_config_domain_get_foo;
Packit a07778
	gvir_config_domain_interface_set_foo;
Packit a07778
	gvir_config_domain_set_foo;
Packit a07778
Packit a07778
	instead of
Packit a07778
Packit a07778
	gvir_config_domain_get_foo;
Packit a07778
	gvir_config_domain_set_foo;
Packit a07778
	gvir_config_domain_interface_set_foo;
Packit a07778
Packit a07778
	if we want to keep methods from the same class grouped in the symbol file.
Packit a07778
Packit a07778
	Add basic test for gvir_config_domain_disk_driver_set_copy_on_read()
Packit a07778
Packit a07778
	Deprecate gvir_config_domain_disk_[gs]et_driver_*
Packit a07778
	They are replaced by equivalent methods in GVirConfigDomainDiskDriver.
Packit a07778
	Initially, we had only one or two attributes to set on the 'driver' child
Packit a07778
	of the 'disk' node. Nowadays, we more than 5 attributes to set on this
Packit a07778
	node, mapping it as a separate object is more consistent with the rest of
Packit a07778
	libvirt-gconfig API.
Packit a07778
Packit a07778
	Implement gvir_config_domain_disk_[gs]et_driver()
Packit a07778
Packit a07778
	Add GVirConfigDomainDiskDriver
Packit a07778
	This class wraps creation of configuration data for the driver part of a
Packit a07778
	domain disk device. The methods needed for this are currently part of
Packit a07778
	GVirConfigDomainDisk, but since the disk driver is getting more and more
Packit a07778
	attributes, it's better to move such configuration to a dedicated class to
Packit a07778
	avoid a too big API in GVirConfigDomainDisk
Packit a07778
Packit a07778
	config: Fix typo preventing clock removal from a domain
Packit a07778
	Commit 1c8ce29 added a way to unset a GVirConfigDomainClock set on a
Packit a07778
	GVirConfigDomain by calling gvir_config_domain_set_clock() with a NULL
Packit a07778
	argument.
Packit a07778
	However, a typo in a g_return_if_fail precondition prevents this code from
Packit a07778
	ever being called: g_return_if_fail(clock != NULL) is used while it should
Packit a07778
	have been g_return_if_fail(clock == NULL) as in all other preconditions in
Packit a07778
	1c8ce29.
Packit a07778
Packit a07778
2014-01-21  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Switch over to using standard gobject introspection macros
Packit a07778
	Remove hand crafted configure.ac and Makefile.am rules in
Packit a07778
	favour of the standard macros.
Packit a07778
Packit a07778
2013-10-31  Ian Main  <imain@redhat.com>
Packit a07778
Packit a07778
	Quick fix for config-demo.py
Packit a07778
	I guess this must have been changed and the demo not updated.  Fix the
Packit a07778
	demo so it uses the right value.
Packit a07778
Packit a07778
	Add filterref and filterref parameter support.
Packit a07778
	This patch adds support for setting filterref's on interfaces.  Also
Packit a07778
	supported are parameters to the filterref's.
Packit a07778
Packit a07778
2013-09-27  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Use latest warnings.m4 from gnulib
Packit a07778
	The one we were using does not work properly with clang, causing
Packit a07778
	the build process to try to use -f/-W options that are not
Packit a07778
	supported by clang.
Packit a07778
Packit a07778
2013-09-19  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Add intltool as a build req in mingw RPM
Packit a07778
Packit a07778
2013-08-28  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add missing symbols to .sym files
Packit a07778
	These symbols are in public headers, but were not listed in the
Packit a07778
	corresponding .sym file, causing them to be unavailable from
Packit a07778
	the resulting shared library.
Packit a07778
	I would have preferred not to export gvir_config_object_new_from_xml()
Packit a07778
	at all, but since the similar gvir_config_object_new() is already exported,
Packit a07778
	I've chosen to export it as well.
Packit a07778
Packit a07778
2013-08-19  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Remove unused 'gint i' variable from list helpers
Packit a07778
	The previous change made the 'gint i' variable unused.
Packit a07778
Packit a07778
2013-08-15  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Remove dead cleanup code in object fetch_list helpers
Packit a07778
	The fetch_list helper cleanup code iterates over the
Packit a07778
	elements in 'lst' array free'ing each one. This is dead
Packit a07778
	code, however, since the only way to get there is from
Packit a07778
	codepaths which do not populate 'lst' elements.
Packit a07778
Packit a07778
	This fixes two coverity DEADCODE reports
Packit a07778
Packit a07778
2013-07-09  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Refresh translations from transifex
Packit a07778
Packit a07778
	Post-release version bump to 0.1.8
Packit a07778
Packit a07778
	Add support for reading/writing UUID attribute in domain config
Packit a07778
Packit a07778
2013-07-08  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Update NEWS for 0.1.7 release
Packit a07778
Packit a07778
2013-07-04  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Add missing file from previous commit
Packit a07778
	The commit 35a310c62a8bf704aceb3a5b3ecce36c11525914 forgot
Packit a07778
	to add libvirt-gconfig/libvirt-gconfig-domain-chardev-source-private.h
Packit a07778
Packit a07778
	Add API to access device alias names
Packit a07778
	Add gvir_config_domain_device_get_alias to read the
Packit a07778
	<alias name="foo"/> XML in each device.
Packit a07778
Packit a07778
	Add APIs to access chardev source information
Packit a07778
	Enable apps to determine the current source path of a chardev
Packit a07778
	with a pty based source.
Packit a07778
Packit a07778
	Fix name of gvir_config_domain_chardev_source_pty_set_path
Packit a07778
	The method gvir_config_domain_chardev_source_pty_set_path was
Packit a07778
	accidentally called gvir_config_domain_source_pty_set_path.
Packit a07778
	This naming flaw in turn caused the introspection data to
Packit a07778
	be incorrectly generated, putting a 'source_pty_set_path'
Packit a07778
	method on the GVirConfigDomain object.
Packit a07778
Packit a07778
2013-06-07  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainSnapshot getters/setters
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainSnapshotDisk getters/setters
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainSnapshotDisk skeleton
Packit a07778
Packit a07778
	gconfig: Add gvir_config_domain_disk_[gs]et_driver_format
Packit a07778
	libvirt commit
Packit a07778
	http://libvirt.org/git/?p=libvirt.git;a=commit;h=e2c41e486018ee74f6a75c1f717622
Packit a07778
	strongly hints that driver type for a disk domain should be an
Packit a07778
	enum rather than a raw string. Since we already have setters/getters
Packit a07778
	for this attribute, we can't use the same name as in the XML. However,
Packit a07778
	as Daniel Berrangé pointed out,
Packit a07778
	gvir_config_domain_disk_[gs]et_driver_format is a better name for this,
Packit a07778
	so we add the API accepting an enum under this name.
Packit a07778
Packit a07778
	I did not set "Rename to: gvir_config_domain_disk_[gs]et_driver_format"
Packit a07778
	in a gtk-doc comment to force bindings to use this better version
Packit a07778
	as this would break Boxes for example.
Packit a07778
Packit a07778
	gconfig: Add GVirConfigDomainDiskFormat enum
Packit a07778
Packit a07778
	gconfig: Allow not found child in gvir_config_object_get_child_with_type
Packit a07778
	This will be useful when implementing gvir_domain_snapshot_get_parent()
Packit a07778
	as the child node 'parent' is not always present in the XML.
Packit a07778
Packit a07778
2013-05-12  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	build-sys: s/INCLUDES/AM_CPPFLAGS
Packit a07778
	automake outputs a warning about AM_CPPFLAGS being the recommended
Packit a07778
	name to use for INCLUDES
Packit a07778
Packit a07778
	glib: Add G_GNUC_PRINTF where appropriate
Packit a07778
	This is used to tell the compiler about printf-like format strings
Packit a07778
	used by some functions. Without this marking, gcc 4.8 is outputs
Packit a07778
	warnings to recommend using it.
Packit a07778
Packit a07778
	Adjust examples for gvir_config_object_get_conf rename
Packit a07778
	It was renamed to gvir_config_object_to_xml() a long while ago.
Packit a07778
Packit a07778
2013-05-02  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	object: Add "transfer none" annotation to argv parameter
Packit a07778
	This makes the parameter to be passed "unowned" in Vala. This was
Packit a07778
	previously done using a vala metadata file, but it's better to do
Packit a07778
	it directly through a gtk-doc annotation, as this means the gir
Packit a07778
	file will know about this, and thus any gir-based binding can
Packit a07778
	make use of this info.
Packit a07778
Packit a07778
	This also makes libvirt-gobject consistent with what was done
Packit a07778
	for gconfig and glib in commit 431720.
Packit a07778
Packit a07778
2013-05-01  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Rename misnamed 'conn' variable everywhere
Packit a07778
	Through copy and paste from libvirt-gobject-connection.c, we end
Packit a07778
	up with an instance variable named 'conn' in most of our classes
Packit a07778
	even if we are not manipulating a connection object. This commit
Packit a07778
	renames all 'conn' occurrences in libvirt-gobject and
Packit a07778
	libvirt-gconfig with a name more consistent with the type of the
Packit a07778
	variable named 'conn'.
Packit a07778
Packit a07778
	gconfig: Fix gvir_config_domain_graphics_new_from_tree
Packit a07778
	It does not handle the recently added
Packit a07778
	GVirConfigDomainGraphicsRdp and GVirConfigDomainGraphicsDesktop
Packit a07778
	classes.
Packit a07778
Packit a07778
2013-04-19  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Adopt saner libtool versioning scheme from libvirt
Packit a07778
	The current way libtool versioning is calculated has a timebomb
Packit a07778
	when the package version number changes to 1.0.0, which will
Packit a07778
	cause the library soname to change. Adapt to the latest libvirt
Packit a07778
	macros for libtool versioning, which use an explicit variable
Packit a07778
	LIBVIRT_GLIB_SONUM setting for changing soname.
Packit a07778
Packit a07778
2013-04-16  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Fix year in NEWS
Packit a07778
	We switched from 2012 to 2013!!
Packit a07778
Packit a07778
2013-04-10  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Auto-generate AUTHORS file from GIT logs during make dist
Packit a07778
	Instead of manually keeping the AUTHORS file in sync with
Packit a07778
	GIT, auto-generate it during make dist phase
Packit a07778
Packit a07778
	Add framework for i18n of error message strings
Packit a07778
Packit a07778
2013-04-08  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Add printf/sentinel attribute annotations to helper functions
Packit a07778
	To allow the compiler to check args add G_GNUC_PRINTF and
Packit a07778
	G_GNUC_NULL_TERMINATED to libvirt-gconfig-helpers-private.h
Packit a07778
Packit a07778
2013-04-03  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gconfig: Add GvirConfigStoragePermission getters
Packit a07778
Packit a07778
	gconfig: Add GvirConfigStoragePoolTarget getters
Packit a07778
Packit a07778
	gconfig: Add GVirConfigStoragePoolSource getters
Packit a07778
Packit a07778
	gconfig: Add GVirConfigStoragePool getters
Packit a07778
Packit a07778
	gconfig: Add calls to [gs]et_virt_type to domain tests
Packit a07778
	Setting GVirConfigDomain::virt_type is required for a working
Packit a07778
	domain configuration, using it in the test programs will be helpful
Packit a07778
	if people are using this as a base when starting to use libvirt-gconfig
Packit a07778
Packit a07778
	config: Add GVirConfigDomainChannel getters
Packit a07778
Packit a07778
	config: Add GVirConfigDomainGraphicsDesktop class
Packit a07778
Packit a07778
	config: Add GVirConfigDomainGraphicsRdp class
Packit a07778
Packit a07778
	config: Add gvir_config_domain_graphics_sdl_set_fullscreen()
Packit a07778
Packit a07778
	config: Fix 2 leaks in domain memory setters
Packit a07778
Packit a07778
2013-04-03  Stefano Facchini  <stefano.facchini@gmail.com>
Packit a07778
Packit a07778
	build: Replace obsolete macro in configure.ac
Packit a07778
	Fix the build for newer automake
Packit a07778
Packit a07778
2013-04-02  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Disable static libraries by default
Packit a07778
	Every source file is currently built twice by libtool, once for
Packit a07778
	the shared library and once for the static library. Static libs
Packit a07778
	are not commonly packaged by distros and slow down compilation
Packit a07778
	time by more than 50% compared to a shared-only build time.
Packit a07778
Packit a07778
	Time for non-parallel make
Packit a07778
Packit a07778
	      shared only: 52 secs
Packit a07778
	  shared + static: 1 min 26 secs
Packit a07778
Packit a07778
	Those few people who really want them, can pass --enable-static
Packit a07778
	to configure
Packit a07778
Packit a07778
	Disabling them by default requires use of LT_INIT. We don't need
Packit a07778
	to support older libtool, so drop use of AM_PROG_LIBTOOL entirely
Packit a07778
Packit a07778
2013-03-19  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post release version bump
Packit a07778
Packit a07778
2013-03-18  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Update NEWS for 0.1.6 release
Packit a07778
Packit a07778
	Add Claudio Bley to AUTHORS
Packit a07778
Packit a07778
2013-03-14  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gconfig: API for SPICE image compression
Packit a07778
	This patch adds API to set/get image compression configuration on
Packit a07778
	domain/graphics[@type='spice'] nodes.
Packit a07778
Packit a07778
	Also included are simple tests for this API.
Packit a07778
Packit a07778
	Add gvir_config_object_replace_child_with_attribute_enum()
Packit a07778
	Internal libvirt-gconfig helper to replace enum XML attributes.
Packit a07778
Packit a07778
2013-03-12  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Remove FSF address from source file headers
Packit a07778
	The FSF moved a while ago which made the address we use in every
Packit a07778
	source file header invalid. Follow the recommendation from
Packit a07778
	http://www.gnu.org/licenses/gpl-howto.html and don't put any address
Packit a07778
	in these headers, just a link to the fsf website.
Packit a07778
Packit a07778
2013-02-07  Claudio Bley  <cbley@av-test.de>
Packit a07778
Packit a07778
	gvir_stream_receive: annotate buffer parameter with "element-type guint8"
Packit a07778
	Vala automatically regards parameters as strings when an array of char
Packit a07778
	is used. We need to prevent this as the data given is an array of octets
Packit a07778
	ie. arbitrary data, not chars.
Packit a07778
Packit a07778
	Add "transfer none" annotation to argv parameter
Packit a07778
	This makes the parameter to be passed "unowned" in Vala.
Packit a07778
Packit a07778
	Fix typo in gvir_config_init's comment
Packit a07778
	This broke the generated Vala API.
Packit a07778
Packit a07778
2013-01-24  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Fix potential crashes in error cases
Packit a07778
	fetch_list implementations in libvirt-gobject-connection.c and
Packit a07778
	libvirt-gobject-storage-pool.c can misbehave in error situations
Packit a07778
	or when the call is cancelled:
Packit a07778
	- when the call is cancelled, 'lst' will be NULL and 'n' non-0 so
Packit a07778
	we'll try to iterate over 'lst', which will cause a crash
Packit a07778
	- when list_func fails, 'lst' is likely to be uninitialized, which
Packit a07778
	will lead to invalid frees in the memory cleanup in the error: branch.
Packit a07778
	We can avoid this issue by making sure 'lst' is initialized to 0
Packit a07778
	when it's created.
Packit a07778
Packit a07778
	Use g_strlcpy instead of strncpy
Packit a07778
	This guarantees that the string will be nul-terminated. Coverity
Packit a07778
	warned about this issue.
Packit a07778
Packit a07778
2013-01-22  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	Don't redefine _FORTIFY_SOURCE macro
Packit a07778
	If the _FORTIFY_SOURCE has been already defined, we unconditionally
Packit a07778
	redefine it, leaving us with warning/error thrown at compilation time.
Packit a07778
Packit a07778
2013-01-14  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post-release version bump
Packit a07778
Packit a07778
	Add libvirt-gobject-storage-pool-private.h to noinst_HEADERS
Packit a07778
Packit a07778
	Replace tabs with spaces
Packit a07778
Packit a07778
	Update NEWS for 0.1.5 release
Packit a07778
Packit a07778
2013-01-11  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gconfig: Entertain bridge interface devices
Packit a07778
	Currently we ignore bridge interface devices from domain XML. This patch
Packit a07778
	fixes that.
Packit a07778
Packit a07778
2013-01-09  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gobject: API to open read-only connection to libvirt
Packit a07778
	Also a utility method to check if connection is open in read-only mode.
Packit a07778
Packit a07778
2012-12-19  Alexander Larsson  <alexl@redhat.com>
Packit a07778
Packit a07778
	Add smartcard support to libvirt-gconfig
Packit a07778
	This handles <smartcard> devices.
Packit a07778
Packit a07778
2012-11-21  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gobject: Also delete storage volume from its pool's list
Packit a07778
	Without this patch, storage pool still lists the volume even after it is
Packit a07778
	deleted.
Packit a07778
Packit a07778
	Related Boxes bug: https://bugzilla.gnome.org/show_bug.cgi?id=688724
Packit a07778
Packit a07778
2012-11-16  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post release version increment
Packit a07778
Packit a07778
	Remove tabs in source directory
Packit a07778
Packit a07778
	Update NEWS for 0.1.4 release
Packit a07778
Packit a07778
2012-11-14  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gobject: Add gvir_storage_pool_get_{active,persistent}
Packit a07778
Packit a07778
	gobject: Wrap virStoragePoolDelete
Packit a07778
Packit a07778
	gobject: Wrap virStoragePoolUndefine
Packit a07778
Packit a07778
	gobject: Wrap virStoragePoolDestroy
Packit a07778
Packit a07778
	gobject: don't try to use pool's volumes before a successful refresh
Packit a07778
	gvir_storage_pool_refresh must be called and must be successful before
Packit a07778
	trying to use gvir_storage_pool_get_volume,
Packit a07778
	gvir_storage_pool_get_volumes and gvir_storage_pool_create_volume.
Packit a07778
	As the storage pool refresh can fail for reasons external to
Packit a07778
	libvirt/libvirt-gobject, the library user should check _refresh
Packit a07778
	errors. This commit outputs runtime warnings when these functions
Packit a07778
	are called and GVirObjectStoragePool::priv::volumes is NULL.
Packit a07778
Packit a07778
	gobject: Fix GMutex leak
Packit a07778
	When GLib deprecated g_mutex_new/g_mutex_free, we introduced a
Packit a07778
	compatibility wrapper to implement these using non-deprecated
Packit a07778
	functions. This was done by allocating 0-filled memory by the
Packit a07778
	mutex, and then letting GLib initialize the structure when
Packit a07778
	needed. However, we must call g_mutex_clear when destroying
Packit a07778
	the mutex to free these resources, which this patch fix.
Packit a07778
Packit a07778
	Fix glib version check for g_type_init
Packit a07778
	g_type_init has been deprecated in glib 2.35, not 2.34. With versions
Packit a07778
	older than 2.35, we have to call it or we'll get a runtime failure.
Packit a07778
Packit a07778
2012-11-14  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	docs: Specify correct function to free GVirDomainInfo
Packit a07778
Packit a07778
	gobject: Add GVirDomainRebootFlags
Packit a07778
	Add flags to be used with gvir_domain_reboot().
Packit a07778
Packit a07778
2012-11-14  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Don't call g_type_init on newer glib
Packit a07778
	This function call is deprecated and calling it causes a compilation
Packit a07778
	warning.
Packit a07778
Packit a07778
	test: Remove redundant call to g_type_init
Packit a07778
	test-domain-parse calls both g_type_init and gvir_config_init. Given
Packit a07778
	that gvir_config_init calls g_type_init, the g_type_init call is
Packit a07778
	redundant, so let's remove it.
Packit a07778
Packit a07778
	stream: Fix small error in gvir_stream_receive doc
Packit a07778
Packit a07778
	gobject: Fix handle leak on wrapper object creation
Packit a07778
	When creating an object wrapping a libvirt object (GVirDomain,
Packit a07778
	GVirStoragePool, GVirStorageVol), libvirt-gobject gets a reference
Packit a07778
	to a libvirt object to be used as a handle, and then creates the wrapper
Packit a07778
	object by calling g_object_new(..., "handle", handle, NULL);
Packit a07778
Packit a07778
	However, the underlying libvirt object is registered as a boxed type
Packit a07778
	with the gobject type system, and the handle setter for these object
Packit a07778
	calls g_value_dup_boxed, which in turn adds a reference on the libvirt
Packit a07778
	handle. Thus we must release the initial ref we hold on the libvirt
Packit a07778
	handle after calling g_object_new().
Packit a07778
Packit a07778
	I noticed this bug after running in valgrind some code which calls
Packit a07778
	gvir_storage_pool_refresh and gvir_connection_fetch_storage_pools.
Packit a07778
Packit a07778
	gobject: Error out on NULL name in gvir_storage_pool_get_volume
Packit a07778
	Without this change, gvir_storage_pool_get_volume segfaults when
Packit a07778
	trying to do the hash table lookup with a NULL 'name' key.
Packit a07778
Packit a07778
	Introduce gvir_warning/gvir_critical
Packit a07778
	They are similar to g_warning/g_critical, but also log the last
Packit a07778
	libvirt error. They are meant to be called right after a libvirt
Packit a07778
	call failed, in other cases g_warning/g_critical are still to be
Packit a07778
	used.
Packit a07778
Packit a07778
2012-11-14  Alexander Larsson  <alexl@redhat.com>
Packit a07778
Packit a07778
	gobject: Add gvir_domain_update_device() and enums needed for it
Packit a07778
	This is a wrapper for virDomainUpdateDeviceFlags.
Packit a07778
Packit a07778
2012-10-10  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	gconfig: Add API to set domain/pm tree
Packit a07778
	API for new domain power management configuration.
Packit a07778
Packit a07778
2012-10-09  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post-release version bump
Packit a07778
Packit a07778
2012-10-08  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Update NEWS for 0.1.3 release
Packit a07778
Packit a07778
	Add Alex to AUTHORS file
Packit a07778
Packit a07778
2012-10-04  Alexander Larsson  <alexl@redhat.com>
Packit a07778
Packit a07778
	Add wrappers for virDomainPMWakeup
Packit a07778
Packit a07778
2012-10-03  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	build-sys: Raise libvirt requirement to 0.10.2
Packit a07778
	The recent PMSuspend changes need libvirt 0.10.2 or newer.
Packit a07778
Packit a07778
	spec: Get min libvirt version from configure.ac
Packit a07778
	The minimum libvirt version we need is duplicated in configure.ac
Packit a07778
	and libvirt.spec.in. Since libvirt.spec.in already gets some variables
Packit a07778
	substituted, we can also substitute LIBVIRT_REQUIRED to avoid the
Packit a07778
	duplication.
Packit a07778
Packit a07778
2012-09-28  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	gobject: Emit a signal on WAKEUP events
Packit a07778
	This avoids a runtime warning about this kind of event not
Packit a07778
	being handled.
Packit a07778
Packit a07778
	gobject: Handle PMSUSPENDED state from libvirt
Packit a07778
	Emit a signal when switching to the PMSUSPENDED state, and add
Packit a07778
	an enum entry to describe this state. This avoids runtime warnings
Packit a07778
	with newer libvirt.
Packit a07778
Packit a07778
2012-09-26  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Implement gvir_config_domain_graphics_spice_get_port
Packit a07778
Packit a07778
	Add a few GVirConfigDomainGraphicsVnc getters
Packit a07778
Packit a07778
	Implement gvir_config_domain_graphics_vnc_set_socket
Packit a07778
Packit a07778
	Fix *_new_from_xml
Packit a07778
	For objects with a subtype 'type' attribute, when the _new_from_xml
Packit a07778
	function was called, the 'type' attribute was forcefully set to the
Packit a07778
	right value rather than checking that the passed-in value matches
Packit a07778
	the type of the subclass we are trying to instantiate. This commit
Packit a07778
	changes this, and returns NULL when the value of the 'type' attribute
Packit a07778
	of the passed-in XML document does not match the expected type.
Packit a07778
Packit a07778
2012-09-26  Jovanka Gulicoska  <jovanka.gulicoska@gmail.com>
Packit a07778
Packit a07778
	Don't call g_set_error with a NULL format string
Packit a07778
	The format string passed to g_set_error cannot be NULL or a runtime
Packit a07778
	warning will be printed.
Packit a07778
Packit a07778
2012-09-18  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	autobuild: Init AUTOBUILD_INSTALL_ROOT variable
Packit a07778
	Otherwise autobuild sets prefix to / resulting in
Packit a07778
	Permission denied when building as non-root as
Packit a07778
	'make install' tries to write to /lib. We need to
Packit a07778
	set this var to accessible path like $HOME/builder.
Packit a07778
Packit a07778
2012-09-13  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	gobject: Introduce gvir_connection_get_version
Packit a07778
	which is basically a wrapper for virConnectGetVersion().
Packit a07778
Packit a07778
	gobject: Introduce gvir_connection_get_hypervisor_name
Packit a07778
	which is basically a wrapper for virConnectGetType().
Packit a07778
Packit a07778
2012-09-12  Timo Juhani Lindfors  <timo.lindfors@iki.fi>
Packit a07778
Packit a07778
	Use 1 GB of RAM in Python example (instead of 1 TB)
Packit a07778
Packit a07778
	Specify virtualization type in Python example
Packit a07778
	Without this creating the domain fails:
Packit a07778
Packit a07778
	gi._glib.GError: Failed to create domain: internal error missing domain type attribute
Packit a07778
Packit a07778
2012-09-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	config: Add gvir_config_domain_[gs]et_current_memory
Packit a07778
	libvirt will insert a <currentMemory> node when setting the domain
Packit a07778
	maximum memory. If we want to be able to later increase the domain
Packit a07778
	maximum memory, libvirt-gconfig needs to be able to set this
Packit a07778
	currentMemory node as well, otherwise this will cap the available
Packit a07778
	memory in the domain.
Packit a07778
Packit a07778
	config: Handle units in gvir_config_[gs]et_memory
Packit a07778
	gvir_config_[gs]et_memory have an optional 'unit' attribute which
Packit a07778
	indicates the unit used to express the memory size. This commit
Packit a07778
	adds support for parsing this unit, and adjusting the returned
Packit a07778
	value accordingly.
Packit a07778
Packit a07778
	config: Improve documentation of GVirConfigDomain::set_memory
Packit a07778
	Explicit the fact that it sets the maximum domain memory.
Packit a07778
Packit a07778
	config: Allow NULL node name to gvir_config_object_set_content
Packit a07778
	This is useful when you want to set the content of the current node.
Packit a07778
Packit a07778
2012-08-20  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Post release version bump
Packit a07778
Packit a07778
	Update NEWS for 0.1.2 release
Packit a07778
Packit a07778
	Don't hold events lock when dispatching free callbacks
Packit a07778
	The _event_timeout_remove and _event_handle_remove methods
Packit a07778
	were holding onto the global lock when invoking the free
Packit a07778
	callback. This is a violation of the libvirt events API
Packit a07778
	contract which requires free callbacks to be invoked in
Packit a07778
	a re-entrant safe context.
Packit a07778
Packit a07778
2012-08-09  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Fix small typo in error message ('downlaod')
Packit a07778
Packit a07778
2012-08-07  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit a07778
Packit a07778
	libvirt-gobject.sym: fix resume() symbols version
Packit a07778
Packit a07778
	Post-release version bump
Packit a07778
Packit a07778
2012-08-07  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add async variant of gvir_domain_resume()
Packit a07778
Packit a07778
2012-08-06  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Release 0.1.1
Packit a07778
Packit a07778
2012-08-03  Jovanka Gulicoska  <jovanka.gulicoska@gmail.com>
Packit a07778
Packit a07778
	Add bindings for virDomainSnapshotCreateFlags
Packit a07778
Packit a07778
	Add bindings for virDomainSnapshotCreateXML()
Packit a07778
Packit a07778
2012-07-31  Jovanka Gulicoska  <jovanka.gulicoska@gmail.com>
Packit a07778
Packit a07778
	Add bindings for virDomainRestore*()
Packit a07778
Packit a07778
2012-07-20  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit a07778
Packit a07778
	gobject: add GVir.DomainShutdownFlags binding
Packit a07778
Packit a07778
2012-07-18  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit a07778
Packit a07778
	gobject: add GVir.DomainXMLFlags binding
Packit a07778
Packit a07778
	Post-release version bump
Packit a07778
Packit a07778
2012-07-16  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Update NEWS for 0.1.0 release
Packit a07778
Packit a07778
	Add Jovanka Gulicoska to AUTHORS
Packit a07778
Packit a07778
2012-07-14  Jovanka Gulicoska  <jovanka.gulicoska@gmail.com>
Packit a07778
Packit a07778
	Add bindings for virStorageDownload() & virStorageUpload()
Packit a07778
Packit a07778
	Add bindings for virDomainSave*()
Packit a07778
Packit a07778
2012-06-27  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Test cases for new domain CPU APIs
Packit a07778
Packit a07778
	Add GVirConfigDomainCpu class
Packit a07778
	API to handle 'domain/cpu' nodes.
Packit a07778
Packit a07778
	Make GVirConfigCapabilitiesCpu.get_features virtual
Packit a07778
	Also provide helper function for subclasses that will have the exact
Packit a07778
	same implementation except that they'll return instances of another type
Packit a07778
	(subclasses of GVirConfigDomainCpuFeature rather than
Packit a07778
	GVirConfigDomainCpuFeature itself).
Packit a07778
Packit a07778
2012-06-26  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add GVirConfigDomainCpuFeature class
Packit a07778
	API to handle 'domain/cpu/feature' nodes.
Packit a07778
Packit a07778
	Add gvir_config_capabilities_cpu_feature_set_name()
Packit a07778
	Setter for CapabilitiesCpuFeature.name.
Packit a07778
Packit a07778
	Setters for CapabilitiesCpuTopology props
Packit a07778
Packit a07778
	Add gvir_config_capabilities_cpu_topology_new*
Packit a07778
	Provide constructor methods for GVirConfigCapabilitiesCpuTopology.
Packit a07778
Packit a07778
	Setters/adders for GVirConfigCapabilitiesCpu props
Packit a07778
	- gvir_config_capabilities_cpu_add_feature
Packit a07778
	- gvir_config_capabilities_cpu_set_topology
Packit a07778
Packit a07778
2012-06-25  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add API doc for GVirConfigDomainControllerUsb
Packit a07778
Packit a07778
2012-06-25  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Bump version to 0.1.0
Packit a07778
Packit a07778
	Update NEWS for 0.0.9 release
Packit a07778
Packit a07778
	Move gvir_config_domain_filesys_set_ram_usage sym to correct version block
Packit a07778
Packit a07778
	Tweaks to mingw-libvirt-glib.spec.in
Packit a07778
Packit a07778
	Add support for domain filesystems with type=bind|ram
Packit a07778
	This adds support for filesystems with type=bind or type=ram,
Packit a07778
Packit a07778
	eg
Packit a07778
Packit a07778
	   <filesystem type='bind'>
Packit a07778
	     <source dir="/some/guest/file"/>
Packit a07778
	     <target dir=/other/guest/file"/>
Packit a07778
	   </filesystem>
Packit a07778
Packit a07778
	And
Packit a07778
Packit a07778
	   <filesystem type='ram'>
Packit a07778
	      <source usage='102400'/>
Packit a07778
	      <target dir='/run'/>
Packit a07778
	   </filesystem>
Packit a07778
Packit a07778
2012-06-25  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	mainloop: don't reschedule deleted timeouts/watches
Packit a07778
	The deletion of libvirt timeouts/watches is done in 2 steps:
Packit a07778
	- the first step is synchronous and unregisters the timeout/watch
Packit a07778
	  from glib mainloop
Packit a07778
	- the second step is asynchronous and triggered from the first step.
Packit a07778
	  It releases the memory used for bookkeeping for the timeout/watch
Packit a07778
	  being deleted
Packit a07778
Packit a07778
	This is done this way to avoid some possible deadlocks when
Packit a07778
	reentering the sync callback while freeing the memory associated
Packit a07778
	with the timeout/watch.
Packit a07778
Packit a07778
	However, it's possible to call gvir_event_update_handle after
Packit a07778
	gvir_event_remove_handle but before _event_handle_remove does
Packit a07778
	the final cleanup. When this happen, _update_handle will reregister
Packit a07778
	the handle with glib mainloop, and bad things will happen when
Packit a07778
	a glib callback is triggered for this event after _event_handle_remove
Packit a07778
	has freed the memory associated with this handle watch.
Packit a07778
Packit a07778
	This commit marks the timeouts and watches as removed in the
Packit a07778
	synchronous _remove callback and makes sure removed timeouts/watches
Packit a07778
	are ignored in _update callbacks.
Packit a07778
Packit a07778
	mainloop: protect 'handles' and 'timeouts' against concurrent accesses
Packit a07778
	Timeout and watch deletion is done from an idle callback. However,
Packit a07778
	we cannot assume that all libvirt event calls (the callbacks passed
Packit a07778
	to virEventRegisterImpl) will be done from the mainloop thread. It's
Packit a07778
	thus possible that a libvirt event call will run a thread while
Packit a07778
	one of the idle deletion callbacks runs.
Packit a07778
	Given that the 'handles' and 'timeouts' arrays are shared among all
Packit a07778
	threads, we need to make sure we hold the 'eventlock' mutex before
Packit a07778
	modifying them.
Packit a07778
Packit a07778
	mainloop: remove unused gvir_event_{handle,timeout}_update arg
Packit a07778
Packit a07778
	mainloop: add missing debug message
Packit a07778
	All timeout and watch additions/updates/removals are logged except
Packit a07778
	successful watch updates. This commit adds such a log message.
Packit a07778
Packit a07778
	mainloop: improve handle operations debug messages
Packit a07778
	Make sure the watch ID and the address of the structure libvirt-glib
Packit a07778
	uses to watch the handle are always printed to make tracking operation
Packit a07778
	on the same watch easier.
Packit a07778
Packit a07778
2012-06-23  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit a07778
Packit a07778
	Add async version of gvir_domain_start
Packit a07778
Packit a07778
2012-06-20  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Switch over to mingw64 toolchain for Windows builds
Packit a07778
Packit a07778
2012-06-19  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add getter for GVirConfigDomainOs.os_type
Packit a07778
Packit a07778
2012-06-18  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Remove bogus check against -1 of gvir_config_genum_get_value return value
Packit a07778
	The gvir_config_domain_disk class was checking the return value
Packit a07778
	of gvir_config_genum_get_value against -1. This is impossible,
Packit a07778
	since this method will return the default enum value
Packit a07778
Packit a07778
	Fix generation of filesystem device source XML element
Packit a07778
	When setting the filesystem source type, the code forgot to
Packit a07778
	update priv->type. Thus when setting the source element,
Packit a07778
	the incorrect attribute was being used.
Packit a07778
Packit a07778
2012-06-13  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	build: allow building with newer glibc-headers and -O0
Packit a07778
	Commit log and autoconf snippet written by Eric Blake for libvirt.
Packit a07778
Packit a07778
	glibc 2.15 (on Fedora 17) coupled with explicit disabling of
Packit a07778
	optimization during development dies a painful death:
Packit a07778
Packit a07778
	In file included from /usr/include/limits.h:27:0,
Packit a07778
	                 from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h:169,.
Packit a07778
	                 from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/syslimits.h:7,
Packit a07778
	                 from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h:34,
Packit a07778
	                 from util/bitmap.c:26:
Packit a07778
	/usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
Packit a07778
	cc1: all warnings being treated as errors
Packit a07778
Packit a07778
	Work around this by only conditionally defining _FORTIFY_SOURCE,
Packit a07778
	in the case where glibc can actually use it.  The trick is using
Packit a07778
	AH_VERBATIM instead of AC_DEFINE.
Packit a07778
Packit a07778
	* m4/virt-compile-warnings.m4 (LIBVIRT_GLIB_COMPILE_WARNINGS): Squelch
Packit a07778
	_FORTIFY_SOURCE when needed to avoid glibc #warnings.
Packit a07778
Packit a07778
2012-06-04  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	API to get/set domain title
Packit a07778
Packit a07778
2012-06-01  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	glib-events: Allow zero timeouts for timer
Packit a07778
	In libvirt, it's perfectly possible and widely used to have disabled
Packit a07778
	timers (timeout=-1) and fire them up 'randomly' with timeout=0.
Packit a07778
	However, with current mapping into glib mainloop it's not possible
Packit a07778
	and causing troubles.
Packit a07778
Packit a07778
2012-05-25  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	API to deal with topology information of CPU capabilities
Packit a07778
Packit a07778
	Add gvir_config_object_get_attribute_uint64()
Packit a07778
	Another internal libvirt-gconfig helper to get uint64 XML attributes.
Packit a07778
Packit a07778
2012-05-23  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Check arguments to public libvirt-gobject methods
Packit a07778
	Some public methods in libvirt-gobject don't have g_return_if_fail
Packit a07778
	checks on their arguments. It happens that GNOME Boxes tries to call
Packit a07778
	gvir_connection_find_storage_pool_by_name with a NULL GVirConnection
Packit a07778
	causing a crash https://bugzilla.gnome.org/show_bug.cgi?id=676216 While
Packit a07778
	GNOME Boxes needs to be fixed not to pass an invalid value to this
Packit a07778
	function, it's better if libvirt-object sanity checks the argument it is
Packit a07778
	passed by the caller before using them.  In this commit, I've went over
Packit a07778
	all libvirt-gobject public functions to add g_return_if_fail checks
Packit a07778
	where needed.
Packit a07778
Packit a07778
2012-05-22  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add getter for GVirConfigDomainOS.arch
Packit a07778
Packit a07778
2012-05-21  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Check arguments to public GVirConfigObject methods
Packit a07778
	GVirConfigObject public methods don't have g_return_if_fail checks
Packit a07778
	on their arguments. It happens that GNOME Boxes tries to call
Packit a07778
	gvir_config_object_to_xml with a NULL GVirConfigObject causing a
Packit a07778
	crash https://bugzilla.gnome.org/show_bug.cgi?id=676308
Packit a07778
	While GNOME Boxes needs to be fixed not to pass an invalid value
Packit a07778
	to gvir_config_object_to_xml, it's better if libvirt-gconfig sanity
Packit a07778
	checks the argument it is passed by the caller before using them.
Packit a07778
Packit a07778
2012-05-16  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add getter for GVirConfigDomain.virt_type
Packit a07778
Packit a07778
2012-05-15  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Make sure %with_vala is defined for newer RHELs
Packit a07778
	We want to build the vala bindings on recent RHELs. Given than
Packit a07778
	%with_introspection is defined for fedora >= 15 and rhel > 6 which
Packit a07778
	are exactly the versions for which we want to build the vala bindings,
Packit a07778
	and given that the vala bindings are to be disabled when introspection
Packit a07778
	is disabled, we can set %with_vala to the same value as %with_introspection.
Packit a07778
Packit a07778
2012-05-15  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Forgotten fixes to capabilities API test app
Packit a07778
Packit a07778
2012-05-14  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add missing domain OS type enums
Packit a07778
Packit a07778
	Add some tests for new capabilities APIs
Packit a07778
Packit a07778
	Add guest capabilities API
Packit a07778
	Not quite complete but its a good start.
Packit a07778
Packit a07778
	Add host capabilities API
Packit a07778
	Not quite complete but its a good start.
Packit a07778
Packit a07778
2012-05-11  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Make memory-handling more explicit in API doc
Packit a07778
	Explain how the return value of the (transfer full) methods should
Packit a07778
	be freed. I also made some cosmetic changes in the API doc of some
Packit a07778
	of the files as I was modifying them.
Packit a07778
Packit a07778
2012-05-11  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	API to get capabilities from connection
Packit a07778
Packit a07778
	Add gvir_config_domain_os_get_boot_devices()
Packit a07778
Packit a07778
	Allow unsetting of object properties
Packit a07778
	This changes gvir_config_object_attach_replace to accept a NULL
Packit a07778
	child object. Since we need to be able to find the node to remove
Packit a07778
	when this happens, gvir_config_object_attach_replace gets a third
Packit a07778
	argument with the name of the node to add/remove.
Packit a07778
Packit a07778
	Allow unsetting of string properties
Packit a07778
	This changes gvir_config_object_set_node_content to accept a NULL
Packit a07778
	content and to remove the corresponding node when this happens
Packit a07778
Packit a07778
	Add gvir_config_domain_get_os()
Packit a07778
Packit a07778
2012-05-10  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	More internal helpers for GVirConfigObject subclasses
Packit a07778
	- gvir_config_object_get_child()
Packit a07778
	- gvir_config_object_get_child_with_type()
Packit a07778
Packit a07778
2012-05-09  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Correct gvir_config_domain_source_pty_set_path()
Packit a07778
	This function should set 'path' as attribute of 'source' node rather
Packit a07778
	than as child node.
Packit a07778
Packit a07778
2012-05-08  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Remove a redundant struct field
Packit a07778
Packit a07778
2012-05-02  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Corrections to satisfy latest GIR
Packit a07778
Packit a07778
2012-05-02  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Add complete docs for the Libvirt GLib library
Packit a07778
	Flesh out the section intros for each of the Libvirt GLib
Packit a07778
	library modules, providing using examples where needed, and
Packit a07778
	adding any missing function docs.
Packit a07778
Packit a07778
2012-05-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Bump version
Packit a07778
Packit a07778
2012-04-27  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Prep NEWS for 0.0.8 release
Packit a07778
Packit a07778
2012-04-27  Daniel P. Berrange  <dan@berrange.com>
Packit a07778
Packit a07778
	Add Michael to AUTHORS
Packit a07778
Packit a07778
2012-04-27  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add GVirConfigDomainTimerPit class
Packit a07778
Packit a07778
	Add GVirConfigDomainTimerRtc class
Packit a07778
Packit a07778
	Implement gvir_config_domain_clock_add_timer
Packit a07778
Packit a07778
	Implement gvir_config_domain_timer_[gs]et_tick_policy
Packit a07778
Packit a07778
	Make GVirConfigDomainTimer abstract
Packit a07778
	Specialized timer classes will inherit from it
Packit a07778
Packit a07778
2012-04-24  Michal Privoznik  <mprivozn@redhat.com>
Packit a07778
Packit a07778
	test-domain-create: Don't shadow global variable
Packit a07778
	In function create_usb_controller variable 'index' shadows a global
Packit a07778
	declaration.
Packit a07778
Packit a07778
2012-04-19  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add async variant of gvir_domain_get_info()
Packit a07778
Packit a07778
	Correct some minor typos in docs
Packit a07778
Packit a07778
2012-04-18  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Parse GVirConfigDomainRedirdev nodes
Packit a07778
	Update gvir_config_domain_device_new_from_tree to handle
Packit a07778
	GVirConfigDomainRedirdev nodes
Packit a07778
Packit a07778
	Parse GVirConfigDomainController nodes
Packit a07778
	Update gvir_config_domain_device_new_from_tree to handle
Packit a07778
	GVirConfigDomainController nodes. For now, libvirt-gconfig only
Packit a07778
	has a GVirConfigDomainControllerUsb class, so only this type of
Packit a07778
	controllers can be parsed.
Packit a07778
Packit a07778
2012-04-17  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	test-domain-create: set an address for redirdev devices
Packit a07778
Packit a07778
	Implement gvir_config_domain_redirdev_set_address
Packit a07778
Packit a07778
	Implement GVirConfigDomainAddressUsb
Packit a07778
Packit a07778
	Improve USB device creation in test-domain-create
Packit a07778
Packit a07778
	Implement gvir_config_domain_controller_set_address
Packit a07778
Packit a07778
	Implement GVirConfigDomainAddressPci
Packit a07778
	It already has the needed setters.
Packit a07778
Packit a07778
	Add GVirConfigDomainAddress abstract type
Packit a07778
	This is an abstract type which will be the base class for device
Packit a07778
	addresses.
Packit a07778
Packit a07778
	test-domain-create: add USB controller creation
Packit a07778
Packit a07778
	Implement gvir_config_domain_controller_usb_set_master
Packit a07778
Packit a07778
	Add gvir_config_domain_controller_usb_set_model
Packit a07778
Packit a07778
	Add GVirConfigDomainControllerUsb boilerplate
Packit a07778
Packit a07778
	Implement gvir_config_domain_controller_[gs]et_index
Packit a07778
Packit a07778
	Add GVirConfigDomainController skeleton
Packit a07778
Packit a07778
2012-04-12  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Getter/setter for disk source's startupPolicy attribute
Packit a07778
Packit a07778
2012-04-12  Guido Günther  <agx@sigxcpu.org>
Packit a07778
Packit a07778
	Explicitly link conn-test against libvirt-gconfig libvirt-glib
Packit a07778
	otherwise the build fails with:
Packit a07778
Packit a07778
	$ CCLD   conn-test
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_set_error@LIBVIRT_GLIB_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_network_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_storage_pool_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_init_check@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_object_to_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_event_register@LIBVIRT_GLIB_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_init_check@LIBVIRT_GLIB_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_get_devices@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_storage_vol_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_secret_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_interface_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_disk_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_disk_get_target_dev@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_interface_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_node_device_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_device_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_object_get_type@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_error_new_literal@LIBVIRT_GLIB_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_snapshot_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_network_filter_new_from_xml@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_set_error_literal@LIBVIRT_GLIB_0.0.4'
Packit a07778
	../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to `gvir_config_domain_interface_get_ifname@LIBVIRT_GCONFIG_0.0.4'
Packit a07778
	collect2: ld returned 1 exit status
Packit a07778
Packit a07778
	This is caused by a Debian specific libtool change that doesn't emit the
Packit a07778
	dependency_libs in the .la file.
Packit a07778
Packit a07778
2012-04-11  Guido Günther  <agx@sigxcpu.org>
Packit a07778
Packit a07778
	Raise symbol version number
Packit a07778
	since new symbols were introduced since 0.0.4
Packit a07778
Packit a07778
2012-04-04  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Ensure libvirt-gobject-devel pulls in libvirt-devel RPM
Packit a07778
Packit a07778
2012-03-30  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Bump release number
Packit a07778
Packit a07778
	Update NEWS for 0.0.7 release
Packit a07778
Packit a07778
	Update RPM specs to required libvirt 0.9.10
Packit a07778
Packit a07778
	Fix typo s/ACCESS_SQUASHED/ACCESS_SQUASH/
Packit a07778
Packit a07778
	Fix generation of docs in a VPATH builder
Packit a07778
	The DOC_SOURCE_DIR variable was missing the $(top_srcdir) variable
Packit a07778
	so it could not find the source files when run from a VPATH build.
Packit a07778
	Empirically the previous comment saying that $(top_srcdir) was not
Packit a07778
	needed is wrong.
Packit a07778
Packit a07778
2012-03-28  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Do not encode entities in XML attributes
Packit a07778
	libxml2 will properly escape < > and " in XML attribute content. If
Packit a07778
	we use xmlEncodeEntitiesReentrant for attributes, this causes issues
Packit a07778
	with UTF8 filenames (gvir_config_domain_disk_set_source for example):
Packit a07778
	the filename UTF8 characters will be substituted with entities
Packit a07778
	(é -> é), but when it uses this filename, libvirt will use it as
Packit a07778
	is and will fail to find the file.
Packit a07778
	I've tested that with this change gnome-boxes can open ISOs in directories
Packit a07778
	with 'é' in their names, and in directories with '&foo;xx<' in their names.
Packit a07778
Packit a07778
	Remove unneeded call in libvirt-gconfig test
Packit a07778
	Because of a copy and paste error, the test program is making an
Packit a07778
	unneeded call to gvir_config_domain_channel_set_target_type
Packit a07778
	when setting up its USB redirection device.
Packit a07778
Packit a07778
2012-03-22  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Bump version
Packit a07778
Packit a07778
2012-03-14  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add GVirConfigDomainRedirdev
Packit a07778
	This is used to add the SPICE USB redirection channel. Even if
Packit a07778
	the libvirt doc doesn't document it with the other devices deriving
Packit a07778
	from GVirConfigDomainChardev, I think it makes sense to have this
Packit a07778
	class derivers from GVirConfigDomainChardev too since it needs a
Packit a07778
	GVirConfigDomainChardevSource, and it's documented as using a
Packit a07778
	character device for redirection.
Packit a07778
Packit a07778
	Add LibvirtGConfigDomainChardevSourceSpiceVmc
Packit a07778
	This is needed to be able to add the SPICE agent channels
Packit a07778
Packit a07778
2012-03-13  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Fix GVIR_CONFIG_DOMAIN_CHANNEL_TARGET_GUESTFWD name
Packit a07778
	It was called GVIR_CONFIG_DOMAIN_CONSOLE_TARGET_GUESTFWD, which in
Packit a07778
	turn confused glib-mkenums, leading to a wrong value being generated
Packit a07778
	in the XML when trying to use this enumeration.
Packit a07778
Packit a07778
2012-03-12  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Remove the _glib xml helpers
Packit a07778
	The reason for them being there was that they were more expensive
Packit a07778
	than the helpers returning an xmlChar* (additional g_strdup). Now
Packit a07778
	that we are returning a pointer to const data inside the xml node,
Packit a07778
	the _glib helpers only use is to cast from const xmlChar * to
Packit a07778
	const char *. Removing them makes the code simpler.
Packit a07778
Packit a07778
2012-03-12  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	All string getters should return 'const'
Packit a07778
	There is no need for all the memory (de)allocations and especially
Packit a07778
	forcing the app developers to free the strings. They can always
Packit a07778
	g_strdup() the returned string if they need.
Packit a07778
Packit a07778
	Reviewer and co-author: Christophe Fergeau <cfergeau@redhat.com>
Packit a07778
Packit a07778
2012-03-06  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Keep domain devices list sorted
Packit a07778
	While we don't guarantee the order of devices in the list returned from
Packit a07778
	gvir_domain_get_devices(), its not a bad idea to keep them sorted the
Packit a07778
	same way we get them from configuration (XML).
Packit a07778
Packit a07778
2012-03-05  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Release 0.0.6
Packit a07778
Packit a07778
	Distribute GNUmakefile, cfg.mk and maint.mk files
Packit a07778
Packit a07778
2012-03-02  Marc-André Lureau  <marcandre.lureau@redhat.com>
Packit a07778
Packit a07778
	Don't leak GVirStream
Packit a07778
	Do not give away a reference to virStreamEventAddCallback, but manage
Packit a07778
	stream life-time and event instead.
Packit a07778
Packit a07778
	It seems to be a bug in current implementation of libvirt
Packit a07778
	remoteStreamCallbackFree() that doesn't call the free/notify cb for
Packit a07778
	some reason. (even if it did, I am not sure it would work correctly,
Packit a07778
	so I prefer that patch)
Packit a07778
Packit a07778
2012-03-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Correct a check
Packit a07778
Packit a07778
	RFC: Empty statistics for user-mode interfaces
Packit a07778
	One of the limitations of user-mode networking of libvirt is that you
Packit a07778
	can't get statistics for it (not yet, at least). Instead of erroring-out
Packit a07778
	in that case, simply return empty statistics result and spit a debug
Packit a07778
	message.
Packit a07778
Packit a07778
	I will merge this into my 'Remove now redundant 'path' property' patch
Packit a07778
	once someone tells me that this makes sense. :)
Packit a07778
Packit a07778
	Add gvir_domain_get_devices()
Packit a07778
	Currently we only support existing DomainDevice implementations:
Packit a07778
	DomainDisk and DomainInterface.
Packit a07778
Packit a07778
	Remove now redundant 'path' property
Packit a07778
	Remove now redundant 'path' property from GVirDomainDevice subclasses.
Packit a07778
	These classes now have access to their configurations, from which they
Packit a07778
	can easily get the path (among other properties) internally.
Packit a07778
Packit a07778
2012-02-29  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add 'config' property to GVirDomainDevice
Packit a07778
	GVirDomainDevice should have an associated GVirConfigDomainDevice.
Packit a07778
Packit a07778
	Getters for GVirConfigDomainInterface attributes
Packit a07778
Packit a07778
	Add gvir_domain_device_get_domain()
Packit a07778
	Getter for the associated domain of a domain device.
Packit a07778
Packit a07778
	Set correct target node attribute for domain interface
Packit a07778
	gvir_config_domain_interface_set_ifname() should be setting 'dev'
Packit a07778
	attribute under 'target', not 'device'.
Packit a07778
Packit a07778
	Add gvir_domain_disk_resize()
Packit a07778
	Binding for virDomainBlockResize().
Packit a07778
Packit a07778
2012-02-28  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Bump version
Packit a07778
Packit a07778
2012-02-20  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Use strncpy rather than g_utf8_strncpy
Packit a07778
	We need to copy fixed number of bytes (not characters) so use strncpy.
Packit a07778
Packit a07778
2012-02-20  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Add notes for 0.0.5 release
Packit a07778
Packit a07778
2012-02-20  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Fixes to gvir_domain_*save*() docs
Packit a07778
	The saved state of a domain is restored using gvir_domain_start() rather
Packit a07778
	than gvir_domain_resume().
Packit a07778
Packit a07778
2012-02-19  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	API to get node information about the connection
Packit a07778
	Mostly just a wrapper around virNodeGetInfo() and virNodeInfo struct.
Packit a07778
Packit a07778
	Add Flags for use with gvir_domain_delete()
Packit a07778
Packit a07778
2012-02-16  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add more sanity checks to libvirt-gconfig test
Packit a07778
Packit a07778
	Add gvir_config_domain_disk_[gs]et_cache
Packit a07778
Packit a07778
	Fix [gs]et_custom_xml-related leaks
Packit a07778
	I forgot to run the testing code through valgrind before pushing
Packit a07778
	the patches so a few small memory leaks crept in.
Packit a07778
Packit a07778
2012-02-16  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add gvir_domain_get_saved()
Packit a07778
	Binding for virDomainHasManagedSaveImage().
Packit a07778
Packit a07778
	Correct docs for gir_domain_save*()
Packit a07778
	A saved domain is stopped/shutdown on a successful save operation, not
Packit a07778
	suspended.
Packit a07778
Packit a07778
	Tell CC to ignore unused macros
Packit a07778
Packit a07778
2012-02-15  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Avoid triggering deprecation warnings on newest GLib
Packit a07778
Packit a07778
2012-02-14  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add gvir_storage_vol_resize()
Packit a07778
	Add wrapper for virStorageVolResize().
Packit a07778
Packit a07778
	Volume keeps an weak ref to its parent pool
Packit a07778
Packit a07778
2012-02-10  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Rename 'unlink' variable to avoid clash on Win32
Packit a07778
Packit a07778
	Switch over to use GNULIB's compile warning macros
Packit a07778
Packit a07778
	Add missing default: in example program
Packit a07778
Packit a07778
	Simplify condition that is always true
Packit a07778
Packit a07778
	Disable unused macro for debug
Packit a07778
Packit a07778
2012-02-06  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add testcase for gvir_config_domain_[gs]et_custom_xml
Packit a07778
Packit a07778
	API to get/set custom metadata from/to domain config
Packit a07778
	Based on a patch from Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add gvir_config_object_set_namespace helper
Packit a07778
Packit a07778
	Handle namespaces in gvir_config_object_delete_child{ren}
Packit a07778
	These functions now take an additional argument corresponding to
Packit a07778
	a namespace href. It's optional and can be NULL when namespaces
Packit a07778
	should be ignored.
Packit a07778
	The 'child_name' argument can now be NULL in order to remove all nodes
Packit a07778
	belonging to a given namespace.
Packit a07778
Packit a07778
	Factorize xml dumping code
Packit a07778
	Use the new gvir_config_xml_node_to_string to implement
Packit a07778
	gvir_config_object_to_xml, this avoids duplicating this code.
Packit a07778
Packit a07778
	Add gvir_config_xml_node_to_string helper
Packit a07778
Packit a07778
	Make root_node optional in gvir_config_xml_parse
Packit a07778
	It's only used to make some sanity checks on what was just parsed,
Packit a07778
	so allowing NULL root_node is fine.
Packit a07778
Packit a07778
	Fix gvir_config_object_new_from_xml error reporting
Packit a07778
	It's currently failing to report parsing errors if the passed in
Packit a07778
	error is NULL.
Packit a07778
Packit a07778
2012-02-05  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Don't assign const char * to non-const
Packit a07778
	This causes a gcc warning.
Packit a07778
Packit a07778
2012-01-31  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Replace g_error with g_warning in constructors
Packit a07778
	g_error generates a fatal error message, meaning it will abort
Packit a07778
	the currently running process. It's nicer to use g_warning here.
Packit a07778
Packit a07778
	Don't use g_error in xxx_get_name
Packit a07778
	g_error will trigger an abort of the running process so it's not
Packit a07778
	desirable to call it in a library. This commit uses g_warning when
Packit a07778
	this occurs and returns NULL. libvirt will only return NULL for these
Packit a07778
	strings if some kind of memory corruption is going on, or if we are
Packit a07778
	using an invalid pointer.
Packit a07778
Packit a07778
	Add proper error reporting to gvir_storage_vol_get_path
Packit a07778
	gvir_storage_vol_get_name currently call g_error when an error occurs.
Packit a07778
	Since g_error trigger a coredump, calling it in a library is harmful.
Packit a07778
	Replace this with proper GError error reporting.
Packit a07778
Packit a07778
2012-01-26  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Don't loop forever on blank nodes
Packit a07778
Packit a07778
2012-01-20  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Remove 2 unwanted exports
Packit a07778
	These 2 GVirObject helpers are declared in libvirt-gobject-private.h
Packit a07778
	and so shouldn't be exported.
Packit a07778
Packit a07778
	Split gvir_config_object_attach
Packit a07778
	Most of the time we want gvir_config_object_attach to replace
Packit a07778
	existing nodes, but sometimes (for <devices> subnodes) we want
Packit a07778
	it to append the new node and to keep the existing nodes with
Packit a07778
	the same name. This commit solves this by adding 2 distinct helpers,
Packit a07778
	_attach_add and _attach_replace.
Packit a07778
	This should fix some unexpected behaviour of various _set_ functions
Packit a07778
	which were appending new nodes instead of replacing the existing one.
Packit a07778
Packit a07778
	Add gvir_config_object_delete_children
Packit a07778
Packit a07778
	Refactor gvir_config_object_delete_child
Packit a07778
	By changing gvir_config_xml_foreach_child to make it robust against
Packit a07778
	current node deletion in the "foreach" callback, we can use
Packit a07778
	gvir_config_object_foreach_child to implement
Packit a07778
	gvir_config_object_delete_child
Packit a07778
Packit a07778
2012-01-18  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Correct return type of gvir_storage_pool_create_volume()
Packit a07778
Packit a07778
	Handle failure of virDomainIsPersistent() correctly
Packit a07778
	virDomainIsPersistent() failing most probably means that domain is no
Packit a07778
	longer available so flaging it as transient isn't exactly wrong.
Packit a07778
Packit a07778
	API to get/set 'description' node in domain config
Packit a07778
Packit a07778
2012-01-18  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Fix syntax-check violations
Packit a07778
Packit a07778
2012-01-18  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Fix compilation with glib 2.22
Packit a07778
	This commit raises glib required version to 2.22 or newer, adds a few
Packit a07778
	missing functions to libvirt-gobject-compat.h and includes it in the
Packit a07778
	files using these functions.
Packit a07778
Packit a07778
2012-01-16  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Make use of G_PARAM_STATIC_STRINGS everywhere
Packit a07778
Packit a07778
	Add gvir_config_domain_disk_set_readonly()
Packit a07778
Packit a07778
2012-01-16  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Raise libvirt requirement to 0.9.8
Packit a07778
	We are using VIR_DOMAIN_EVENT_SHUTDOWN which was introduced
Packit a07778
	in libvirt 0.9.8. Reflect this requirement by bumping the minimum
Packit a07778
	version of libvirt we require in configure.ac.
Packit a07778
	This issue was reported by Nirbheek Chauhan <nirbheek@gentoo.org>
Packit a07778
Packit a07778
2012-01-13  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Post-release version bump
Packit a07778
Packit a07778
2012-01-13  Marc-André Lureau  <marcandre.lureau@gmail.com>
Packit a07778
Packit a07778
	Fix libvirt error message after finishing a stream
Packit a07778
	The callback is now added & removed from libvirt-gobject-stream.c
Packit a07778
Packit a07778
	It should have been part of c5a239423a215435626bf6d1af75458c5ec03147.
Packit a07778
Packit a07778
	 #0  virErrorMsg (error=VIR_ERR_INTERNAL_ERROR, info=0x7fffffffcf00 "no stream callback registered") at util/virterror.c:760
Packit a07778
	 #1  0x00007ffff627f304 in virReportErrorHelper (domcode=7, errcode=1, filename=0x7ffff6479a4d "rpc/virnetclientstream.c",
Packit a07778
	     funcname=0x7ffff6479ca0 "virNetClientStreamEventRemoveCallback", linenr=514, fmt=<optimized out>) at util/virterror.c:1260
Packit a07778
	 #2  0x00007ffff6339aa4 in virNetClientStreamEventRemoveCallback (st=0x1de8ef0) at rpc/virnetclientstream.c:513
Packit a07778
	 #3  0x00007ffff631a6ba in remoteStreamEventRemoveCallback (st=<optimized out>) at remote/remote_driver.c:3713
Packit a07778
	 #4  0x00007ffff62fe97d in virStreamEventRemoveCallback (stream=0x1db9e00) at libvirt.c:14781
Packit a07778
	 #5  0x00007ffff69114f3 in gvir_stream_update_events (stream=0x1db2570) at libvirt-gobject-stream.c:561
Packit a07778
	 #6  0x00007ffff6911616 in gvir_stream_source_finalize (source=0x1da25e0) at libvirt-gobject-stream.c:606
Packit a07778
Packit a07778
2012-01-12  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Update NEWS & syms files for 0.0.4 release
Packit a07778
Packit a07778
	Support setting target attributes for console & channel devices
Packit a07778
Packit a07778
2012-01-12  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add API to check if domain is persistent
Packit a07778
	Add a predicate and property to check if domain is persistent or not.
Packit a07778
Packit a07778
2012-01-11  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Add support for shutdown event to avoid console warnings
Packit a07778
Packit a07778
	Add support for configuring serial, parallel & channel devices
Packit a07778
	The basic config of serial, parallel & channel devices is just
Packit a07778
	the same as console devices. Add basic stubs for these new
Packit a07778
	devices
Packit a07778
Packit a07778
2012-01-09  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Use g_simple_async_result_is_valid in _finish functions
Packit a07778
	The _finish functions for async operations can be simplified by
Packit a07778
	using g_simple_async_result_is_valid instead of doing the checks
Packit a07778
	it does by ourselves.
Packit a07778
Packit a07778
2012-01-08  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Follow glib conventions for SimpleAsyncResult source tag
Packit a07778
	g_simple_async_result_is_valid() API documentation says that the
Packit a07778
	source tag field for SimpleAsyncResult objects "by convention, is a
Packit a07778
	pointer to the _async function corresponding to the _finish function from
Packit a07778
	which this function is called"
Packit a07778
	The stream functions were already following this convention, but
Packit a07778
	other places were using the sync function name as the source tag.
Packit a07778
	This commit uses the async function name everywhere.
Packit a07778
Packit a07778
2012-01-06  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	API to save and suspend
Packit a07778
	Its just a set of synchronous and asynchronous wrappers around
Packit a07778
	virDomainManagedSave.
Packit a07778
Packit a07778
	API to suspend a domain
Packit a07778
Packit a07778
	Correct namespace prefix for GVirConfig symbols
Packit a07778
	Breaks API and ABI on the fundamental level but lets fix this now while
Packit a07778
	we don't guarantee any API/ABI stability.
Packit a07778
Packit a07778
2012-01-06  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Don't mix g_new0 and g_slice_free
Packit a07778
	There were 2 places where memory was allocated with g_new0 and was
Packit a07778
	later freed with g_slice_free. This commit uses g_slice_new0 instead.
Packit a07778
	After this, there are no other occurrences of g_new0 in gobject/ so
Packit a07778
	the rest of the codebase should be safe from this issue.
Packit a07778
Packit a07778
	Add GVirConfigDomainDisk getters
Packit a07778
Packit a07778
	Add more parsing helpers to GVirConfigObject
Packit a07778
	Add gvir_config_object_get_node_content_genum,
Packit a07778
	gvir_config_object_get_attribute
Packit a07778
	and gvir_config_object_get_attribute_genum to complement the existing
Packit a07778
	methods. They all act on a child node of the current node. The
Packit a07778
	_get_attribute functions can also act on the root node of the
Packit a07778
	GVirConfigObject instance if it's passed NULL instead of a child name.
Packit a07778
Packit a07778
	Implement gvir_config_domain_get_devices
Packit a07778
	There are some devices which we are not able to parse yet, in these
Packit a07778
	cases a runtime debug warning is printed in debug mode to tell what's
Packit a07778
	going on.
Packit a07778
Packit a07778
	Add gvir_config_object_foreach_child helper
Packit a07778
	When iterating over xmlNodePtr children to parse an XML document
Packit a07778
	describing a libvirt configuration item, we want to ignore blank
Packit a07778
	nodes that may have been added to make the initial XML document
Packit a07778
	"more human readable". Since this will be useful in several places,
Packit a07778
	move this code to a helper function.
Packit a07778
Packit a07778
	Add gvir_config_object_new_from_tree
Packit a07778
	This helper function will be useful to create instances of
Packit a07778
	GVirConfigXXX objects when we already have a "top-level" instance
Packit a07778
	(eg to create a GVirConfigDomainDisk using the tree stored in a
Packit a07778
	GVirConfigDomain instance).
Packit a07778
Packit a07778
	Add helpers to parse xml trees
Packit a07778
	This will be helpful to implement GVirConfig getters.
Packit a07778
Packit a07778
	Introduce libvirt-gconfig-private.h
Packit a07778
	This header groups all libvirt-gconfig private headers.
Packit a07778
Packit a07778
	Add {replace,add}_with_attribute
Packit a07778
	These functions may seem very specialized, and the same can easily
Packit a07778
	be achieved with 2 separate API calls, but since this is something
Packit a07778
	that is commonly done, these helpers save quite a few lines of code.
Packit a07778
Packit a07778
	Remove FIXME from gvir_config_domain_filesys_set_driver_type
Packit a07778
	All that was missing to fix it was gvir_config_object_remove_attribute
Packit a07778
	which now exists.
Packit a07778
Packit a07778
	Overwrite attributes in GVirObject::set_attribute
Packit a07778
	Zeeshan reported an issue where calling
Packit a07778
	gvir_config_domain_disk_set_target_dev several times would result in
Packit a07778
	duplicated 'dev' attributes in the resulting XML instead of overwriting
Packit a07778
	the existing 'dev' attribute. Since there are no cases interesting to
Packit a07778
	libvirt-gconfig where having several attributes with the same name is
Packit a07778
	useful, when calling gvir_config_object_set_attribute*, we can just
Packit a07778
	remove attributes with the same names as the one we are setting.
Packit a07778
Packit a07778
	Add gvir_gconfig_object_remove_attribute helper
Packit a07778
Packit a07778
2012-01-04  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add docs for gvir_config_domain_set/get_memory
Packit a07778
	Its not obvious what units these functions deal with so docs are
Packit a07778
	critical for these functions.
Packit a07778
Packit a07778
	Correct gvir_storage_pool_get_volumes' return annotation
Packit a07778
Packit a07778
2012-01-04  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Call gvir_init_config() in GVirConfig test programs
Packit a07778
	While not strictly necessary, this sets up glib logging properly on
Packit a07778
	older glib so that debug logs are not shown by default.
Packit a07778
Packit a07778
2012-01-03  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add gvir_config_domain_graphics_vnc_set_password
Packit a07778
	Based on the similar patch for SPICE
Packit a07778
Packit a07778
2012-01-02  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	API to set SPICE password
Packit a07778
Packit a07778
2011-12-23  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Fix gvir_config_domain_sound_set_model
Packit a07778
	It's creating an unwanted extra <sound> XML node:
Packit a07778
	<sound>
Packit a07778
	  <sound model="xxx">
Packit a07778
	</sound>
Packit a07778
	instead of the correct
Packit a07778
	<sound model="xxx">
Packit a07778
Packit a07778
2011-12-22  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Bump version
Packit a07778
Packit a07778
2011-12-22  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add GVirConfigDomainSound
Packit a07778
Packit a07778
	Add python example for LibvirtGConfig
Packit a07778
Packit a07778
2011-12-19  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Ignore generated .vapi files
Packit a07778
Packit a07778
	Update min libvirt to 0.9.7
Packit a07778
Packit a07778
	Update NEWS for 0.0.3 release
Packit a07778
Packit a07778
	Fix build by exporting missing gvir_config_xml_doc APIs
Packit a07778
Packit a07778
	Update version in all .sym files
Packit a07778
	Since there are ABI changes, update the version in all .sym
Packit a07778
	files to force a rebuild of apps
Packit a07778
Packit a07778
	Add binding for virDomainOpenGraphics
Packit a07778
Packit a07778
	Add binding for virDomainOpenConsole
Packit a07778
Packit a07778
	Add support for configuring network bridges
Packit a07778
Packit a07778
2011-12-15  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add annotations for gvir_stream_add_watch{_full}
Packit a07778
	This should silence this compile warning:
Packit a07778
	  GEN    LibvirtGObject-1.0.gir
Packit a07778
	libvirt-gobject-stream.c:603: Warning: LibvirtGObject:
Packit a07778
	gvir_stream_add_watch: a rgument func: Missing (scope) annotation for
Packit a07778
	callback without GDestroyNotify (v alid: call, async)
Packit a07778
Packit a07778
	This also adds API documentation for these functions.
Packit a07778
Packit a07778
	Add gvir_config_storage_pool_set_pool_type
Packit a07778
Packit a07778
2011-12-13  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add GVirConfigStorage* to creation test
Packit a07778
Packit a07778
	Add methods to link GVirStorage* classes together
Packit a07778
	GVirConfigStorageVolBackingStore and GVirConfigStorageVolTarget can be
Packit a07778
	associated with a GVirConfigStorageVol.
Packit a07778
Packit a07778
	GVirConfigStoragePoolSource and GVirConfigStoragePoolTarget can be
Packit a07778
	associated with a GVirConfigStoragePool.
Packit a07778
Packit a07778
	GVirConfigStoragePermissions can be set on either a
Packit a07778
	GVirConfigStorageVolTarget or a GVirConfigStoragePoolTarget.
Packit a07778
Packit a07778
	Add GVirConfigStoragePermissions setters
Packit a07778
Packit a07778
	Add gvir_config_storage_pool_target_set_path
Packit a07778
Packit a07778
	Add GVirConfigStoragePoolSource setters
Packit a07778
Packit a07778
	Add GVirConfigStorageVolBackingStore setters
Packit a07778
Packit a07778
	Add gvir_config_storage_vol_target_set_format
Packit a07778
Packit a07778
	Add GObject boilerplate for GVirConfigStorage*
Packit a07778
	We'll need several helper classes to implement configuration of
Packit a07778
	storage pools and volumes. This commit introduces all of these
Packit a07778
	in one go. It's just the GObject boilerplate, the actual code will
Packit a07778
	come in other commits. GVirConfigStoragePermissions is namespaced this
Packit a07778
	way because it will be used by both GVirConfigStoragePoolTarget and
Packit a07778
	GVirConfigStorageVolTarget.
Packit a07778
Packit a07778
	Add GVirConfigStoragePool setters
Packit a07778
Packit a07778
	Add some GVirConfigStorageVol setters
Packit a07778
Packit a07778
	Add missing items in GVirConfigDomainVirtType
Packit a07778
	Put all the items available in virDomainVirt
Packit a07778
Packit a07778
	Fix gvir_config_domain_disk_set_target_bus API
Packit a07778
	The bus type is actually an enum, let's reflect that in
Packit a07778
	libvirt-gconfig API
Packit a07778
Packit a07778
	Add GVirConfigDomainInterface setters
Packit a07778
	These attributes are valid for all types deriving from
Packit a07778
	GVirConfigDomainInterface so we add it to the base class.
Packit a07778
Packit a07778
	Add GVirConfigDomainInterfaceUser boilerplate
Packit a07778
Packit a07778
2011-12-07  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add "priority" argument to gvir_stream_add_watch_full
Packit a07778
	This is more consistent with what all the other glib _full APIs
Packit a07778
	are doing.
Packit a07778
Packit a07778
2011-12-07  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Only enable vala for Fedora 16 and later
Packit a07778
Packit a07778
2011-12-06  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Allow cancelling gvir_stream_send_all & gvir_stream_receive_all
Packit a07778
	Add GCancellable parameters to gvir_stream_send_all and
Packit a07778
	gvir_stream_receive_all to allow I/O to be interrupted
Packit a07778
	before completion
Packit a07778
Packit a07778
	Add flags for controling how domains are started
Packit a07778
Packit a07778
	Fix copyright header on chardev related classes
Packit a07778
Packit a07778
	Add vala files to RPM spec
Packit a07778
Packit a07778
2011-12-06  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add test for GVirConfigConsole
Packit a07778
Packit a07778
	Add GVirConfigDomainChardevSourcePty
Packit a07778
Packit a07778
	Implement gvir_config_domain_chardev_add_source
Packit a07778
	This is used to associate a ChardevSource (pty, file, ...) with a
Packit a07778
	Chardev (console, serial, ...).
Packit a07778
Packit a07778
	Introduce GVirConfigDomainChardevSource
Packit a07778
Packit a07778
	Add objects for dealing with <console> devices
Packit a07778
	Add an abstract GVirConfigDomainChardev object for <console>,
Packit a07778
	<serial>, ... devices and a GVirConfigDomainConsole implementation.
Packit a07778
	This needs to be completed with a separate GVirConfigDomainChardevSource
Packit a07778
	inheritance tree which will be specialized to
Packit a07778
	GVirConfigDomainChardevSourcePty, ... and GVirConfigDomainChardev will
Packit a07778
	offer a helper function to attach a GVirConfigDomainChardevSource to
Packit a07778
	a GVirConfigDomainChardev
Packit a07778
Packit a07778
	Use gvir_error_set_literal in more places
Packit a07778
	GVirConnection has some gvir_set_error uses that can be replaced
Packit a07778
	by gvir_set_error_set_literal. When passing a single string, this is
Packit a07778
	safer since we are guaranteed that unwanted printf-format sequences
Packit a07778
	in the string won't cause issues.
Packit a07778
Packit a07778
2011-12-05  Christophe Fergeau  <cfergeau@redhat.com>
Packit a07778
Packit a07778
	Add gvir_config_domain_set_lifecycle
Packit a07778
	This is used to control what happens (restart, stop, ...) to the VM
Packit a07778
	when it crashes, shuts down, ...
Packit a07778
Packit a07778
2011-12-05  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Add wrapper for volume deletion API
Packit a07778
Packit a07778
2011-12-05  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Introduce gvir_set_error (and friends) & convert all code
Packit a07778
	The pattern
Packit a07778
Packit a07778
	    GError **error;
Packit a07778
	    ....
Packit a07778
	    *err = gvir_error_new(...)
Packit a07778
Packit a07778
	is dangerous because 'err' could be NULL, and it is tedious
Packit a07778
	to expect everyone to check. Introduce a new set of APIs
Packit a07778
	for setting errors
Packit a07778
Packit a07778
	    gvir_set_error(err, ...)
Packit a07778
Packit a07778
	and convert all callers to this new pattern
Packit a07778
Packit a07778
2011-12-01  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Update copyright dates s/2010/2010-2011/
Packit a07778
Packit a07778
	Add files for 'make syntax-check' rules from GNULIB
Packit a07778
	The 'syntax-check' rule validates various coding style requirements.
Packit a07778
	It is run as part of the regular automated builds
Packit a07778
Packit a07778
	* GNUmakefile, maint.mk: syntax-check rules (from GNULIB)
Packit a07778
	* cfg.mk: Local extra rules & exclusions
Packit a07778
	* build-aux/useless-if-before-free,
Packit a07778
	  build-aux/vc-list-files: Helpers for syntax check (from
Packit a07778
	  GNULIB)
Packit a07778
	* autobuild.sh: Run syntax-check as part of build
Packit a07778
	* configure.ac: Ensure GNUmakefile exists in VPATH builds
Packit a07778
Packit a07778
	Add <config.h> to test case files
Packit a07778
Packit a07778
	Remove trailing whitespace from autogen.sh
Packit a07778
Packit a07778
	Use test -d FOO && test -d BAR instead of test -d FOO -a -d BAR
Packit a07778
	For greater portability do not rely on the test binary having
Packit a07778
	a -a option
Packit a07778
Packit a07778
	Remove trailing blank lines from all files
Packit a07778
Packit a07778
	Remove use of '@' in makefiles
Packit a07778
	* Makefile.am, python/Makefile.am: Remove use of @FOO@ in favour
Packit a07778
	  of $(FOO)
Packit a07778
Packit a07778
	Fix copyright header  s/Red Hat/Red Hat, Inc./
Packit a07778
Packit a07778
	Remove useless if before xmlFreeDoc
Packit a07778
Packit a07778
	Remove indentation with TABs from autogen.sh & conn-test.py
Packit a07778
Packit a07778
	Ensure that the generated XML is indented in a pretty format
Packit a07778
Packit a07778
	Add more files to ignore list
Packit a07778
Packit a07778
	Add the domain OS type for containers
Packit a07778
Packit a07778
	Add support for <memballoon> configuration
Packit a07778
Packit a07778
	Fix missing backslash in noinst_HEADERS for libvirt-gconfig
Packit a07778
Packit a07778
2011-12-01  Zeeshan Ali (Khattak)  <zeeshanak@gnome.org>
Packit a07778
Packit a07778
	Correct size of GVirStoragePoolInfo.available
Packit a07778
Packit a07778
	Wrap storage volume info API
Packit a07778
Packit a07778
	Wrap storage pool info API
Packit a07778
Packit a07778
2011-12-01  Daniel P. Berrange  <berrange@redhat.com>
Packit a07778
Packit a07778
	Fix file headers / description in gconfig classes
Packit a07778
Packit a07778
	Remove redundant #includes from all gconfig files
Packit a07778
	The #include <string.h> and #include <libxml/tree.h> is not
Packit a07778
	required in the vast majority of files
Packit a07778
Packit a07778
	Add support for setting security labels
Packit a07778
	Add support for the <seclabel> element via a new object
Packit a07778
	GVirConfigDomainSeclabel.
Packit a07778
Packit a07778
	* libvirt-gconfig-domain-seclabel.c, libvirt-gconfig-domain-seclabel.h,
Packit a07778
	  Makefile.am, libvirt-gconfig.h, libvirt-gconfig.sym: New objects
Packit a07778
	* libvirt-gconfig-domain.c, libvirt-gconfig-domain.h: API to
Packit a07778
	  associate seclabel with an domain
Packit a07778
Packit a07778
	Add objects for dealing with SDL and VNC graphics config
Packit a07778
	Add GVirConfigDomainGraphicsSdl and GVirConfigDomainGraphicsVnc
Packit a07778
	Also change SPICE to use a signed int for port number and add
Packit a07778
	ability to set autoport & tls port attributes
Packit a07778
Packit a07778
	* libvirt-gconfig/Makefile.am,
Packit a07778
	  libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c,
Packit a07778
	  libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.h,
Packit a07778
	  libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.c,
Packit a07778
	  libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.h,
Packit a07778
	  libvirt-gconfig/libvirt-gconf