From: Fabio Fantoni Subject: Re: Vdagent not working on xen linux hvm DomUs Date: Fri, 06 Dec 2013 12:28:00 +0100 Message-ID: <52A1B4C0.4030609@m2r.biz> References: <526F7CD0.5020806@m2r.biz> <526F829A.5040902@redhat.com> <526FA3D5.1030407@m2r.biz> <52A097B8.9090303@m2r.biz> <20131205152159.GE18325@zion.uk.xensource.com> <52A0A0AB.20603@m2r.biz> <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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131206111912.GE32155@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 12:19, Wei Liu ha scritto: > On Fri, Dec 06, 2013 at 12:15:30PM +0100, Fabio Fantoni wrote: >> Il 06/12/2013 11:50, Wei Liu ha scritto: >>> On Fri, Dec 06, 2013 at 11:15:17AM +0100, Fabio Fantoni wrote: >>> [...] >>>>>> I not mean virtio disk/net but virtio-serial channels used for >>>>>> example by spice vdagent. >>>>>> The libxl implentation xen side is correct and on windows domUs >>>>>> vdagent is working (I'm using it since 2 year). >>>>>> On linux domUs I found that virtio ports under /dev are missed/not >>>>>> created and I not understand why. >>>>> That's probably unplugged by Xen platform PCI device. >>>>> >>>>>> Recently I tried also with xen_platform_pci=0 and the Konrad's patch >>>>>> (xen/pvhvm: If xen_platform_pci=0 is set don't blow up) but to no >>>>>> avail. >>>>>> >>>>> I haven't followed up that patch so I am not sure what's happening. >>>>> >>>>> Wei. >>>>> >>>>>> Thanks for any reply. >>>> I did another tests, adding pci=nomsi to kernel boot option creates >>>> virtio-serial ports correctly and vdagent works also on linux domUs, >>>> I also tried to enable the xen platform and also in that case >>>> vdagent works. >>>> So the problem is only about msi. >>>> Added xen-devel to cc. >>>> Any ideas on how to fix permanently without adding pci=nomsi? >>>> >>> As I remember it I wrote a patch for QEMU to make it capable of >>> injecting MSI interrupt in Xen long time ago so it should work fine. >>> >>> Wei. >> Is this? >> http://git.qemu.org/?p=qemu.git;a=commit;h=f1dbf015dfb0aa7f66f710a1f1bc58b662951de2 >> >> thenis there a xen and/or qemu regression? >> > Yes that one. > > Not sure if it is a regression, because nobody ever tried to use > virtio-serial in Xen AFAICT. > > If you find virtio-net / virtio-blk not working, then there's a problem. > > Wei. 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? Thanks for any reply. >>>> Thanks for any reply.