Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-08 Thread Daniel P . Berrangé
On Tue, Aug 07, 2018 at 03:53:53PM -0300, Eduardo Habkost wrote: > On Tue, Aug 07, 2018 at 12:17:33PM +0100, Daniel P. Berrangé wrote: > > On Fri, Aug 03, 2018 at 01:05:49PM -0300, Eduardo Habkost wrote: > > > On Fri, Aug 03, 2018 at 01:59:47PM +0100, Daniel P. Berrangé wrote: > > > > It is

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-07 Thread Eduardo Habkost
On Tue, Aug 07, 2018 at 12:17:33PM +0100, Daniel P. Berrangé wrote: > On Fri, Aug 03, 2018 at 01:05:49PM -0300, Eduardo Habkost wrote: > > On Fri, Aug 03, 2018 at 01:59:47PM +0100, Daniel P. Berrangé wrote: > > > It is increasingly likely that some distro is going to change the > > > default "x86"

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-07 Thread Andrea Bolognani
On Tue, 2018-08-07 at 13:19 +0100, Daniel P. Berrangé wrote: > On Mon, Aug 06, 2018 at 11:38:06AM +0200, Andrea Bolognani wrote: > > I wonder how to handle architectures where QEMU never declared a > > default machine type, such as aarch64 and riscv64, though: I think > > it would make sense to

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-07 Thread Daniel P . Berrangé
On Mon, Aug 06, 2018 at 11:38:06AM +0200, Andrea Bolognani wrote: > On Fri, 2018-08-03 at 13:59 +0100, Daniel P. Berrangé wrote: > > It is increasingly likely that some distro is going to change the > > default "x86" machine type in QEMU from "pc" to "q35". This will > > certainly break existing

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-07 Thread Daniel P . Berrangé
On Fri, Aug 03, 2018 at 01:05:49PM -0300, Eduardo Habkost wrote: > On Fri, Aug 03, 2018 at 01:59:47PM +0100, Daniel P. Berrangé wrote: > > It is increasingly likely that some distro is going to change the > > default "x86" machine type in QEMU from "pc" to "q35". This will > > certainly break

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-06 Thread Daniel P . Berrangé
On Mon, Aug 06, 2018 at 01:20:23PM +0200, Christian Ehrhardt wrote: > On Mon, Aug 6, 2018 at 11:03 AM Daniel P. Berrangé > wrote: > > > On Mon, Aug 06, 2018 at 07:04:32AM +0200, Christian Ehrhardt wrote: > > > On Sun, Aug 5, 2018 at 10:53 AM Daniel P. Berrangé > > > wrote: > > > > > > > It is

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-06 Thread Christian Ehrhardt
On Mon, Aug 6, 2018 at 11:03 AM Daniel P. Berrangé wrote: > On Mon, Aug 06, 2018 at 07:04:32AM +0200, Christian Ehrhardt wrote: > > On Sun, Aug 5, 2018 at 10:53 AM Daniel P. Berrangé > > wrote: > > > > > It is increasingly likely that some distro is going to change the > > > default "x86"

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-06 Thread Andrea Bolognani
On Fri, 2018-08-03 at 13:59 +0100, Daniel P. Berrangé wrote: > It is increasingly likely that some distro is going to change the > default "x86" machine type in QEMU from "pc" to "q35". This will > certainly break existing applications which write their XML on the > assumption that its using a

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-06 Thread Daniel P . Berrangé
On Mon, Aug 06, 2018 at 10:03:52AM +0100, Daniel P. Berrangé wrote: > There's multiple things at play. First all the canonical machine type > names which are versioned > > pc-i440fx-2.5.0 > pc-i440fx-2.6.0 > pc-i440fx-2.7.0 > ... > pc-i440fx-2.10.0 > pc-q35-2.5.0 > pc-q35-2.6.0 >

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-06 Thread Daniel P . Berrangé
On Mon, Aug 06, 2018 at 07:04:32AM +0200, Christian Ehrhardt wrote: > On Sun, Aug 5, 2018 at 10:53 AM Daniel P. Berrangé > wrote: > > > It is increasingly likely that some distro is going to change the > > default "x86" machine type in QEMU from "pc" to "q35". This will > > certainly break

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-05 Thread Christian Ehrhardt
On Sun, Aug 5, 2018 at 10:53 AM Daniel P. Berrangé wrote: > It is increasingly likely that some distro is going to change the > default "x86" machine type in QEMU from "pc" to "q35". This will > certainly break existing applications which write their XML on the > assumption that its using a "pc"

Re: [libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-05 Thread Eduardo Habkost
On Fri, Aug 03, 2018 at 01:59:47PM +0100, Daniel P. Berrangé wrote: > It is increasingly likely that some distro is going to change the > default "x86" machine type in QEMU from "pc" to "q35". This will > certainly break existing applications which write their XML on the > assumption that its

[libvirt] [PATCH] qemu: ensure "pc" machine is always used as default if available

2018-08-05 Thread Daniel P . Berrangé
It is increasingly likely that some distro is going to change the default "x86" machine type in QEMU from "pc" to "q35". This will certainly break existing applications which write their XML on the assumption that its using a "pc" machine by default. For example they'll lack a IDE CDROM and get