On Fri, Mar 04, 2022 at 02:46:37PM +0100, Andrea Stevanato wrote:
> On 3/4/2022 1:27 PM, Roger Pau Monné wrote:
> > On Fri, Mar 04, 2022 at 01:05:55PM +0100, Andrea Stevanato wrote:
> > > On 3/4/2022 12:52 PM, Roger Pau Monné wrote:
> > > > On Thu, Mar 03, 2022 at 01:08:31PM -0500, Jason Andryuk wrote:
> > > > > On Thu, Mar 3, 2022 at 11:34 AM Roger Pau Monné 
> > > > > <roger....@citrix.com> wrote:
> > > > > > 
> > > > > > On Thu, Mar 03, 2022 at 05:01:23PM +0100, Andrea Stevanato wrote:
> > > > > > > On 03/03/2022 15:54, Andrea Stevanato wrote:
> > > > > > > > Hi all,
> > > > > > > > 
> > > > > > > > according to the conversation that I had with royger, 
> > > > > > > > aa67b97ed34  broke the driver domain support.
> > > > > > > > 
> > > > > > > > What I'm trying to do is to setup networking between guests 
> > > > > > > > using driver domain. Therefore, the guest (driver) has been 
> > > > > > > > started with the following cfg.
> > > > > > > > 
> > > > > > > > name    = "guest0"
> > > > > > > > kernel  = "/media/sd-mmcblk0p1/Image"
> > > > > > > > ramdisk = "/media/sd-mmcblk0p1/rootfs.cpio.gz"
> > > > > > > > extra   = "console=hvc0 rdinit=/sbin/init root=/dev/ram0"
> > > > > > > > memory  = 1024 vcpus   = 2
> > > > > > > > driver_domain = 1
> > > > > > > > 
> > > > > > > > On guest0 I created the bridge, assigned a static IP and 
> > > > > > > > started the udhcpd on xenbr0 interface.
> > > > > > > > While the second guest has been started with the following cfg:
> > > > > > > > 
> > > > > > > > name    = "guest1"
> > > > > > > > kernel  = "/media/sd-mmcblk0p1/Image"
> > > > > > > > ramdisk = "/media/sd-mmcblk0p1/rootfs.cpio.gz"
> > > > > > > > extra   = "console=hvc0 rdinit=/sbin/init root=/dev/ram0"
> > > > > > > > memory  = 1024 vcpus   = 2
> > > > > > > > vcpus   = 2
> > > > > > > > vif = [ 'bridge=xenbr0, backend=guest0' ]
> > > > > > > > 
> > > > > > > > Follows the result of strace xl devd:
> > > > > > > > 
> > > > > > > > # strace xl devd
> > > > > > > > execve("/usr/sbin/xl", ["xl", "devd"], 0xffffdf0420c8 /* 13 
> > > > > > > > vars */) = 0
> > > > > 
> > > > > > > > ioctl(5, _IOC(_IOC_NONE, 0x50, 0, 0x30), 0xffffe6e41b40) = -1 
> > > > > > > > EPERM (Operation not permitted)
> > > > > > > > write(2, "libxl: ", 7libxl: )                  = 7
> > > > > > > > write(2, "error: ", 7error: )                  = 7
> > > > > > > > write(2, "libxl_utils.c:820:libxl_cpu_bitm"..., 
> > > > > > > > 87libxl_utils.c:820:libxl_cpu_bitmap_alloc: failed to retrieve 
> > > > > > > > the maximum number of cpus) = 87
> > > > > > > > write(2, "\n", 1
> > > > > > > > )                       = 1
> > > > > > > > clone(child_stack=NULL, 
> > > > > > > > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
> > > > > > > > child_tidptr=0xffff9ee7a0e0) = 814
> > > > > > > > wait4(814, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 
> > > > > > > > 814
> > > > > > > > --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=814, 
> > > > > > > > si_uid=0, si_status=0, si_utime=2, si_stime=2} ---
> > > > > 
> > > > > xl devd is daemonizing, but strace is only following the first
> > > > > process.  Use `strace xl devd -F` to prevent the daemonizing (or
> > > > > `strace -f xl devd` to follow children).
> > > > 
> > > > Or as a first step try to see what kind of messages you get from `xl
> > > > devd -F` when trying to attach a device using the driver domain.
> > > 
> > > Nothing has changed. On guest0 (the driver domain):
> > > 
> > > # xl devd -F
> > > libxl: error: libxl_utils.c:820:libxl_cpu_bitmap_alloc: failed to retrieve
> > > the maximum number of cpus
> > > libxl: error: libxl_utils.c:820:libxl_cpu_bitmap_alloc: failed to retrieve
> > > the maximum number of cpus
> > > libxl: error: libxl_utils.c:820:libxl_cpu_bitmap_alloc: failed to retrieve
> > > the maximum number of cpus
> > > [  696.805619] xenbr0: port 1(vif2.0) entered blocking state
> > > [  696.810334] xenbr0: port 1(vif2.0) entered disabled state
> > > [  696.824518] device vif2.0 entered promiscuous mode
> > 
> > Can you use `xl -vvv devd -F` here?
> 
> # xl -vvv devd -F
> libxl: error: libxl_utils.c:820:libxl_cpu_bitmap_alloc: failed to retrieve
> the maximum number of cpus
> libxl: error: libxl_utils.c:820:libxl_cpu_bitmap_alloc: failed to retrieve
> the maximum number of cpus
> libxl: error: libxl_utils.c:820:libxl_cpu_bitmap_alloc: failed to retrieve
> the maximum number of cpus
> libxl: debug: libxl_device.c:1749:libxl_device_events_handler: ao
> 0xaaaaece52130: create: how=(nil) callback=(nil) poller=0xaaaaece52430
> libxl: debug: libxl_event.c:813:libxl__ev_xswatch_register: watch
> w=0xffffe628caf8 wpath=/local/domain/1/backend token=3/0: register slotnum=3
> libxl: debug: libxl_device.c:1806:libxl_device_events_handler: ao
> 0xaaaaece52130: inprogress: poller=0xaaaaece52430, flags=i
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event epath=/local/domain/1/backend
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece51b90:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece51b90:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece4e7b0:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece4e7b0:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece4e990:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece4e990:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/frontend
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece4eaa0:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece4eaa0:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/frontend-id
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece4ebb0:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece4ebb0:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/online
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece52830:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_device.c:1714:backend_watch_callback: Domain 2:Added
> domain to the list of active guests
> libxl: debug: libxl_device.c:1569:add_device: Domain 2:Added device
> /local/domain/1/backend/vif/2/0 to the list of active devices
> libxl: debug: libxl_event.c:813:libxl__ev_xswatch_register: watch
> w=0xaaaaece52a10 wpath=/local/domain/1/backend/vif/2/0/state token=2/1:
> register slotnum=2
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/state
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece52d50:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/script
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece52f30:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece52f30:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/mac
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/bridge
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/handle
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/type
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-sg
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-gso-tcpv4
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-gso-tcpv6
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-ipv6-csum-offload
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-rx-copy
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-xdp-headroom
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-rx-flip
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-multicast-control
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-dynamic-multicast-control
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-split-event-channels
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/multi-queue-max-queues
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-ctrl-ring
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-sg
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-gso-tcpv4
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-gso-tcpv6
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-ipv6-csum-offload
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-rx-copy
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-xdp-headroom
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-rx-flip
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-multicast-control
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-dynamic-multicast-control
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-split-event-channels
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/multi-queue-max-queues
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/feature-ctrl-ring
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:2035:libxl__ao__destroy: ao 0xaaaaece53110:
> destroy
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xffffe628caf8
> wpath=/local/domain/1/backend token=3/0: event
> epath=/local/domain/1/backend/vif/2/0/state
> libxl: debug: libxl_event.c:2445:libxl__nested_ao_create: ao 0xaaaaece53110:
> nested ao, parent 0xaaaaece52130
> libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0xaaaaece52a10
> wpath=/local/domain/1/backend/vif/2/0/state token=2/1: event
> epath=/local/domain/1/backend/vif/2/0/state
> libxl: debug: libxl_event.c:1055:devstate_callback: backend
> /local/domain/1/backend/vif/2/0/state wanted state 2 still waiting state 5

There's something wrong with the negotiation between the frontend and
the backend AFAICT. The backed switches to state 5 and 6 (Closed) so
the connection cannot be established.

Can you paste the output of `xenstore-ls -fp` from dom0 after `xl
devd` reports the timeout?

What OS/versions are you using for the guest and the driver domain, do
you have any local modifications?

Regards, Roger.

Reply via email to