Skip to contentSkip to conversation

is qemu able to run multiple system emulation simultaneously

Qemu-devel G 3 2 participants 4 messages Apr 6, 2017 – Apr 7, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

G 3

author
#1 lore raw
Quoted 7 lines · On Apr 6, 2017, at 12:00 PM, [email protected] wrote:

Dear QEMU developers,

I need multiple ARM-based hardware emulation runing simultaneously in one PC.
I wander if QEMU is capble to run two system emulation at the same time. Or I have to use two QEMU for two system emulation

Quoted 7 lines

If the former is possible, where can i find some docs about it? I have searched two days, the result is not positive.

Please help. Thanks in advance.

Best regards,
Jiahuan

My vote goes to running multiple instances of QEMU at the same time. It is easy to do and works.

#2 lore raw
Quoted 13 lines · On 6 April 2017 at 19:58, G 3 <[email protected]> wrote:

On Apr 6, 2017, at 12:00 PM, [email protected] wrote:

Dear QEMU developers,

Quoted 9 lines

I need multiple ARM-based hardware emulation runing simultaneously in one PC.
I wander if QEMU is capble to run two system emulation at the same time. Or I have to use two QEMU for two system emulation

If the former is possible, where can i find some docs about it? I have searched two days, the result is not positive.

Quoted 9 lines
Quoted 5 lines

Please help. Thanks in advance.

Best regards,
Jiahuan

My vote goes to running multiple instances of QEMU at the same time. It is easy to do and works.

As for as I know, "running multiple instances of QEMU at the same time" is feasible for user-mode emulation, namely emulting CPU, according to
https://en.wikipedia.org/wiki/QEMU.
Wikipedia says
"Virtualization solutions that use QEMU are able to execute multiple virtual CPUs in parallel. QEMU is also able to run multiple threads in user-mode emulation mode.

For full system emulation, QEMU uses a single thread to emulate all the virtual CPUs and hardware. "
However, what I need is system emulation, an ARM processor with various periphrals.

I think Peter is right.

#3 lore raw
Quoted 17 lines · Jiahuan Zhang
Quoted 15 lines · On 6 April 2017 at 19:58, G 3 <[email protected]> wrote:

On Apr 6, 2017, at 12:00 PM, [email protected] wrote:

Dear QEMU developers,

Quoted 11 lines

I need multiple ARM-based hardware emulation runing simultaneously in one PC.
I wander if QEMU is capble to run two system emulation at the same time. Or I have to use two QEMU for two system emulation

If the former is possible, where can i find some docs about it? I have searched two days, the result is not positive.

Please help. Thanks in advance.

Quoted 8 lines
Quoted 7 lines
Quoted 3 lines

Best regards,
Jiahuan

My vote goes to running multiple instances of QEMU at the same time. It is easy to do and works.

Just done a try. Multiple system emulation can be done by running multiple instances of QEMU. You are right! Thanks.

Quoted 17 lines

As for as I know, "running multiple instances of QEMU at the same time" is feasible for user-mode emulation, namely emulting CPU, according to
https://en.wikipedia.org/wiki/QEMU.
Wikipedia says
"Virtualization solutions that use QEMU are able to execute multiple virtual CPUs in parallel. QEMU is also able to run multiple threads in user-mode emulation mode.

For full system emulation, QEMU uses a single thread to emulate all the virtual CPUs and hardware. "
However, what I need is system emulation, an ARM processor with various periphrals.

I think Peter is right.

author
#4 lore raw
Quoted 17 lines · Jiahuan Zhang

On 7 April 2017 at 08:26, Jiahuan Zhang <[email protected]> wrote:
On 6 April 2017 at 19:58, G 3 <[email protected]> wrote:

On Apr 6, 2017, at 12:00 PM, [email protected] wrote:

Dear QEMU developers,

I need multiple ARM-based hardware emulation runing simultaneously in one PC.
I wander if QEMU is capble to run two system emulation at the same time. Or I have to use two QEMU for two system emulation

If the former is possible, where can i find some docs about it? I have searched two days, the result is not positive.

Quoted 8 lines

Please help. Thanks in advance.

Best regards,
Jiahuan

My vote goes to running multiple instances of QEMU at the same time. It is easy to do and works.

Just done a try. Multiple system emulation can be done by running multiple instances of QEMU. You are right! Thanks.

You're welcome.