From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: xen-devel@lists.xensource.com,
Ian Campbell <Ian.Campbell@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
qemu-devel@nongnu.org, Paul Durrant <paul.durrant@citrix.com>,
Anthony.Perard@citrix.com, tiejun.chen@intel.com
Subject: Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6
Date: Tue, 03 Jun 2014 16:03:23 +0200 [thread overview]
Message-ID: <538DD5AB.2040706@m2r.biz> (raw)
In-Reply-To: <alpine.DEB.2.02.1406031436110.4779@kaball.uk.xensource.com>
Il 03/06/2014 15:38, Stefano Stabellini ha scritto:
> On Wed, 28 May 2014, Paolo Bonzini wrote:
>> Il 28/05/2014 18:41, Stefano Stabellini ha scritto:
>>> However it would still place xen-platform at slot 3 instead of slot 2 if
>>> soundhw is specified. It seems to me that there is not a perfect
>>> solution to this problem. We can either:
>>>
>>> - Switch to -machine pc-i440fx-1.6 by default and use consistently the
>>> same -machine option no matter the value of xen_platform_pci. Nice, but
>>> we break compatibility with existing guests if soundhw is specified.
>>>
>>> - Switch to -machine pc-i440fx-1.6 only when xen_platform_pci=0 is
>>> specified and keep xenfv if xen_platform_pci=1. We still break
>>> compatibility when soundhw is specified together with xen_platform_pci=0.
>> - change the implementation of the soundhw option to use -device instead.
> Thanks, this sounds like the best option by far.
>
> I noticed that "-soundhw hda" becomes "-device intel-hda".
>
> Given that the VM config file exports a soundhw paramter, we would need
> a programmatic way to get the -device command line option from the
> soundhw paramter. Is there a way to do that?
Not only -device intel-hda, if I remember good there is also -device
hda-duplex
soundhw now in libxl is only a string passed to qemu without check,
probably is good add another parameter with a selectable options
supported, similar to vga, for example audio=ac97|intelhda and libxl
will check if exist and give to qemu the correct -device parameters.
The only problem is that audio device as many and not all qemu build
support all (howevercurrently libxl does not care and isthe user having
to make sure of the features support in qemu and view the log if qemu
fails).
In addition there are also the disks to convert in -device.
I tried last year but with -device the automatic selection of bus and
slot (unit now used in xen is not supported in -device if I remember
good) was not working properly and the manual I did not know if I could
do it working with cd/disk hot-plug working.
Thanks for any reply and sorry for my bad english.
next prev parent reply other threads:[~2014-06-03 14:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-23 16:07 [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6 Stefano Stabellini
2014-05-23 17:08 ` [Qemu-devel] [Xen-devel] " Fabio Fantoni
2014-05-25 14:14 ` Stefano Stabellini
2014-05-26 8:00 ` Fabio Fantoni
[not found] ` <5385F670.5040207@m2r.biz>
[not found] ` <alpine.DEB.2.02.1405281710150.4779@kaball.uk.xensource.com>
[not found] ` <alpine.DEB.2.02.1405281732000.4779@kaball.uk.xensource.com>
[not found] ` <538613EB.3030009@redhat.com>
2014-06-03 13:38 ` [Qemu-devel] " Stefano Stabellini
2014-06-03 13:43 ` Paolo Bonzini
2014-06-03 13:47 ` Ian Campbell
2014-06-03 14:03 ` Fabio Fantoni [this message]
2014-06-10 11:14 ` Ian Campbell
2014-06-11 10:35 ` Stefano Stabellini
2014-06-11 10:44 ` Ian Campbell
2014-06-11 18:05 ` [Qemu-devel] [Xen-devel] " Fabio Fantoni
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=538DD5AB.2040706@m2r.biz \
--to=fabio.fantoni@m2r.biz \
--cc=Anthony.Perard@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=paul.durrant@citrix.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=tiejun.chen@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).