diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-08-07 10:32:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-08-07 10:33:43 +0300 |
commit | 1e6aa57f2a81cd4b2e162b463636ba9abc223865 (patch) | |
tree | 1487314ee369af0a553904f51f494a1fe22739e0 | |
parent | 5db5edd48626aec755065edea3859f187410ca84 (diff) | |
download | ansibleness-1e6aa57f2a81cd4b2e162b463636ba9abc223865.tar.gz |
fix: create-vm to use --cpu=host-passthrough
This lets my VM host with a new AMD CPU created a VM that supports
nested VMs.
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
-rwxr-xr-x | create-vm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ virt-install --connect qemu:///system \ --quiet \ --name="$name" \ --memory=1024 \ - --cpu=host \ + --cpu=host-passthrough \ --import \ --os-variant=debian9 \ --disk="path=$lvpath,cache=none" \ |