]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: fix timer configuration
authorJim Fehlig <jfehlig@suse.com>
Mon, 16 Jan 2017 22:37:40 +0000 (15:37 -0700)
committerJim Fehlig <jfehlig@suse.com>
Tue, 24 Jan 2017 23:18:13 +0000 (16:18 -0700)
commit6e4759d0695429e36765f3e1c516939a369799f2
tree7c6b404b5f805458832b268d7a60fa814ea5695f
parent16dd2f030a2db2fd34ec8cb0b8302433f09b4a35
libxl: fix timer configuration

The current logic around configuring timers in libxl based on
virDomainDef object is a bit brain dead. Unsupported timers are
silently ignored and tsc is only recognized if it is the first
timer specified.

Change the logic to reject unsupported timers and honor the tsc
timer regardless of its order when multiple timers are specified.
src/libxl/libxl_conf.c