diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-25 14:25:01 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-25 14:54:32 +0200 |
commit | a924304f8e6aea47e3f98e1b2a37b17b5f295a09 (patch) | |
tree | 20666652431fcf8963edd9c077ece46474e9aef1 /linuxboot.c | |
parent | bac3766d3d0912bb8dc40ee8f6d0cc54e37c4db6 (diff) | |
download | qboot-a924304f8e6aea47e3f98e1b2a37b17b5f295a09.zip qboot-a924304f8e6aea47e3f98e1b2a37b17b5f295a09.tar.gz qboot-a924304f8e6aea47e3f98e1b2a37b17b5f295a09.tar.bz2 |
boot multiboot from fw_cfg
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linuxboot.c')
-rw-r--r-- | linuxboot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linuxboot.c b/linuxboot.c index 0e7fe37..65b5936 100644 --- a/linuxboot.c +++ b/linuxboot.c @@ -40,8 +40,9 @@ bool parse_bzimage(struct linuxboot_args *args) if (ldl_p(header+0x202) == 0x53726448) protocol = lduw_p(header+0x206); else { - // if (parse_multiboot(&args)) return; - protocol = 0; + /* assume multiboot. TODO: scan for header */ + return false; + // protocol = 0; } if (protocol < 0x200 || !(header[0x211] & 0x01)) { |