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

Re: [Xen-users] Intel IGD passthrough in xen 4.4


  • To: Reinis Veips <reinis.veips@xxxxxx>, Guangning YU <yugn@xxxxxx>
  • From: Andre Fucs <afucs2001@xxxxxxxxx>
  • Date: Tue, 15 Apr 2014 05:59:50 -0700 (PDT)
  • Cc: "Xen-users@xxxxxxxxxxxxx" <Xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 15 Apr 2014 13:00:58 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=UWCrV8b8XBeA6ZffHYjBdYZoO0jNZmoFFmOlzbsUisgjg7p5pRgKICMgrSv9Yp3KUHL8MeAT+dcwbGrauUUXRWhF360jfhReQfjiZxM9IqyeFo1rPlfwGxgnLRdB0Poc45bS78y6BP2yiJwVtn5LvJPdIiFUJeaC3J6IDFil6Cc=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Reinis,

The config of a W7 VM with USB and IGPU is:

name = 'pass'
device_model_version="qemu-xen-traditional"
builder = 'hvm'
maxmem = 2048
memory = 2048
vcpus=4
acpi=1
apic=1
vif = [ 'bridge=xenbr0, mac=00:aa:0a:10:0a:ad' ]
disk = [ 'phy:/dev/tempoVMs/XenLV-pass,hda,w',
 'phy:/dev/sr0,hdc:cdrom,r'
]

# Boot from the cdrom device
boot='dc'
vnc=1
vncunused=0
vnclisten = '0.0.0.0'
vncdisplay=1
vncconsole=1
serial='pty'
sdl = '0'
viridian=1
gfx_passthru=1
pci = ['00:02.0','00:1a.0','00:1d.0']
On Sunday, April 13, 2014 11:10 PM, Reinis Veips <reinis.veips@xxxxxx> wrote:
Hi Andre,

I just tried a fresh installation of Win7 (I may have started the previous
install without qemu-xen-traditional), but I am still unable to get it working.

I did install Intel drivers in domU, but there is still no video output.

I also realized that I need to pass through (or at least hide from dom0)
CPU's integrated audio controller (otherwise alsa on my dom0 wasn't too happy).

The latest config I am using is- do you notice anything out of the ordinary?

> builder='hvm'
> memory = '2048'
> vcpus=3
> name = "vm0"
> vif = ['bridge=xenbr0']
> disk = ['phy:/dev/mapper/vm0,hda,w']
>
> device_model_version = "qemu-xen-traditional"
> boot="dc"
> sdl=0
> serial='pty'
> vnc=1
> vnclisten=""
> vncpasswd=""
>
> gfx_passthru=1
>
>
>
>
> usbdevice='tablet'
> pci_power_mgmt=1
> xen_platform_pci=1
> pci_msitranslate=1
> viridian=1
> hpet=1
> acpi=1
> apic=1
> pae=1
>
> pci = ['00:02.0', '00:03.0']

Thanks for replies!

Reinis


