[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Qemu "-cpu host" option

From: Peter Maydell
Subject: Re: [Qemu-discuss] Qemu "-cpu host" option
Date: Thu, 26 Nov 2015 17:41:46 +0000

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.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]