From owner-freebsd-virtualization@FreeBSD.ORG Mon Nov 11 21:33:33 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6262AB81 for ; Mon, 11 Nov 2013 21:33:33 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3191B295D for ; Mon, 11 Nov 2013 21:33:32 +0000 (UTC) Received: from julian-mbp3.pixel8networks.com (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.7/8.14.7) with ESMTP id rABLXQgh071703 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 11 Nov 2013 13:33:26 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <52814D25.1050603@freebsd.org> Date: Mon, 11 Nov 2013 13:33:25 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Running `sysctl -a` causes crash (Hyper-V) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 21:33:33 -0000 On 11/11/13, 7:49 AM, Pavel Timofeev wrote: > Great, it helped! Thanks a lot! the suggested change suggests fragile code. It should be able to handle unexpected input.. > > 2013/11/11 Sergey Kandaurov : >> On 11 November 2013 18:13, Pavel Timofeev wrote: >>> [...] >>> (kgdb) p vm_guest >>> $1 = 3 >>> Current language: auto; currently minimal >>> (kgdb) >>> >> What if you try this change? >> >> Index: sys/kern/subr_param.c >> =================================================================== >> --- sys/kern/subr_param.c (revision 257695) >> +++ sys/kern/subr_param.c (working copy) >> @@ -153,6 +153,7 @@ >> "none", >> "generic", >> "xen", >> + "hv", >> NULL >> }; > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" >