Statistics
| Branch: | Revision:

root / hw / hw.h @ 22486aa0

History | View | Annotate | Download (39 kB)

# Date Author Comment
852f771e 04/22/2011 10:41 pm Juan Quintela

vmstate: port pmtimer

It was a half conversion. Finish it.
enabled can only get values of 0, 1 or 2, was declared as an int but
sent as an unint8_t, change its type.

Signed-off-by: Juan Quintela <>

82fa39b7 03/11/2011 12:12 am Juan Quintela

vmstate: Fix varrays with uint8 indexes

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a624b086 03/11/2011 12:12 am Juan Quintela

vmstate: add UINT32 VARRAYS

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

2a57b6c8 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_STRUCT_VARRAY_INT32

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

15c6a56e 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_INT64_ARRAY

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1283da72 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_STRUCT_VARRAY_UINT32

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

6059631c 03/11/2011 12:12 am Juan Quintela

vmstate: Add a way to send a partial array

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

639f49b6 03/11/2011 12:12 am Juan Quintela

vmstate: be able to store/save a pci device from a pointer

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

f6317a6e 03/11/2011 12:12 am Juan Quintela

vmstate: move timers to use test instead of version

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9122a8fe 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_UINT32_EQUAL

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

47188700 03/03/2011 03:54 pm Dmitry Eremin-Solenikov

vmstate: move VMSTATE_PCIE_AER_ERRS to hw/hw.h

VMSTATE_PCIE_AER_ERRS is indeed useful for other emulation drivers.
Move it to hw/hw.h under the name of VMSTATE_STRUCT_VARRAY_POINTER_UINT16.
Also add VMSTATE_STRUCT_VARRAY_POINTER_INT32 which is more or less...

13801f32 03/03/2011 04:34 am Dmitry Eremin-Solenikov

vmstate: add VMSTATE_STRUCT_ARRAY_TEST

This is a _TEST variant of VMSTATE_STRUCT_ARRAY, necessary e.g.
for future patch changing pxa2xx_timer to use vmstate.

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

c1ecb40a 01/24/2011 06:21 pm Gerd Hoffmann

usb core: add migration support

Yes, seriously. There is no migration support at all for usb devices.
They loose state, especially the device address, and stop responding
because of that. Oops.

Luckily there is so much broken usb hardware out there that the guest...

64b85a8f 01/23/2011 06:21 pm Blue Swirl

Delete useless 'extern' qualifiers for functions

'extern' qualifier is useless for function declarations. Delete
them.

Signed-off-by: Blue Swirl <>

a19cbfb3 12/09/2010 03:23 pm Gerd Hoffmann

spice: add qxl device

qxl is a paravirtual graphics card. The qxl device is the bridge
between the guest and the spice server (aka libspice-server). The
spice server will send the rendering commands to the spice client, which
will actually render them....

3d002df3 12/02/2010 09:13 pm Michael S. Tsirkin

migration: allow rate > 4g

I'd like to disable bandwidth limit or make it very high,
Use int64_t all over to make values >= 4g work.

Signed-off-by: Michael S. Tsirkin <>
Tested-by: Jason Wang <>

cdae5cfb 11/01/2010 04:57 pm Gerd Hoffmann

add VMSTATE_BOOL

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: malc <>

24312968 08/11/2010 12:25 am Cam Macdonell

Support marking a device as non-migratable

A non-migratable device should be removed before migration and re-added after.

Signed-off-by: Cam Macdonell <>
Signed-off-by: Anthony Liguori <>

811814bd 07/27/2010 12:19 am Juan Quintela

vmstate: add subsections code

This commit adds subsections for each device section.
Subsections is the way to handle information that don't need to be sent
to de destination of a migration because its values are not needed. It is
the way to handle optional information. Notice that only the source can...

0be71e32 07/06/2010 06:36 pm Alex Williamson

savevm: Add DeviceState param

When available, we'd like to be able to access the DeviceState
when registering a savevm. For buses with a get_dev_path()
function, this will allow us to create more unique savevm
id strings.

Signed-off-by: Alex Williamson <>...

11165820 06/13/2010 09:00 pm Paul Brook

Move stdbool.h

Move inclusion of stdbool.h to common header files, instead of including
in an ad-hoc manner.

Signed-off-by: Paul Brook <>

cea1adfd 06/13/2010 03:33 pm Jan Kiszka

vmstate: Add VMSTATE_STRUCT_VARRAY_UINT8

Required for hpet.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

4d2ffa08 05/15/2010 05:23 pm Jan Kiszka

vmstate: Add support for alias ID

Some legacy users (mostly PC devices) of vmstate_register manage
instance IDs on their own, and that unfortunately in a way that is
incompatible with automatically generated ones. This so far prevents
switching those users to vmstates that are registered by qdev....

ec86f3e1 05/15/2010 05:02 pm Jan Kiszka

