]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xenconfig: add support for parsing type= xl config entry
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Mon, 26 Nov 2018 19:34:39 +0000 (20:34 +0100)
committerJim Fehlig <jfehlig@suse.com>
Mon, 26 Nov 2018 23:34:55 +0000 (16:34 -0700)
commit494fa1fd1bbfe2ff7cdb5e1eccb1712aa6128dcf
treeb635a6100140d5a218352106da9c1b50b015418f
parent45ea5688abc59b5346337c9efba612dff519e1f4
xenconfig: add support for parsing type= xl config entry

builder="hvm" is deprecated since Xen 4.10, new syntax is type="hvm" (or
type="pv", which is default). Since the old one is still supported,
still use it when writing native config, so the config will work on
older Xen too (and will also not complicate tests).

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
src/xenconfig/xen_common.c
tests/xlconfigdata/test-fullvirt-type.cfg [new file with mode: 0644]
tests/xlconfigdata/test-fullvirt-type.xml [new file with mode: 0644]
tests/xlconfigdata/test-paravirt-type.cfg [new file with mode: 0644]
tests/xlconfigdata/test-paravirt-type.xml [new file with mode: 0644]
tests/xlconfigtest.c