From owner-freebsd-emulation@FreeBSD.ORG Sun Jan 9 06:23:48 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2282106564A for ; Sun, 9 Jan 2011 06:23:48 +0000 (UTC) (envelope-from xdong.yi@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3B47C8FC12 for ; Sun, 9 Jan 2011 06:23:47 +0000 (UTC) Received: by bwz12 with SMTP id 12so11042269bwz.13 for ; Sat, 08 Jan 2011 22:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lc82gJl9n2UUVZOtBf3U2ii/HjHPYtLwFvkF2XqJ83w=; b=Z9DDafKg/wqA4Hv1c06/WMsB6n/ZvxTPo3VUJLn7e0h4pQRNK4ab2dSO4OEAqVPf3D dK60c8oaM2w8M78bA6TDxOJ7CT2wQkZ/gcpIU9zfmBP1Q2idMtAMC///P9MWRHvsxbr3 qr+ryiaID0iP2pnsM5AQXpkO0NjbdqvaKnf2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=O38ee+wL11D4SUjphDTH/i4bI1AJRm6dNPRepg7Rg+LyEqXEHZZQnsfcGAPUDQX0VO mzBhnwuN5sjGwGQFPmsC2UewIDaK8gEvOnpKR84VtgT0+bLi85DREs5g8nZn1XSpxOfx AQjl3rTUHMHNbU4gXjvrFAv337i/2VCB9n9Jw= MIME-Version: 1.0 Received: by 10.204.56.194 with SMTP id z2mr10737730bkg.81.1294552903786; Sat, 08 Jan 2011 22:01:43 -0800 (PST) Received: by 10.204.153.20 with HTTP; Sat, 8 Jan 2011 22:01:43 -0800 (PST) In-Reply-To: <20110107213643.GA32645@triton8.kn-bremen.de> References: <20100418191752.GA72730@triton8.kn-bremen.de> <20110107194516.GA28544@triton8.kn-bremen.de> <20110107213643.GA32645@triton8.kn-bremen.de> Date: Sun, 9 Jan 2011 14:01:43 +0800 Message-ID: From: Xiaodong Yi To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org Subject: Re: Testing Luvalley with FreeBSD as dom0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 06:23:48 -0000 Hi, I confirm that I no longer have time for Luvalley. However, I will be extreemly happy if anybody is willing to take over from me. Especially, I quite agree to customize Luvalley for FreeBSD, through it supports all kinds of Dom0 OSes. Howerver, I hope that the LIGHT architecture of Luvalley could be kept. Maybe it is useful to patch dom0 FreeBSD kernel (especially for interrupt handling), but it should not be very complex. Part of the code comes from KVM, and I suggest to keep flying with KVM to make sure that guest VMs work well. Luvalley does boot and run on bare hardware. But it does not taint dom0 FreeBSD. Although the `non-root' mode dom0 FreeBSD kernel has direct access to BIOS and hardware, Luvalley tries hard to coordinate with it. For example, Luvalley traps the BIOS calls from the FreeBSD kernel to report the modified E820 table. Another example is that Luvalley uses NMI as the IPI interrupt to avoid conflict with BSD kernel. And I also believe that simple patches could work if some corners of FreeBSD kernel are tainted. Regards, and looking forward to the following news ... Xiaodong 2011/1/8 Juergen Lock : > On Fri, Jan 07, 2011 at 02:02:57PM -0600, Brandon Gooch wrote: >> On Fri, Jan 7, 2011 at 1:45 PM, Juergen Lock wr= ote: >> > On Mon, Jan 03, 2011 at 08:00:01PM -0600, Adam Vande More wrote: >> >> On Sun, Apr 18, 2010 at 5:54 PM, Xiaodong Yi wro= te: >> >> >> >> > I am very glad that Juergen introduced Luvalley to the FreeBSD >> >> > society. We hope you like the idea of it. And we will be much more >> >> > pleased for the feedbacks. Luvally now is only experimental and may= be >> >> > not stable or low performance. But I will continue working to impro= ve >> >> > it. >> >> > >> >> >> >> Just wondering if there's been any progress here? =A0Is it still unde= r >> >> development on FreeBSD? >> > >> > I probably should have posted here when Xiaodong Yi told me a while >> > ago that he no longer has time for Luvalley. =A0(That mail was some >> > time after I asked him about his last sourceforge release which I >> > couldn't get to run on my hw.) >> > >> > =A0So I guess you can say this project is now looking for new >> > `volunteers'... >> > >> > =A0:/ >> > =A0 =A0 =A0 =A0Juergen >> >> Could Luvalley become BSD licensed? > > I think parts of its code are based on the Linux kvm kernel bits > so I guess those authors would have to agree too besides the > Luvalley author... =A0(The linux kernel is only gplv2 tho not gplv3 > and it seems Linus wants it to stay that way.) > > =A0Oh and also IANAL but since the Luvalley `kernel' (hypervisor) > runs on bare metal and boots any dom0 kernel/os (i.e. Linux or > FreeBSD) pretty much the same way how a pc bios boots them I > somehow doubt it would `taint' the FreeBSD kernel. =A0(And the dom0 > kernel also doesn't need any patches, you only then run the Luvalley > version of qemu-kvm in the dom0's userland.) > > =A0HTH, > =A0 =A0 =A0 =A0Juergen >