Skip to contentSkip to conversation

Virtio 9p live migration patches

Qemu-devel Benoît Canet 3 participants 7 messages Apr 2, 2013 – Apr 4, 2013

lore
Share & tools
lore
#0 lore raw

Hello Aneesh,

I am interested in working on 9p live migration.

I remember that you had some live migration related patches on github.

I don't find these patches anymore. Do you still have them somewhere ? What was missing from it ?

Best regards

Benoît

#1 lore raw
Quoted 9 lines · Benoît Canet

Hello Aneesh,

I am interested in working on 9p live migration.

I remember that you had some live migration related patches on github.

I don't find these patches anymore. Do you still have them somewhere ? What was missing from it ?

Had to redo the tree, because of the fork changes. Now pushed as live-migration branch

git://github.com/kvaneesh/qemu.git live-migration

-aneesh

#2 lore raw

Thanks a lot,

Do you have an idea of what is left to be done on it ?

Best regards

Benoît

Quoted 20 lines · Aneesh Kumar K.V
Quoted 9 lines · Benoît Canet

Hello Aneesh,

I am interested in working on 9p live migration.

I remember that you had some live migration related patches on github.

I don't find these patches anymore. Do you still have them somewhere ? What was missing from it ?

Had to redo the tree, because of the fork changes. Now pushed as live-migration branch

git://github.com/kvaneesh/qemu.git live-migration

-aneesh

#3 lore raw
Quoted 4 lines · Benoît Canet

Thanks a lot,

Do you have an idea of what is left to be done on it ?

It has to rewritten with the new model with respect to migration. Also these is problem of how much time does it take to migrate the fid information ?. We also need to ensure new 9p request are blocked. Another option is to add migration support to protocol and handle these in the clients.

-aneesh

#4 lore raw

Thanks for the explanations I'll start working on the patchset.

Best regards

Benoît

Quoted 17 lines · Aneesh Kumar K.V
Quoted 4 lines · Benoît Canet

Thanks a lot,

Do you have an idea of what is left to be done on it ?

It has to rewritten with the new model with respect to migration. Also these is problem of how much time does it take to migrate the fid information ?. We also need to ensure new 9p request are blocked. Another option is to add migration support to protocol and handle these in the clients.

-aneesh

#5 lore raw

Il 04/04/2013 14:37, Benoît Canet ha scritto:

Quoted 1 line

We also need to ensure new 9p request are blocked.

Migration runs with the VM paused. It would be simplest to flush all the requests before migrating, that's what the block layer does. (The migration of requests we have in virtio-blk, scsi-disk etc. is only for rerror/werror=stop; it is not invoked in the common case).

Paolo

#6 lore raw

There is still the need to serialize the fid linked list.
I saw in the current code base that virtio-blk.c was using the old API to serialize a linked list.

Does writing support for serializing linked list in vmstate worth it ? Or is it better to keep the old API to serialize ?

Regards

Benoît

Quoted 11 lines · Paolo Bonzini

Il 04/04/2013 14:37, Benoît Canet ha scritto:

Quoted 1 line

We also need to ensure new 9p request are blocked.

Migration runs with the VM paused. It would be simplest to flush all the requests before migrating, that's what the block layer does. (The migration of requests we have in virtio-blk, scsi-disk etc. is only for rerror/werror=stop; it is not invoked in the common case).

Paolo