This website requires JavaScript.
Explore
Help
Sign In
External
/
libvirt
Watch
1
Star
0
Fork
0
You've already forked libvirt
mirror of
https://gitlab.com/libvirt/libvirt.git
synced
2024-11-09 06:50:22 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d063389f10
libvirt
/
tests
/
qemuhotplugtestdevices
/
qemuhotplug-ivshmem-plain.xml
4 lines
75 B
XML
Raw
Normal View
History
Unescape
Escape
qemu: add support for shmem-{plain, doorbell} role Role(master or peer) controls how the domain behaves on migration. For more details about migration with ivshmem, see https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/system/ivshmem.rst;hb=HEAD It's a optional attribute in libvirt, and qemu will choose default role for ivshmem device if the user is not specified. With device property 'role', the value can be 'master' or 'peer'. - 'master' (means 'master=on' in qemu), the guest will copy the shared memory on migration to the destination host. - 'peer' (means 'master=off' in qemu), the migration is disabled. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Signed-off-by: Yang Hang <yanghang44@huawei.com> Signed-off-by: Wang Xin <wangxinxin.wang@huawei.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2020-07-24 03:34:11 +00:00
<shmem
name=
'shmem0'
role=
'peer'
>
qemu: Add support for hot/cold-(un)plug of shmem devices This is needed in order to migrate a domain with shmem devices as that is not allowed to migrate. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2016-09-12 13:40:48 +00:00
<model
type=
'ivshmem-plain'
/>
</shmem>
Reference in New Issue
Copy Permalink