Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
qemu: Move from pc-lite to pc machine type
Browse files Browse the repository at this point in the history
This patch modifies the default configuration provided through the
Makefile so that our runtime will use "pc" machine type for our
Qemu hypervisor. This change implies that we have to use vmlinuz
which is the compressed kernel expected by the BIOS run by "pc"
machine type.

Fixes #329

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
  • Loading branch information
Sebastien Boeuf committed Aug 10, 2017
1 parent 7c7832d commit 8a38fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ PKGLIBDIR := $(LOCALSTATEDIR)/lib/$(CCDIR)
PKGRUNDIR := $(LOCALSTATEDIR)/run/$(CCDIR)
PKGLIBEXECDIR := $(LIBEXECDIR)/$(CCDIR)

KERNELPATH := $(PKGDATADIR)/vmlinux.container
KERNELPATH := $(PKGDATADIR)/vmlinuz.container
IMAGEPATH := $(PKGDATADIR)/clear-containers.img

KERNELPARAMS :=
Expand All @@ -81,7 +81,7 @@ QEMUCMD := qemu-lite-system-x86_64
endif

QEMUPATH := $(QEMUBINDIR)/$(QEMUCMD)
MACHINETYPE := pc-lite
MACHINETYPE := pc

SHIMCMD := cc-shim
SHIMPATH := $(PKGLIBEXECDIR)/$(SHIMCMD)
Expand Down

0 comments on commit 8a38fa7

Please sign in to comment.