Skip to content

Commit

Permalink
kvm2: Switch to CPU passthrough mode by default
Browse files Browse the repository at this point in the history
With passthrough mode we can enable KVM nesting for guests.

Fixes #2553

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
  • Loading branch information
fabiand authored and dlorenc committed Feb 22, 2018
1 parent b08b8ab commit ee58133
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/drivers/kvm/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const domainTmpl = `
<apic/>
<pae/>
</features>
<cpu mode='host-passthrough'/>
<os>
<type>hvm</type>
<boot dev='cdrom'/>
Expand Down

0 comments on commit ee58133

Please sign in to comment.