From a2d387bebc9a02b35a43ac10d6fdf893b46403bd Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 17 Jan 2013 01:01:18 +0100 Subject: [PATCH] dom0/core: pass all args of QubesDom0NetVm constructor to base class --- dom0/qvm-core/qubes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 41cfe25d..671ff84f 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -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):