Commit 5a793aa3 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a3907113
...@@ -30,11 +30,14 @@ test -z "$kernel" && kernel=arch/$arch/boot/bzImage ...@@ -30,11 +30,14 @@ test -z "$kernel" && kernel=arch/$arch/boot/bzImage
# http://stackoverflow.com/questions/11408041/kernel-debugging-with-gdb-and-qemu # http://stackoverflow.com/questions/11408041/kernel-debugging-with-gdb-and-qemu
qemu-system-$arch \ qemu-system-$arch \
-enable-kvm \ -enable-kvm \
\
-nographic \
\ \
-fsdev local,id=R,path=/,security_model=none,readonly \ -fsdev local,id=R,path=/,security_model=none,readonly \
-device virtio-9p-pci,fsdev=R,mount_tag=/dev/root \ -device virtio-9p-pci,fsdev=R,mount_tag=/dev/root \
\ \
-kernel $kernel \ -kernel $kernel \
-append "ro rootfstype=9p rootflags=trans=virtio console=ttyS0 init=/bin/sh" -append "ro rootfstype=9p rootflags=trans=virtio console=ttyS0 init=/home/kirr/init.sh"
# \
# -nographic \
...@@ -187,7 +187,7 @@ def test_bigfile_empty(): ...@@ -187,7 +187,7 @@ def test_bigfile_empty():
# commit data to f and make sure we can see it on wcfs # commit data to f and make sure we can see it on wcfs
hole = 10 hole = 1 # XXX -> back to 10
fh = f.fileh_open() fh = f.fileh_open()
vma = fh.mmap(hole, 1) # 1 page at offset=10 vma = fh.mmap(hole, 1) # 1 page at offset=10
s = b"hello world" s = b"hello world"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment