libxl: set the device model version earlier in xenstore
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 8 Apr 2016 16:13:36 +0000 (18:13 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 8 Apr 2016 16:58:02 +0000 (17:58 +0100)
commit53c41d3bfb1e4cd4488ce934dbddd7c1645ac23c
treed6a9155f24115752836da6bc3f4981b1caf7ef98
parent2c8d85bd1510dd50ba245790fe1d4ae49f56da07
libxl: set the device model version earlier in xenstore

So libxl doesn't have to pass the build info around just to get the device
model used by the guest. This allows to simplify
libxl__device_nic_setdefault.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h