]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Add new VIR_DOMAIN_VIRT_NONE enum
authorShivangi Dhir <shivangi.dhir.02@gmail.com>
Thu, 17 Sep 2015 08:46:55 +0000 (14:16 +0530)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 25 Sep 2015 19:33:53 +0000 (15:33 -0400)
commit62569e45ea060b44e8cae0984c40966559690dfd
treefc5f05f0a85fb8f6197df9fc455a139d29ae762e
parentfd00f0e6c75b00c3d97be8670afcd9094b823855
conf: Add new VIR_DOMAIN_VIRT_NONE enum

Introduce VIR_DOMAIN_VIRT_NONE to give domaintype the default value of zero.
This is specially helpful in constructing better error messages
when we don't want to look up the default emulator by virtType.

The test data in vircapstest.c is also modified to reflect this change.
src/conf/capabilities.c
src/conf/capabilities.h
src/conf/domain_conf.c
src/conf/domain_conf.h
tests/vircapstest.c