On Sun, Apr 13, 2014 at 09:45:38PM +0930, Guangning YU wrote:
> Keep Reinis in the loop.
>
> Andre, do you mean that gfx_passthru=1 should be in front of pci =
> ['00:02.0â]  in cfg?
>
> From:  Andre Fucs <afucs2001@xxxxxxxxx>
> Reply-To:  Andre Fucs <afucs2001@xxxxxxxxx>
> Date:  Sun, 13 Apr 2014 03:23:08 -0700 (PDT)
> To:  Guangning YU <yugn@xxxxxx>
> Subject:  Re: [Xen-users] Intel IGD passthrough in xen 4.4
>
> Hi there,
>
> Yes. It is possible to pass through the IGD to a Guest. The process is
> pain-free and requires just two minor adjustments:
>
> - You must configure your HVM guest to use
> 'device_model_version="qemu-xen-traditional"'
> - Once you installed the Intel driver on your guest (I had success with both
> Windows 7 Intel binaries and Linux opensource drivers) your should set
> 'gfx_passthru=1' before enabling the pci pass through, otherwise you will
> get a BSOD when loading Windows.
>
> Hope this helps.
>
>



>  On Sunday, April 13, 2014 1:16 PM, Guangning YU <yugn@xxxxxx> wrote:


> > 
> > IÂm new to Linux and Xen. Just wonder if you tried gfx_passthrough in cfg?
> >
> > === Text From http://forums.linuxmint.com/viewtopic.php?f=42&t=112013===
> > gfx_passthru=0 # Set to 1 may help with some Nvidia cards. Search the
> > Internet for AMD cards and recommendations, though AMD cards should work
> > with 0. Setting gfx_passthru=1 will pass through the graphics card as
> > primary (and only) display adapter, without first booting the virtual
> > Cirrus Logic adapter. In most cases this requires a patched Xen
> > hypervisor, but in some cases it may work, depending on the graphics
> > adapter and perhaps the Windows version in use.
> >
> > Regards,
> > Jason
> >
> >
> >
> > On 13-04-14 3:52, "Reinis Veips" <reinis.veips@xxxxxx> wrote:
> >
> >> >Is it possible to passthrough Intel HD 4600 in xen 4.4? I see some success
> >> >reports using older versions of xen, but I am unable to succeed using the
> >> >latest version of xen.
> >> >
> >> >I am able to get to the point where I can install drivers for HD4600 in
> >> >domU, and
> >> >the graphics adapter shows up in device manager (working correctly/no
> >> >exclamation
> >> >marks), however, no secondary monitor shows up in "screen resolution"
> >> >dialog, and
> >> >there is no signal on any of the integrated video outputs.
> >> >
> >> >Where can I look for extra information? Any logfiles? Should I enable
> >> >logging
> >> >(how?) to see what's going on?
> >> >
> >> >
> >> >Details of my system:
> >> >i7-4771 (integrated HD4600 graphics adapter)
> >> >Asrock Z87 Pro4
> >> >GeForce 9800GT (being used in dom0, with nouveau drivers)
> >> >
> >> >dom0 - up to date Arch Linux x64, xen 4.4.0
> >> >(https://aur.archlinux.org/packages/xen/)
> >> >
> >> >domU - Windows 7 Ultimate x64, installed without pci passthrough.
> >> >
> >> >/etc/xen/grub.conf:
> >>> >> XEN_HYPERVISOR_CMDLINE="dom0_mem=8192M dom0_max_vcpus=4 dom0_vcpus_pin
> >>> >>iommu=1 xsave=1"
> >>> >> XEN_LINUX_CMDLINE="console=tty0 xen-pciback.hide=(00:02.0)"
> >> >
> >> >00:02.0 is Display controller: Intel Corporation Xeon E3-1200 v3/4th Gen
> >> >Core
> >> >    Processor Integrated Graphics Controller (rev 06)
> >> >
> >> >domU configuration:
> >> >
> >>> >> builder='hvm'
> >>> >> memory = '4096'
> >>> >> cpus="6-7"
> >>> >> name = "vm0"
> >>> >> vif = ['bridge=xenbr0']
> >>> >> disk = ['phy:/dev/mapper/vm0,hda,w']
> >>> >> device_model_version = "qemu-xen-traditional"
> >>> >> boot="c"
> >>> >> sdl=0
> >>> >> serial='pty'
> >>> >> vnc=1
> >>> >> vnclisten=""
> >>> >> vncpasswd=""
> >>> >>
> >>> >>
> >>> >>
> >>> >> usbdevice='tablet'
> >>> >> pci = ['00:02.0']
> >>> >> pci_power_mgmt=1
> >>> >> xen_platform_pci=1
> >>> >> pci_msitranslate=1
> >>> >> viridian=1
> >>> >> hpet=1
> >>> >> acpi=1
> >>> >> apic=1
> >>> >> pae=1
> >>> >> vga="stdvga"
> >> >
> >> >
> >> >Regards, Reinis
> >> >_______________________________________________
> >> >Xen-users mailing list
> >> >Xen-users@xxxxxxxxxxxxx
> >> >http://lists.xen.org/xen-users
> >
> >
> >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxx
> > http://lists.xen.org/xen-users
> >
> >
> > 


>   

>
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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