[vfio-users] Console output on the host stops after launching a VM with vfio GPU

Nick S nick.kvmhv at gmail.com
Mon May 8 23:58:22 UTC 2017


The host console is associated with emulated VGA and indeed becomes just a
useful window to grab/release your keyboard and mouse focus. It is used
during the boot process and displays whatever was the last output before
your OS switched to the passthrough GPU. I am not sure what you are trying
to fix here, it may be possible to completely get rid of this console and
use your passthrough card for boot as well, but overall it works as
designed. You normally need a separate display cable and port to see your
guest output.

On Mon, May 8, 2017 at 4:40 PM, Roman Mamedov <rm at romanrm.net> wrote:

> Hello,
>
> It feels like I'm missing just some small thing...
>
> Got the vfio passthrough working quite easily with a modern GPU, but when I
> launch a VM with the GPU passed through, all console output on the host
> (which is booted to text console, no framebuffer) freezes: even though it's
> still shown on screen, it does not refresh. Keypresses seem to be accepted
> and
> stuff like NumLock or Alt-Sysrq-B works.
>
> Host's primary boot video card is Matrox MGA 2164W [Millennium II].
> Secondary
> GPU (passed through into a VM): NVIDIA GeForce GT 710 (10de:128b).
>
> The guest VM can use the GPU including 3D absolutely fine, it's just that
> the
> host console is frozen.
>
> I set up passthrough with "-vga none -device vfio-pci,host=07:00.0,x-vga=on
> -device vfio-pci,host=07:00.1". Thought maybe x-vga=on is to blame, but
> without that doesn't appear to work properly.
>
> Any ideas how to fix this?
>
> --
> With respect,
> Roman
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20170508/b6f5de04/attachment.htm>


More information about the vfio-users mailing list