Skip to contentSkip to conversation

Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

DISCUSSION Fabio Fantoni 6 participants 12 messages May 8, 2015 – May 12, 2015 8 messages not in the archive

lore
Share & tools
lore
#0 lore raw

In latest years hvm domUs support and performance was increased but windows boot time is still too long.
I tried out all sort of combinations (without pv, with old gplpv and new winpv, with vnc, spice or without both, with different vgas and many other options) with same result: strange long boot time (before arrive to user login). On kvm (trying with same qemu/seabios versions, qdisk with raw ecc...) instead for example the boot time is faster and similar to the phisical pc one with same vcpu ram ecc as assigned.
Is there something that need to be improved/fixed in windows pv drivers or xen?

I tried to narrow down my search trying with virtio disk on xen but I was unable to have libxl patch working. I taken very old Wei Liu patch from here:
http://downloads.xen.org/Wiki/VirtioOnXen/libxl-virtio-support.patch

And I tried to adapt it but there is something that I not understand and causing the build fails:
libxl.c:2339:32: error: LIBXL__DEVICE_KIND_VIRTIO undeclared (first use in this function)

Here the path I updated and tried failing, I did only disks part (nic need only model change in xl.cfg FWIK):
https://github.com/Fantu/Xen/commit/783c1739df3a87689ab8c152632b249334d92f0a

Can someone help me to complete/fix it please?

Thanks for any reply and sorry for my bad english.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines

-----Original Message-----
From: win-pv-devel-bounces-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org [mailto:win-pv-devel- [email protected]] On Behalf Of Fabio Fantoni
Sent: 08 May 2015 15:54
To: xen-devel; [email protected]
Cc: Anthony Perard; Wei Liu; Ian Campbell; Stefano Stabellini
Subject: [win-pv-devel] Question about windows domU long boot time in
xen and help for update libxl virtio patch (for a test)

Quoted 12 lines

In latest years hvm domUs support and performance was increased but windows boot time is still too long.
I tried out all sort of combinations (without pv, with old gplpv and new winpv, with vnc, spice or without both, with different vgas and many other options) with same result: strange long boot time (before arrive to user login).
On kvm (trying with same qemu/seabios versions, qdisk with raw ecc...) instead for example the boot time is faster and similar to the phisical pc one with same vcpu ram ecc as assigned.
Is there something that need to be improved/fixed in windows pv drivers or xen?

Which version of QEMU are you using. I tend to use upstream, but I see a *very* long pause between the end of firmware logging and sampling the viridian cpuid leaves (which is generally the next thing to cause some logging) so my suspicion is that the int13 handling in seabios is probably the culprit. That's only a hunch, but using rombios and qemu trad is quite a lot faster.

Once the kernel starts to boot I see no significant delays. PV drivers are not wonderfully fast to start up as the xenstore state dance does take a while. It is somewhat unavoidable though.

Paul

Quoted 25 lines

I tried to narrow down my search trying with virtio disk on xen but I was unable to have libxl patch working.
I taken very old Wei Liu patch from here:
http://downloads.xen.org/Wiki/VirtioOnXen/libxl-virtio-support.patch

And I tried to adapt it but there is something that I not understand and causing the build fails:
libxl.c:2339:32: error: LIBXL__DEVICE_KIND_VIRTIO undeclared (first use in this function)

Here the path I updated and tried failing, I did only disks part (nic need only model change in xl.cfg FWIK):
https://github.com/Fantu/Xen/commit/783c1739df3a87689ab8c152632b2493
34d92f0a

Can someone help me to complete/fix it please?

Thanks for any reply and sorry for my bad english.

