| 
 
Lately i've been trying to run Xen (ver. 4.19, but with 4.20 the same problem arises) on the latest Altera SoC FPGA Agilex5 065B card (ARM64 architecture), with a custom yocto linux as a Domain0 (kernel ver. 6.12.11, same for the DomUs), but with intentions
 of using a UbuntuServer in the future for the DomUs. I can run these new domains no problem, unless I try to add a 'disk' or 'vif' device. I've tried both files and disk partitions for the disk device, but neither seem to work. These domains are also minimal
 yocto linux images for ARM64.  
 
 
This is my test domains config file: 
################################################## 
name = "dom1" 
 
 
kernel = "Image" 
 
 
ramdisk = "custom.rootfs.cpio.gz" 
 
 
#disk = ["file:/etc/xen/qemudisk.img,raw:xvda,rw"] 
#disk = ["file:/etc/xen/custom.rootfs.cpio.gz,xvda,rw"] 
 
 
#vif=[‘bridge=xenbr0’] 
 
 
extra = "root=/dev/ram0 init=/bin/sh console=hvc0 rdinit=/sbin/init" 
 
 
memory = 4096 
################################################## 
 
 
And when trying to add disk device or a vif interface the next error happens: 
 
 
libxl: error: libxl_device.c:1194:device_backend_callback: Domain 9:unable to add device with path /local/domain/0/backend/vbd/9/51712 - rc -9 
libxl: error: libxl_create.c:1707:domcreate_launch_dm: Domain 9:unable to add disk devices 
libxl: error: libxl_device.c:1194:device_backend_callback: Domain 9:unable to remove device with path /local/domain/0/backend/vbd/9/51712 - rc -9 
libxl: error: libxl_domain.c:1526:devices_destroy_cb: Domain 9:libxl__devices_destroy failed 
libxl: error: libxl_domain.c:354:libxl_domain_info: Domain 9:Getting domain info: No such process 
libxl: error: libxl_domain.c:1179:libxl__destroy_domid: Domain 9:Non-existant domain 
libxl: error: libxl_domain.c:1133:domain_destroy_callback: Domain 9:Unable to destroy guest 
libxl: error: libxl_domain.c:1060:domain_destroy_cb: Domain 9:Destruction of domain failed 
 
 
The error is the same for disk and vif devices, except that where 'disk' appears is 'vif' instead. 
 
 
I dont know if its useful, but the result of the xenstore-ls command is the following: 
 
 
root@agilex5_dk_a5e065bb32aes1:/etc/xen# xenstore-ls 
tool = "" 
 xenstored = "" 
local = "" 
 domain = "" 
  0 = "" 
   control = "" 
    feature-poweroff = "1" 
    feature-reboot = "1" 
    feature-suspend = "1" 
   domid = "0" 
   name = "Domain-0" 
   device-model = "" 
    0 = "" 
     backends = "" 
      vkbd = "" 
      vfb = "" 
     state = "running" 
   backend = "" 
    qnic = "" 
     0 = "" 
      1 = "" 
       frontend = "/local/domain/0/device/vif/1" 
       frontend-id = "0" 
       hotplug-status = "connected" 
       _online_ = "1" 
       state = "4" 
       feature-rx-copy = "1" 
       feature-rx-flip = "0" 
   device = "" 
    vif = "" 
     1 = "" 
      backend = "/local/domain/0/backend/qnic/0/1" 
      backend-id = "0" 
      state = "4" 
      mac = "52:54:00:12:34:56" 
      tx-ring-ref = "520" 
      rx-ring-ref = "521" 
      event-channel = "5" 
      request-rx-copy = "1" 
      feature-rx-notify = "1" 
      feature-sg = "1" 
      feature-gso-tcpv4 = "1" 
      feature-gso-tcpv6 = "1" 
      feature-ipv6-csum-offload = "1" 
 pool = "" 
  0 = "" 
   name = "Pool-0" 
vm = "" 
libxl = "" 
 
 
Thanks in advance, 
 
 
Asier 
  
  
  
    Asier Alaña Alvarez de Eulate Control & Monitoring Systems AD
 
 
  
 
  | 
    
  | 
             
   
  |  
  
     
      
        
        
             | 
          +34 944039600
  |  
        
             | 
          Parque Tecnológico de Bizkaia, Edificio 106 48170, Zamudio, Spain
  |   
            
    | 
    
  
  | 
    
 
  |   
  
  
  
    
      
      Este e-mail 
      puede contener información reservada o confidencial destinada 
      exclusivamente al destinatario o a la persona encargada de 
      distribuirlo. Si por error usted no 
      fuera el destinatario le rogamos nos lo comunique al mail gdpr.ingeteam@xxxxxxxxxxxx, sin difundir, almacenar 
      o copiar su contenido. Consulte aquí nuestra 
      Política 
      de Privacidad.
  
      This 
      e-mail may contain reserved or confidential information intended 
      exclusively for the addressee or the person in charge of distributing 
      it. If by mistake you are not the addressee, please inform us 
      at gdpr.ingeteam@xxxxxxxxxxxx, 
      without spreading, storing or copying its content. See our privacy 
      policy here.   |    
  
 |