[DRE-commits] [vagrant-libvirt] 23/67: Allow to use nested virtualization again

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:56:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.14
in repository vagrant-libvirt.

commit 9bedd452ca5794672ef8804793409c2657fac207
Author: KalabiYau <skullzeek at gmail.com>
Date:   Tue Dec 10 16:43:26 2013 +0100

    Allow to use nested virtualization again
---
 README.md                                    | 2 ++
 lib/vagrant-libvirt/templates/domain.xml.erb | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 66080bc..c57c1a4 100644
--- a/README.md
+++ b/README.md
@@ -308,6 +308,8 @@ Now you can use bundler to execute Vagrant:
 $ bundle exec vagrant up --provider=libvirt
 ```
 
+IMPORTANT NOTE: bundle is crucial. You need to use bundled vagrant.
+
 ## Contributing
 
 1. Fork it
diff --git a/lib/vagrant-libvirt/templates/domain.xml.erb b/lib/vagrant-libvirt/templates/domain.xml.erb
index f8a7820..bf477d1 100644
--- a/lib/vagrant-libvirt/templates/domain.xml.erb
+++ b/lib/vagrant-libvirt/templates/domain.xml.erb
@@ -4,8 +4,8 @@
   <vcpu><%= @cpus %></vcpu>
 
   <% if @nested %>
-    <cpu mode='host-passthrough'>
-      <model fallback='allow'>qemu64</model>
+    <cpu mode='host-model'>
+      <model fallback='allow'>qemu64</model>>
       <feature policy='optional' name='vmx'/>
       <feature policy='optional' name='svm'/>
     </cpu>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list