_______________________________________________
win-pv-devel mailing list [email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

A message that is not in the archive (sent off-list or not yet received): 9AAE0902D5BC7E449B7C8E4E778ABCD0258CECD3-tTyx8XI5Q+WzM76k4uAzvRgL0UkB//[email protected]

#4 lore raw

Il 08/05/2015 16:59, Paul Durrant ha scritto:

Quoted 21 lines
Quoted 9 lines

-----Original Message-----
From: win-pv-devel-bounces-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org [mailto:win-pv-devel- [email protected]] On Behalf Of Fabio Fantoni
Sent: 08 May 2015 15:54
To: xen-devel; [email protected]
Cc: Anthony Perard; Wei Liu; Ian Campbell; Stefano Stabellini
Subject: [win-pv-devel] Question about windows domU long boot time in
xen and help for update libxl virtio patch (for a test)

Quoted 12 lines

In latest years hvm domUs support and performance was increased but windows boot time is still too long.
I tried out all sort of combinations (without pv, with old gplpv and new winpv, with vnc, spice or without both, with different vgas and many other options) with same result: strange long boot time (before arrive to user login).
On kvm (trying with same qemu/seabios versions, qdisk with raw ecc...) instead for example the boot time is faster and similar to the phisical pc one with same vcpu ram ecc as assigned.
Is there something that need to be improved/fixed in windows pv drivers or xen?

Quoted 1 line

Which version of QEMU are you using. I tend to use upstream, but I see a *very* long pause between the end of firmware logging and sampling the viridian cpuid leaves (which is generally the next thing to cause some logging) so my suspicion is that the int13 handling in seabios is probably the culprit. That's only a hunch, but using rombios and qemu trad is quite a lot faster.

Thanks for reply.
With qemu-trad if I remember good was faster on initial boot but have lower general performance, I don't use anymore qemu-trad on dom0 with xen >= 4.3
About qemu upstream I started use it on 1.2 if I remember good and after I always tested all versions up to 2.2 and seabios I keeped updated rebuilding from debian sid package (now 1.8.1)

Quoted 30 lines

Once the kernel starts to boot I see no significant delays. PV drivers are not wonderfully fast to start up as the xenstore state dance does take a while. It is somewhat unavoidable though.

Paul

Quoted 25 lines

I tried to narrow down my search trying with virtio disk on xen but I was unable to have libxl patch working.
I taken very old Wei Liu patch from here:
http://downloads.xen.org/Wiki/VirtioOnXen/libxl-virtio-support.patch

And I tried to adapt it but there is something that I not understand and causing the build fails:
libxl.c:2339:32: error: LIBXL__DEVICE_KIND_VIRTIO undeclared (first use in this function)

Here the path I updated and tried failing, I did only disks part (nic need only model change in xl.cfg FWIK):
https://github.com/Fantu/Xen/commit/783c1739df3a87689ab8c152632b2493
34d92f0a

Can someone help me to complete/fix it please?

Thanks for any reply and sorry for my bad english.

_______________________________________________
win-pv-devel mailing list [email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 36 lines

-----Original Message-----
From: Fabio Fantoni [mailto:[email protected]]
Sent: 08 May 2015 16:11
To: Paul Durrant; xen-devel; [email protected]
Cc: Anthony Perard; Wei Liu; Ian Campbell; Stefano Stabellini
Subject: Re: [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

Il 08/05/2015 16:59, Paul Durrant ha scritto:

Quoted 21 lines
Quoted 9 lines

-----Original Message-----
From: win-pv-devel-bounces-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org [mailto:win-pv-devel- [email protected]] On Behalf Of Fabio Fantoni
Sent: 08 May 2015 15:54
To: xen-devel; [email protected]
Cc: Anthony Perard; Wei Liu; Ian Campbell; Stefano Stabellini
Subject: [win-pv-devel] Question about windows domU long boot time in
xen and help for update libxl virtio patch (for a test)

Quoted 12 lines

In latest years hvm domUs support and performance was increased but windows boot time is still too long.
I tried out all sort of combinations (without pv, with old gplpv and new winpv, with vnc, spice or without both, with different vgas and many other options) with same result: strange long boot time (before arrive to user login).
On kvm (trying with same qemu/seabios versions, qdisk with raw ecc...) instead for example the boot time is faster and similar to the phisical pc one with same vcpu ram ecc as assigned.
Is there something that need to be improved/fixed in windows pv drivers or xen?

Quoted 1 line

Which version of QEMU are you using. I tend to use upstream, but I see a

*very* long pause between the end of firmware logging and sampling the viridian cpuid leaves (which is generally the next thing to cause some logging) so my suspicion is that the int13 handling in seabios is probably the culprit. That's only a hunch, but using rombios and qemu trad is quite a lot faster.

Quoted 8 lines

Thanks for reply.
With qemu-trad if I remember good was faster on initial boot but have lower general performance, I don't use anymore qemu-trad on dom0 with xen >= 4.3
About qemu upstream I started use it on 1.2 if I remember good and after I always tested all versions up to 2.2 and seabios I keeped updated rebuilding from debian sid package (now 1.8.1)

I'm using the seabios image from the Xen build. Turns out that it's built with CONFIG_ATA_DMA off (because that's not set when you run make defconfig). Turning that on manually in the config and rebuilding makes things a *lot* faster :-)

Paul

Quoted 33 lines
Quoted 2 lines

Once the kernel starts to boot I see no significant delays. PV drivers are not

wonderfully fast to start up as the xenstore state dance does take a while. It is somewhat unavoidable though.

Quoted 16 lines

Paul

Quoted 13 lines

I tried to narrow down my search trying with virtio disk on xen but I was unable to have libxl patch working.
I taken very old Wei Liu patch from here:
http://downloads.xen.org/Wiki/VirtioOnXen/libxl-virtio-support.patch

And I tried to adapt it but there is something that I not understand and causing the build fails:
libxl.c:2339:32: error: LIBXL__DEVICE_KIND_VIRTIO undeclared (first use in this function)

Here the path I updated and tried failing, I did only disks part (nic need only model change in xl.cfg FWIK):

https://github.com/Fantu/Xen/commit/783c1739df3a87689ab8c152632b2493

Quoted 12 lines
Quoted 12 lines

34d92f0a

Can someone help me to complete/fix it please?

Thanks for any reply and sorry for my bad english.

_______________________________________________
win-pv-devel mailing list [email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

#7 lore raw
Quoted 45 lines · Paul Durrant
Quoted 36 lines

-----Original Message-----
From: Fabio Fantoni [mailto:[email protected]]
Sent: 08 May 2015 16:11
To: Paul Durrant; xen-devel; [email protected]
Cc: Anthony Perard; Wei Liu; Ian Campbell; Stefano Stabellini
Subject: Re: [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

Il 08/05/2015 16:59, Paul Durrant ha scritto:

Quoted 21 lines
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:win-pv-devel- [email protected]] On Behalf Of Fabio Fantoni
Sent: 08 May 2015 15:54
To: xen-devel; [email protected]
Cc: Anthony Perard; Wei Liu; Ian Campbell; Stefano Stabellini
Subject: [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

Quoted 12 lines

In latest years hvm domUs support and performance was increased but windows boot time is still too long.
I tried out all sort of combinations (without pv, with old gplpv and new winpv, with vnc, spice or without both, with different vgas and many other options) with same result: strange long boot time (before arrive to user login).
On kvm (trying with same qemu/seabios versions, qdisk with raw ecc...) instead for example the boot time is faster and similar to the phisical pc one with same vcpu ram ecc as assigned.
Is there something that need to be improved/fixed in windows pv drivers or xen?

Quoted 1 line

Which version of QEMU are you using. I tend to use upstream, but I see a

*very* long pause between the end of firmware logging and sampling the viridian cpuid leaves (which is generally the next thing to cause some logging) so my suspicion is that the int13 handling in seabios is probably the culprit. That's only a hunch, but using rombios and qemu trad is quite a lot faster.

Quoted 8 lines

Thanks for reply.
With qemu-trad if I remember good was faster on initial boot but have lower general performance, I don't use anymore qemu-trad on dom0 with xen >= 4.3
About qemu upstream I started use it on 1.2 if I remember good and after I always tested all versions up to 2.2 and seabios I keeped updated rebuilding from debian sid package (now 1.8.1)

Quoted 2 lines

I'm using the seabios image from the Xen build. Turns out that it's built with CONFIG_ATA_DMA off (because that's not set when you run make defconfig). Turning that on manually in the config and rebuilding makes things a *lot* faster :-)

Maybe we should turn that on in our build?

Wei.

Quoted 35 lines

Paul

Quoted 33 lines
Quoted 2 lines

Once the kernel starts to boot I see no significant delays. PV drivers are not

wonderfully fast to start up as the xenstore state dance does take a while. It is somewhat unavoidable though.

Quoted 16 lines

Paul

Quoted 13 lines

I tried to narrow down my search trying with virtio disk on xen but I was unable to have libxl patch working.
I taken very old Wei Liu patch from here:
http://downloads.xen.org/Wiki/VirtioOnXen/libxl-virtio-support.patch

And I tried to adapt it but there is something that I not understand and causing the build fails:
libxl.c:2339:32: error: LIBXL__DEVICE_KIND_VIRTIO undeclared (first use in this function)

Here the path I updated and tried failing, I did only disks part (nic need only model change in xl.cfg FWIK):

https://github.com/Fantu/Xen/commit/783c1739df3a87689ab8c152632b2493

Quoted 12 lines
Quoted 12 lines

34d92f0a

Can someone help me to complete/fix it please?

Thanks for any reply and sorry for my bad english.

_______________________________________________
win-pv-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

#8 lore raw
Quoted 8 lines · Wei Liu
Quoted 1 line · Paul Durrant

I'm using the seabios image from the Xen build. Turns out that it's

built with CONFIG_ATA_DMA off (because that's not set when you run make defconfig). Turning that on manually in the config and rebuilding makes things a *lot* faster :-)

Quoted 1 line

Maybe we should turn that on in our build?

Right now we just consume the upstream defconfig without any modifications, so my preference would be to try and get them to enable ATA_DMA by default (i.e. by sending a patch).

If they don't want to do this for some reason (and those reasons don't apply to us) then we should consider tweaking the config locally.

NB many distros want to ship only a single image, so getting this turned on globally would be a better approach.

Ian.

A message that is not in the archive (sent off-list or not yet received): 1431333739.2660.561.camel-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org

#10 lore raw
Quoted 23 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 11 May 2015 09:42
To: Wei Liu
Cc: Paul Durrant; Fabio Fantoni; xen-devel; win-pv- [email protected]; Anthony Perard; Stefano Stabellini
Subject: Re: [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

Quoted 8 lines · Wei Liu
Quoted 1 line · Paul Durrant

I'm using the seabios image from the Xen build. Turns out that it's

built with CONFIG_ATA_DMA off (because that's not set when you run make defconfig). Turning that on manually in the config and rebuilding makes things a *lot* faster :-)

Quoted 1 line

Maybe we should turn that on in our build?

Right now we just consume the upstream defconfig without any modifications, so my preference would be to try and get them to enable ATA_DMA by default (i.e. by sending a patch).

Quoted 6 lines

If they don't want to do this for some reason (and those reasons don't apply to us) then we should consider tweaking the config locally.

NB many distros want to ship only a single image, so getting this turned on globally would be a better approach.

Agreed. I'll see if I can formulate a patch sometime this week.

Paul

Quoted 1 line

Ian.

A message that is not in the archive (sent off-list or not yet received): 9AAE0902D5BC7E449B7C8E4E778ABCD0258DAA1A-tTyx8XI5Q+UHsGstg6cAPhgL0UkB//[email protected]

#12 lore raw

Il 11/05/2015 11:55, Paul Durrant ha scritto:

Quoted 23 lines
Quoted 23 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 11 May 2015 09:42
To: Wei Liu
Cc: Paul Durrant; Fabio Fantoni; xen-devel; win-pv- [email protected]; Anthony Perard; Stefano Stabellini
Subject: Re: [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

Quoted 6 lines · Wei Liu
Quoted 1 line · Paul Durrant

I'm using the seabios image from the Xen build. Turns out that it's

built with CONFIG_ATA_DMA off (because that's not set when you run make defconfig). Turning that on manually in the config and rebuilding makes things a *lot* faster :-)
Maybe we should turn that on in our build?

Right now we just consume the upstream defconfig without any modifications, so my preference would be to try and get them to enable ATA_DMA by default (i.e. by sending a patch).

If they don't want to do this for some reason (and those reasons don't apply to us) then we should consider tweaking the config locally.

Quoted 8 lines
Quoted 3 lines

NB many distros want to ship only a single image, so getting this turned on globally would be a better approach.

Agreed. I'll see if I can formulate a patch sometime this week.

Paul

Quoted 1 line

Ian.

I tested now rebuiling debian seabios I use enabling ATA_DMA and also ATA_PIO32 I saw disabled by default and FWIK should affect performance and now hvm boot time was decreased, thanks! About ATA_PIO32 what do you think? I not tried with it still disabled and only ATA_DMA for see difference, I must test also this case?

Thanks for any reply and sorry for my bad english.

#13 lore raw
Quoted 41 lines

-----Original Message-----
From: Fabio Fantoni [mailto:[email protected]]
Sent: 11 May 2015 11:27
To: Paul Durrant; Ian Campbell; Wei Liu
Cc: xen-devel; [email protected]; Anthony Perard; Stefano Stabellini
Subject: 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 11:55, Paul Durrant ha scritto:

Quoted 7 lines
Quoted 7 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 11 May 2015 09:42
To: Wei Liu
Cc: Paul Durrant; Fabio Fantoni; xen-devel; win-pv- [email protected]; Anthony Perard; Stefano Stabellini
Subject: Re: [win-pv-devel] Question about windows domU long boot

time in

Quoted 23 lines
Quoted 13 lines

xen and help for update libxl virtio patch (for a test)

Quoted 6 lines · Wei Liu
Quoted 1 line · Paul Durrant

I'm using the seabios image from the Xen build. Turns out that it's

built with CONFIG_ATA_DMA off (because that's not set when you run make defconfig). Turning that on manually in the config and rebuilding makes things a *lot* faster :-)
Maybe we should turn that on in our build?

Right now we just consume the upstream defconfig without any modifications, so my preference would be to try and get them to enable ATA_DMA by default (i.e. by sending a patch).

Quoted 6 lines

If they don't want to do this for some reason (and those reasons don't apply to us) then we should consider tweaking the config locally.

NB many distros want to ship only a single image, so getting this turned on globally would be a better approach.

Agreed. I'll see if I can formulate a patch sometime this week.

Paul

Quoted 8 lines
Quoted 1 line
Quoted 1 line

Ian.

I tested now rebuiling debian seabios I use enabling ATA_DMA and also ATA_PIO32 I saw disabled by default and FWIK should affect performance and now hvm boot time was decreased, thanks!
About ATA_PIO32 what do you think? I not tried with it still disabled and only ATA_DMA for see difference, I must test also this case?

Might be helpful to know the merits of each independently. I plan a patch to turn them both on though.

Paul

Quoted 1 line

Thanks for any reply and sorry for my bad english.

A message that is not in the archive (sent off-list or not yet received): 9AAE0902D5BC7E449B7C8E4E778ABCD0258D631F-tTyx8XI5Q+UHsGstg6cAPhgL0UkB//[email protected]

#15 lore raw

Il 08/05/2015 18:47, Paul Durrant ha scritto:

Quoted 44 lines
Quoted 36 lines

-----Original Message-----
From: Fabio Fantoni [mailto:[email protected]]
Sent: 08 May 2015 16:11
To: Paul Durrant; xen-devel; [email protected]
Cc: Anthony Perard; Wei Liu; Ian Campbell; Stefano Stabellini
Subject: Re: [win-pv-devel] Question about windows domU long boot time in xen and help for update libxl virtio patch (for a test)

Il 08/05/2015 16:59, Paul Durrant ha scritto:

Quoted 21 lines
Quoted 9 lines

-----Original Message-----
From: win-pv-devel-bounces-GuqFBffKawtpuQazS67q72D2FQJk+8+b@public.gmane.org [mailto:win-pv-devel- [email protected]] On Behalf Of Fabio Fantoni
Sent: 08 May 2015 15:54
To: xen-devel; [email protected]
Cc: Anthony Perard; Wei Liu; Ian Campbell; Stefano Stabellini
Subject: [win-pv-devel] Question about windows domU long boot time in
xen and help for update libxl virtio patch (for a test)

Quoted 12 lines

In latest years hvm domUs support and performance was increased but windows boot time is still too long.
I tried out all sort of combinations (without pv, with old gplpv and new winpv, with vnc, spice or without both, with different vgas and many other options) with same result: strange long boot time (before arrive to user login).
On kvm (trying with same qemu/seabios versions, qdisk with raw ecc...) instead for example the boot time is faster and similar to the phisical pc one with same vcpu ram ecc as assigned.
Is there something that need to be improved/fixed in windows pv drivers or xen?

Quoted 1 line

Which version of QEMU are you using. I tend to use upstream, but I see a

*very* long pause between the end of firmware logging and sampling the viridian cpuid leaves (which is generally the next thing to cause some logging) so my suspicion is that the int13 handling in seabios is probably the culprit. That's only a hunch, but using rombios and qemu trad is quite a lot faster.

Quoted 8 lines

Thanks for reply.
With qemu-trad if I remember good was faster on initial boot but have lower general performance, I don't use anymore qemu-trad on dom0 with xen >= 4.3
About qemu upstream I started use it on 1.2 if I remember good and after I always tested all versions up to 2.2 and seabios I keeped updated rebuilding from debian sid package (now 1.8.1)

Quoted 26 lines

I'm using the seabios image from the Xen build. Turns out that it's built with CONFIG_ATA_DMA off (because that's not set when you run make defconfig). Turning that on manually in the config and rebuilding makes things a *lot* faster :-)

Paul

Quoted 22 lines
Quoted 1 line

Once the kernel starts to boot I see no significant delays. PV drivers are not

wonderfully fast to start up as the xenstore state dance does take a while. It is somewhat unavoidable though.

Quoted 15 lines

Paul

Quoted 13 lines

I tried to narrow down my search trying with virtio disk on xen but I was unable to have libxl patch working.
I taken very old Wei Liu patch from here:
http://downloads.xen.org/Wiki/VirtioOnXen/libxl-virtio-support.patch

And I tried to adapt it but there is something that I not understand and causing the build fails:
libxl.c:2339:32: error: LIBXL__DEVICE_KIND_VIRTIO undeclared (first use in this function)

Here the path I updated and tried failing, I did only disks part (nic need only model change in xl.cfg FWIK):

https://github.com/Fantu/Xen/commit/783c1739df3a87689ab8c152632b2493

Quoted 3 lines
Quoted 3 lines

34d92f0a

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.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#17 lore raw

On Mon, May 11, 2015 at 03:53:44PM +0200, Fabio Fantoni wrote:

[...]

Quoted 10 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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.

A message that is not in the archive (sent off-list or not yet received): 20150511141300.GA1470-VaboLSCpQg3xcncVsP6KP2Xnswh1EIUO@public.gmane.org

#19 lore raw

Il 11/05/2015 16:13, Wei Liu ha scritto:

Quoted 17 lines · Fabio Fantoni

[...]

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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.

Quoted 8 lines

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.