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

Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel



On Tue, Jul 28, 2009 at 08:27:35PM +0800, Teo En Ming wrote:
> Dear Pasi,
> 
> I thought only paravirtualized guests allow PCI devices to be passed through 
> from the Dom 0 host? Fully virtualized guests like Windows are not able to 
> access PCI devices directly in Dom 0.
> 

Xen supports PCI device passthrough to paravirtualized domUs without any
additional hardware support/requirements.

PCI device passthrough to HVM domains requires VT-d (iommu) support.

> Does Core 2 Duo support Intel VT-d? Or only in Xeons?
> 

VT-d support is in the chipset. Not many chipsets have it yet.. And there
are bugs in the VT-d support in many motherboards.. 

> I am using Xen 3.4.1 testing code right now. Does it support PCI device pass 
> through?
> 

Yes, I think Xen 3.4.1 has VT-d support. Although the code is still not very
mature, especially with graphics cards there are a lot of problems. 

See xen-devel and xen-users archives for more information.

-- Pasi

> 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
>   
> Mobile Phone: +65-9648-9798
>   
> MSN: teoenming@xxxxxxxxxxx
> 
> 
> -----Original Message-----
> 
> From: Pasi Kärkkäinen <pasik@xxxxxx>
> 
> To: "'Teo En Ming'" <enming.teo@xxxxxxxxxxxxxxx>
> 
> Cc: 'Boris Derzhavets' <bderzhavets@xxxxxxxxx>, 
> xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> Date: Tue, 28 Jul 2009 20:32:10 +0800
> 
> Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS 
> Kernel
> 
> 
> 
> 
> On Tue, Jul 28, 2009 at 07:25:58PM +0800, Teo En Ming wrote:
> 
> > Dear Boris,
> 
> > 
> 
> > Any way I can change the emulated display driver in Windows HVM guest to a
> 
> 
> 
> > better one for game playing?
> 
> > 
> 
> 
> 
> You can't really do that. Qemu (used in Xen HVM domains) only provides basic
> 
> 2D display adapter, so it's not really suitable for gaming.
> 
> 
> 
> If you want to experiment with unstable/development code, you could try VT-d
> 
> to passthrough a graphics adapter (the whole device) to HVM guest.
> 
> 
> 
> I think there are also some graphics drivers that operate through the
> 
> network, ie. communicate with dom0 graphics hardware, but I don't have any
> 
> links to those. 
> 
> 
> 
> Xen is mostly a server virtualization software/solution nowadays..
> 
> 
> 
> -- Pasi
> 
> 
> 
> > 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
> 
> >   
> 
> > Mobile Phone: +65-9648-9798
> 
> >   
> 
> > MSN: teoenming@xxxxxxxxxxx
> 
> > 
> 
> > 
> 
> > -----Original Message-----
> 
> > 
> 
> > From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
> 
> > 
> 
> > To: enming.teo@xxxxxxxxxxxxxxx, pasik@xxxxxx
> 
> > 
> 
> > Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> > 
> 
> > Date: Tue, 28 Jul 2009 04:19:13 -0700 (PDT)
> 
> > 
> 
> > Subject: RE: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS 
> 
> > Kernel
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > It's really exciting ;)
> 
> > 
> 
> > Boris.
> 
> > 
> 
> > --- On Tue, 7/28/09, Teo En Ming <enming.teo@xxxxxxxxxxxxxxx> wrote:
> 
> > 
> 
> > From: Teo En Ming <enming.teo@xxxxxxxxxxxxxxx>
> 
> > Subject: RE: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS 
> 
> > Kernel
> 
> > To: "Teo En Ming (Zhang Enming)" <enming.teo@xxxxxxxxxxxxxxx>,
> 
> pasik@xxxxxx
> 
> > Cc: "'Boris Derzhavets'" <bderzhavets@xxxxxxxxx>, 
> 
> > xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> > Date: Tuesday, July 28, 2009, 7:07 AM
> 
> > 
> 
> > 
> 
> > Hi,
> 
> > 
> 
> > 
> 
> > 
> 
> > I have also virtualized Windows XP under Xen 3.4.1 RC8 Dom 0 Kernel 
> 
> > 2.6.30 RC6 on OpenSUSE 11.1 Linux 32-bit Host.
> 
> > 
> 
> > 
> 
> > 
> 
> > Please see screenshots here:
> 
> > 
> 
> > 
> 
> > 
> 
> >
> 
> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/my-windows-xp-hvm-v 
> [http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/my-windows-xp-hvm-v]
> 
> irtual-machine-on.html
> 
> > 
> 
> > 
> 
> > 
> 
> > Can I change the emulated display adapter driver in Windows XP HVM 
> 
> > guest under Xen to a better one so that I can play games?
> 
> > 
> 
> > 
> 
> > 
> 
> > 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
> 
> >   
> 
> > Mobile Phone: +65-9648-9798
> 
> >   
> 
> > MSN: teoenming@xxxxxxxxxxx
> 
> > 
> 
> > 
> 
> > 
> 
> > -----Original 
> 
> > Message-----
> 
> >   
> 
> >  From: "Teo En Ming (Zhang Enming)" 
> 
> > <enming.teo@xxxxxxxxxxxxxxx>
> 
> >   
> 
> >  To: <pasik@xxxxxx>
> 
> >   
> 
> >  Cc: 'Boris Derzhavets' <bderzhavets@xxxxxxxxx>, 
> 
> > xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> >   
> 
> >  Date: Tue, 28 Jul 2009 19:13:34 +0800
> 
> >   
> 
> >  Subject: RE: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's 
> 
> > PVOPS Kernel
> 
> >   
> 
> > 
> 
> >   
> 
> > 
> 
> >   
> 
> > Dear All,
> 
> >     
> 
> > 
> 
> >     
> 
> >  I have managed to virtualize Windows 7 32-bit as a HVM guest on 
> 
> > Xen 3.4.1
> 
> >     
> 
> >  RC8 Dom 0 Kernel 2.6.30 RC6 on OpenSUSE 11.1 Linux 32-bit host 
> 
> > operating
> 
> >     
> 
> >  system.
> 
> >     
> 
> > 
> 
> >     
> 
> >  Please see screenshots here:
> 
> >     
> 
> > 
> 
> >     
> 
> >  
> 
> >
> 
> http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/my-windows-7-hvm-vi 
> [http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/my-windows-7-hvm-vi]
> 
> 
> 
> >
> 
> [http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/my-windows-7-hvm-v 
> [http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/my-windows-7-hvm-v]
> 
> i]
> 
> > 
> 
> >     
> 
> >  rtual-machine-on-xen.html
> 
> >     
> 
> > 
> 
> >     
> 
> >  I have uploaded 24 pictures so far at the time of this writing.
> 
> >     
> 
> > 
> 
> >     
> 
> >  Regards,
> 
> >     
> 
> >   
> 
> >     
> 
> >  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
> 
> >     
> 
> >  Mobile: +65-9648-9798
> 
> >     
> 
> >  MSN: teoenming@xxxxxxxxxxx
> 
> >     
> 
> > 
> 
> >     
> 
> >  -----Original Message-----
> 
> >     
> 
> >  From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> 
> >     
> 
> >  [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Pasi 
> 
> > Kärkkäinen
> 
> >     
> 
> >  Sent: Monday, July 27, 2009 11:24 PM
> 
> >     
> 
> >  To: Teo En Ming
> 
> >     
> 
> >  Cc: Boris Derzhavets; xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> >     
> 
> >  Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in 
> 
> > Jeremy's PVOPS
> 
> >     
> 
> >  Kernel
> 
> >     
> 
> > 
> 
> >     
> 
> >  On Mon, Jul 27, 2009 at 10:57:23PM +0800, Teo En Ming wrote:
> 
> >     
> 
> >  > Dear Pasi,
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > Any idea on what benchmark tools I can use to measure I/O 
> 
> > performance of
> 
> >     
> 
> >  my
> 
> >     
> 
> >  > virtual machines?
> 
> >     
> 
> >  >
> 
> >     
> 
> > 
> 
> >     
> 
> >  Well for simple streaming IO tests you can use dd, it supports 
> 
> > multiple
> 
> >     
> 
> >  block sizes, O_DIRECT etc.
> 
> >     
> 
> > 
> 
> >     
> 
> >  If you need multithreaded/multiprocess tests, or filesystem IO 
> 
> > tests, then
> 
> >     
> 
> >  you need something more sophisticated.. bonnie++, ltp disktest, 
> 
> > fio, iozone
> 
> >     
> 
> >  etc. Google is your friend.
> 
> >     
> 
> > 
> 
> >     
> 
> >  -- Pasi
> 
> >     
> 
> > 
> 
> >     
> 
> >  > 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
> 
> >     
> 
> >  >  
> 
> >     
> 
> >  > Mobile Phone: +65-9648-9798
> 
> >     
> 
> >  >  
> 
> >     
> 
> >  > MSN: teoenming@xxxxxxxxxxx
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > -----Original Message-----
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > From: Pasi Kärkkäinen <pasik@xxxxxx>
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > To: Teo En Ming <enming.teo@xxxxxxxxxxxxxxx>
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > Cc: Boris Derzhavets <bderzhavets@xxxxxxxxx>,
> 
> >     
> 
> >  xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > Date: Mon, 27 Jul 2009 18:01:55 +0300
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in 
> 
> > Jeremy's PVOPS
> 
> >     
> 
> >  > Kernel
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > On Mon, Jul 27, 2009 at 10:06:55PM +0800, Teo En Ming wrote:
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > Dear Boris,
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > Based on your given information, I have managed to 
> 
> > configure static IP
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > address inside OpenSolaris UNIX PV guest.
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > These are the two crucial lines:
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > echo 192.168.1.45 netmask 255.255.255.0 mtu 1492 > 
> 
> > /etc/hostname.xnf0
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > echo 192.168.1.102 > /etc/defaultrouter
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > Please see screenshot here:
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  
> 
> >
> 
> http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm21uPKvVXI/AAAAAAAAAKU/NDQqKSld5v4/s1 
> [http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm21uPKvVXI/AAAAAAAAAKU/NDQqKSld5v4/s1]
> 
> 
> 
> >
> 
> [http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm21uPKvVXI/AAAAAAAAAKU/NDQqKSld5v4/s 
> [http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm21uPKvVXI/AAAAAAAAAKU/NDQqKSld5v4/s]
> 
> 1]
> 
> > 
> 
> >     
> 
> >  600-h/03.jpeg
> 
> >     
> 
> >  >
> 
> >     
> 
> >  
> 
> >
> 
> [http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm21uPKvVXI/AAAAAAAAAKU/NDQqKSld5v4/s 
> [http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm21uPKvVXI/AAAAAAAAAKU/NDQqKSld5v4/s]
> 
> 
> 
> >
> 
> [http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm21uPKvVXI/AAAAAAAAAKU/NDQqKSld5v4/s 
> [http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm21uPKvVXI/AAAAAAAAAKU/NDQqKSld5v4/s]
> 
> ]
> 
> > 
> 
> >     
> 
> >  1600-h/03.jpeg]
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > May I know whether there are any PV device drivers for 
> 
> > me to install to
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > improve PV guests' performance? What are the 
> 
> > recommended benchmark tools
> 
> >     
> 
> > 
> 
> >     
> 
> >  > to
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > > measure I/O performance of PV guests?
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > PV guest doesn't need any additional drivers. Like the name 
> 
> > PV says, it's
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > paravirtual, and uses the optimized drivers/interfaces 
> 
> > out-of-the-box.
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > -- Pasi
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > _______________________________________________
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > Xen-devel mailing list
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > Xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> >     
> 
> >  >
> 
> >     
> 
> >  > http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel] 
> 
> > [http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel]]
> 
> >     
> 
> >  [http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel] 
> 
> > [http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel]]]
> 
> >     
> 
> > 
> 
> >     
> 
> >  _______________________________________________
> 
> >     
> 
> >  Xen-devel mailing list
> 
> >     
> 
> >  Xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> >     
> 
> >  http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel]
> 
> [http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel]]
> 
> >     
> 
> > 
> 
> >     
> 
> >  No virus found in this incoming message.
> 
> >     
> 
> >  Checked by AVG - www.avg.com [http://www.avg.com/] [http://www.avg.com/ 
> [http://www.avg.com/]]
> 
> >     
> 
> >  Version: 8.5.339 / Virus Database: 270.13.31/2265 - Release Date: 
> 
> > 07/26/09
> 
> >     
> 
> >  17:59:00
> 
> >     
> 
> > 
> 
> >     
> 
> >  No virus found in this outgoing message.
> 
> >     
> 
> >  Checked by AVG - www.avg.com [http://www.avg.com/] [http://www.avg.com/ 
> [http://www.avg.com/]]
> 
> >     
> 
> >  Version: 8.5.375 / Virus Database: 270.13.31/2265 - Release Date: 
> 
> > 07/27/09
> 
> >     
> 
> >  17:59:00
> 
> >     
> 
> > 
> 
> >     
> 
> > 
> 
> >     
> 
> > 
> 
> >     
> 
> >  _______________________________________________
> 
> >     
> 
> >  Xen-devel mailing list
> 
> >     
> 
> >  Xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> >     
> 
> >  http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel]
> 
> [http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel]]
> 
> >     
> 
> > 
> 
> >     
> 
> >  No virus found in this incoming message.
> 
> >     
> 
> >  Checked by AVG - www.avg.com [http://www.avg.com/] [http://www.avg.com/ 
> [http://www.avg.com/]]
> 
> >     
> 
> >  Version: 8.5.375 / Virus Database: 270.13.31/2265 - Release Date: 
> 
> > 07/27/09
> 
> >     
> 
> >  17:59:00
> 
> >     
> 
> > 
> 
> >     
> 
> >  No virus found in this outgoing message.
> 
> >     
> 
> >  Checked by AVG - www.avg.com [http://www.avg.com/] [http://www.avg.com/ 
> [http://www.avg.com/]]
> 
> >     
> 
> >  Version: 8.5.375 / Virus Database: 270.13.31/2265 - Release Date: 
> 
> > 07/27/09
> 
> >     
> 
> >  17:59:00
> 
> >     
> 
> > 
> 
> >     
> 
> > 
> 
> >     
> 
> > 
> 
> >     
> 
> >  _______________________________________________
> 
> >     
> 
> >  Xen-devel mailing list
> 
> >     
> 
> >  Xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> >     
> 
> >  http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel]
> 
> [http://lists.xensource.com/xen-devel 
> [http://lists.xensource.com/xen-devel]]
> 
> 
> 
> _______________________________________________
> 
> Xen-devel mailing list
> 
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-devel]
> 
> 
> 
> No virus found in this incoming message.
> 
> Checked by AVG - www.avg.com [http://www.avg.com/] 
> 
> Version: 8.5.375 / Virus Database: 270.13.31/2265 - Release Date: 07/27/09
> 
> 17:59:00
> 
> 
> 
> No virus found in this outgoing message.
> 
> Checked by AVG - www.avg.com [http://www.avg.com/] 
> 
> Version: 8.5.375 / Virus Database: 270.13.31/2265 - Release Date: 07/27/09
> 
> 17:59:00
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> Xen-devel mailing list
> 
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> 
> http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-devel]

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


 


Rackspace

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