[virt-tools-list] [virt-install PATCH 7/7] DO NOT MERGE: showcase a functional SEV cmdline in a simple script
Erik Skultety
eskultet at redhat.com
Thu Jun 6 10:00:45 UTC 2019
Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
virt-install-sev.sh | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 virt-install-sev.sh
diff --git a/virt-install-sev.sh b/virt-install-sev.sh
new file mode 100644
index 00000000..2ffcdfb1
--- /dev/null
+++ b/virt-install-sev.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+./virt-install \
+ --connect qemu+ssh://sev-box/system
+ --disk path=/var/lib/libvirt/images/test.qcow2,target.bus=scsi,size=15 \
+ --name test \
+ --boot uefi \
+ --machine q35 \
+ --memory 4096 \
+ --cdrom /var/lib/libvirt/images/f-server-30.iso \
+ --memtune hard_limit=5242880 \
+ --controller type=scsi,model=virtio-scsi,driver.iommu=on \
+ --controller type=virtio-serial,driver.iommu=on \
+ --network network=default,model=virtio,driver.iommu=on \
+ --memballoon driver.iommu=on \
+ --rng backend=/dev/urandom,driver.iommu=on \
+ --launch-security sev \
+ --os-variant fedora30 \
+ --noautoconsole
--
2.20.1
More information about the virt-tools-list
mailing list