]> git.proxmox.com Git - mirror_qemu.git/commit
i386/hyperv: error out if features requested but unsupported
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 30 Mar 2018 17:02:09 +0000 (20:02 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 9 Apr 2018 14:36:38 +0000 (16:36 +0200)
commit1221f1504140b2c4aa56b66ee52c714506a04eed
tree81503d5b55e6c7eacbc9c017f1a495d7266498ae
parent9445597b6a323c5afee7ed33ca2c1913f78a92dc
i386/hyperv: error out if features requested but unsupported

In order to guarantee compatibility on migration, QEMU should have
complete control over the features it announces to the guest via CPUID.

However, for a number of Hyper-V-related cpu properties, if the
corresponding feature is not supported by the underlying KVM, the
propery is silently ignored and the feature is not announced to the
guest.

Refuse to start with an error instead.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Message-Id: <20180330170209.20627-3-rkagan@virtuozzo.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm.c