[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch 1/2] target-i386: support "invariant tsc" flag
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [patch 1/2] target-i386: support "invariant tsc" flag |
Date: |
Tue, 22 Apr 2014 22:11:54 -0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Apr 22, 2014 at 08:26:36PM -0400, Paolo Bonzini wrote:
> Il 22/04/2014 15:10, Marcelo Tosatti ha scritto:
> >+ case 0x80000007:
> >+ *eax = 0;
> >+ *ebx = 0;
> >+ *ecx = 0;
> >+
> >+ if (kvm_enabled()) {
> >+ *edx = env->features[FEAT_8000_0007_EDX];
> >+ } else {
> >+ *edx = 0;
> >+ }
>
> I think TCG is able to eliminate unsupported features too before they
> get in env->features[]. Or are those patches not in yet? Eduardo?
They are not in yet, but while they are not included this filtering
(based on TCG_*_FEATURES macros) should be done in the !kvm_enabled()
block of x86_cpu_realizefn().
--
Eduardo
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, (continued)
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Eduardo Habkost, 2014/04/22
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Marcelo Tosatti, 2014/04/22
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Eduardo Habkost, 2014/04/22
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Paolo Bonzini, 2014/04/24
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Eduardo Habkost, 2014/04/24
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Paolo Bonzini, 2014/04/24
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Eduardo Habkost, 2014/04/24
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Paolo Bonzini, 2014/04/25
[Qemu-devel] [patch 1/2] target-i386: support "invariant tsc" flag, Marcelo Tosatti, 2014/04/22
[Qemu-devel] [patch 0/2] expose invariant tsc flag for kvm guests (v2), Marcelo Tosatti, 2014/04/23
- [Qemu-devel] [patch 1/2] target-i386: support "invariant tsc" flag, Marcelo Tosatti, 2014/04/23
- [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Marcelo Tosatti, 2014/04/23
- Re: [Qemu-devel] [patch 2/2] target-i386: block migration and savevm if invariant tsc is exposed, Eduardo Habkost, 2014/04/23
- [Qemu-devel] target-i386: block migration and savevm if invariant tsc is exposed (v3), Marcelo Tosatti, 2014/04/23
- Re: [Qemu-devel] target-i386: block migration and savevm if invariant tsc is exposed (v3), Eduardo Habkost, 2014/04/24
- Re: [Qemu-devel] target-i386: block migration and savevm if invariant tsc is exposed (v3), Marcelo Tosatti, 2014/04/25
- Re: [Qemu-devel] target-i386: block migration and savevm if invariant tsc is exposed (v3), Eduardo Habkost, 2014/04/25
- Re: [Qemu-devel] target-i386: block migration and savevm if invariant tsc is exposed (v3), Marcelo Tosatti, 2014/04/25