From 1e6aa57f2a81cd4b2e162b463636ba9abc223865 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 7 Aug 2020 10:32:37 +0300 Subject: 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. [optional scope]: [optional body] [optional footer(s)] --- create-vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-vm b/create-vm index c4d645f..ecb760a 100755 --- a/create-vm +++ b/create-vm @@ -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" \ -- cgit v1.2.1