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

[Xen-devel] setup_vga_pt seems can not correctly use vgabios.

  • To: <xen-devel@xxxxxxxxxxxxx>
  • From: 成会明 <chm.bj@xxxxxxxxxxx>
  • Date: Tue, 29 Oct 2013 03:23:35 +0800
  • Delivery-date: Mon, 28 Oct 2013 19:24:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

In xen-4.3.0/tools/qemu-xen-traditional/hw/pt-graphics.c,  setup_vga_pt calls get_vgabios to get vgabios of passed-through VGA adapter, but get_vgabios only read bios from /dev/mem,  /dev/mem is domain 0’s memory device. /dev/mem should only contain the vgabios of primary VGA adapter of domain 0.
So if I want to pass through secondary adapter of domain 0 to domain U. setup_vga_pt cannot correctly setup VGABIOS for domain U. Is this correct? Any comments are appreciated.
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.