|
From: | Abhinav Sharma |
Subject: | Re: [Qemu-stable] [Qemu-discuss] Qemu "-cpu host" option |
Date: | Thu, 26 Nov 2015 23:16:52 +0530 |
On 26 November 2015 at 17:33, Abhinav Sharma <address@hidden> wrote:
> Hi,
> What does Qemu do when invoked using "-cpu host" option that sets target CPU
> same as the host CPU?
>
> Is it that when this option is used Qemu performs no binary translation?
> Because the target CPU is same as host CPU, code compiled for target CPU may
> run directly on host CPU.
>
> Or does Qemu discover the configuration of host CPU, automatically use the
> most appropriate flag and cpu values, and use binary translation anyway?
That depends what target architecture you're using. For instance for
ARM targets, "-cpu host" is only valid if KVM is enabled and is an
error otherwise.
thanks
-- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |