From: Fabio Fantoni Subject: Re: Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test) Date: Tue, 12 May 2015 10:41:04 +0200 Message-ID: <5551BCA0.2040804@m2r.biz> References: <554CCE1F.5080305@m2r.biz> <9AAE0902D5BC7E449B7C8E4E778ABCD0258CECD3@AMSPEX01CL02.citrite.net> <554CD21A.7080400@m2r.biz> <9AAE0902D5BC7E449B7C8E4E778ABCD0258D631F@AMSPEX01CL01.citrite.net> <5550B468.6080306@m2r.biz> <20150511141300.GA1470@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: <20150511141300.GA1470-VaboLSCpQg3xcncVsP6KP2Xnswh1EIUO@public.gmane.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: win-pv-devel-bounces-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org Errors-To: win-pv-devel-bounces-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org To: Wei Liu Cc: xen-devel , Ian Campbell , Paul Durrant , Stefano Stabellini , Anthony Perard , "win-pv-devel-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org" List-Id: xen-devel@lists.xenproject.org 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.