]> xenbits.xensource.com Git - libvirt.git/commit
libxl: handle missing switch enum cases
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 14 Feb 2018 09:43:59 +0000 (09:43 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 21 Feb 2018 16:58:03 +0000 (16:58 +0000)
commit072579cf135cd728d4ad9c51275bf8c398693487
tree63be70bb7ca8b0738859567800939448ec02ac35
parent3b558c6b04e5f5a9e159ea29581b8fdf89b06d62
libxl: handle missing switch enum cases

Cast away enum type for libxl scheduler constants since we don't want to
cover all of them and don't want build to break when new ones are added.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/libxl/libxl_driver.c