Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-f…
Browse files Browse the repository at this point in the history
…or-linus

* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
  lguest: allow booting guest with CONFIG_RELOCATABLE=y
  virtio: Add text copy of spec to Documentation/virtual.
  • Loading branch information
Linus Torvalds committed Aug 15, 2011
2 parents 6f02bfc + e22a539 commit 2f6a123
Show file tree
Hide file tree
Showing 3 changed files with 2,206 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/virtual/00-INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ lguest/
- Extremely simple hypervisor for experimental/educational use.
uml/
- User Mode Linux, builds/runs Linux kernel as a userspace program.
virtio.txt
- Text version of draft virtio spec.
See http://ozlabs.org/~rusty/virtio-spec
3 changes: 3 additions & 0 deletions Documentation/virtual/lguest/lguest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1996,6 +1996,9 @@ int main(int argc, char *argv[])
/* We use a simple helper to copy the arguments separated by spaces. */
concat((char *)(boot + 1), argv+optind+2);

/* Set kernel alignment to 16M (CONFIG_PHYSICAL_ALIGN) */
boot->hdr.kernel_alignment = 0x1000000;

/* Boot protocol version: 2.07 supports the fields for lguest. */
boot->hdr.version = 0x207;

Expand Down
Loading

0 comments on commit 2f6a123

Please sign in to comment.