Skip to content

Commit

Permalink
vm: make vm.hvm=True by default
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jun 5, 2017
1 parent 5d3204c commit 1ed0b14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qubes/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
defaults = {
'libvirt_uri': 'xen:///',
'memory': 400,
'hvm_memory': 512,
'hvm_memory': 400,
'kernelopts': "nopat",
'kernelopts_pcidevs': "nopat iommu=soft swiotlb=8192",

Expand Down
2 changes: 1 addition & 1 deletion qubes/tests/vm/qubesvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_131_label_invalid(self):

def test_150_hvm(self):
vm = self.get_vm()
self._test_generic_bool_property(vm, 'hvm')
self._test_generic_bool_property(vm, 'hvm', default=True)

def test_160_memory(self):
vm = self.get_vm()
Expand Down
2 changes: 1 addition & 1 deletion qubes/vm/qubesvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):

hvm = qubes.property('hvm',
type=bool, setter=qubes.property.bool,
default=False,
default=True,
doc='''Use full virtualisation (HVM) for this qube,
instead of paravirtualisation (PV)''')

Expand Down

0 comments on commit 1ed0b14

Please sign in to comment.