Skip to contentSkip to conversation

tools/libxl: add direct_io_safe to check-xl-disk-parse

PATCH In review Olaf Hering 2 participants 2 messages May 5, 2014 – May 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/libxl: add direct_io_safe to check-xl-disk-parse

Add missing bool "direct_io_safe" to expected output. It was added by Commit 6ec48cf4 ("libxl: introduce an option for disabling the non-O_DIRECT workaround"), but check-xl-disk-parse was not updated.

Cc Ian Jackson <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Ian Campbell <[email protected]>
---
 tools/libxl/check-xl-disk-parse | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
tools/libxl/check-xl-disk-parse +14 -7
index 797277c..0698586 100755
@@ -61,7 +61,8 @@ disk: {
     "script": null,
     "removable": 0,
     "readwrite": 1,
-    "is_cdrom": 0
+    "is_cdrom": 0,
+    "direct_io_safe": false
 }
 
 END
@@ -82,7 +83,8 @@ disk: {
     "script": null,
     "removable": 1,
     "readwrite": 0,
-    "is_cdrom": 1
+    "is_cdrom": 1,
+    "direct_io_safe": false
 }
 
 END
@@ -104,7 +106,8 @@ disk: {
     "script": null,
     "removable": 0,
     "readwrite": 1,
-    "is_cdrom": 0
+    "is_cdrom": 0,
+    "direct_io_safe": false
 }
 
 EOF
@@ -121,7 +124,8 @@ disk: {
     "script": null,
     "removable": 1,
     "readwrite": 0,
-    "is_cdrom": 1
+    "is_cdrom": 1,
+    "direct_io_safe": false
 }
 
 EOF
@@ -142,7 +146,8 @@ disk: {
     "script": null,
     "removable": 1,
     "readwrite": 0,
-    "is_cdrom": 1
+    "is_cdrom": 1,
+    "direct_io_safe": false
 }
 
 EOF
@@ -160,7 +165,8 @@ disk: {
     "script": "block-iscsi",
     "removable": 0,
     "readwrite": 1,
-    "is_cdrom": 0
+    "is_cdrom": 0,
+    "direct_io_safe": false
 }
 
 EOF
@@ -180,7 +186,8 @@ disk: {
     "script": "block-drbd",
     "removable": 0,
     "readwrite": 1,
-    "is_cdrom": 0
+    "is_cdrom": 0,
+    "direct_io_safe": false
 }
 
 EOF