All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: Wei Liu <wei.liu2@citrix.com>
Cc: spice-devel@lists.freedesktop.org,
	xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Vdagent not working on xen linux hvm DomUs
Date: Fri, 06 Dec 2013 14:10:24 +0100	[thread overview]
Message-ID: <52A1CCC0.9030608@m2r.biz> (raw)
In-Reply-To: <20131206125500.GB30613@zion.uk.xensource.com>

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.

  reply	other threads:[~2013-12-06 13:10 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <525FA76A.60003@redhat.com>
     [not found] ` <52613E7E.5090502@m2r.biz>
     [not found]   ` <526F7CD0.5020806@m2r.biz>
     [not found]     ` <526F829A.5040902@redhat.com>
     [not found]       ` <526FA3D5.1030407@m2r.biz>
     [not found]         ` <52A097B8.9090303@m2r.biz>
     [not found]           ` <20131205152159.GE18325@zion.uk.xensource.com>
     [not found]             ` <52A0A0AB.20603@m2r.biz>
     [not found]               ` <20131205160219.GF18325@zion.uk.xensource.com>
2013-12-06 10:15                 ` Vdagent not working on xen linux hvm DomUs Fabio Fantoni
2013-12-06 10:50                   ` Wei Liu
2013-12-06 11:15                     ` Fabio Fantoni
2013-12-06 11:19                       ` Wei Liu
2013-12-06 11:28                         ` Fabio Fantoni
2013-12-06 11:31                           ` Wei Liu
2013-12-06 11:51                             ` Fabio Fantoni
2013-12-06 11:57                               ` Wei Liu
2013-12-06 12:49                                 ` Fabio Fantoni
2013-12-06 12:55                                   ` Wei Liu
2013-12-06 13:10                                     ` Fabio Fantoni [this message]
2013-12-06 13:17                                       ` Wei Liu
2013-12-06 13:51                                         ` Fabio Fantoni
2013-12-06 14:40                                           ` Wei Liu
2013-12-06 14:49                                             ` Fabio Fantoni
2013-12-06 14:55                                               ` Wei Liu
2013-12-06 15:25                                                 ` Fabio Fantoni
2013-12-06 15:30                                                   ` Wei Liu
2013-12-06 15:39                                                 ` Wei Liu
2013-12-10 14:38                                                   ` Fabio Fantoni
2013-12-11 13:41                                                     ` Fabio Fantoni
2013-12-11 15:38                                                       ` Wei Liu
2013-12-11 16:11                                                         ` Fabio Fantoni
2013-12-11 16:55                                                           ` Wei Liu
2013-12-12 13:10                                                             ` [Qemu-devel] [Spice-devel] " Fabio Fantoni
2013-12-12 13:10                                                               ` Fabio Fantoni
2013-12-12 15:23                                                               ` [Qemu-devel] [Spice-devel] " Wei Liu
2013-12-12 15:23                                                                 ` Wei Liu
2013-12-12 16:05                                                                 ` [Qemu-devel] " Fabio Fantoni
2013-12-12 16:05                                                                   ` Fabio Fantoni
2013-12-13  9:51                                                                   ` [Qemu-devel] [Spice-devel] " Fabio Fantoni
2013-12-13  9:51                                                                     ` Fabio Fantoni
2013-12-13 16:22                                                                     ` [Qemu-devel] [Spice-devel] " Wei Liu
2013-12-13 16:22                                                                       ` Wei Liu
2013-12-17 16:01                                                                       ` [Qemu-devel] [Spice-devel] " Fabio Fantoni
2013-12-17 16:01                                                                         ` Fabio Fantoni
2013-12-17 16:18                                                                         ` [Qemu-devel] [Spice-devel] " Wei Liu
2013-12-17 16:18                                                                           ` Wei Liu
2014-03-10 12:32                                                                         ` [Qemu-devel] [Spice-devel] " Michael S. Tsirkin
2014-03-10 12:32                                                                           ` Michael S. Tsirkin
2014-03-10 12:36                                                                           ` [Qemu-devel] [Spice-devel] " Wei Liu
2014-03-10 12:36                                                                             ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52A1CCC0.9030608@m2r.biz \
    --to=fabio.fantoni@m2r.biz \
    --cc=spice-devel@lists.freedesktop.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.