dom0/core: pass all args of QubesDom0NetVm constructor to base class

This commit is contained in:
Marek Marczykowski 2013-01-17 01:01:18 +01:00
parent 623e4ab8cc
commit a2d387bebc

View File

@ -2126,12 +2126,13 @@ class QubesProxyVm(QubesNetVm):
xs.write('', "/local/domain/{0}/qubes_iptables".format(self.get_xid()), 'reload')
class QubesDom0NetVm(QubesNetVm):
def __init__(self):
def __init__(self, **kwargs):
super(QubesDom0NetVm, self).__init__(qid=0, name="dom0", netid=0,
dir_path=None,
private_img = None,
template = None,
label = default_template_label)
label = default_template_label,
**kwargs)
self.xid = 0
def is_running(self):