Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-26 Thread Sergio Lopez
Christian Borntraeger writes: > On 24.09.19 14:44, Sergio Lopez wrote: >> Microvm is a machine type inspired by both NEMU and Firecracker, and >> constructed after the machine model implemented by the latter. >> >> It's main purpose is providing users a minimalist machine type free >> from the

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-26 Thread Christian Borntraeger
On 24.09.19 14:44, Sergio Lopez wrote: > Microvm is a machine type inspired by both NEMU and Firecracker, and > constructed after the machine model implemented by the latter. > > It's main purpose is providing users a minimalist machine type free > from the burden of legacy compatibility, servi

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Peter Maydell
On Wed, 25 Sep 2019 at 12:33, Philippe Mathieu-Daudé wrote: > > On 9/25/19 7:51 AM, Sergio Lopez wrote: > > Peter Maydell writes: > > > >> On Tue, 24 Sep 2019 at 14:25, Sergio Lopez wrote: > >>> > >>> Microvm is a machine type inspired by both NEMU and Firecracker, and > >>> constructed after th

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Philippe Mathieu-Daudé
On 9/25/19 7:51 AM, Sergio Lopez wrote: > Peter Maydell writes: > >> On Tue, 24 Sep 2019 at 14:25, Sergio Lopez wrote: >>> >>> Microvm is a machine type inspired by both NEMU and Firecracker, and >>> constructed after the machine model implemented by the latter. >>> >>> It's main purpose is prov

Re: when to use virtio (was Re: [PATCH v4 0/8] Introduce the microvm machine type)

2019-09-25 Thread David Hildenbrand
On 25.09.19 13:24, Paolo Bonzini wrote: > On 25/09/19 12:50, David Hildenbrand wrote: >> Can't tell if there might be extensions (if virtio-mem ever comes to >> life ;) ) that might make use of asynchronous communication. Especially, >> there might be asynchronous/multiple guest->host requests at s

Re: when to use virtio (was Re: [PATCH v4 0/8] Introduce the microvm machine type)

2019-09-25 Thread Paolo Bonzini
On 25/09/19 12:50, David Hildenbrand wrote: > Can't tell if there might be extensions (if virtio-mem ever comes to > life ;) ) that might make use of asynchronous communication. Especially, > there might be asynchronous/multiple guest->host requests at some point > (e.g., "I'm nearly out of memory,

Re: when to use virtio (was Re: [PATCH v4 0/8] Introduce the microvm machine type)

2019-09-25 Thread David Hildenbrand
On 25.09.19 12:19, Paolo Bonzini wrote: > This is a tangent, but I was a bit too harsh in my previous message (at > least it made you laugh rather than angry!) so I think I owe you an > explanation. It's hard to make me really angry, you have to try better :) However, after years of working on VMs

when to use virtio (was Re: [PATCH v4 0/8] Introduce the microvm machine type)

