From: Wei Liu Subject: Re: Vdagent not working on xen linux hvm DomUs Date: Fri, 6 Dec 2013 12:55:00 +0000 Message-ID: <20131206125500.GB30613@zion.uk.xensource.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <52A1C7EF.8030909@m2r.biz> 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: Fabio Fantoni Cc: xen-devel , Wei Liu , spice-devel@lists.freedesktop.org List-Id: xen-devel@lists.xenproject.org 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.