|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
[Xen-users] Error: Migration not permitted with assigned PCI device
 
Hi everyone!
 I'm getting the above error while trying to live-migrate a VM that needs 
to use /dev/ttyS0 and /dev/ttyS1..
I'm confused though: does it mean that I _can't_ do live migration of a 
VM that uses a PCI device (additional serial device in my case) or 
simply that something is wrong with my config?
Dom0 and DomU using CentOS 5.2, Xen 3.2.1, kernel 2.6.18
vm.cfg :
> name        = 'fax'
> kernel      = '/boot/vmlinuz-2.6.18-92.1.10.el5xen'
> ramdisk     = '/boot/initrd-guest-2.6.18-92.1.10.el5xen'
> memory      = '576'
> root        = '/dev/xvda1 ro'
> disk        = [
>                   'drbd:fax-disk,xvda1,w',
>                   'drbd:fax-swap,xvda2,w',
>               ]
> vif         = [ 'ip=192.168.1.213,mac=00:16:3E:CC:AB:6D' ]
> on_poweroff = 'destroy'
> on_reboot   = 'restart'
> on_crash    = 'preserve'
>
> # ttyS0
> irq = [ 4 ]
> ioports = [ "3f8-3ff" ]
> # ttyS1
> pci = [ '01:07.0' ]
Script to enable PCI passthrough:
> #!/bin/bash
> pci1=0000:01:07.0
> driver1=serial
>
> modprobe pciback
>
> # hide the device from dom0 so pciback can take control
> echo -n $pci1 >  /sys/bus/pci/drivers/$driver1/unbind
> sleep 1
> # Give the device to pciback, give it a new slot then bind
> echo -n $pci1 >  /sys/bus/pci/drivers/pciback/new_slot
> sleep 1
> echo -n $pci1 >  /sys/bus/pci/drivers/pciback/bind
Command output:
 
[root@server1 ~]# xm migrate fax server2x --live
Error: Migration not permitted with assigned PCI device.
Usage: xm migrate <Domain> <Host>
 
 
Thanks for your time!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-users] Error: Migration not permitted with assigned PCI device,
Federico Fanton <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |