Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-06-11 Thread Ian Campbell
On Wed, 2014-06-11 at 11:35 +0100, Stefano Stabellini wrote: > On Tue, 10 Jun 2014, Ian Campbell wrote: > > On Fri, 2014-05-23 at 17:07 +0100, Stefano Stabellini wrote: > I think that the dependency on QEMU >= 1.6 is OK. The Xen PV Device went > in v1.6.0 and we certainy cannot go back to versions

Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-06-11 Thread Stefano Stabellini
On Tue, 10 Jun 2014, Ian Campbell wrote: > On Fri, 2014-05-23 at 17:07 +0100, Stefano Stabellini wrote: > > Choose pc-i440fx-1.6 instead of pc for HVM guests, so that we know for > > sure what is the machine that we are emulating. > > Does 1.6 here refer to the qemu version? Yes, every new QEMU v

Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-06-10 Thread Ian Campbell
On Fri, 2014-05-23 at 17:07 +0100, Stefano Stabellini wrote: > Choose pc-i440fx-1.6 instead of pc for HVM guests, so that we know for > sure what is the machine that we are emulating. Does 1.6 here refer to the qemu version? If so then I think we need to consciously decide that we are happy for Xe

Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-06-03 Thread Fabio Fantoni
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

Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-06-03 Thread Ian Campbell
On Tue, 2014-06-03 at 14:38 +0100, Stefano Stabellini wrote: > Given that the VM config file exports a soundhw paramter, ... as a string. That sounds like a libxl API mistake to me. libxl should take an enum for this sort of thing. Then xl should parse whatever strings it likes (including specif

Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-06-03 Thread Paolo Bonzini
Il 03/06/2014 15:38, Stefano Stabellini ha scritto: 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

Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-06-03 Thread Stefano Stabellini
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: > > > > -

Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-05-28 Thread Fabio Fantoni
2014-05-28 18:50 GMT+02:00 Paolo Bonzini : > 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: >> >> - Sw

Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-05-28 Thread Paolo Bonzini
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 consistent

[Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6

2014-05-23 Thread Stefano Stabellini
Choose pc-i440fx-1.6 instead of pc for HVM guests, so that we know for sure what is the machine that we are emulating. Use pc-i440fx-1.6 regardless of the xen_platform_pci option. Add the xen-platform device if requested. Choose slot 2 for the xen-platform device for compatibility with current ins