Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-25 Thread Amit Shah
On (Wed) 25 Jul 2012 [10:06:37], Rusty Russell wrote: > On Tue, 24 Jul 2012 15:01:59 +0200, Sasha Levin > wrote: > > virtio on it's own was introduced to help solve the fragmentation > > around virtualized devices, so I don't think that the main purpose of > > doing virtio drivers is due to any p

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Rusty Russell
On Tue, 24 Jul 2012 15:01:59 +0200, Sasha Levin wrote: > virtio on it's own was introduced to help solve the fragmentation > around virtualized devices, so I don't think that the main purpose of > doing virtio drivers is due to any performance benefits virtio may > provide. There's one argument i

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Sasha Levin
On 07/24/2012 02:46 PM, Dor Laor wrote: > On 07/24/2012 03:30 PM, Sasha Levin wrote: >> On 07/24/2012 10:26 AM, Dor Laor wrote: >>> On 07/24/2012 07:55 AM, Rusty Russell wrote: On Mon, 23 Jul 2012 22:32:39 +0200, Sasha Levin wrote: > As it was discussed recently, there's currently n

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Dor Laor
On 07/24/2012 03:30 PM, Sasha Levin wrote: On 07/24/2012 10:26 AM, Dor Laor wrote: On 07/24/2012 07:55 AM, Rusty Russell wrote: On Mon, 23 Jul 2012 22:32:39 +0200, Sasha Levin wrote: As it was discussed recently, there's currently no way for the guest to notify the host about panics. Further

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Gleb Natapov
On Tue, Jul 24, 2012 at 02:31:25PM +0200, Sasha Levin wrote: > On 07/24/2012 02:28 PM, Gleb Natapov wrote: > > On Tue, Jul 24, 2012 at 02:26:33PM +0200, Sasha Levin wrote: > >> On 07/24/2012 09:44 AM, Gleb Natapov wrote: > >>> On Mon, Jul 23, 2012 at 10:32:39PM +0200, Sasha Levin wrote: > As i

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Sasha Levin
On 07/24/2012 02:28 PM, Gleb Natapov wrote: > On Tue, Jul 24, 2012 at 02:26:33PM +0200, Sasha Levin wrote: >> On 07/24/2012 09:44 AM, Gleb Natapov wrote: >>> On Mon, Jul 23, 2012 at 10:32:39PM +0200, Sasha Levin wrote: As it was discussed recently, there's currently no way for the guest to >>

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Sasha Levin
On 07/24/2012 10:26 AM, Dor Laor wrote: > On 07/24/2012 07:55 AM, Rusty Russell wrote: >> On Mon, 23 Jul 2012 22:32:39 +0200, Sasha Levin >> wrote: >>> As it was discussed recently, there's currently no way for the guest to >>> notify >>> the host about panics. Further more, there's no reasonabl

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Gleb Natapov
On Tue, Jul 24, 2012 at 02:26:33PM +0200, Sasha Levin wrote: > On 07/24/2012 09:44 AM, Gleb Natapov wrote: > > On Mon, Jul 23, 2012 at 10:32:39PM +0200, Sasha Levin wrote: > >> As it was discussed recently, there's currently no way for the guest to > >> notify > >> the host about panics. Further m

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Sasha Levin
On 07/24/2012 09:44 AM, Gleb Natapov wrote: > On Mon, Jul 23, 2012 at 10:32:39PM +0200, Sasha Levin wrote: >> As it was discussed recently, there's currently no way for the guest to >> notify >> the host about panics. Further more, there's no reasonable way to notify the >> host of other critical

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Sasha Levin
On 07/24/2012 06:55 AM, Rusty Russell wrote:> On Mon, 23 Jul 2012 22:32:39 +0200, Sasha Levin wrote: >> As it was discussed recently, there's currently no way for the guest to >> notify >> the host about panics. Further more, there's no reasonable way to notify the >> host of other critical even

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Dor Laor
On 07/24/2012 07:55 AM, Rusty Russell wrote: On Mon, 23 Jul 2012 22:32:39 +0200, Sasha Levin wrote: As it was discussed recently, there's currently no way for the guest to notify the host about panics. Further more, there's no reasonable way to notify the host of other critical events such as a

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-24 Thread Gleb Natapov
On Mon, Jul 23, 2012 at 10:32:39PM +0200, Sasha Levin wrote: > As it was discussed recently, there's currently no way for the guest to notify > the host about panics. Further more, there's no reasonable way to notify the > host of other critical events such as an OOM kill. > > This short patch ser

Re: [RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-23 Thread Rusty Russell
On Mon, 23 Jul 2012 22:32:39 +0200, Sasha Levin wrote: > As it was discussed recently, there's currently no way for the guest to notify > the host about panics. Further more, there's no reasonable way to notify the > host of other critical events such as an OOM kill. I clearly missed the discussi

[RFC 0/2] virtio: provide a way for host to monitor critical events in the device

2012-07-23 Thread Sasha Levin
As it was discussed recently, there's currently no way for the guest to notify the host about panics. Further more, there's no reasonable way to notify the host of other critical events such as an OOM kill. This short patch series introduces a new device named virtio-notifier which does two simple