xemu/docs/specs
Markus Armbruster 62a830b688 ivshmem: Require master to have ID zero
Migration with ivshmem needs to be carefully orchestrated to work.
Exactly one peer (the "master") migrates to the destination, all other
peers need to unplug (and disconnect), migrate, plug back (and
reconnect).  This is sort of documented in qemu-doc.

If peers connect on the destination before migration completes, the
shared memory can get messed up.  This isn't documented anywhere.  Fix
that in qemu-doc.

To avoid messing up register IVPosition on migration, the server must
assign the same ID on source and destination.  ivshmem-spec.txt leaves
ID assignment unspecified, however.

Amend ivshmem-spec.txt to require the first client to receive ID zero.
The example ivshmem-server complies: it always assigns the first
unused ID.

For a bit of additional safety, enforce ID zero for the master.  This
does nothing when we're not using a server, because the ID is zero for
all peers then.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1458066895-20632-40-git-send-email-armbru@redhat.com>
2016-03-21 21:29:03 +01:00
..
acpi_cpu_hotplug.txt
acpi_mem_hotplug.txt
acpi_pci_hotplug.txt
edu.txt
fw_cfg.txt fw_cfg: document ACPI device node information 2016-03-08 12:15:22 +01:00
ivshmem-spec.txt ivshmem: Require master to have ID zero 2016-03-21 21:29:03 +01:00
parallels.txt parallels: add format spec 2015-12-22 16:01:07 +08:00
pci-ids.txt pci-ids: add virtio 1.0 ids to spec 2016-03-11 16:59:11 +02:00
pci-serial.txt
pci-testdev.txt
ppc-spapr-hcalls.txt
ppc-spapr-hotplug.txt
pvpanic.txt
qcow2.txt spec: add qcow2 bitmaps extension specification 2016-02-22 09:49:46 +01:00
qed_spec.txt
rocker.txt
standard-vga.txt
vhost-user.txt vhost-user: clarify start and enable 2015-11-25 13:42:38 +02:00
vmw_pvscsi-spec.txt