]> xenbits.xensource.com Git - libvirt.git/commit
conf: Enforce supported options for certain timers
authorPeter Krempa <pkrempa@redhat.com>
Wed, 5 Feb 2014 09:10:14 +0000 (10:10 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 10 Feb 2014 10:17:32 +0000 (11:17 +0100)
commit8ffaa42d7bc42f110ea9015a1c8f5528c3eb3bbf
tree08e1522e362ff56d643172b9f51d7f5d792b9513
parentbbd392ff86249434ca63bb5977d2b1bd2d72a538
conf: Enforce supported options for certain timers

According to the documentation various timer options are only supported
by certain timer types. Add a post parse check to verify that the user
didn't specify invalid options.

Also fix the qemu command line parsing function to set correct default
values for the kvmclock timer so that it passes the new check.
src/conf/domain_conf.c
src/qemu/qemu_command.c