From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: VGA passthrough is not working Date: Wed, 11 Jun 2014 10:16:24 -0400 Message-ID: <20140611141624.GC21065@laptop.dumpdata.com> References: <5395A8AA.5000903@bobich.net> <5395AB21.2010009@ntc-vulkan.ru> <5395ABCB.50003@ntc-vulkan.ru> <5395AD2B.80501@bobich.net> <5396AC3B.4030905@ntc-vulkan.ru> <5396CB69.8060502@ntc-vulkan.ru> <20140610125855.GA28932@laptop.dumpdata.com> <53982401.5070007@ntc-vulkan.ru> <53983D5E.3040702@ntc-vulkan.ru> <53985C34.4040501@ntc-vulkan.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <53985C34.4040501@ntc-vulkan.ru> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Maxim Gordeev Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Jun 11, 2014 at 05:40:04PM +0400, Maxim Gordeev wrote: > Yuck. HTML!? Please please don't do that. > > http-equiv="Content-Type"> > > > I try build and compile xen 4.4:
> ./configure --with-system-qemu=x86_64-softmmu
> Use config VM:
> device_model_version =  > "qemu-xen"                                   
> device_model_override = "/usr/local/bin/qemu-system-x86_64"
>
> It didn't yield result.
>
11.06.2014 15:28, Maxim Gordeev пишет:
>
>
> > I do not apply a patches...
>
>
11.06.2014 13:40, Maxim Gordeev > пишет:
>
>
> Hi!
>
> Thanks for your answer!
>
> 1. Version Xen: >
(XEN) Xen version 4.4.1-pre (gcc (Debian > 4.8.3-2) 4.8.3) debug=n Tue Jun 10 08:25:03 CDT 2014
>
> 2. Kernel:
>
Linux hv2 3.14-1-amd64 #1 SMP Debian > 3.14.4-1 (2014-05-13) x86_64 GNU/Linux
>
>
>
> Variant using :
>
> A). Config file my VM:
>
device_model_version =  > "qemu-xen-traditional"
> device_model_override = "/usr/local/lib/xen/bin/qemu-dm"
>
> A.1) Trouble in VM(use conf file VM 3):
>     VM is not starting!
>
register_real_device: Real physical > device 03:00.0 registered successfuly!
> IRQ type = INTx
> pt_pci_write_config: [00:05:0] Warning: Guest attempt to set > address to unused Base Address Register. > [Offset:14h][Length:4]
> pt_pci_write_config: Internal error: Invalid write emulation > return value[-1]. I/O emulator exit.
>
>
> OR
>
>
> B) Config my VM:
>
device_model_version =  "qemu-xen"
>
> B.1)
> My VM is starting! %) But It have a problem...
> Please, look at attach file.
>
> qemu-dm file is have size 5.1Mb. Are you sure attaching file in > here?
>
> nvidia card into VM:  Region 1: Memory at 100000000 (64-bit, > prefetchable) [size=4G]
> nvidia card into DOM0: Region 1: Memory at 5800000000 (64-bit, > prefetchable) [size=16G]
>
> Why? Where 12G was lost?
If you included the logs that I asked I could help you a bit to figure that out. You can also stash them on web-server and point us to it. Or compress them and send them here >
>
>
> I try use memory for VM == 1G... there's no difference at all
>
>
10.06.2014 16:58, Konrad Rzeszutek > Wilk пишет:
>
>
cite="mid:20140610125855.GA28932@laptop.dumpdata.com" > type="cite"> >
On Tue, Jun 10, 2014 at 01:10:01PM +0400, Maxim Gordeev wrote:
> 
>
>
Sorry, Xen don`t map memory BAR1 when I use "qemu-dm" or
> "qemu-xen-traditional"...
> 
>
>
Could you attach your qemu-dm files, the lspci -vvv from dom0 and
> from the guest.
> 
> Does it work if you use less memory? Say mem=2G?
> 
> 
>
>
10.06.2014 10:56, Maxim Gordeev пишет:
> 
>
>
Hi!
> 
> Thanks for your answer!
> 
> I tried starting my VM with device_model_version = "qemu-xen.
> VM is working, but I don`t see NVIDIA in list pci devices...
> 
> This is output message of command "xl create:"
> 
>
>
Hi!
> 
> Thanks for your answer!
> 
> I tried starting my VM with device_model_version = "qemu-xen.
> VM is working, but I don`t see NVIDIA in list pci devices...
> 
> This is output message of command xl create:
> 
>
>
dmesg:
> 
>
>
[81234.316270] xen_pciback: vpci: 0000:03:00.0: assign to virtual slot 0
> 
>
>
It is All.
> 
> Maybe I will try use this parameter in Xen 4.3?
> 
> 09.06.2014 16:48, Gordan Bobic пишет:
> 
>
>
Yes, I think so. I have a sneaky suspicion that qemu cannot handle
> BARs over a certain size. Have you tried with
> device_model_version = "qemu-xen"
> instead of qemu-xen-traditional ?
> 
> On 06/09/2014 01:42 PM, Maxim Gordeev wrote:
> 
>
>
Do you understand me? :)
> 
> I can give you logs!
> 09.06.2014 16:40, Maxim Gordeev пишет:
> 
>
>
no, no.
> With 4.3 is bad work! With 4.4 is do not starting.
> I see into lspci: BAR1 is not possible assignment. With 4.3 can not
> maping BAR1.
> Thanks!
> 
> 09.06.2014 16:29, Gordan Bobic пишет:
> 
>
>
On 06/09/2014 01:21 PM, Maxim Gordeev wrote:
> 
>
>
16Gb this is BAR1.
> This is example my VM config:
> 
>
>
/builder='hvm'//
> //memory = 16000//
> //name = "xen-hvm-cheap1"//
> //vcpus=8//
> //acpi=0//
> //disk = [ //
> //// 'file:/opt/VM/cheap1_glinux-1.img,hda,w',//
> // 'file:/opt/VM/cheap1_glinux-2.img,hdb,w'//
> // ]//
> // xen_platform_pci = 1//
> //on_poweroff = 'destroy'//
> //on_reboot = 'restart'//
> //on_crash = 'restart'//
> //device_model_version = 'qemu-xen-traditional'//
> //boot="c"//
> //vnc=1//
> //vnclisten="0.0.0.0"//
> //vncdisplay=1//
> //vncunused=1//
> //vncpasswd=''//
> //stdvga=0//
> //serial='pty'//
> //monitor=1//
> //gfx_passthru=0//
> //pci=['03:00.0' ] /
> 
>
>
Xen 4.3 start this VM, but Xen 4.4 is not starting VM.
> 
>
>
So you are saying that this works fine with 4.3 but breaks with 4.4?
> 
> Gordan
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
> 
>
>
>
>
_______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
> 
>
>
>
_______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
> 
>
>
>
>
>
>
>
_______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
> 
>
>
>
>
> > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel