[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 09/17] more_prepareguest_hvm: Honour guest runvar dmrestrict



Currently nothing sets this.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 Osstest/TestSupport.pm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index d8ed02d..c843902 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -2066,6 +2066,10 @@ END
         $cfg .= "device_model_version='$devmodel'\n";
     }
 
+    if (guest_var_boolean($gho, 'dmrestrict')) {
+        $cfg .= "dm_restrict=1\n";
+    }
+
     my $bios = $xopts{'Bios'};
     if (defined $bios) {
         $cfg .= "bios='$bios'\n";
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.