From owner-freebsd-virtualization@freebsd.org Sun Oct 23 13:29:57 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 497F0C1E0ED for ; Sun, 23 Oct 2016 13:29:57 +0000 (UTC) (envelope-from g4@novadsp.com) Received: from smtp.metamail.co (smtp.metamail.co [217.174.251.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6A50177 for ; Sun, 23 Oct 2016 13:29:55 +0000 (UTC) (envelope-from g4@novadsp.com) Received: from QUAD764 (host81-132-28-171.range81-132.btcentralplus.com [81.132.28.171]) by smtp.metamail.co with ESMTPSA (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256) ; Sun, 23 Oct 2016 14:29:54 +0100 From: To: Subject: bhyve as x64 AMP platform? Date: Sun, 23 Oct 2016 14:29:51 +0100 Message-ID: <007201d22d31$88c38c90$9a4aa5b0$@novadsp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-gb Thread-Index: AdItMYg6LWjVNiD1Q0KWfutWFBzCxQ== X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 23 Oct 2016 13:29:57 -0000 Greetings. I am exploring various possibilities for hard real time machine control running on dedicated x64 processors. The Linux Jailhouse (https://github.com/siemens/jailhouse) project is one means of implementing an AMP solution for x64. Does bhyve offers similar possibilities? In this case the guest can be viewed as a single threaded for(;;) loop that polls the USB3 controller, with the guest locked to a single core etc. (Practically, effectively I think, a subset of the ELF loader code in the fork here: https://github.com/g40/bhyveosvload) The key question, I think, revolves around PCI passthru capabilities. Is it possible to isolate and map specific hardware into the guest whilst running under the hypervisor? In this case it would be highly advantageous _not_ to virtualize the XHCI controller but I am not sure if this can be done within bhyve? I may be way off base here in which case I'll beg your collective indulgence. Any comments on this much appreciated. TIA Jerry