|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [RFC PATCH 5/9] qtest: do not use TCG CPU threads |
Date: | Wed, 18 Jan 2012 12:14:49 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 01/18/2012 11:53 AM, Andreas Färber wrote:
> - if (kvm_enabled()&& !env->thread_kicked) { > + if (!tcg_enabled()&& !env->thread_kicked) { > - if (kvm_enabled()) { > + if (!tcg_enabled()) { > if (kvm_enabled()) { > qemu_kvm_start_vcpu(env); > - } else { > + } else if (tcg_enabled()) { > qemu_tcg_init_vcpu(env); > + } else { > + qemu_dummy_start_vcpu(env); > } Did you keep Xen in mind when changing the logic?
Yes, though I didn't test it. There's no reason why Xen should depend on any TCG code.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |