From: Wei Liu Subject: Re: Vdagent not working on xen linux hvm DomUs Date: Fri, 6 Dec 2013 10:50:25 +0000 Message-ID: <20131206105024.GC32155@zion.uk.xensource.com> References: <525FA76A.60003@redhat.com> <52613E7E.5090502@m2r.biz> <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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <52A1A3B5.6040601@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 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. > Thanks for any reply.