diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index d96f851e..99e94740 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -1161,8 +1161,10 @@ class QubesVm(object): args['dns2'] = self.secondary_dns args['netmask'] = self.netmask args['netdev'] = self._format_net_dev(self.ip, self.mac, self.netvm.name) - args['disable_network1'] = ''; - args['disable_network2'] = ''; + args['network_begin'] = '' + args['network_end'] = '' + args['no_network_begin'] = '' else: args['ip'] = '' args['mac'] = '' @@ -1171,8 +1173,10 @@ class QubesVm(object): args['dns2'] = '' args['netmask'] = '' args['netdev'] = '' - args['disable_network1'] = ''; + args['network_begin'] = '' + args['no_network_begin'] = '' + args['no_network_end'] = '' args.update(self.storage.get_config_params()) if hasattr(self, 'kernelopts'): args['kernelopts'] = self.kernelopts diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 84e106ba..4d5ad834 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -57,7 +57,7 @@ Requires: libvirt-python %if x%{?backend_vmm} == xxen Requires: xen-runtime Requires: xen-hvm -Requires: libvirt-daemon-xen >= 1.2.12-3 +Requires: libvirt-daemon-xen >= 1.2.20-4 %endif Requires: createrepo Requires: gnome-packagekit diff --git a/vm-config/xen-vm-template-hvm.xml b/vm-config/xen-vm-template-hvm.xml index 13431b33..1b6b5089 100644 --- a/vm-config/xen-vm-template-hvm.xml +++ b/vm-config/xen-vm-template-hvm.xml @@ -9,7 +9,6 @@ hvmloader - {disable_network1}-net lwip,client_ip={ip},server_ip={dns2},dns={dns1},gw={gateway},netmask={netmask}{disable_network2} @@ -22,7 +21,8 @@ destroy destroy - + {no_network_begin}{no_network_end} + {network_begin}{network_end} {rootdev} {privatedev} {otherdevs}