]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Add an API for comparing the ABI of two guest configurations
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 27 May 2011 09:47:30 +0000 (10:47 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 31 May 2011 11:14:55 +0000 (12:14 +0100)
commit08106e20448429f1e5e34e8ef7c9047eb13b9261
tree251384024981c020e409ee293519d4f9b2045c82
parent0e4d4afb074f1c809391c31644de377c671dcafb
Add an API for comparing the ABI of two guest configurations

To allow a client app to pass in custom XML during migration
of a guest it is neccessary to ensure the guest ABI remains
unchanged. The virDomainDefCheckABIStablity method accepts
two virDomainDefPtr structs and compares everything in them
that could impact the guest machine ABI

* src/conf/domain_conf.c, src/conf/domain_conf.h,
  src/libvirt_private.syms: Add virDomainDefCheckABIStablity
* src/conf/cpu_conf.c, src/conf/cpu_conf.h: Add virCPUDefIsEqual
* src/util/sysinfo.c, src/util/sysinfo.h: Add virSysinfoIsEqual
src/conf/cpu_conf.c
src/conf/cpu_conf.h
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/util/sysinfo.c
src/util/sysinfo.h