Hi Jun:
We tried the following way to enable the QEMU-emulated VGA for NVIDIA graphics
pass-through:
1. Assign qemu-emulated VGA resource (0x3C0~0x3DF, 0xA0000~0xC0000) to guest
vista. (This part is similar as what existing QEMU does, we just keep the
logical for VGA operations)
2. Copy Standard VGA bios to 0xC0000~0xD0000, and copy the VIDEO BIOS of NVIDIA
graphics card to 0xD0000~0xE0000.
The tricky issue is that you should not let the VIDEO BIOS of NVIDIA
Graphics card execution in the virtual BIOS of guest, because it will check the
status of physical VGA controller, and it will be in infinite loop.
3. Use standard VGA bios to do initialization of the qemu-emulated VGA
resource, and then the booting progress will be shown in qemu-emulated VGA (SDL
Window).
4. After completing the booting progress, the guest vista will run the VIDEO
BIOS of NVIDIA graphics card to initialize the graphics card. As we known, in
this phase, no VGA output necessary, so the video bios of NVIDIA card only
initialize the 3D related of graphics card. In this phase, you can close the
SDL window.
Thanks
Ben
-----Original Message-----
From: Jun Koi [mailto:junkoi2004@xxxxxxxxx]
Sent: 2009年9月22日 1:06
To: Lin, Ben Y
Cc: Stefano Stabellini; Han, Weidong; xen-devel@xxxxxxxxxxxxxxxxxxx; Kay, Allen
M; Guyader; Keir Fraser; bengheng@xxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH 0/2] graphics passthrough with VT-d
hi Lin,
2009/9/17 Lin, Ben Y <ben.y.lin@xxxxxxxxx>:
> One shortcoming of VGA resource remapping is that the host domain could not
> use console anymore.
>
> Here is what we did before in XEN:
> Pass-through the Discrete graphics card into guest as the primary graphics
> card, and used the emulated VGA controller for this graphics card in the
> guest. In other words, graphics card in the guest = physical graphics card
> (3D computing) + emulated VGA controller.
>
> This solution could avoid of VGA resource remapping, and the host domain
> could use the console as usual.
This is cool! I am wondering how we can separate 3D access and VGA
controller access, so we can direct some access to physical stuff, and
the other to emulated controller??
What is the current status of this project?
Thanks,
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|