[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)



Il 11/05/2015 16:13, Wei Liu ha scritto:
On Mon, May 11, 2015 at 03:53:44PM +0200, Fabio Fantoni wrote:

[...]

Can someone help me to complete/fix it please?
Can someone help me about virtio disks support in libxl please?

After this reply about seabios seems can be useful try virtio:
http://lists.xen.org/archives/html/xen-devel/2015-05/msg01257.html

Thanks for any reply and sorry for my bad english.

Porting that patch to nowadays Xen requires certain amount of effort.
And I'm not sure I want it merged now because virtio on Xen has not been
standardised -- there was effort but now it seems to be stalled. In the
end this patch is going to be outdated again and porting effort wasted.

Another thing is that virtio might be faster when *vm is booting* but
it's not necessary faster when *vm is running*.

So I would rather we figure out a way to make Seabios enable those
options or teach our toolstack to enable the right option for qemu (if
that can be done).

Wei.

Thanks for your reply,
Probably add support for AHCI is better and faster options as you told.
I tried it long time ago trying to add it as part of add support for q35 in xen. I saw that with ahci add ich9 controller is needed and also switch disks to new qemu parameters -device. But on my old tests I had problem to switch to -device all disks things and case because automatic bus selection for ide had a bug I was unable to solve and I hadn't replies with help :( More exactly the change to new -device parameters should be done in libxl_dm.c to these lines:
    flexarray_append(dm_args, "-drive");
    flexarray_append(dm_args, drive);
and all cases of "drive" definition above.
Doc about new qemu parameters is here:
http://git.qemu.org/?p=qemu.git;a=blob;f=docs/qdev-device-use.txt;hb=HEAD

I not found my old tests posts with all details but only this newer with few details:
http://lists.xen.org/archives/html/xen-devel/2014-02/msg02380.html

Someone already started to do new disks qemu parameters support in libxl and/or AHCI support? If not and I'll retry to do it someone can help me on possible problem/bugs?

Thanks for any reply and sorry for my bad english.


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.