qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Set number of virtual CPUs in user mode.


From: Peter Maydell
Subject: Re: [Qemu-discuss] Set number of virtual CPUs in user mode.
Date: Mon, 18 Jun 2018 12:16:09 +0100

On 18 June 2018 at 12:11, Rafael Kioji <address@hidden> wrote:
> Hi,
>
> How do I set the number of virtual CPUs in linux-user mode?
>
> In system mode, the flag -smp that allows me to set number of sockets,
> cores, threads, etc... But I have not found such option for linux-user mode.
>
> I want to set it to 1 socket, 1 cpu per socket and 1 thread per cpu.

In linux-user mode we don't model CPUs like that, because
we're just running a single guest linux process. Instead
we simply use one host thread to run each guest thread.
Specifying a number of CPUs would be meaningless.

thanks
-- PMM



reply via email to

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