Skip to contentSkip to conversation

Release manager deputy for Xen 4.9 rc3

DISCUSSION Julien Grall 4 participants 11 messages Apr 25, 2017 – Aug 10, 2017

lore
Share & tools
lore
#0 lore raw

Hi all,

I will be away from tomorrow (26th April) until the 1rst of May. Ian Jackson volunteered to handle the release management for Xen 4.9 rc3 (expected on Friday 28th April).

When sending a patch for Xen 4.9, please CC relevant maintainers, him ([email protected]) and me ([email protected]).

Thanks,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw

Xenstore Standalone application

Hello All,

Can I run xenstored daemon on a machine without xen hypervisor being run. Just native Kernel Linux is running and I want to communicate to it using some customized application I made following the approach used in Dom0 and Dom0 using Xenbus .

Regards
Amna
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw

Re: Xenstore Standalone application

Quoted 6 lines · Amna

Hello All,

Can I run xenstored daemon on a machine without xen hypervisor being run. Just native Kernel Linux is running and I want to communicate to it using some customized application I made following the approach used in Dom0 and Dom0 using Xenbus .

In theory you can. But you need to change the code yourself. I believe current code requires a few Xen devices to be present.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw

Xen Grant table frames for granting access permissions

Hello All,

I am struggling with fixing the allocation of pages to some known physical pages used for mapping and granting access between guests.

I want to fix the allocation of pages i.e. their frame numbers to be be mapped to fixed physical pages. I only want to do this for pages shared between guests for mapping,c opying and transferring data.

Is there any way in linux to change mapping of already allocated pages to some fixed physical pages?
I want to change the mapping of pages allocated in kernel used by xen frontend and backend drivers to some fixed phsical address range.

I have looked into mremap functionality but it is used by user space applications, not by kernel drivers. ioremap maps a physcial address to a kernel virtual address space. But I want already allocated virtual address of page to a fixed physical page. I want to update its page table entry to point to fixed physical page.

Thanks
Amna
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#4 lore raw

Xenstore filling information about Dom0

In reply to Waseem, Amna

Hello All,

Can anyone tell me how xenstore filesystem gets populated about information about Dom0. Which function or script creates node for local domain?

I want to statically configure the xenstore about guest parameters. I want to statically create nodes before bringing up xenstored daemon.

Regards
Amna
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw

Re: Xenstore filling information about Dom0

Quoted 3 lines · Amna

Hello All,

Can anyone tell me how xenstore filesystem gets populated about information about Dom0.

see tools/helpers/xen-init-dom0.c

Quoted 1 line

Which function or script creates node for local domain?

see tools/libxl/ (various source files)

Quoted 1 line

I want to statically configure the xenstore about guest parameters.

I guess you want to create xenstore nodes for all guests? You could use a Xenstore watch for "@introduceDomain" to be called whenever a new guest is added to Xenstore.

Quoted 1 line

I want to statically create nodes before bringing up xenstored daemon.

How should that work? Without xenstored daemon there is no Xenstore. You can, however, create nodes at xenstored startup. See function setup_structure() in tools/xenstore/xenstored_core.c

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#6 lore raw

Re: Xenstore filling information about Dom0

Thanks a lot.

I assume I will use manual_node to add nodes before starting xenstore daemon completely.

If I understand, manual_node just adds nodes and children. It doesnot add values.

Is there any way to add value of nodes as well?

Thanks
Amna
________________________________________
From: Juergen Gross <[email protected]>
Sent: Wednesday, August 2, 2017 12:21 PM
To: Waseem, Amna; Julien Grall; xen-devel
Subject: Re: [Xen-devel] Xenstore filling information about Dom0

Quoted 3 lines · Amna

Hello All,

Can anyone tell me how xenstore filesystem gets populated about information about Dom0.

see tools/helpers/xen-init-dom0.c

Quoted 1 line

Which function or script creates node for local domain?

see tools/libxl/ (various source files)

Quoted 1 line

I want to statically configure the xenstore about guest parameters.

I guess you want to create xenstore nodes for all guests? You could use a Xenstore watch for "@introduceDomain" to be called whenever a new guest is added to Xenstore.

Quoted 1 line

