[Spice-devel] Vdagent not working on xen linux hvm DomUs

Fabio Fantoni fabio.fantoni at m2r.biz
Fri Dec 6 05:10:24 PST 2013


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.


More information about the Spice-devel mailing list