From owner-freebsd-x11@freebsd.org Tue May 7 15:37:42 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D654C158B556 for ; Tue, 7 May 2019 15:37:41 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6F348E652 for ; Tue, 7 May 2019 15:37:39 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oi1-x234.google.com with SMTP id r136so4055111oie.7 for ; Tue, 07 May 2019 08:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JgH/hfyy0LJKhao1U5l2be4lOsyZ0C0wCGT7hYRYUOA=; b=gV3MC/tmzzECo0NjnuuL0ICldryOtl141/lFWBFVjWkPuf81HZmyj6Gy+njfV/5kpN R2Jmg2caXr8XsY+/l/naiWOxyZs46o5hhDYZ4npFMjGOHPfvdb9lxSi/6ydiIzd9kNUE YO45nLT0cojxUq+iovE0gwBuDNZWzRgPiM0UM27KUdwDKRgx9hyt1Uy6p8BnnuIj7FJP J/vRYevvjC1zU9xoZjjQgU6jvVE8OmZlG/Xf7F+4AsPE/fMOk+IUZOlk1qoYgsoYUB9A WfSw3f1ui5SamddIPhBps6uY9JYtMgh2+t3wuSuJiY5gBc9W4LZWh7KFwfhKQqxkSfST u2dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JgH/hfyy0LJKhao1U5l2be4lOsyZ0C0wCGT7hYRYUOA=; b=PsI7JiHy1Ade0GKsuy26xD/z47InsAa6X5VPALQoOJRHOpQAiB37qBTcGLOZJpnsX1 frcC0J0TYFp1/ovynLJGnpA+ORP1jteWBGjEa7D6e6Lf6oMz0CuSQ+OX7bSVhy8GxSQh GFjrtqs4PL2BgVutY9LAhU8CnmmStoRXeBBvAnE5uENsvfGP25h94WLh4ZoiFwgCNeG7 1baoAEoUMw4UiV/rus6Y2hfCDp+mVsR4t/FJb36iCcNcC7QUn3Wk5P7eE4T9NiDLMzPx xeedvpE2/NJSZr3dbavi+oDySx8t5WVBHrRFymAVg0u+AfwYCSgw8xP6SXR/2Q90LfXJ uy/Q== X-Gm-Message-State: APjAAAWX8W+yWUJcw7INP8GHIooJrHpIDWsLSfltlVMEaCyOnbo5Kn76 8IRn2SGxJ5hbWQlViZDn9jHLfg== X-Google-Smtp-Source: APXvYqy8gDEo/zBbpnM+1j+JHG2Uxvodh7LKYLJuUPJK87yFmQqVrRxdXbqf9Qm4GNTVIPDIwnXVrA== X-Received: by 2002:aca:bcc1:: with SMTP id m184mr578648oif.158.1557243458971; Tue, 07 May 2019 08:37:38 -0700 (PDT) Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com. [209.85.210.54]) by smtp.gmail.com with ESMTPSA id c124sm6837414oih.53.2019.05.07.08.37.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 08:37:37 -0700 (PDT) Received: by mail-ot1-f54.google.com with SMTP id 66so5926448otq.0; Tue, 07 May 2019 08:37:37 -0700 (PDT) X-Received: by 2002:a05:6830:1390:: with SMTP id d16mr23258799otq.174.1557243457484; Tue, 07 May 2019 08:37:37 -0700 (PDT) MIME-Version: 1.0 References: <85e11f37-c111-0052-bdcd-d87386a2c49b@gmail.com> <96026bdc-5c60-6724-b96f-5da8aa17d55c@gmail.com> <3F6B7381-976C-416F-8D28-4C669A9AA003@tilda.center> <0135d85a-396e-faf6-bd40-4cd42a4373d0@gmail.com> In-Reply-To: <0135d85a-396e-faf6-bd40-4cd42a4373d0@gmail.com> From: Tomasz CEDRO Date: Tue, 7 May 2019 17:37:25 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: VirtualBox Extensions Pack (for USB and Video) To: Johannes Lundberg Cc: "freebsd-usb@FreeBSD.org" , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: D6F348E652 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=gV3MC/tm X-Spamd-Result: default: False [-6.28 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; MX_GOOD(-0.01)[cached: ASPMX.L.GOOGLE.COM]; RCVD_IN_DNSWL_NONE(0.00)[4.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; IP_SCORE(-2.98)[ip: (-9.34), ipnet: 2607:f8b0::/32(-3.23), asn: 15169(-2.26), country: US(-0.06)] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2019 15:37:42 -0000 On Tue, May 7, 2019 at 5:23 PM Johannes Lundberg wrote: > > Out of curiosity I googled and it seems you might be able to > pass-through the entire USB controller using PCI pass-through. Not sure > it's so practical if you end up loosing input capability on the host > (and also the guest since it's VNC)... Would be nice though if bhyve had > all the required functionality so we'd have a more "native" and open > source solution for all VM needs. In VirtualBox, when you select a given USB device, it is then lost to the Host and re-connected into Guest. Then you can "unselect" the device from a list the disconnect it from Guest and re-connect to the Host. This is for the "on-the-fly" attachments. But some devices needs to be enumerated directly and would not work that way, so you can create a "filter" that would directly attach given USB device into the Guest. Loosing all of the USB Host for the Guest may not be desirable because then I would loose touchscreen, LTE modem, touchpad, etc.. but I am sure @HPS can invent a solution for that problem :-) Another thing would be 2D/3D graphics acceleration in bhyve Guest under Xorg. But if nVidia driver could implement 3D acceleration into Linux Emulation, that could be also implemented into bhyve..? That bhyve stuff sounds really nice! Once again thanks for that great hint! I have to finish some hardware+firmware project and then I would get into bhyve :-) Best regards! :-) Tomek ps/2: I have to check if bhyve can emulate ARM on x86 that would be fun!! -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info