mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-19 01:24:42 -05:00
qemu: Check for drop-cache capability
QEMU 4.0.0 and newer automatically drops caches at the end of migration. Let's check for this capability so that we can allow migration when disk cache is turned on. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Acked-By: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
@@ -164,6 +164,7 @@
|
||||
<flag name='bitmap-merge'/>
|
||||
<flag name='nbd-bitmap'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>61700758</microcodeVersion>
|
||||
|
||||
@@ -169,6 +169,7 @@
|
||||
<flag name='bitmap-merge'/>
|
||||
<flag name='nbd-bitmap'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>42900758</microcodeVersion>
|
||||
|
||||
@@ -167,6 +167,7 @@
|
||||
<flag name='bitmap-merge'/>
|
||||
<flag name='nbd-bitmap'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
|
||||
@@ -167,6 +167,7 @@
|
||||
<flag name='bitmap-merge'/>
|
||||
<flag name='nbd-bitmap'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
<flag name='query-current-machine'/>
|
||||
<flag name='bitmap-merge'/>
|
||||
<flag name='nbd-bitmap'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100758</microcodeVersion>
|
||||
|
||||
@@ -206,6 +206,7 @@
|
||||
<flag name='nbd-bitmap'/>
|
||||
<flag name='x86-max-cpu'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100758</microcodeVersion>
|
||||
|
||||
@@ -208,6 +208,7 @@
|
||||
<flag name='cpu-unavailable-features'/>
|
||||
<flag name='canonical-cpu-features'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<version>4000050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100759</microcodeVersion>
|
||||
|
||||
Reference in New Issue
Block a user