All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Fabio Fantoni <fabio.fantoni@m2r.biz>
Cc: xen-devel@lists.xensource.com, wei.liu2@citrix.com,
	Stefano.Stabellini@eu.citrix.com, George.Dunlap@eu.citrix.com,
	Ian.Jackson@eu.citrix.com, Paul.Durrant@citrix.com,
	anthony.perard@citrix.com
Subject: Re: [PATCH v4] libxl: Add AHCI support for upstream qemu
Date: Thu, 9 Jul 2015 12:55:06 +0100	[thread overview]
Message-ID: <1436442906.23508.119.camel@citrix.com> (raw)
In-Reply-To: <559E4EA0.7060908@m2r.biz>

On Thu, 2015-07-09 at 12:36 +0200, Fabio Fantoni wrote:
> Il 09/07/2015 12:26, Ian Campbell ha scritto:
> > On Wed, 2015-07-08 at 16:31 +0200, Fabio Fantoni wrote:
> >> Usage:
> >> hdtype=ide|ahci (default=ide)
> >>
> >> If hdtype=ahci adds ich9 disk controller in ahci mode and uses it with
> >> upstream qemu to emulate disks instead of ide.
> >> It doesn't support cdroms which still using ide (cdroms will use
> >> "-device ide-cd" as new qemu parameter)
> >> Ahci requires new qemu parameter but for now other emulated disks cases
> >> remains with old ones (I did it in other patch, not needed by this one)
> >> I did it as libxl parameter disabled by default to avoid possible
> >> problems:
> >> - with save/restore/migration (restoring with ahci a domU that was with
> >> ide instead)
> >> - windows < 8 without pv drivers (a registry key change is needed for
> >> AHCI<->IDE change FWIK to avoid possible blue screen)
> >> - windows XP or older that many not support ahci by default.
> >> Setting AHCI with libxl parameter and default to disabled seems the best
> >> solution.
> >> AHCI increase hvm domUs boot performance. On linux hvm domU I saw up to
> >> only 20% of the previous total boot time, whereas boot time decrease a
> >> lot on W7 domUs for most of boots I have done. Small difference in boot
> >> time compared to ide mode on W8 and newer (probably other xen
> >> improvements or fixes are needed not ahci related)
> >>
> >> Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
> >>
> >> ---
> >>
> >> Changes in v4:
> >> - libxl.h: LIBXL_HAVE_AHCI->LIBXL_HAVE_HVM_AHCI
> > In retrospect this should have been LIBXL_HAVE_HVM_HDTYPE. Since the
> > above was my suggestion if you agree I can make that simple change as I
> > commit.
> 
> Yes you can change it directly as this change not risk introduce bug, 
> thanks.

Done, pod doc fixed and applied, thanks.

Ian.

  parent reply	other threads:[~2015-07-09 11:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 14:31 [PATCH v4] libxl: Add AHCI support for upstream qemu Fabio Fantoni
2015-07-09 10:26 ` Ian Campbell
2015-07-09 10:36   ` Fabio Fantoni
2015-07-09 10:43     ` Ian Campbell
2015-07-09 11:55     ` Ian Campbell [this message]
2015-07-09 11:09 ` Ian Campbell

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=1436442906.23508.119.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Paul.Durrant@citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=fabio.fantoni@m2r.biz \
    --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.