From: Fabio Fantoni Subject: Re: Vdagent not working on xen linux hvm DomUs Date: Fri, 06 Dec 2013 15:49:30 +0100 Message-ID: <52A1E3FA.6090809@m2r.biz> References: <20131206111912.GE32155@zion.uk.xensource.com> <52A1B4C0.4030609@m2r.biz> <20131206113101.GF32155@zion.uk.xensource.com> <52A1BA46.4050102@m2r.biz> <20131206115722.GA30613@zion.uk.xensource.com> <52A1C7EF.8030909@m2r.biz> <20131206125500.GB30613@zion.uk.xensource.com> <52A1CCC0.9030608@m2r.biz> <20131206131703.GC30613@zion.uk.xensource.com> <52A1D676.70308@m2r.biz> <20131206144030.GD30613@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131206144030.GD30613@zion.uk.xensource.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: spice-devel-bounces@lists.freedesktop.org Errors-To: spice-devel-bounces@lists.freedesktop.org To: Wei Liu Cc: spice-devel@lists.freedesktop.org, xen-devel List-Id: xen-devel@lists.xenproject.org Il 06/12/2013 15:40, Wei Liu ha scritto: > On Fri, Dec 06, 2013 at 02:51:50PM +0100, Fabio Fantoni wrote: >> Il 06/12/2013 14:17, Wei Liu ha scritto: >>> On Fri, Dec 06, 2013 at 02:10:24PM +0100, Fabio Fantoni wrote: >>> [...] >>>> I tried 2 cases with xen_emul_unplug=never: >>>> - with xen platform disabled (xen_platform_pci=0 plus konrad patch) >>>> and pci=nomsi >>>> - with xen_platform_pci=1 and without pci kernel parameter >>>> on both cases qemu crash with same error: >>>> xen_ram_addr_from_mapcache, could not find 0x7fdecf624968 >>>> >>>> On your virtio net test you have added only 'model=virtio-net-pci' >>>> on vif line of domU's xl cfg or you did other changes? >>>> >>> No, nothing more. But I'm using Xen's QEMU upstream, not vanilla QEMU. >> I'm using xen's upstream qemu (master of >> git://xenbits.xen.org/qemu-upstream-unstable.git) >> > Not only the branch is important but also the changeset. > > I'm using the hash specified in Config.mk qemu of my tests about virtio: git log commit b97307ecaad98360f41ea36cd9674ef810c4f8cf Author: Matthew Daley Date: Thu Oct 10 14:10:48 2013 +0000 xen_disk: mark ioreq as mapped before unmapping in error case > >>> You can probably try to generate core file and use gdb to get the >>> backtrace to see what QEMU is trying to access. >> Is there an howto for it please? >> > There's lots of tutorial on how configure Linux to let a process be able > to generate core file, how to debug core file with GDB. It's not > QEMU-specific. > > Wei. > >>> Wei. >>> >>>> Thanks for any reply.