All of lore.kernel.org
 help / color / mirror / Atom feed
* Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
@ 2009-09-06 22:23 Mr. Teo En Ming (Zhang Enming)
  2009-09-07  9:40 ` Teo En Ming (Zhang Enming)
  0 siblings, 1 reply; 9+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-09-06 22:23 UTC (permalink / raw)
  To: xen-devel
  Cc: 'timothy.moore@expidas.net',
	enming.teo, Han, Weidong, bderzhavets, djmagee, bengheng

Dear All,

I have made a two-part video series on VGA pass through using Xen 
virtualization and Intel VT-d. These are home-made videos so please bear 
with me :-)

Please check out my blog at 
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/video-presentation-on-pci-express-x16.html 
for the two-part videos and additional details.

Thank you very much for viewing.

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Company Website: http://www.asiasoft.sg/
Mobile: +65-9648-9798
MSN: teoenming@hotmail.com
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Video Presentation on PCI Express x16 VGA PassThrough to Xen-based Windows XP Home Edition HVM Virtual Machine
@ 2009-09-08  0:51 Mr. Teo En Ming (Zhang Enming)
  2009-09-08  2:02 ` Video Presentation on PCI Express x16 VGA PassThroughto " Teo En Ming (Zhang Enming)
  0 siblings, 1 reply; 9+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-09-08  0:51 UTC (permalink / raw)
  To: weidong.han
  Cc: 'xen-devel@lists.xensource.com',
	'timothy.moore@expidas.net',
	'bengheng@eecs.umich.edu'


