[Top][All Lists]

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

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

From: Bandan Das
Subject: Re: [Qemu-discuss] Qemu "-cpu host" option
Date: Thu, 26 Nov 2015 12:39:05 -0500

> On Nov 26, 2015, at 12:33 PM, 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?
Yes. Unless you ask qemu to use kvm instead of tcg and then you will have it 
whatever way kvm is emulating those flags.

> Thanks.
> Regards,
> Abhinav Sharma

reply via email to

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