aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@gmail.com>2017-10-31 12:20:12 -0500
committerBrijesh Singh <brijesh.singh@gmail.com>2017-10-31 12:20:12 -0500
commit6bd0f47a1a85c64c560b4338058f23261c1e87ba (patch)
treef3ee842a04a0755ea537c1b762ce7307918c830e
parent9ec202a99c54a2c1c753bf0365b87671341c0eb7 (diff)
downloadcachepc-amdsev-6bd0f47a1a85c64c560b4338058f23261c1e87ba.tar.gz
cachepc-amdsev-6bd0f47a1a85c64c560b4338058f23261c1e87ba.zip
Updates:
* build.sh: install libelf-dev required to build kernel * README: disable virtio device when preparing the guest OS image becase older version of kernel does not support DMA APIs for the virtio devices
-rw-r--r--README2
-rwxr-xr-xbuild.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 950dc61..f90630d 100644
--- a/README
+++ b/README
@@ -28,7 +28,7 @@ Prepare guest OS
# cd /home/user/AMDSEV/output/qemu-output
# qemu-img create -f qcow2 ubuntu-img.qcow2 30G (create empty qcow2 file)
-# sudo ./launch-qemu.sh -hda ubuntu-img.qcow2 -nosev -cdrom <your_iso_image> -vnc 1
+# sudo ./launch-qemu.sh -hda ubuntu-img.qcow2 -nosev -cdrom <your_iso_image> -vnc 1 -novirtio
The installer GUI can be accessed via vnc port 1. Follow the installation screen
to complete the installation and reboot the guest with newly installed image.
diff --git a/build.sh b/build.sh
index 2072a84..db09890 100755
--- a/build.sh
+++ b/build.sh
@@ -104,7 +104,7 @@ build_qemu()
dep_install ()
{
# install the build dependencies
- run_cmd "sudo apt-get -y install git build-essential zlib1g-dev libglib2.0-dev libpixman-1-dev uuid-dev nasm bison acpica-tools libncurses5-dev libssl-dev fakeroot dpkg-dev"
+ run_cmd "sudo apt-get -y install git build-essential zlib1g-dev libglib2.0-dev libpixman-1-dev uuid-dev nasm bison acpica-tools libncurses5-dev libssl-dev fakeroot dpkg-dev bc libelf-dev"
}
dep_install