]> xenbits.xensource.com Git - libvirt.git/commit
cpu_x86: Properly drop non-migratable features
authorJiri Denemark <jdenemar@redhat.com>
Tue, 28 Jun 2016 09:12:41 +0000 (11:12 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 10 Aug 2016 12:25:24 +0000 (14:25 +0200)
commit1ac897a15da11d1bfca2642bce3b0beaad32bcf1
treee7634d35e605bbe3c5e6c928ff6a3ba8f5af8c86
parentdbb14bb0f1316d92c89541fca816c91dce0dc8fb
cpu_x86: Properly drop non-migratable features

By removing a non-migratable feature in a for loop we would fail to drop
every second non-migratable feature if the features array contained
several of them in a row.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu/cpu_x86.c