dom0/core: fix QubesVM.gateway

To be consistent with QubesNetVM, where gateway property contain gateway IP for
_other_ VMs, in non-network-provider VM it should be empty.
这个提交包含在:
Marek Marczykowski 2012-06-05 19:57:19 +02:00
父节点 1a8682ace3
当前提交 aea8d189f0

查看文件

@ -427,10 +427,8 @@ class QubesVm(object):
@property
def gateway(self):
if self.netvm is not None:
return self.netvm.gateway
else:
return None
# This is gateway IP for _other_ VMs, so make sense only in NetVMs
return None
@property
def secondary_dns(self):