]> xenbits.xensource.com Git - libvirt.git/commit
libxl: support enabling and disabling <hap> feature
authorJim Fehlig <jfehlig@suse.com>
Tue, 23 Feb 2016 03:06:57 +0000 (20:06 -0700)
committerJim Fehlig <jfehlig@suse.com>
Mon, 21 Mar 2016 15:28:18 +0000 (09:28 -0600)
commit6ce9b85dee375de371274274ffcab5e91ab0f359
tree8154eb575ba0b71beca7c7aaa73f5140f15aa42a
parent10c3db7308ca765ec1072a36c5b5da75eaf6970a
libxl: support enabling and disabling <hap> feature

Until now, the libxl driver ignored any <hap> setting in domain XML
and deferred to libxl, which enables hap if not specified. While
this is a good default, it prevents disabling hap if desired.

This change allows disabling hap with <hap state='off'/>. hap is
explicitly enabled with <hap/> or <hap state='on/>. Absense of <hap>
retains current behavior of deferring default state to libxl.
src/libxl/libxl_conf.c