On Thu, 20 Sep 2012, David Vrabel wrote:
On 19/09/12 18:44, Stefano Stabellini wrote:
quoted
--- /dev/null
+++ b/arch/arm/boot/dts/vexpress-xenvm-4.2.dts
Does this make sense? There is no fixed configuration for VMs.
Is the intention to pass a DTS to the toolstack for it to create the VM
with the appropriate amount of memory and peripheral mapped to the right
place etc? Or is the toolstack going to create the VM and generate the
DTB from (e.g.,) an xl VM configuration file.
quoted
+
+ hypervisor {
+ compatible = "xen,xen-4.2", "xen,xen";
+ reg = <0xb0000000 0x20000>;
+ interrupts = <1 15 0xf08>;
+ };
This node needs to be generated by the toolstack as only it knows what
ABI the hypervisor has.
This DTS is going to be genereted by the toolstack (or the hypervisor).
We don't expect people to take this exact DTS and use it for Xen VMs.
However it is useful to have it in the Linux tree as a reference.
Of course the amount of memory and the position of the memory region
under the hypervisor node can change.