bhyve Experience from bhyve (FreeBSD 14.1) GPU passthrough with Windows 10 guest

What happens to the host console on the monitor when the GPU is detached? Is the screen cleared or remains frozen until the guest starts using it? If the guest OS does not boot, is the host therefore reachable only over network?
 
I'm not sure if this helps or not, but I ran my workstation (i3/X11 desktop) in a jail and the way that worked was:

1. host was configured on VT 1-3
2. jail (router) was configured on VT 4-5
3. jail (workstation) was configured on VT 6-7

I would switch to VT 6, run startx, and able to get back to VT1 if I needed.

I used this setup to minimize the number of reboots (downtime) as having a much smaller installation resulted in far fewer updates (I created a new BE for every update no matter how small).

Lastly, all machines, physical or virtual were reachable over the network in the event I had issues, but assigning VTs directly made administration quick and painless.
 
I'm not sure if this helps or not, but I ran my workstation (i3/X11 desktop) in a jail and the way that worked was:

1. host was configured on VT 1-3
2. jail (router) was configured on VT 4-5
3. jail (workstation) was configured on VT 6-7

I would switch to VT 6, run startx, and able to get back to VT1 if I needed.

I used this setup to minimize the number of reboots (downtime) as having a much smaller installation resulted in far fewer updates (I created a new BE for every update no matter how small).

Lastly, all machines, physical or virtual were reachable over the network in the event I had issues, but assigning VTs directly made administration quick and painless.
this sounds interesting, how did you do that?
 
this sounds interesting, how did you do that?

I apologize for the late reply, my email is fooey again.

modify /etc/ttys

My installations are scripted, this is a sample "patch" that gets run via the "run" module.

#!/bin/sh

gsed -i 's/^ttyv6/ttyv6 "\/usr\/sbin\/jexec workstation \/usr\/libexec\/getty Pc" xterm onifexists secure/' /etc/ttys
gsed -i 's/^ttyv7/ttyv7 "\/usr\/sbin\/jexec workstation \/usr\/libexec\/getty Pc" xterm onifexists secure/' /etc/ttys
gsed -i 's/^ttyv8/ttyv8 "\/usr\/sbin\/jexec workstation \/usr\/libexec\/getty Pc" xterm onifexists secure/' /etc/ttys

This is assigning tty6,7,8 to the workstation jail. I have another one for my router jail. And my original post:


Thanks SirDice
 
Back
Top