Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755887Ab2KIUSC (ORCPT ); Fri, 9 Nov 2012 15:18:02 -0500 Received: from mail-ie0-f174.google.com ([209.85.223.174]:33258 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753443Ab2KIUSA (ORCPT ); Fri, 9 Nov 2012 15:18:00 -0500 MIME-Version: 1.0 In-Reply-To: <20121106015835.GA11971@localhost.localdomain> References: <0a2274eccf1b1dd420f16359f7e1de74fa2f9fbe.1351131144.git.hutao@cn.fujitsu.com> <20121031011256.GC12325@amt.cnet> <50908354.5070608@cn.fujitsu.com> <20121106015835.GA11971@localhost.localdomain> From: Sasha Levin Date: Fri, 9 Nov 2012 15:17:39 -0500 Message-ID: Subject: Re: [PATCH v11] kvm: notify host when the guest is panicked To: Hu Tao Cc: Wen Congyang , Marcelo Tosatti , kvm list , qemu-devel , "linux-kernel@vger.kernel.org" , Avi Kivity , "Daniel P. Berrange" , KAMEZAWA Hiroyuki , Jan Kiszka , Gleb Natapov , Blue Swirl , Eric Blake , Andrew Jones , Luiz Capitulino Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1133 Lines: 28 On Mon, Nov 5, 2012 at 8:58 PM, Hu Tao wrote: > But in the case of panic notification, more dependency means more > chances of failure of panic notification. Say, if we use a virtio device > to do panic notification, then we will fail if: virtio itself has > problems, virtio for some reason can't be deployed(neither built-in or > as a module), or guest doesn't support virtio, etc. Add polling to your virtio device. If it didn't notify of a panic but taking more than 20 sec to answer your poll request you can assume it's dead. Actually, just use virtio-serial and something in userspace on the guest. > We choose IO because compared to virtio device, it is not that heavy and > less problematic. Less problematic? Heavy? Are there any known issues with virtio that should be fixed? You make virtio sound like an old IDE drive or something. Thanks, Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/