libxl: add support for migrating HVM guests without a device model
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 7 Dec 2015 16:48:37 +0000 (17:48 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 15 Dec 2015 13:25:44 +0000 (13:25 +0000)
commit18fcef8d62b28766e7b373a71d54bcf7578cea23
treee676b15e6313a507e33fb128ddd3b9bd991faf4f
parent5ca88cb7582a19636646c1a39c739fdbcaf3362a
libxl: add support for migrating HVM guests without a device model

Only some minor libxl changes are needed in order to be able to migrate HVM
guests without a device model, no hypervisor changes are needed.

This change prevents sending the emulator context if the device model
version is set to none.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_dom.c
tools/libxl/libxl_dom_suspend.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_stream_read.c
tools/libxl/libxl_stream_write.c