Skip to contentSkip to conversation

Add flag to start info regarding virtual mapped p2m list

PATCH Superseded Juergen Gross 2 participants 3 messages Mar 4, 2015 – Mar 16, 2015

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Add flag to start info regarding virtual mapped p2m list

In order to indicate the Xen tools capability to support the virtual mapped linear p2m list instead the 3 level mfn tree add a flag to the start_info page.

---
 xen/include/public/xen.h | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
xen/include/public/xen.h +6 -4
index 3703c39..66c09a3 100644
@@ -773,10 +773,12 @@ typedef struct start_info start_info_t;
 #endif /* XEN_HAVE_PV_GUEST_ENTRY */
 
 /* These flags are passed in the 'flags' field of start_info_t. */
-#define SIF_PRIVILEGED    (1<<0)  /* Is the domain privileged? */
-#define SIF_INITDOMAIN    (1<<1)  /* Is this the initial control domain? */
-#define SIF_MULTIBOOT_MOD (1<<2)  /* Is mod_start a multiboot module? */
-#define SIF_MOD_START_PFN (1<<3)  /* Is mod_start a PFN? */
+#define SIF_PRIVILEGED      (1<<0)  /* Is the domain privileged? */
+#define SIF_INITDOMAIN      (1<<1)  /* Is this the initial control domain? */
+#define SIF_MULTIBOOT_MOD   (1<<2)  /* Is mod_start a multiboot module? */
+#define SIF_MOD_START_PFN   (1<<3)  /* Is mod_start a PFN? */
+#define SIF_VIRT_P2M_4TOOLS (1<<4)  /* Do Xen tools understand a virt. mapped */
+                                    /* P->M making the 3 level tree obsolete? */
 #define SIF_PM_MASK       (0xFF<<8) /* reserve 1 byte for xen-pm options */
 
 /*
Signature · 1 line
2.1.4
#1 lore raw
Quoted 5 lines · Juergen Gross

In order to indicate the Xen tools capability to support the virtual mapped linear p2m list instead the 3 level mfn tree add a flag to the start_info page.

Ping?

Quoted 26 lines
---
  xen/include/public/xen.h | 10 ++++++----
  1 file changed, 6 insertions(+), 4 deletions(-)
xen/include/public/xen.h +6 -4
index 3703c39..66c09a3 100644
@@ -773,10 +773,12 @@ typedef struct start_info start_info_t;
  #endif /* XEN_HAVE_PV_GUEST_ENTRY */
 
  /* These flags are passed in the 'flags' field of start_info_t. */
-#define SIF_PRIVILEGED    (1<<0)  /* Is the domain privileged? */
-#define SIF_INITDOMAIN    (1<<1)  /* Is this the initial control domain? */
-#define SIF_MULTIBOOT_MOD (1<<2)  /* Is mod_start a multiboot module? */
-#define SIF_MOD_START_PFN (1<<3)  /* Is mod_start a PFN? */
+#define SIF_PRIVILEGED      (1<<0)  /* Is the domain privileged? */
+#define SIF_INITDOMAIN      (1<<1)  /* Is this the initial control domain? */
+#define SIF_MULTIBOOT_MOD   (1<<2)  /* Is mod_start a multiboot module? */
+#define SIF_MOD_START_PFN   (1<<3)  /* Is mod_start a PFN? */
+#define SIF_VIRT_P2M_4TOOLS (1<<4)  /* Do Xen tools understand a virt. mapped */
+                                    /* P->M making the 3 level tree obsolete? */
  #define SIF_PM_MASK       (0xFF<<8) /* reserve 1 byte for xen-pm options */
 
  /*
#2 lore raw
Quoted 8 lines · Juergen Gross
Quoted 5 lines · Juergen Gross

In order to indicate the Xen tools capability to support the virtual mapped linear p2m list instead the 3 level mfn tree add a flag to the start_info page.

Ping?

I'm still waiting for a reply to <[email protected]>

Ian.

Quoted 28 lines
Quoted 27 lines
---
  xen/include/public/xen.h | 10 ++++++----
  1 file changed, 6 insertions(+), 4 deletions(-)
xen/include/public/xen.h +6 -4
index 3703c39..66c09a3 100644
@@ -773,10 +773,12 @@ typedef struct start_info start_info_t;
  #endif /* XEN_HAVE_PV_GUEST_ENTRY */
 
  /* These flags are passed in the 'flags' field of start_info_t. */
-#define SIF_PRIVILEGED    (1<<0)  /* Is the domain privileged? */
-#define SIF_INITDOMAIN    (1<<1)  /* Is this the initial control domain? */
-#define SIF_MULTIBOOT_MOD (1<<2)  /* Is mod_start a multiboot module? */
-#define SIF_MOD_START_PFN (1<<3)  /* Is mod_start a PFN? */
+#define SIF_PRIVILEGED      (1<<0)  /* Is the domain privileged? */
+#define SIF_INITDOMAIN      (1<<1)  /* Is this the initial control domain? */
+#define SIF_MULTIBOOT_MOD   (1<<2)  /* Is mod_start a multiboot module? */
+#define SIF_MOD_START_PFN   (1<<3)  /* Is mod_start a PFN? */
+#define SIF_VIRT_P2M_4TOOLS (1<<4)  /* Do Xen tools understand a virt. mapped */
+                                    /* P->M making the 3 level tree obsolete? */
  #define SIF_PM_MASK       (0xFF<<8) /* reserve 1 byte for xen-pm options */
 
  /*