> On 21 Jun 2019, at 20:27, Paolo Bonzini <pbonz...@redhat.com> wrote: > > On 21/06/19 17:07, Liran Alon wrote: >>> So, overall I prefer not to block migration. >> I’m not sure I agree. >> It is quite likely that vCPU is currently in guest-mode while you are >> migrating… >> A good hypervisor tries to maximise CPU time to be in guest-mode rather than >> host-mode. :) > > True, but it is even more likely that they are not using KVM at all and > just happen to have the CPUID flag set. :) > > Paolo Since QEMU commit 75d373ef9729 ("target-i386: Disable SVM by default in KVM mode"), An AMD vCPU that is virtualized by KVM don’t expose SVM by default. Even if you use "-cpu host". Therefore, it is unlikely that vCPU expose SVM CPUID flag when user is not running any nSVM workload inside guest. Unless I’m missing something obvious. Otherwise, I would have agreed with you. -Liran
- Re: [Qemu-devel] [PULL 20/25] targ... Liran Alon
- [Qemu-devel] [PULL 08/25] i386/kvm: hv-stimer requires hv-ti... Paolo Bonzini
- [Qemu-devel] [PULL 24/25] util/main-loop: Fix incorrect asse... Paolo Bonzini
- [Qemu-devel] [PULL 23/25] sd: Fix out-of-bounds assertions Paolo Bonzini
- [Qemu-devel] [PULL 10/25] i386/kvm: hv-evmcs requires hv-vap... Paolo Bonzini
- [Qemu-devel] [PULL 22/25] target/i386: kvm: Add nested migra... Paolo Bonzini
- Re: [Qemu-devel] [PULL 22/25] target/i386: kvm: Add nes... Liran Alon
- Re: [Qemu-devel] [PULL 22/25] target/i386: kvm: Add... Paolo Bonzini
- Re: [Qemu-devel] [PULL 22/25] target/i386: kvm:... Liran Alon
- Re: [Qemu-devel] [PULL 22/25] target/i386: ... Paolo Bonzini
- Re: [Qemu-devel] [PULL 22/25] target/i... Liran Alon
- [Qemu-devel] [PULL 09/25] i386/kvm: hv-tlbflush/ipi require ... Paolo Bonzini
- [Qemu-devel] [PULL 11/25] i386/kvm: add support for Direct M... Paolo Bonzini
- [Qemu-devel] [PULL 12/25] target/i386: define a new MSR base... Paolo Bonzini
- [Qemu-devel] [PULL 14/25] KVM: Introduce kvm_arch_destroy_vc... Paolo Bonzini
- [Qemu-devel] [PULL 15/25] target/i386: kvm: Use symbolic con... Paolo Bonzini
- [Qemu-devel] [PULL 19/25] vmstate: Add support for kernel in... Paolo Bonzini
- [Qemu-devel] [PULL 25/25] hw: Nuke hw_compat_4_0_1 and pc_co... Paolo Bonzini
- Re: [Qemu-devel] [PULL v2 00/25] Misc (mostly x86) patches f... no-reply
- Re: [Qemu-devel] [PULL v2 00/25] Misc (mostly x86) patches f... Peter Maydell