[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 8/9] static checker: e1000-82540em got aliased to
From: |
Amit Shah |
Subject: |
Re: [Qemu-devel] [PULL 8/9] static checker: e1000-82540em got aliased to e1000 |
Date: |
Tue, 23 Feb 2016 13:11:21 +0530 |
On (Tue) 23 Feb 2016 [15:02:58], Jason Wang wrote:
> >> This means that 2.5 cannot migrate 2.4 virtual machines, right? Is that
> >> something we want to rectify in 2.6 by making e1000-82540em an alias of
> >> e1000 (instead of the other way round)?
> > You're right; I misread it. With that commit (8304402033):
> >
> > 2.4 with e1000-82540em will not migrate to 2.5 with e1000-82540em.
> >
> > This is despite they're aliased (so the cmdline is backward
> > compatible), but the migration device name actually changed.
> >
> > Of course, 2.5->2.4 will also not work.
> >
> > Since 2.4 emits 'e1000-82540em' as the device name in the migration
> > stream, and 2.5 emits just 'e1000', we have two different names for
> > the same device in two versions.
> >
> > To fix this, we'll need a hack on the dest side to allow e1000 and
> > e1000-82540em in the migration stream for the device, and this can be
> > done for 2.6 and 2.5.stable.
> >
> > Jason, can you attempt this?
> >
> Sure, but just need to understand the "problem". If I understand this
> correctly, the issue only happen for JSON description at the end of
> migration stream, and it won't break migration in fact?
No, this does break migration.
The stream contained 'e1000-82540em' as the section header for the
device earlier. It now only has 'e1000'. So a newer qemu will only
accept 'e1000', but not 'e1000-82540em' (from an older release).
Amit
- [Qemu-devel] [PULL 1/9] ram: Split host_from_stream_offset() into two helper functions, (continued)
- [Qemu-devel] [PULL 1/9] ram: Split host_from_stream_offset() into two helper functions, Amit Shah, 2016/02/05
- [Qemu-devel] [PULL 2/9] migration: rename 'file' in MigrationState to 'to_dst_file', Amit Shah, 2016/02/05
- [Qemu-devel] [PULL 3/9] savevm: Split load vm state function qemu_loadvm_state, Amit Shah, 2016/02/05
- [Qemu-devel] [PULL 4/9] migration/ram: Fix some helper functions' parameter to use PageSearchStatus, Amit Shah, 2016/02/05
- [Qemu-devel] [PULL 6/9] qmp-commands.hx: Document the missing options for migration capability commands, Amit Shah, 2016/02/05
- [Qemu-devel] [PULL 5/9] qmp-commands.hx: Fix the missing options for migration parameters commands, Amit Shah, 2016/02/05
- [Qemu-devel] [PULL 8/9] static checker: e1000-82540em got aliased to e1000, Amit Shah, 2016/02/05
[Qemu-devel] [PULL 7/9] migration: remove useless code., Amit Shah, 2016/02/05
[Qemu-devel] [PULL 9/9] migration: fix bad string passed to error_report(), Amit Shah, 2016/02/05
Re: [Qemu-devel] [PULL 0/9] migration: small fixes, Peter Maydell, 2016/02/05