Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

"Life, loathe it or ignore it, you can't like it." -- Marvin, "Hitchhiker's Guide to the Galaxy"


comp / comp.unix.bsd.freebsd.misc / hardware passthrough?

SubjectAuthor
* hardware passthrough?David Chmelik
`- Re: hardware passthrough?Andreas Kempe

1
Subject: hardware passthrough?
From: David Chmelik
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Fri, 12 Jan 2024 02:21 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dchmelik@gmail.com (David Chmelik)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: hardware passthrough?
Date: Fri, 12 Jan 2024 02:21:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <unq7nu$36n2v$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 Jan 2024 02:21:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c68b4e52c931f448059a7b62c98fdbec";
logging-data="3365983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EN/XDz26obD33Zk2eq2JOtPJ/OpNI+5c="
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:+GvF6H1yM/z73PmW5OffKmoIrKI=
View all headers

Apparently most hardware doesn't 'passthrough' to virtual machines (VM)
such as BHyVe. This is problematic because some doesn't have FreeBSD UNIX
drivers, just Linux kernel drivers, such as 5.25" front bay multi-function
hubs (such as with Alcor Micro Corp chips)... I thought if I could run
something such as Slackware GNU/Linux in VM then I'd get those (USB/etc.)
drivers... is it unlikely ever in future for all hardware to
'passthrough'?

Subject: Re: hardware passthrough?
From: Andreas Kempe
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: Lysator ACS
Date: Tue, 16 Jan 2024 22:58 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!nyheter.lysator.liu.se!.POSTED!not-for-mail
From: kempe@lysator.liu.se (Andreas Kempe)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: hardware passthrough?
Date: Tue, 16 Jan 2024 22:58:42 -0000 (UTC)
Organization: Lysator ACS
Message-ID: <uo71n2$2von$1@nyheter.lysator.liu.se>
References: <unq7nu$36n2v$2@dont-email.me>
Injection-Date: Tue, 16 Jan 2024 22:58:42 -0000 (UTC)
Injection-Info: nyheter.lysator.liu.se; posting-account="kempe";
logging-data="98071"; mail-complaints-to="newsmaster@lysator.liu.se"
User-Agent: slrn/1.0.3 (FreeBSD)
View all headers

Den 2024-01-12 skrev David Chmelik <dchmelik@gmail.com>:
> Apparently most hardware doesn't 'passthrough' to virtual machines (VM)
> such as BHyVe. This is problematic because some doesn't have FreeBSD UNIX
> drivers, just Linux kernel drivers, such as 5.25" front bay multi-function
> hubs (such as with Alcor Micro Corp chips)... I thought if I could run
> something such as Slackware GNU/Linux in VM then I'd get those (USB/etc.)
> drivers... is it unlikely ever in future for all hardware to
> 'passthrough'?

You can pass PCI devices to bhyve hosts. I'm currently using the
wifibox port and passing my Intel WiFi card to a Linux VM to use the
Linux driver. If you are okay with the host not accessing USB devices
on a specific controller, you could pass the entire USB controller to
the VM.

If you want a VM solution with decent USB passthrough of single
devices, you could have a look at Virtualbox. It's in the port tree
and worked fairly well on FreeBSD the last time I used it. Note that
you can NOT run Virtualbox and Bhyve at the same time. Loading bhyve
kernel modules and Virtualbax kernel modules at the same time crashed
my machine last I tried it.

1

rocksolid light 0.9.8
clearnet tor