Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72307
b: refs/heads/master
c: 01ed08c
h: refs/heads/master
i:
  72305: 2669b8f
  72303: d2b217e
v: v3
  • Loading branch information
Veljkovic Srdjan authored and Wim Van Sebroeck committed Oct 23, 2007
1 parent 4bb57c6 commit 9d9965c
Show file tree
Hide file tree
Showing 221 changed files with 5,645 additions and 7,465 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2024da603978882d102a34d47828a205fffb338e
refs/heads/master: 01ed08c14de6933e9f29ba3359a46598dae6f5b7
8 changes: 3 additions & 5 deletions trunk/Documentation/filesystems/9p.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@ OPTIONS

trans=name select an alternative transport. Valid options are
currently:
unix - specifying a named pipe mount point
tcp - specifying a normal TCP/IP connection
fd - used passed file descriptors for connection
unix - specifying a named pipe mount point
tcp - specifying a normal TCP/IP connection
fd - used passed file descriptors for connection
(see rfdno and wfdno)
virtio - connect to the next virtio channel available
(from lguest or KVM with trans_virtio module)

uname=name user name to attempt mount as on the remote server. The
server may override or ignore this value. Certain user
Expand Down
26 changes: 23 additions & 3 deletions trunk/Documentation/lguest/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
# This creates the demonstration utility "lguest" which runs a Linux guest.
CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include

# For those people that have a separate object dir, look there for .config
KBUILD_OUTPUT := ../..
ifdef O
ifeq ("$(origin O)", "command line")
KBUILD_OUTPUT := $(O)
endif
endif
# We rely on CONFIG_PAGE_OFFSET to know where to put lguest binary.
include $(KBUILD_OUTPUT)/.config
LGUEST_GUEST_TOP := ($(CONFIG_PAGE_OFFSET) - 0x08000000)

CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -Wl,-T,lguest.lds
LDLIBS:=-lz
# Removing this works for some versions of ld.so (eg. Ubuntu Feisty) and
# not others (eg. FC7).
LDFLAGS+=-static
all: lguest.lds lguest

all: lguest
# The linker script on x86 is so complex the only way of creating one
# which will link our binary in the right place is to mangle the
# default one.
lguest.lds:
$(LD) --verbose | awk '/^==========/ { PRINT=1; next; } /SIZEOF_HEADERS/ { gsub(/0x[0-9A-F]*/, "$(LGUEST_GUEST_TOP)") } { if (PRINT) print $$0; }' > $@

clean:
rm -f lguest
rm -f lguest.lds lguest
Loading

0 comments on commit 9d9965c

Please sign in to comment.