vmstate: Drop unused post_save handler

No device makes use of it anymore.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

37b76cfd 04/09/2010 07:55 pm Paolo Bonzini

move targphys.h and hw/poison.h inclusion to cpu-common.h

With more files from outside the hw/ directory being placed into
libhw, avoid the need to include hw/hw.h for the sake of targ_phys_addr_t.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Aurelien Jarno <>

f327aa0c 12/03/2009 06:48 pm Jan Kiszka

live migration: Propagate output monitor to callback handler

In order to allow proper progress reporting to the monitor that
initiated the migration, forward the monitor reference through the
migration layer down to SaveLiveStateHandler.

Signed-off-by: Jan Kiszka <>...

e61a1e0a 12/03/2009 06:04 pm Juan Quintela

vmstate: Add support for VBUFFERS

Support for buffer that are pointed by a pointer (i.e. not embedded)
where the size that we want to use is a field in the state.
We also need a new place to store where to start in the middle of the
buffer, as now it is a pointer, not the offset of the 1st field....

11fe0e6e 12/03/2009 06:04 pm Juan Quintela

vmstate: Introduce VMSTATE_STRUCT_TEST

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

543fc7b2 12/03/2009 06:04 pm Juan Quintela

vmstate: Introduce VMSTATE_STRUCT_POINTER_TEST

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

2fee4078 12/03/2009 06:04 pm Juan Quintela

vmstate: Introduce UINT16_TEST support

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

bfb811ad 12/03/2009 06:04 pm Juan Quintela

vmstate: remove usused VMSTATE_STRUCT_ARRAY_SIZE_UINT8

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

33599e2a 12/03/2009 06:04 pm Juan Quintela

vmstate: Add support for multiplying size for a constant

When the size that we want to transmit is in another field, but in an
unit different that bytes

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d9494b19 12/03/2009 06:04 pm Jan Kiszka

vmstate: Fix info field of VMSTATE_MACADDR

Signed-off-by: Jan Kiszka <>
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c163b5ca 11/17/2009 04:49 pm lirans@il.ibm.com

Block live migration

This patch introduces block migration called during live migration. Block
are being copied to the destination in an async way. First the code will
transfer the whole disk and then transfer all dirty blocks accumulted during
the migration....

9cae69bd 11/09/2009 04:43 pm Isaku Yamahata

vmstate: introduce VMSTATE_BUFFER_UNSAFE_INFO.

VMSTATE_BUFFER_UNSAFE_INFO for as a buffer with specified VMStateInfo.
It will be used later.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

a9f49946 11/09/2009 04:43 pm Isaku Yamahata

pci: pcie host and mmcfg support.

This patch adds common routines for pcie host bridge and pcie mmcfg.
This will be used by q35 based chipset emulation.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

1ae71a77 10/27/2009 07:28 pm Juan Quintela

vmstate: Add VMSTATE_BUFFER_UNSAFE

Just sent <anything> as a buffer. We put the pointer and the size
code does the rest.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c7bde572 10/27/2009 07:28 pm Juan Quintela

vmstate: Unfold VMSTATE_INT32_VARRAY() only use and remove it

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

bdb4941d 10/27/2009 07:28 pm Juan Quintela

vmstate: add VMS_VARRAY_UINT16_UNSAFE (varrays with uint16 indexes)

It don't check types.
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d4829d49 10/27/2009 07:28 pm Juan Quintela

vmstate: Add version arg to VMSTATE_SINGLE_TEST()

This allows to define VMSTATE_SINGLE with VMSTATE_SINGLE_TEST
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

76507c75 10/27/2009 07:28 pm Juan Quintela

vmstate: Add VMSTATE_BUFFER_UNUSED

It allows to have 'things' in savevm format not backed in the device state
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9e77fcd0 10/27/2009 07:28 pm Juan Quintela

vmstate: Add VMSTATE_MACADDR for the new type

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9ba2f660 10/27/2009 07:28 pm Juan Quintela

vmstate: Introduce the concept of sub-arrays

VMSTATE_SUB_ARRAY(..., start, num, ...) saves the num elems starting at
position start of the array
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

904ca304 10/27/2009 07:28 pm Juan Quintela

vmstate: factor vmstate_offset_value

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c29d8b1e 10/27/2009 07:28 pm Juan Quintela

vmstate: factor vmstate_offset_pointer

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

646bef19 10/27/2009 07:28 pm Juan Quintela

vmstate: factor vmstate_offset_array

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

844b236a 10/27/2009 07:28 pm Juan Quintela

vmstate: factor vmstate_offset_buffer

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

b2e15099 10/27/2009 07:28 pm Juan Quintela

vmstate: factor VMSTATE_*BUFFER* definitions

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d6698281 10/27/2009 07:28 pm Juan Quintela

