"Michael S. Tsirkin" <m...@redhat.com> writes: > On Tue, May 06, 2014 at 07:58:07PM +0100, Dr. David Alan Gilbert wrote: >> * Markus Armbruster (arm...@redhat.com) wrote: >> > "Michael S. Tsirkin" <m...@redhat.com> writes: >> >> <snip> >> >> > > OK but for a new machine type, let's default to BER, right? >> > > I see no reason to keep supporting when non-BER when -M specifies 2.1 >> > > compatibility, do you? >> > >> > I fail to see the relation between machine type and migration's wire >> > encoding. >> >> New machine types are a useful but not definitive line in the sand. If >> you enable something/change the default on a new machine type you know >> it won't break any existing users since there aren't any. >> >> Dve
The purpose of machine types is to keep the guest ABI stable. I don't like tacking random crap unrelated to guest ABI to machine types. They're hard enough to grasp for users as they are. > Exactly. And on the other hand, someone enabling old machine type > and doing live migration is likely to want to be compatible with old > qemu wrt migration. Machine types let you migrate to a newer QEMU (forward migration) without messing up the guest ABI. Migrating to an older QEMU (backward migration) basically doesn't work, and as long as that's the case, picking the older wire format by default is worthless.