Migration v2 and related work for 4.6
Hello,
I believe I have CC'd all interested parties. If I have missed anyone, please shout.
There are several large series:
* Cancellable async operations
* COLO
and a wish to start experimenting with migration on ARM which all interact with my large series for migration v2 support in libxc and libxl.
I am working on the libxl side of things, but realise that I am being a blockage to the other areas waiting on migration v2.
The current state of the libxc bit is functionally complete. It is shipping in two versions of XenServer, has not changed substantially in 9 months, and not changed in a backwards incompatible way since v1.
I propose that the libxc series be accepted independently of the libxl series. The libxc series is still implemented as an API-compatible alternative to legacy migration, and is not enabled by default, meaning no change to current users.
However, it will unblock development of ARM migration and COLO, and will allow people in the wider community to experiment with migration v2. An existing xl migrate can be swapped from legacy to migration v2 simply by setting an environment variable (for PV guests. HVM requires the libxl changed as the handling of the Qemu save record is changing.)
I feel that this is best interest for the community, to get some testing available earlier in the development cycle, rather than attempting to splice 3 large series in a related area together towards the code freeze.
Thoughts? (especially from a release management point of view)
~Andrew
Quoted 2 lines · Andrew Cooper
I propose that the libxc series be accepted independently of the libxl series.
That is most likely a good idea IMHO.
What do you estimate the chances of the libxl bit being done for 4.6 to be?
Is there an option of actually switching to the new libxc without switching libxl and fixing libxl later, or would that be as much work as just fixing libxl?
Ian.
Quoted 7 lines · Ian Campbell
Quoted 2 lines · Andrew Cooper
I propose that the libxc series be accepted independently of the libxl series.
That is most likely a good idea IMHO.
What do you estimate the chances of the libxl bit being done for 4.6 to be?
I hope to have everything complete for 4.6, including removal of the legacy code.
Given the current timescales, I would say most likely.
Quoted 4 lines
Is there an option of actually switching to the new libxc without switching libxl and fixing libxl later, or would that be as much work as just fixing libxl?
For PV guests, yes. One can transparently swap the legacy algorithm from the v2 algorithm and every works.
For HVM guests, no. The handling of the Qemu save record and toolstack records needs fixing.
In the upgrade case, libxl also needs to take care of piping the legacy stream through the conversion script.
~Andrew
Quoted 4 lines · Andrew Cooper
Quoted 3 lines · Ian Campbell
Quoted 2 lines · Andrew Cooper
I propose that the libxc series be accepted independently of the libxl series.
Quoted 8 lines
Quoted 4 lines
That is most likely a good idea IMHO.
What do you estimate the chances of the libxl bit being done for 4.6 to be?
I hope to have everything complete for 4.6, including removal of the legacy code.
Not sure what "legacy code" you're referring to, but we definitely want to support 4.5 -> 4.6 migration so the "legacy code" might need to stay for 4.6?
Wei.
Quoted 17 lines
Given the current timescales, I would say most likely.
Quoted 4 lines
Is there an option of actually switching to the new libxc without switching libxl and fixing libxl later, or would that be as much work as just fixing libxl?
For PV guests, yes. One can transparently swap the legacy algorithm from the v2 algorithm and every works.
For HVM guests, no. The handling of the Qemu save record and toolstack records needs fixing.
In the upgrade case, libxl also needs to take care of piping the legacy stream through the conversion script.
~Andrew
Quoted 7 lines · Wei Liu
Quoted 6 lines · Andrew Cooper
Quoted 5 lines · Ian Campbell
Quoted 2 lines · Andrew Cooper
I propose that the libxc series be accepted independently of the libxl series.
That is most likely a good idea IMHO.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
What do you estimate the chances of the libxl bit being done for 4.6 to be?
I hope to have everything complete for 4.6, including removal of the legacy code.
Not sure what "legacy code" you're referring to, but we definitely want to support 4.5 -> 4.6 migration so the "legacy code" might need to stay for 4.6?
"legacy migration" is what currently exists.
Backwards compatibility is provided by a short python script which converts legacy to v2.
Once the libxl changes are complete, xc_domain_save.c and xc_domain_restore.c can be deleted, along with other assorted bits and pieces.
~Andrew
We could discuss at the Hackathon next week, and reply to this thread. It seems that at least 50% of all the stake-holders are in fact there Regards
Lars
Quoted 44 lines · Wei Liu
Quoted 4 lines · Andrew Cooper
Quoted 3 lines · Ian Campbell
Quoted 2 lines · Andrew Cooper
I propose that the libxc series be accepted independently of the libxl series.
Quoted 8 lines
Quoted 4 lines
That is most likely a good idea IMHO.
What do you estimate the chances of the libxl bit being done for 4.6 to be?
I hope to have everything complete for 4.6, including removal of the legacy code.
Not sure what "legacy code" you're referring to, but we definitely want to support 4.5 -> 4.6 migration so the "legacy code" might need to stay for 4.6?
Wei.
Quoted 10 lines
Given the current timescales, I would say most likely.
Quoted 4 lines
Is there an option of actually switching to the new libxc without switching libxl and fixing libxl later, or would that be as much work as just fixing libxl?
For PV guests, yes. One can transparently swap the legacy algorithm from the v2 algorithm and every works.
Quoted 7 lines
For HVM guests, no. The handling of the Qemu save record and toolstack records needs fixing.
In the upgrade case, libxl also needs to take care of piping the legacy stream through the conversion script.
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 30 lines · Andrew Cooper
Hello,
I believe I have CC'd all interested parties. If I have missed anyone, please shout.
There are several large series:
* Cancellable async operations
* COLOand a wish to start experimenting with migration on ARM which all interact with my large series for migration v2 support in libxc and libxl.
I am working on the libxl side of things, but realise that I am being a blockage to the other areas waiting on migration v2.
The current state of the libxc bit is functionally complete. It is shipping in two versions of XenServer, has not changed substantially in 9 months, and not changed in a backwards incompatible way since v1.
I propose that the libxc series be accepted independently of the libxl series. The libxc series is still implemented as an API-compatible alternative to legacy migration, and is not enabled by default, meaning no change to current users.
However, it will unblock development of ARM migration and COLO, and will allow people in the wider community to experiment with migration v2. An existing
xl migratecan be swapped from legacy to migration v2 simply by setting an environment variable (for PV guests. HVM requires the libxl changed as the handling of the Qemu save record is changing.)
Quoted 6 lines
I feel that this is best interest for the community, to get some testing available earlier in the development cycle, rather than attempting to splice 3 large series in a related area together towards the code freeze.
Thoughts? (especially from a release management point of view)
I've looked at your libxc series. It looks complete. I agree it would be good to get it in as early as possible.
Wei.
Quoted 1 line
~Andrew
Quoted 35 lines · Wei Liu
Quoted 34 lines · Andrew Cooper
Hello,
I believe I have CC'd all interested parties. If I have missed anyone, please shout.
There are several large series:
* Cancellable async operations
* COLOand a wish to start experimenting with migration on ARM which all interact with my large series for migration v2 support in libxc and libxl.
I am working on the libxl side of things, but realise that I am being a blockage to the other areas waiting on migration v2.
The current state of the libxc bit is functionally complete. It is shipping in two versions of XenServer, has not changed substantially in 9 months, and not changed in a backwards incompatible way since v1.
I propose that the libxc series be accepted independently of the libxl series. The libxc series is still implemented as an API-compatible alternative to legacy migration, and is not enabled by default, meaning no change to current users.
However, it will unblock development of ARM migration and COLO, and will allow people in the wider community to experiment with migration v2. An existing
xl migratecan be swapped from legacy to migration v2 simply by setting an environment variable (for PV guests. HVM requires the libxl changed as the handling of the Qemu save record is changing.)I feel that this is best interest for the community, to get some testing available earlier in the development cycle, rather than attempting to splice 3 large series in a related area together towards the code freeze.
Quoted 5 lines
Quoted 2 lines
Thoughts? (especially from a release management point of view)
I've looked at your libxc series. It looks complete. I agree it would be good to get it in as early as possible.
I think the question is more at what point should we flip the switch and make that new code the default without needing to set magic envvars?
Or to take it a step further, when can we delete all the old code.
Ian.
Quoted 36 lines · Ian Campbell
Quoted 35 lines · Wei Liu
Quoted 34 lines · Andrew Cooper
Hello,
I believe I have CC'd all interested parties. If I have missed anyone, please shout.
There are several large series:
* Cancellable async operations
* COLOand a wish to start experimenting with migration on ARM which all interact with my large series for migration v2 support in libxc and libxl.
I am working on the libxl side of things, but realise that I am being a blockage to the other areas waiting on migration v2.
The current state of the libxc bit is functionally complete. It is shipping in two versions of XenServer, has not changed substantially in 9 months, and not changed in a backwards incompatible way since v1.
I propose that the libxc series be accepted independently of the libxl series. The libxc series is still implemented as an API-compatible alternative to legacy migration, and is not enabled by default, meaning no change to current users.
However, it will unblock development of ARM migration and COLO, and will allow people in the wider community to experiment with migration v2. An existing
xl migratecan be swapped from legacy to migration v2 simply by setting an environment variable (for PV guests. HVM requires the libxl changed as the handling of the Qemu save record is changing.)I feel that this is best interest for the community, to get some testing available earlier in the development cycle, rather than attempting to splice 3 large series in a related area together towards the code freeze.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Thoughts? (especially from a release management point of view)
I've looked at your libxc series. It looks complete. I agree it would be good to get it in as early as possible.
I think the question is more at what point should we flip the switch and make that new code the default without needing to set magic envvars?
Or to take it a step further, when can we delete all the old code.
The other bits needed are:
* Remus/Migrationv2 (not too much, judging from the rfc set)
* A decision regarding tmem. That is one bit not covered at all any of the new code, or the legacy conversion.
* Libxl/migrationv2
The libxl migration v2 will contain the legacy->v2 conversion scripts, which will cover the backwards compatibility aspect.
It is my hope that I can submit a very large pruning patch in time for 4.6.
~Andrew
Quoted 44 lines · Andrew Cooper
Quoted 43 lines · Ian Campbell
Quoted 31 lines · Wei Liu
Quoted 30 lines · Andrew Cooper
Hello,
I believe I have CC'd all interested parties. If I have missed anyone, please shout.
There are several large series:
* Cancellable async operations
* COLOand a wish to start experimenting with migration on ARM which all interact with my large series for migration v2 support in libxc and libxl.
I am working on the libxl side of things, but realise that I am being a blockage to the other areas waiting on migration v2.
The current state of the libxc bit is functionally complete. It is shipping in two versions of XenServer, has not changed substantially in 9 months, and not changed in a backwards incompatible way since v1.
I propose that the libxc series be accepted independently of the libxl series. The libxc series is still implemented as an API-compatible alternative to legacy migration, and is not enabled by default, meaning no change to current users.
However, it will unblock development of ARM migration and COLO, and will allow people in the wider community to experiment with migration v2. An existing
xl migratecan be swapped from legacy to migration v2 simply by setting an environment variable (for PV guests. HVM requires the libxl changed as the handling of the Qemu save record is changing.)Quoted 8 lines
Quoted 6 lines
I feel that this is best interest for the community, to get some testing available earlier in the development cycle, rather than attempting to splice 3 large series in a related area together towards the code freeze.
Thoughts? (especially from a release management point of view)
I've looked at your libxc series. It looks complete. I agree it would be good to get it in as early as possible.
I think the question is more at what point should we flip the switch and make that new code the default without needing to set magic envvars?
Quoted 7 lines
Quoted 1 line
Or to take it a step further, when can we delete all the old code.
The other bits needed are:
* Remus/Migrationv2 (not too much, judging from the rfc set)
* A decision regarding tmem. That is one bit not covered at all any of the new code, or the legacy conversion.
Adding the tmem maintainer.
Konrad, I think you tmem guys need to step up to the plate and make tmem work with migration v2, AIUI this has been known for a while and I'm not in favour of stalling migr2 while we wait.
Quoted 4 lines
* Libxl/migrationv2
The libxl migration v2 will contain the
legacy->v2conversion scripts, which will cover the backwards compatibility aspect.
Ah, OK, and this is why we can't just throw the switch on the libxc side and do libxl later (for 4.6 or not). I think you've explained this to me repeatedly and I keep forgetting...
Quoted 1 line
It is my hope that I can submit a very large pruning patch in time for 4.6.
Great!
Ian.