qemu-xen: disable buffering on the save file for stubdomsxen-4.1.0-rc2xen-4.1.0-rc3
commit6a6ffc07f465d5abc94b45ce6fe389369d1395ab
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 21 Jan 2011 18:01:53 +0000 (21 18:01 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 21 Jan 2011 18:01:53 +0000 (21 18:01 +0000)
treea8beccf08ca9e6e6e08a7321ec00567d7dbe6f60
parentcd080a4f177f2cb61a23ed8dfa5ae546a88529c7
qemu-xen: disable buffering on the save file for stubdoms

We need to issue reads with the exact number of bytes to read the
qemu-xen save file, and to do that this patch disables buffering on all
the savevm reads/writes for stubdoms.

[This is pretty horrid; hopefully there will be better solution for 4.2 -iwj]

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
savevm.c