From: Robert Ho <robert...@intel.com> For nested cases, nested host can inherit its host's property for dhcp watch setup and ether_prefix property setup.
Signed-off-by: Robert Ho <robert...@intel.com> Tested-by: Robert Ho <robert...@intel.com> Acked-by: Ian Campbell <ian.campb...@citrix.com> --- v15: New patch --- Osstest/TestSupport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index cb496d2..32f2956 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -735,7 +735,7 @@ sub lv_dev_mapper ($$) { sub dhcp_watch_setup ($$) { my ($ho,$gho) = @_; - my $meth = get_host_property($ho,'dhcp-watch-method',undef); + my $meth = get_target_property($ho,'dhcp-watch-method',undef); $gho->{DhcpWatch} = get_host_method_object($ho, 'DhcpWatch', $meth); } @@ -1583,7 +1583,7 @@ sub target_choose_vg ($$) { sub ether_prefix($) { my ($ho) = @_; - my $prefix = get_host_property($ho, 'gen-ether-prefix-base'); + my $prefix = get_target_property($ho, 'gen-ether-prefix-base'); $prefix =~ m/^(\w+:\w+):(\w+):(\w+)$/ or die "$prefix ?"; my $lhs = $1; my $pv = (hex($2)<<8) | (hex($3)); -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel