Skip to contentSkip to conversation

pci passthrough and live migration

DISCUSSION Tommy 2 participants 2 messages Oct 25, 2011

lore
Share & tools
lore

Tommy

author
#0 lore raw

Hello, everybody!

I've done some research on Xenlive migration recently.

I've checked the maillist for pci passthrough and live migration, I can't figure out the current progress on them.

Does Xen support live migration with pci passthrough? How about that with vga passthrough?

If it is supported now, what extra configurations do I need?

If not, could anyone give some ideas on what is the main difficulties for it?

At last, does anyone have some documents about this area?

Thanks!

Signature · 1 line
Yours Sincerely!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 3 lines · Tommy

Hello, everybody!

I've done some research on Xenlive migration recently.

XenLive? What is that? Oh, is that the CentOS4..

Quoted 3 lines

I've checked the maillist for pci passthrough and live migration, I can't figure out the current progress on them.

Did you check the Wiki?

Quoted 3 lines

Does Xen support live migration with pci passthrough? How about that with vga passthrough?

You can do it with SR-IOV, but normal PCI passthrough would not work that well.

Quoted 2 lines

If it is supported now, what extra configurations do I need?

It definitly is supported in the kernel.. you need to use 'pci-attach' command and hardware that can do IOMMU if you want to do it with HVM.

If you want to do with PV, you need to pass 'iommu=soft' on the Linux command line.

However, before the migration, you _must_ hot-unplug the pci-device - you can use 'pci-detach' and then on the other end do 'pci-attach'.

I am not sure if the tools do this automatically but they might.

Quoted 5 lines

If not, could anyone give some ideas on what is the main difficulties for it?

At last, does anyone have some documents about this area?

Just search for SR-IOV and Xen.

Quoted 14 lines

Thanks!

Signature · 8 lines
Yours Sincerely!



_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel