[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] can't passthrough pci device with xen 4.2



Hello,
    I want to passthrough a wireless netcard to a hvm domain.
 
    lspci
    ......
    02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
    ......
 
    I use "xl pci-assignable-add 02:00.0"  to make the the device passthrough-able.
    "xl pci-assignable-list" shows the expected result : 0000:02:00.0
  
    My domU config file is as follows:
 
    builder = "hvm"
    name = "xp"
    memory = 512
    vcpus = 1
    vif = [ '' ]
    pci = [ '02:00.0' ]
    disk = [ 'file:/home/xxx/xp.img,hda,rw']
    sdl = 1
   
    When I create the domain, the following error appears:
     Parsing config from xp.hvm
     xc: info: VIRTUAL MEMORY ARRANGEMENT:
     Loader:        0000000000100000->000000000019db48
     TOTAL:         0000000000000000->000000001f800000
     ENTRY ADDRESS: 0000000000100000
     xc: info: PHYSICAL MEMORY ALLOCATION:
     4KB PAGES: 0x0000000000000200
     2MB PAGES: 0x00000000000000fb
    1GB PAGES: 0x0000000000000000
    libxl: error: libxl_exec.c:227:libxl__wait_for_offspring: Device Model not ready
    libxl: error: libxl_pci.c:846:qemu_pci_add_xenstore: qemu refused to add device: 0000:02:00.0,msitranslate=0,power_mgmt=0
    Daemon running with PID 16999

    "xl pci-assignable list" shows nothing after the creatation of the hvm.
     and "xl pci-list xp" show the following result:
     Vdev Device
     00.0 0000:02:00.0
 
      I can't find the device in domU. I don't know if the passthrough is successful, this is the first time I'm trying to do a passthrough with xen.  I tried several times with other devices, but the same problem. Anyone give me some help.
 
Best Regards,
Xinli
    
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.