Skip to contentSkip to conversation

Mini-OS: add symbol exports for xenstore stubdom

PATCH In review Juergen Gross 3 participants 4 messages Feb 26, 2024 – Feb 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Mini-OS: add symbol exports for xenstore stubdom

Xenstore stubdom needs some more symbols exported.

---
 xenbus.c | 2 ++
 1 file changed, 2 insertions(+)
xenbus.c +2 -0
index eb9af055..686428a4 100644
@@ -45,6 +45,7 @@
 #endif
 
 struct xenstore_domain_interface *xenstore_buf;
+EXPORT_SYMBOL(xenstore_buf);
 static DECLARE_WAIT_QUEUE_HEAD(xb_waitq);
 DECLARE_WAIT_QUEUE_HEAD(xenbus_watch_queue);
 static __DECLARE_SEMAPHORE_GENERIC(xb_write_sem, 1);
@@ -70,6 +71,7 @@ static struct xenbus_req_info req_info[NR_REQS];
 static char *errmsg(struct xsd_sockmsg *rep);
 
 uint32_t xenbus_evtchn;
+EXPORT_SYMBOL(xenbus_evtchn);
 
 #ifdef CONFIG_PARAVIRT
 void get_xenbus(void *p)
Signature · 1 line
2.35.3
#1 lore raw
Quoted 3 lines · Juergen Gross

Xenstore stubdom needs some more symbols exported.

Any Reported-by: possibly applicable here?

Jan

Quoted 18 lines
xenbus.c +2 -0
@@ -45,6 +45,7 @@
 #endif
 
 struct xenstore_domain_interface *xenstore_buf;
+EXPORT_SYMBOL(xenstore_buf);
 static DECLARE_WAIT_QUEUE_HEAD(xb_waitq);
 DECLARE_WAIT_QUEUE_HEAD(xenbus_watch_queue);
 static __DECLARE_SEMAPHORE_GENERIC(xb_write_sem, 1);
@@ -70,6 +71,7 @@ static struct xenbus_req_info req_info[NR_REQS];
 static char *errmsg(struct xsd_sockmsg *rep);
 
 uint32_t xenbus_evtchn;
+EXPORT_SYMBOL(xenbus_evtchn);
 
 #ifdef CONFIG_PARAVIRT
 void get_xenbus(void *p)
#2 lore raw
Quoted 6 lines · Jan Beulich
Quoted 3 lines · Juergen Gross

Xenstore stubdom needs some more symbols exported.

Any Reported-by: possibly applicable here?

If any, then Andrew.

He reported a CI loop failure.

Juergen

Reviewed-by on v1 1/1
#3 lore raw
In reply to Juergen Gross

Juergen Gross, le lun. 26 févr. 2024 09:39:55 +0100, a ecrit:

Quoted 3 lines

Xenstore stubdom needs some more symbols exported.

Thanks!

Quoted 27 lines
---
 xenbus.c | 2 ++
 1 file changed, 2 insertions(+)
xenbus.c +2 -0
index eb9af055..686428a4 100644
@@ -45,6 +45,7 @@
 #endif
 
 struct xenstore_domain_interface *xenstore_buf;
+EXPORT_SYMBOL(xenstore_buf);
 static DECLARE_WAIT_QUEUE_HEAD(xb_waitq);
 DECLARE_WAIT_QUEUE_HEAD(xenbus_watch_queue);
 static __DECLARE_SEMAPHORE_GENERIC(xb_write_sem, 1);
@@ -70,6 +71,7 @@ static struct xenbus_req_info req_info[NR_REQS];
 static char *errmsg(struct xsd_sockmsg *rep);
 
 uint32_t xenbus_evtchn;
+EXPORT_SYMBOL(xenbus_evtchn);
 
 #ifdef CONFIG_PARAVIRT
 void get_xenbus(void *p)
Signature · 1 line
2.35.3
Signature · 4 lines
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.