2019-09-25 Thread Paolo Bonzini
This is a tangent, but I was a bit too harsh in my previous message (at least it made you laugh rather than angry!) so I think I owe you an explanation. On 25/09/19 10:44, David Hildenbrand wrote: > I consider virtio the silver bullet whenever we want a mature > paravirtualized interface across ar

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread David Hildenbrand
On 25.09.19 11:12, Gerd Hoffmann wrote: > Hi, > >> If you want to add hotplug to microvm, you can reuse the existing code >> for CPU and memory hotplug controllers, and write drivers for them in >> Linux's drivers/platform. The drivers would basically do what the ACPI >> AML tells the interpret

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Paolo Bonzini
On 25/09/19 11:12, Gerd Hoffmann wrote: > Hi, > >> If you want to add hotplug to microvm, you can reuse the existing code >> for CPU and memory hotplug controllers, and write drivers for them in >> Linux's drivers/platform. The drivers would basically do what the ACPI >> AML tells the interpret

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Gerd Hoffmann
Hi, > If you want to add hotplug to microvm, you can reuse the existing code > for CPU and memory hotplug controllers, and write drivers for them in > Linux's drivers/platform. The drivers would basically do what the ACPI > AML tells the interpreter to do. How would the linux kernel detect tho

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread David Hildenbrand
On 25.09.19 10:26, Paolo Bonzini wrote: > On 25/09/19 10:10, Sergio Lopez wrote: >> That would be great. I'm also looking forward for virtio-mem (and an >> hypothetical virtio-cpu) to eventually gain hotplug capabilities in >> microvm. > > I disagree with this. virtio is not a silver bullet (and

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Sergio Lopez
Paolo Bonzini writes: > On 25/09/19 10:10, Sergio Lopez wrote: >> That would be great. I'm also looking forward for virtio-mem (and an >> hypothetical virtio-cpu) to eventually gain hotplug capabilities in >> microvm. > > I disagree with this. virtio is not a silver bullet (and in fact > perhap

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Pankaj Gupta
> >>> Microvm is a machine type inspired by both NEMU and Firecracker, and > >>> constructed after the machine model implemented by the latter. > >>> > >>> It's main purpose is providing users a minimalist machine type free > >>> from the burden of legacy compatibility, serving as a stepping ston

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Paolo Bonzini
On 25/09/19 10:10, Sergio Lopez wrote: > That would be great. I'm also looking forward for virtio-mem (and an > hypothetical virtio-cpu) to eventually gain hotplug capabilities in > microvm. I disagree with this. virtio is not a silver bullet (and in fact perhaps it's just me but I've never under

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread David Hildenbrand
On 25.09.19 10:10, Sergio Lopez wrote: > > David Hildenbrand writes: > >> On 24.09.19 14:44, Sergio Lopez wrote: >>> Microvm is a machine type inspired by both NEMU and Firecracker, and >>> constructed after the machine model implemented by the latter. >>> >>> It's main purpose is providing user

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Sergio Lopez
David Hildenbrand writes: > On 24.09.19 14:44, Sergio Lopez wrote: >> Microvm is a machine type inspired by both NEMU and Firecracker, and >> constructed after the machine model implemented by the latter. >> >> It's main purpose is providing users a minimalist machine type free >> from the burd

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread Pankaj Gupta
> On 24.09.19 14:44, Sergio Lopez wrote: > > Microvm is a machine type inspired by both NEMU and Firecracker, and > > constructed after the machine model implemented by the latter. > > > > It's main purpose is providing users a minimalist machine type free > > from the burden of legacy compatibi

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-25 Thread David Hildenbrand
On 24.09.19 14:44, Sergio Lopez wrote: > Microvm is a machine type inspired by both NEMU and Firecracker, and > constructed after the machine model implemented by the latter. > > It's main purpose is providing users a minimalist machine type free > from the burden of legacy compatibility, serving

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-24 Thread Sergio Lopez
Peter Maydell writes: > On Tue, 24 Sep 2019 at 14:25, Sergio Lopez wrote: >> >> Microvm is a machine type inspired by both NEMU and Firecracker, and >> constructed after the machine model implemented by the latter. >> >> It's main purpose is providing users a minimalist machine type free >> fro

Re: [PATCH v4 0/8] Introduce the microvm machine type

2019-09-24 Thread Peter Maydell
On Tue, 24 Sep 2019 at 14:25, Sergio Lopez wrote: > > Microvm is a machine type inspired by both NEMU and Firecracker, and > constructed after the machine model implemented by the latter. > > It's main purpose is providing users a minimalist machine type free > from the burden of legacy compatibil

[PATCH v4 0/8] Introduce the microvm machine type

2019-09-24 Thread Sergio Lopez
Microvm is a machine type inspired by both NEMU and Firecracker, and constructed after the machine model implemented by the latter. It's main purpose is providing users a minimalist machine type free from the burden of legacy compatibility, serving as a stepping stone for future projects aiming at