vmstate: Rename VMS_VARRAY to VMS_VARRAY_INT32

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

5139931f 10/27/2009 07:28 pm Juan Quintela

vmstate: fix indentation

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

eacf610f 10/27/2009 07:28 pm Juan Quintela

vmstate: Add support for partial buffers transmission

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

dc3b83a0 10/27/2009 07:28 pm Juan Quintela

vmstate: add VMSTATE_UINT16_EQUAL[_V]

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

25dc563b 10/27/2009 07:28 pm Juan Quintela

vmstate: add VMSTATE_BUFFER_TEST

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

f11f6a5f 10/05/2009 05:32 pm Juan Quintela

vmstate: Add suppot for field_exist() test

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

f89a8e4e 10/05/2009 05:32 pm Juan Quintela

Add *TL functions to vmstate

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

19df438b 10/05/2009 05:32 pm Juan Quintela

vmstate: add support for arrays of pointers

We need this to send arrays of timers

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

b6bd0bdc 10/05/2009 05:32 pm Juan Quintela

vmstate: add uint8 array

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1894839f 10/05/2009 05:32 pm Juan Quintela

vmstate: create VMSTATE_I2C_SLAVE

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

840e9cef 10/05/2009 05:32 pm Juan Quintela

vmstate: create VMSTATE_STRUCT_POINTER

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

289070c7 10/05/2009 05:32 pm Juan Quintela

vmstate: create VMSTATE_INT16_ARRAY

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d4bfa4d7 10/05/2009 05:32 pm Juan Quintela

vmstate: remove const from pre_save() functions

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

6680f01c 10/05/2009 05:32 pm Juan Quintela

vmstate: Add support for sending partial arrays

