summaryrefslogtreecommitdiff
path: root/target/x86_64/qemu-x86_64/genimage.cfg
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-02-06 01:06:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-06 01:06:54 +0100
commitb1f2caa3651aeb6db3701a207b228e70f44646c9 (patch)
tree5bcc6d755c07bc4030efeb952216ffe487708f86 /target/x86_64/qemu-x86_64/genimage.cfg
parent0906d4acb286d0584a8f1c15bb1c3077502b0f6d (diff)
add different genimage configs for PC Bios and EFI
Diffstat (limited to 'target/x86_64/qemu-x86_64/genimage.cfg')
-rw-r--r--target/x86_64/qemu-x86_64/genimage.cfg21
1 files changed, 10 insertions, 11 deletions
diff --git a/target/x86_64/qemu-x86_64/genimage.cfg b/target/x86_64/qemu-x86_64/genimage.cfg
index a59d75e47..0b8992731 100644
--- a/target/x86_64/qemu-x86_64/genimage.cfg
+++ b/target/x86_64/qemu-x86_64/genimage.cfg
@@ -1,20 +1,19 @@
-image efi-part.vfat {
- vfat {
- file EFI {
- image = "efi-part/EFI"
- }
- }
- size = 32M
-}
-
image disk.img {
hdimage {
}
partition boot {
- partition-type = 0xEF
- image = "efi-part.vfat"
+ in-partition-table = "no"
+ image = "boot.img"
+ offset = 0
+ size = 512
+ }
+
+ partition grub {
+ in-partition-table = "no"
+ image = "grub.img"
+ offset = 512
}
partition root {