From: Fabio Fantoni Subject: Re: Vdagent not working on xen linux hvm DomUs Date: Fri, 06 Dec 2013 14:10:24 +0100 Message-ID: <52A1CCC0.9030608@m2r.biz> References: <20131205160219.GF18325@zion.uk.xensource.com> <52A1A3B5.6040601@m2r.biz> <20131206105024.GC32155@zion.uk.xensource.com> <52A1B1D2.1020401@m2r.biz> <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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131206125500.GB30613@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 13:55, Wei Liu ha scritto: > On Fri, Dec 06, 2013 at 01:49:51PM +0100, Fabio Fantoni wrote: >> Il 06/12/2013 12:57, Wei Liu ha scritto: >>> On Fri, Dec 06, 2013 at 12:51:34PM +0100, Fabio Fantoni wrote: >>>> Il 06/12/2013 12:31, Wei Liu ha scritto: >>>>> On Fri, Dec 06, 2013 at 12:28:00PM +0100, Fabio Fantoni wrote: >>>>> [...] >>>>>> Thanks for reply, where is the latest versions of your libxl patch >>>>>> for virtio-net / virtio-blk support? >>>>>> I found only the old version of 2011 on wiki. >>>>>> Is this the latest and I must updated it to be working on xen >>>>>> unstable before testing it? >>>>>> >>>>> That is not needed if you want to use virtio-net. >>>>> >>>>> Just specify 'model=virtio-net-pci' in you nic spec then you're fine. >>>>> >>>>> Wei. >>>> I did a fast test with virtio nic, xen platform disabled >>>> (xen_platform_pci=0 plus konrad patch) and qemu crashed on ubuntu >>>> Saucy hvm domU start with this error on qemu log: >>>> xen_ram_addr_from_mapcache, could not find 0x7f34c08afff8 >>>> I tried both with/without pci=nomsi, same result. >>>> Then it seems that with virtio net there is a further problem. >>>> Tell me if you need other tests/details and I'll post them. >>> So the same config works with other emulated nic (say, the default >>> rtl8139 / e1000)? >>> >>>> Thanks for any reply. >> Yes, I retried all cases removing only virtio net and no qemu crash. > And Konrad's patch did prevent kernel from unplugging the emulated > devices? > > I used virtio-net-pci in EFI several days ago it worked fine, so it is > possible that there's a bug in kernel. > > If there's really a regression I would not be too surprise because > nobody is actively using it so we're not actively testing this feature. > > You can try xen_emul_unplug=never in *guest kernel command line* to see > if it changes anything. > > Wei. 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? Thanks for any reply.