This one is needed for changees happening on fdc. It allows you to send
arrays of structs whose size we want to send it is another field with type
uint8_t. (If you have been able to read the whole sentence without...

84e2e3eb 10/05/2009 05:32 pm Juan Quintela

vmstate: remove const for put operations

In a later patch, we introduce pre_save() and post_save() functions.
The whole point of that operation is to change things in the state.
Without this patch, we have to remove the const qualifier in each
use with a cast...

e59fb374 10/05/2009 05:32 pm Juan Quintela

vmstate: add version_id argument to post_load

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

7e72abc3 09/11/2009 07:10 pm Juan Quintela

vmstate: port cirrus_vga device

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

80a04bbe 09/11/2009 07:10 pm Juan Quintela

vmstate: add uint64 array support

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

80cd83e7 09/11/2009 07:10 pm Juan Quintela

vmstate: add support for uint8_t equal

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

632cf073 09/11/2009 07:10 pm Juan Quintela

vmstate: add support for arrays of uint16_t

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1eb7538b 09/11/2009 07:10 pm Juan Quintela

vmstate: add sensible arguments to vmstate_unregister()

vmsd alone is not enugh, because we can have several structs saved with the same description (vmsd).

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

752ff2fa 09/11/2009 07:10 pm Juan Quintela

vmstate: rename run_after_load() -> post_load()

This naming was used in kvm tree, and is easier to remember

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

fd4d52de 09/11/2009 07:10 pm Juan Quintela

vmstate: Add pre_load() hook

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

8fb0791d 09/11/2009 07:10 pm Juan Quintela

vmstate: Add pre/post_save() hooks

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

13f5545d 09/10/2009 02:20 am Juan Quintela

Fix VMSTATE_PCI_DEVICE version

PCI device entries have to have a default version, not 2, because they are
used in the midle of other structures that can have any version number.

We can't use proper versioning here until we have SubSections support.
Why we didn't noticed before? Because in a PC, the only device ported with...

55a6e51f 08/31/2009 10:30 pm Blue Swirl

Add VMState support for ptimers

Signed-off-by: Blue Swirl <>

b00319a9 08/28/2009 04:30 am Juan Quintela

Add VMState support for variable sized arrays

This patch add supports for variable sized arrays whose size is
another field of the state.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

6f67c50f 08/28/2009 04:30 am Juan Quintela

Add VMState support for static sized buffers (uint_8)

This patch adds support for static sized buffer and typecheks that the buffer is right.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

0a031e0a 08/28/2009 04:30 am Juan Quintela

Add VMState support for int32_t check value

We read the saved value and check that it is less or equal than the one
stored in the structure.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

73534f2f 08/28/2009 04:30 am Juan Quintela

Port PCIDevice state to VMState

This uses a variant of buffer, with extra checks. Also uses the new
support for cheking that a read value is less or equal than a field.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

cff09e92 08/28/2009 04:30 am Juan Quintela

Add VMState support to run a function after load

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9ed7d6ae 08/28/2009 04:30 am Juan Quintela

New VMstate save/load infrastructure

This patch introduces VMState infrastructure, to convert the save/load
functions of devices to a table approach. This new approach has the
following advantages:
- it is type-safe
- you can't have load/save functions out of sync...

dde0463b 08/28/2009 04:30 am Juan Quintela

Add VMState support for pointers

This patch adds support for saving pointers to values

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

f752a6aa 08/28/2009 04:30 am Juan Quintela

Add VMState support for arrays

This patch adds support for saving arrays inside the struct

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ec245e21 08/28/2009 04:30 am Juan Quintela

Add VMState support for structs

This patch adds support for saving one VMStateDescription from other
VMStateDescription.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

79c451b9 08/28/2009 04:30 am Juan Quintela

Add VMState support for arrays of structs

This patch add supports for arrays of structs

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

82501660 08/28/2009 04:30 am Juan Quintela

Add VMState support for int32_t check value

We read the saved value and check that it is the same that the one
is stored in the structure.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

5ac1fad3 08/28/2009 03:33 am Paolo Bonzini

add file descriptor migration

Signed-off-by: Paolo Bonzini <>
Cc: Chris Lalancette <>
Signed-off-by: Anthony Liguori <>

7f79dd28 08/24/2009 04:02 pm Paolo Bonzini

unify popen/fopen qemu wrappers

While reading Chris's code for fd migration I noticed the duplication
between QEMUFilePopen and QEMUFileStdio. This fixes it, and makes
qemu_fopen more similar qemu_popen.

Signed-off-by: Paolo Bonzini <>...

76e30d0f 07/16/2009 04:28 pm Jan Kiszka

Move boot_set callback backend

Move registration function for the boot_set callback handler and provide
qemu_boot_set so that it can also be used outside the monitor code.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

dda9b29f 07/16/2009 04:28 pm Jan Kiszka

Add qemu_unregister_reset

Will be used by '-boot once=...', and should also help in other use
cases.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

32993977 07/10/2009 12:06 am Isaku Yamahata

split out ioport related stuffs from vl.c into ioport.c.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

a08d4367 06/29/2009 10:18 pm Jan Kiszka

Revert "Introduce reset notifier order"

This reverts commit 8217606e6edb49591b4a6fd5a0d1229cebe470a9 (and
updates later added users of qemu_register_reset), we solved the
problem it originally addressed less invasively.

Signed-off-by: Jan Kiszka <>...

8a43b1ea 05/27/2009 05:46 pm Chris Lalancette

Allow monitor interaction when using migrate -exec

All,
I've recently been playing around with migration via exec. Unfortunately,
when starting the incoming qemu process with "-incoming exec:cmd", it suffers
the same problem that -incoming tcp used to suffer; namely, that you can't...

8217606e 05/22/2009 06:50 pm Jan Kiszka

Introduce reset notifier order

Add the parameter 'order' to qemu_register_reset and sort callbacks on
registration. On system reset, callbacks with lower order will be
invoked before those with higher order. Update all existing users to the
standard order 0....

19629537 05/22/2009 06:50 pm Glauber Costa

introduce set_rate_limit function for QEMUFile

This patch converts the current callers of qemu_fopen_ops().

Signed-off-by: Glauber Costa <>
Signed-off-by: Anthony Liguori <>

1ad2134f 05/19/2009 06:17 pm Paul Brook

Hardware convenience library

The only target dependency for most hardware is sizeof(target_phys_addr_t).
Build these files into a convenience library, and use that instead of
building for every target.

Remove and poison various target specific macros to avoid bogus target...

41bd13af 04/17/2009 08:10 pm aliguori

Add unregister_savevm() (Mark McLoughlin)

Currently there's no way to unregister a savevm callback, so
e.g. if a NIC is hot-unplugged and a savevm is issued, we'll
segfault.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>...

4dabe248 04/05/2009 10:30 pm aliguori

create qemu_file_set_error (Glauber Costa)

This is mainly for consistency, since we don't want
anything outside of savevm setting it explicitly. There
are current no users of that in qemu tree, but there
are potential candidates on kvm-userspace. And avi...

065e2813 11/11/2008 06:46 pm aliguori

Reintroduce migrate-to-exec: support (Charles Duffy)

KVM's live migration support included support for exec: URLs, allowing system
state to be written or received via an arbitrary popen()ed subprocess. This
provides a convenient way to pipe state through a compression algorithm or an...

c1d36665 10/25/2008 12:55 am aliguori

Live migration for Win32 (Hervé Poussineau)

This patch fixes migration so that it works on Win32. This requires using
socket specific calls since sockets cannot be treated like file descriptors
on win32.

Signed-off-by: Hervé Poussineau <>...

871d2f07 10/13/2008 06:07 am aliguori

Fix some issues with QEMUFile

This patch allows QEMUFile's read and write operations to return
negative error codes. This is necessary to detect things like closed
streams during live migration.

It also removes unused code for QEMUFileFD write path. Finally, it...