I want to statically create nodes before bringing up xenstored daemon.

How should that work? Without xenstored daemon there is no Xenstore. You can, however, create nodes at xenstored startup. See function setup_structure() in tools/xenstore/xenstored_core.c

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#7 lore raw

Re: Xenstore filling information about Dom0

Quoted 5 lines · Amna

Thanks a lot.

I assume I will use manual_node to add nodes before starting xenstore daemon completely.

If I understand, manual_node just adds nodes and children. It doesnot add values.

Be careful here: manual_node() right now even can add only one child per node.

Quoted 1 line

Is there any way to add value of nodes as well?

You would have to add setting node->data and node->datalen to manual_node() (or an appropriate new function).

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#8 lore raw

Re: Xenstore filling information about Dom0

Thanks a lot for information.
Is there any other function to add more than one child per node besides manual node before starting xendameon ?

Thanks
Amna
________________________________________
From: Juergen Gross <[email protected]>
Sent: Thursday, August 3, 2017 11:23 AM
To: Waseem, Amna; Julien Grall; xen-devel
Subject: Re: [Xen-devel] Xenstore filling information about Dom0

Quoted 5 lines · Amna

Thanks a lot.

I assume I will use manual_node to add nodes before starting xenstore daemon completely.

If I understand, manual_node just adds nodes and children. It doesnot add values.

Be careful here: manual_node() right now even can add only one child per node.

Quoted 1 line

Is there any way to add value of nodes as well?

You would have to add setting node->data and node->datalen to manual_node() (or an appropriate new function).

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#9 lore raw

Re: Xenstore filling information about Dom0

Quoted 2 lines · Amna

Thanks a lot for information.
Is there any other function to add more than one child per node besides manual node before starting xendameon ?

Maybe you should look around yourself a little bit?

It is okay to ask for some hints where to look for some functionality, but please don't expect anyone to just do the work for you. Yes, it is sometimes hard to find the information you are searching for, but that's the way we all learned about the internals of Xen.

Juergen

Quoted 19 lines

Thanks
Amna
________________________________________
From: Juergen Gross <[email protected]>
Sent: Thursday, August 3, 2017 11:23 AM
To: Waseem, Amna; Julien Grall; xen-devel
Subject: Re: [Xen-devel] Xenstore filling information about Dom0

Quoted 5 lines · Amna

Thanks a lot.

I assume I will use manual_node to add nodes before starting xenstore daemon completely.

If I understand, manual_node just adds nodes and children. It doesnot add values.

Be careful here: manual_node() right now even can add only one child per node.

Quoted 8 lines
Quoted 1 line

Is there any way to add value of nodes as well?

You would have to add setting node->data and node->datalen to manual_node() (or an appropriate new function).

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#10 lore raw

Re: Xenstore filling information about Dom0

Yes I am looking myself too.
Thanks
Amna
______________________________________
From: Juergen Gross <[email protected]>
Sent: Thursday, August 3, 2017 12:07 PM
To: Waseem, Amna; Julien Grall; xen-devel
Subject: Re: [Xen-devel] Xenstore filling information about Dom0

Quoted 2 lines · Amna

Thanks a lot for information.
Is there any other function to add more than one child per node besides manual node before starting xendameon ?

Maybe you should look around yourself a little bit?

It is okay to ask for some hints where to look for some functionality, but please don't expect anyone to just do the work for you. Yes, it is sometimes hard to find the information you are searching for, but that's the way we all learned about the internals of Xen.

Juergen

Quoted 19 lines

Thanks
Amna
________________________________________
From: Juergen Gross <[email protected]>
Sent: Thursday, August 3, 2017 11:23 AM
To: Waseem, Amna; Julien Grall; xen-devel
Subject: Re: [Xen-devel] Xenstore filling information about Dom0

Quoted 5 lines · Amna

Thanks a lot.

I assume I will use manual_node to add nodes before starting xenstore daemon completely.

If I understand, manual_node just adds nodes and children. It doesnot add values.

Be careful here: manual_node() right now even can add only one child per node.

Quoted 8 lines
Quoted 1 line

Is there any way to add value of nodes as well?

You would have to add setting node->data and node->datalen to manual_node() (or an appropriate new function).

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel