unresolved symbols in PV driver for HVM
all,
On latest tip, following symbols are unresolved when inserting modules
xen_balloon: Unknown symbol totalhigh_pagesxen_vnif: Unknown symbol netfront_accelerator_call_resumexen_vnif: Unknown symbol netfront_accelerator_call_suspend_cancelxen_vnif: Unknown symbol netfront_accelerator_call_stop_napi_irqxen_vnif: Unknown symbol balloon_update_driver_allowancexen_vnif: Unknown symbol netfront_check_accelerator_queue_busyxen_vnif: Unknown symbol netfront_accelerator_call_backend_changedxen_vnif: Unknown symbol netif_init_accelxen_vnif: Unknown symbol netfront_accelerator_call_suspendxen_vnif: Unknown symbol netfront_load_acceleratorxen_vnif: Unknown symbol netfront_accelerator_call_removexen_vnif: Unknown symbol init_accelerator_vifxen_vnif: Unknown symbol balloon_release_driver_page
netfront/accel.c is not included in Kbuild, but still has unsolved symbol after add accel.o in Kbuild.
Changes in PV side easily break PV driver on HVM:(
Thanks,
Signature · 2 lines
best rgds, edwin
Quoted 4 lines · Edwin
all,
On latest tip, following symbols are unresolved when inserting modules
Quoted 13 lines
xen_balloon: Unknown symboltotalhigh_pagesxen_vnif: Unknown symbolnetfront_accelerator_call_resumexen_vnif: Unknown symbolnetfront_accelerator_call_suspend_cancelxen_vnif: Unknown symbolnetfront_accelerator_call_stop_napi_irqxen_vnif: Unknown symbolballoon_update_driver_allowancexen_vnif: Unknown symbolnetfront_check_accelerator_queue_busyxen_vnif: Unknown symbolnetfront_accelerator_call_backend_changedxen_vnif: Unknown symbolnetif_init_accelxen_vnif: Unknown symbolnetfront_accelerator_call_suspendxen_vnif: Unknown symbolnetfront_load_acceleratorxen_vnif: Unknown symbolnetfront_accelerator_call_removexen_vnif: Unknown symbolinit_accelerator_vifxen_vnif: Unknown symbolballoon_release_driver_page
I'm not sure about the balloon_* symbols, but the accelerator stuff will be due to the recent changeset sent in by me. I'm sorry this isn't working for you, but must confess I don't fully understand why it's not. I can point you at the patches that will have caused this if you want to back them out, but that won't help with the balloon symbols.
Quoted 2 lines
netfront/accel.cis not included inKbuild, but still has unsolved symbol after add accel.o inKbuild.
That in itself is rather odd. The patches should have included a change to the Makefile in drivers/xen/netfront to make it look like this:
===
obj-$(CONFIG_XEN_NETDEV_FRONTEND) := xennet.o
xennet-objs := netfront.o accel.o
===
In addition, as all the accelerator symbols that are listed above are in accel.c, if you've added that file they should then be found.
Quoted 1 line
Changes in PV side easily break PV driver on HVM:(
Perhaps there is some subtlety of PV-on-HVM that I've missed.
Kieran
Quoted 5 lines · Edwin
netfront/accel.cis not included inKbuild, but still has unsolved symbol after
add accel.o inKbuild.Changes in PV side easily break PV driver on HVM:(
Yes.
Now hopefully fixed in the staging trees.
-- Keir