Store netvm domid in FwVM.

This commit is contained in:
Tomasz Sterna 2011-03-09 20:38:14 +01:00
parent 58a4b4c82b
commit afbdfe8ae4

View File

@ -989,6 +989,10 @@ class QubesFirewallVm(QubesNetVm):
return
super(QubesFirewallVm, self).create_xenstore_entries(xid)
retcode = subprocess.check_call ([
"/usr/bin/xenstore-write",
"/local/domain/{0}/qubes_netvm_domid".format(xid),
"{0}".format(self.netvm_vm.get_xid())])
retcode = subprocess.check_call ([
"/usr/bin/xenstore-write",
"/local/domain/{0}/qubes_iptables_error".format(xid),