Skip to contentSkip to conversation

Boot guest OS on many nodes?

Qemu-devel Steven.G 2 participants 4 messages Jun 3, 2013 – Jun 4, 2013

lore
Share & tools
lore

Steven.G

author
#0 lore raw

Dear all,

I've a scene,
I have many host nodes with linux kernels, and I want to boot one guest OS on all these nodes use QEMU/KVM. In order that I can use all the physical CPUs and Mems distributed on these linux nodes, and the Guest looks like a SMP or shared-memory system.
How can I use QEMU/KVM to achieve this?Any one helps me with some basic ideas.

Best regards

Steven

#1 lore raw
Quoted 9 lines · Steven.G

Dear all,

I've a scene,
I have many host nodes with linux kernels, and I want to boot one guest OS on all these nodes use QEMU/KVM. In order that I can use all the physical CPUs and Mems distributed on these linux nodes, and the Guest looks like a SMP or shared-memory system.
How can I use QEMU/KVM to achieve this?Any one helps me with some basic ideas.

You can't. That's not the way KVM works. You probably want something more along the lines of SSI (single system image).

Quoted 7 lines

Best regards

Steven

author
#2 lore raw

Thanks very much,

Quoted 12 lines · Steven.G
Quoted 9 lines

Dear all,

I've a scene,
I have many host nodes with linux kernels, and I want to boot one guest OS on all these nodes use QEMU/KVM. In order that I can use all the physical CPUs and Mems distributed on these linux nodes, and the Guest looks like a SMP or shared-memory system.
How can I use QEMU/KVM to achieve this?Any one helps me with some basic ideas.

Quoted 2 lines

You can't. That's not the way KVM works. You probably want something more along the lines of SSI (single system image).

If I change the QEMU codes to adapt this using some mechanism like RPC to communicate within nodes, and register CPUs and Mems to the seabios when booting the guest, throw some qemu vcpu threads to remote nodes.

Do I have a chance?

Quoted 9 lines
Quoted 7 lines

Best regards

Steven

#3 lore raw
Quoted 7 lines · Steven.G

Thanks very much,

Quoted 1 line

On Sunday, June 2, 2013 9:37:55 PM CDT, Steven.G wrote: ...

If I change the QEMU codes to adapt this using some mechanism like RPC to communicate within nodes, and register CPUs and Mems to the seabios when booting the guest, throw some qemu vcpu threads to remote nodes.

Do I have a chance?

You would be changing Qemu so deeply, it would hardly be Qemu any more (not to mention that accessing memory/cpu's over a network connection would be ridiculously slow).

Quoted 13 lines
Quoted 10 lines
Quoted 8 lines

Best regards

Steven

...