Files
Olaf Hering 149b321279 unmodified_drivers: unplug the emulated devices at resume time
Since qemu-2.10 it is required to unplug emulated devices again after
a live migration. If this is not done, qemu's block-backend driver
will be unable to open the backing disk image because it is still busy
by qemu's IDE driver. As a result the domUs block-frontend driver will
be unable to access the disks, and the domU has to be destroyed.
libxl is unable to detect the situation.

Apply the same workaround for this qemu bug that was done already
years ago in linux.git with commit 512b109ec962 ("xen: unplug the
emulated devices at resume time") to make sure xenlinux based domUs
can be migrated to unfixed hosts.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Jan Beulich <jbeulich@suse.com>
2018-06-28 09:28:25 +02:00
..
2007-07-12 16:03:41 +01:00
2008-12-09 13:06:19 +00:00

These drivers provide paravirtualised drivers for pre-PVops Linux
kernels which have the classic-Xen patches applied. They do not work
with kernels which are not patched with the classic-Xen patches. In
particular this includes all PVops kernels.

For 2.6.36 and newer you should use the "PVHVM" functionality which is
available in the mainline kernel.

To build do one of:

   ./mkbuildtree [<arch>]
   NB. You can override paths to Xen sources and a (stub) XenLinux
       build tree via the XEN and XL environment variable.

- or -
   make -C /path/to/kernel/build M=$PWD modules
   NB. This is your native kernel build tree (or a distro provided
       stub), not the XenLinux sources referred to in step 1.
   NB. If you are cross compiling, you need to set ARCH and
       CROSS_COMPILE too.

You get four modules, xen-platform-pci.ko, xen-vbd.ko, xen-vnif.ko and
xen-balloon.ko.  Load xen-platform-pci first, and then
whichever of xen-vbd, xen-vnif and xen-balloon.ko you happen to need.