Re: VGA pass-through

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Han, Weidong wrote:
[]
Currently VGA pass-through is not supported in KVM. It needs much
work to support it.
What does it need?

Here's what I know of:

- load the vga bios at 0xc0000
- implement whatever main bios interfaces the vga vios expects
- pass through the vga I/O ports

Anything else?

I think it also needs:
  - map video RAM: 0xa0000 - 0xbffff
  - remove Qemu VGA device emulation
- reserve enough guest memory space for PCI BARs (most graphics cards has more than 256M memory, I didn't check how much guest memory kvm reserve for PCI BARs) In addition, some graphics cards are specific, such as pBAR must equal to vBAR. To my feeling, there are some tricks to make it work.

That all seems to be necessary for "console" support, i.e., so that
the guest bios etc will know this device as "primary display" or
whatever it is called.

But how about using it as a "secondary" video card?  Like, I can
plug another add-on vga card into a free PCI slot and tell X to
use that one instead of "default" card.  Can kvm work like this?

Thanks.

/mjt
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux