Bug 1416461 - RFE: Use qemu's --only-migratable option
Summary: RFE: Use qemu's --only-migratable option
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-25 14:50 UTC by Dr. David Alan Gilbert
Modified: 2018-07-18 15:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Dr. David Alan Gilbert 2017-01-25 14:50:46 UTC
Description of problem:
As of this morning QEMU now has an option '--only-migratable' where if you try and add a device that's not migratable it errors, e.g.

$ ./x86_64-softmmu/qemu-system-x86_64 --only-migratable -device usb-audio
qemu-system-x86_64: -device usb-audio: Device usb-audio is not migratable, but --only-migratable was specified


$ ./x86_64-softmmu/qemu-system-x86_64 --only-migratable -device virtio-vga -display gtk,gl=on
qemu-system-x86_64: -device virtio-vga: disallowing migration blocker (--only_migratable) for: virgl is not yet migratable

there are also cases where QEMU will stop a device moving into a non-migratable state at run-time when that's enabled.

The idea is that this stops someone accidentally creating an important VM and running it for a while and then only later discovering that they can't migrate it.


Note You need to log in before you can comment on or make changes to this bug.