[-- Attachment #1.1: Type: text/plain, Size: 10977 bytes --]


Hi Weidong,

Here are my Youtube video presentation links:

http://www.youtube.com/watch?v=HNEiSInrav0

http://www.youtube.com/watch?v=_hOT_9LIG5w

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Company Website: http://www.asiasoft.sg/
Mobile: +65-9648-9798
MSN: teoenming@hotmail.com
Alma Maters: Singapore Polytechnic, National University of Singapore



On 09/08/2009 08:46 AM, Han, Weidong wrote:
> I tried nVidia GeForce 8400 GS on Q35. I didn't see that message. BTW,
> I cannot access your video URL.
> Regards,
> Weidong
>
> ------------------------------------------------------------------------
> *From:* Mr. Teo En Ming (Zhang Enming)
> [mailto:enming.teo@asiasoftsea.net]
> *Sent:* 2009年9月8日 8:08
> *To:* enming.teo@asiasoftsea.net
> *Cc:* timothy.moore@expidas.net; xen-devel@lists.xensource.com; Han,
> Weidong; bengheng@eecs.umich.edu
> *Subject:* Re: [Xen-devel] Video Presentation on PCI Express x16 VGA
> PassThrough to Xen-based Windows XP Home Edition HVM Virtual Machine
>
> Hi Weidong,
>
> Are you also using nVidia GeForce 8400 GS PCI-E x16 with Intel DQ45CB
> as well?
>
> -- 
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
> Technical Support Engineer 
> Information Technology Department
> Asiasoft Online Pte Ltd
> Tampines Central 1 #04-01 Tampines Plaza 
> Singapore 529541
> Republic of Singapore
> Company Website: http://www.asiasoft.sg/
> Mobile: +65-9648-9798
> MSN: teoenming@hotmail.com
> Alma Maters: Singapore Polytechnic, National University of Singapore
>
>
> On 09/08/2009 07:54 AM, Mr. Teo En Ming (Zhang Enming) wrote:
>> All other things being equal, then it must be the differences between
>> our graphics card.
>>
>> What motherboard are you using?
>>
>> Can you do a video presentation as well?
>>
>> -- 
>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
>> Technical Support Engineer 
>> Information Technology Department
>> Asiasoft Online Pte Ltd
>> Tampines Central 1 #04-01 Tampines Plaza 
>> Singapore 529541
>> Republic of Singapore
>> Company Website: http://www.asiasoft.sg/
>> Mobile: +65-9648-9798
>> MSN: teoenming@hotmail.com
>> Alma Maters: Singapore Polytechnic, National University of Singapore
>>
>>
>> On 09/07/2009 11:45 PM, Tim Moore wrote:
>>>
>>> Version 1 still,
>>>
>>> Kernel 2.6.18 or pvops rc6 worked for me -
>>>
>>> *From:* Mr. Teo En Ming (Zhang Enming)
>>> [mailto:enming.teo@asiasoftsea.net]
>>> *Sent:* 07 September 2009 16:03
>>> *To:* enming.teo@asiasoftsea.net
>>> *Cc:* xen-devel@lists.xensource.com; bengheng@eecs.umich.edu; Han,
>>> Weidong; Tim Moore
>>> *Subject:* Re: [Xen-devel] Video Presentation on PCI Express x16 VGA
>>> PassThrough to Xen-based Windows XP Home Edition HVM Virtual Machine
>>>
>>>
>>> Hi Timothy,
>>>
>>> Are you using the Intel gfx passthrough Version 1 or Version 2 patches?
>>>
>>> I am still using Version 1 patches.
>>>
>>> -- 
>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
>>> Technical Support Engineer 
>>> Information Technology Department
>>> Asiasoft Online Pte Ltd
>>> Tampines Central 1 #04-01 Tampines Plaza 
>>> Singapore 529541
>>> Republic of Singapore
>>> Company Website: http://www.asiasoft.sg/
>>> Mobile: +65-9648-9798
>>> MSN: teoenming@hotmail.com <mailto:teoenming@hotmail.com>
>>> Alma Maters: Singapore Polytechnic, National University of Singapore
>>>
>>>
>>>
>>> On 09/07/2009 10:56 PM, Mr. Teo En Ming (Zhang Enming) wrote:
>>>
>>> Hi,
>>>
>>> Here is my "xm dmesg" output. Important lines have been bolded and
>>> underlined.
>>>
>>> *_(XEN) [VT-D]iommu.c:1292:d0 domain_context_unmap:PCIe: bdf = 1:0.0
>>> (XEN) [VT-D]iommu.c:1178:d0 domain_context_mapping:PCIe: bdf = 1:0.0_*
>>> (XEN) domctl.c:887:d0 ioport_map:add f_gport=3b0 f_mport=3b0 np=c
>>> (XEN) domctl.c:887:d0 ioport_map:add f_gport=3c0 f_mport=3c0 np=20
>>> (XEN) domctl.c:836:d0 memory_map:add: gfn=a0 mfn=a0 nr_mfns=20
>>> (XEN) [VT-D]io.c:284:d0 VT-d irq bind: m_irq = 37 device = 4 intx = 0
>>> (XEN) HVM1: HVM Loader
>>> (XEN) HVM1: Detected Xen v3.5-unstable
>>> (XEN) HVM1: CPU speed is 2800 MHz
>>> (XEN) irq.c:243: Dom1 PCI link 0 changed 0 -> 5
>>> (XEN) HVM1: PCI-ISA link 0 routed to IRQ5
>>> (XEN) irq.c:243: Dom1 PCI link 1 changed 0 -> 10
>>> (XEN) HVM1: PCI-ISA link 1 routed to IRQ10
>>> (XEN) irq.c:243: Dom1 PCI link 2 changed 0 -> 11
>>> (XEN) HVM1: PCI-ISA link 2 routed to IRQ11
>>> (XEN) irq.c:243: Dom1 PCI link 3 changed 0 -> 5
>>> (XEN) HVM1: PCI-ISA link 3 routed to IRQ5
>>> (XEN) HVM1: pci dev 01:2 INTD->IRQ5
>>> (XEN) HVM1: pci dev 01:3 INTA->IRQ10
>>> (XEN) HVM1: pci dev 02:0 INTA->IRQ11
>>> (XEN) HVM1: pci dev 03:0 INTA->IRQ5
>>> *_(XEN) HVM1: Make vBAR = pBAR of assigned gfx_*
>>> (XEN) domctl.c:836:d0 memory_map:add: gfn=d2000 mfn=d2000 nr_mfns=1000
>>> (XEN) domctl.c:836:d0 memory_map:add: gfn=c0000 mfn=c0000 nr_mfns=10000
>>> (XEN) domctl.c:836:d0 memory_map:add: gfn=d0000 mfn=d0000 nr_mfns=2000
>>> (XEN) domctl.c:887:d0 ioport_map:add f_gport=d000 f_mport=d000 np=80
>>> (XEN) HVM1: pci dev 02:0 bar 14 size 01000000: e0000008
>>> (XEN) HVM1: pci dev 02:0 bar 10 size 00000100: 0000c001
>>> (XEN) HVM1: pci dev 03:0 bar 10 size 00000100: 0000c101
>>> (XEN) HVM1: pci dev 03:0 bar 14 size 00000100: e1000000
>>> (XEN) HVM1: pci dev 01:2 bar 20 size 00000020: 0000c201
>>> (XEN) HVM1: pci dev 01:1 bar 20 size 00000010: 0000c221
>>> (XEN) HVM1: Multiprocessor initialisation:
>>> (XEN) HVM1: - CPU0 ... 36-bit phys ... fixed MTRRs ... var MTRRs
>>> [3/8] ... done.
>>> (XEN) HVM1: - CPU1 ... 36-bit phys ... fixed MTRRs ... var MTRRs
>>> [3/8] ... done.
>>> (XEN) HVM1: Testing HVM environment:
>>> (XEN) HVM1: - REP INSB across page boundaries ... passed
>>> (XEN) HVM1: - GS base MSRs and SWAPGS ... passed
>>> (XEN) HVM1: Passed 2 of 2 tests
>>> (XEN) HVM1: Writing SMBIOS tables ...
>>> (XEN) HVM1: Loading ROMBIOS ...
>>> (XEN) HVM1: 11900 bytes of ROMBIOS high-memory extensions:
>>> (XEN) HVM1: Relocating to 0xfc000000-0xfc002e7c ... done
>>> (XEN) HVM1: Creating MP tables ...
>>> *_(XEN) HVM1: Loading VGABIOS of passthroughed gfx ..._*
>>> (XEN) HVM1: Loading PCI Option ROM ...
>>> (XEN) HVM1: - Manufacturer: http://etherboot.org
>>> (XEN) HVM1: - Product name: gPXE
>>> (XEN) HVM1: Loading ACPI ...
>>> (XEN) HVM1: - Lo data: 000ea020-000ea04f
>>> (XEN) HVM1: - Hi data: fc003000-fc01261f
>>> (XEN) HVM1: vm86 TSS at fc012800
>>> (XEN) HVM1: BIOS map:
>>> *_(XEN) HVM1: c0000-cf7ff: VGA BIOS_*
>>> (XEN) HVM1: cf800-dbfff: Etherboot ROM
>>> (XEN) HVM1: eb000-eb175: SMBIOS tables
>>> (XEN) HVM1: f0000-fffff: Main BIOS
>>> (XEN) HVM1: Invoking ROMBIOS ...
>>> (XEN) HVM1: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $
>>> (XEN) HVM1: *** int 15h function AX=5f14, BX=078f not yet supported!
>>> (XEN) HVM1: Bochs BIOS - build: 06/23/99
>>> (XEN) HVM1: $Revision: 1.221 $ $Date: 2008/12/07 17:32:29 $
>>> (XEN) HVM1: Options: apmbios pcibios eltorito PMM
>>> (XEN) HVM1:
>>> (XEN) HVM1: ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
>>> (XEN) HVM1: ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (51200 MBytes)
>>> (XEN) HVM1: IDE time out
>>> (XEN) HVM1: ata1 master: QEMU DVD-ROM ATAPI-4 CD-Rom/DVD-Rom
>>> (XEN) HVM1: IDE time out
>>> (XEN) HVM1:
>>> (XEN) HVM1:
>>> (XEN) HVM1:
>>> (XEN) HVM1: Press F12 for boot menu.
>>> (XEN) HVM1:
>>> (XEN) HVM1: Booting from Hard Disk...
>>> (XEN) HVM1: Booting from 0000:7c00
>>> (XEN) HVM1: int13_harddisk: function 15, unmapped device for ELDL=81
>>> (XEN) HVM1: *** int 15h function AX=e980, BX=0066 not yet supported!
>>> (XEN) mce.c:694:d1 MCE: rdmsr MCG_CAP 0x806
>>> (XEN) mce.c:714:d1 MCE: rdmsr MC0_CTL 0xffffffffffffffff
>>> (XEN) mce.c:694:d1 MCE: rdmsr MCG_CAP 0x806
>>> (XEN) mce.c:694:d1 MCE: rdmsr MCG_CAP 0x806
>>> (XEN) irq.c:243: Dom1 PCI link 0 changed 5 -> 0
>>> (XEN) irq.c:243: Dom1 PCI link 1 changed 10 -> 0
>>> (XEN) irq.c:243: Dom1 PCI link 2 changed 11 -> 0
>>> (XEN) irq.c:243: Dom1 PCI link 3 changed 5 -> 0
>>> (XEN) domctl.c:846:d0 memory_map:remove: gfn=d2000 mfn=d2000
>>> nr_mfns=1000
>>> (XEN) domctl.c:846:d0 memory_map:remove: gfn=c0000 mfn=c0000
>>> nr_mfns=10000
>>> (XEN) domctl.c:846:d0 memory_map:remove: gfn=d0000 mfn=d0000
>>> nr_mfns=2000
>>> (XEN) domctl.c:911:d0 ioport_map:remove f_gport=d000 f_mport=d000 np=80
>>> (XEN) domctl.c:836:d0 memory_map:add: gfn=d2000 mfn=d2000 nr_mfns=1000
>>> (XEN) domctl.c:836:d0 memory_map:add: gfn=c0000 mfn=c0000 nr_mfns=10000
>>> (XEN) domctl.c:836:d0 memory_map:add: gfn=d0000 mfn=d0000 nr_mfns=2000
>>> (XEN) domctl.c:887:d0 ioport_map:add f_gport=d000 f_mport=d000 np=80
>>>
>>> Thank you.
>>>
>>> -- 
>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
>>> Technical Support Engineer 
>>> Information Technology Department
>>> Asiasoft Online Pte Ltd
>>> Tampines Central 1 #04-01 Tampines Plaza 
>>> Singapore 529541
>>> Republic of Singapore
>>> Company Website: http://www.asiasoft.sg/
>>> Mobile: +65-9648-9798
>>> MSN: teoenming@hotmail.com <mailto:teoenming@hotmail.com>
>>> Alma Maters: Singapore Polytechnic, National University of Singapore
>>>
>>>
>>>
>>> On 09/07/2009 10:00 PM, Mr. Teo En Ming (Zhang Enming) wrote:
>>>
>>> OK I have just reached home after work.
>>>
>>> >Teo,
>>>
>>> >Please can you post your
>>>
>>> >1) lspci output from Dom0 for your VGA card
>>>
>>> 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400
>>> GS (rev a1) (prog-if 00 [VGA controller])
>>>
>>> 01:00.0 0300: 10de:06e4 (rev a1) (prog-if 00 [VGA controller])
>>>
>>> >2) qemu log for DomU
>>>
>>> Will post later when I reboot with Serial Console
>>>
>>> >3) xm dmesg output
>>>
>>> Will post later when I reboot with Serial Console
>>>
>>> >4) Modifications you made to vBAR-pBAR patch
>>>
>>> I did not make any modifications to the vbar-pbar patch. I used the
>>> 1:1 map patch as provided by Weidong Intel verbatim.
>>>
>>> >Thanks Tim
>>>
>>> Thank you.
>>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>   
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>   



[-- Attachment #1.2: Type: text/html, Size: 18711 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-08  2:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-06 22:23 Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine Mr. Teo En Ming (Zhang Enming)
2009-09-07  9:40 ` Teo En Ming (Zhang Enming)
2009-09-07  9:58   ` Tim Moore
2009-09-07 10:10     ` Video Presentation on PCI Express x16 VGA PassThrough " Teo En Ming (Zhang Enming)
2009-09-07 10:12       ` Tim Moore
2009-09-07 10:15       ` Video Presentation on PCI Express x16 VGA PassThroughto " Teo En Ming (Zhang Enming)
2009-09-07 10:34         ` Tim Moore
2009-09-07 10:41           ` Video Presentation on PCI Express x16 VGAPassThroughto " Teo En Ming (Zhang Enming)
2009-09-08  0:51 Video Presentation on PCI Express x16 VGA PassThrough to " Mr. Teo En Ming (Zhang Enming)
2009-09-08  2:02 ` Video Presentation on PCI Express x16 VGA PassThroughto " Teo En Ming (Zhang Enming)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.