Re: [PATCH] x86: fix pte_flags() to only return flags, fix lguest (updated)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rusty Russell
Date: Tuesday, July 22, 2008 - 5:59 pm

On Tuesday 22 July 2008 19:04:32 Ingo Molnar wrote:

Well, adding "make -C Documentation/lguest" to the build is a good start (this 
finds those "e820.h not longer includable from userspace" bugs).

Secondly, if you put the resulting Documentation/lguest/lguest somewhere on 
your booting test machine, it can just do something like

	./lguest 64 /boot/vmlinuz-`uname -r` | grep 'VFS: Unable to mount root'

Won't quite test userspace, but it's easy and will get the worst breakage.
If we want to be more ambitious, I'd suggest a tiny initrd with a 
statically-linked /hello_world to test userspace:

	./lguest --initrd=/boot/hello_world.initrd 64 /boot/vmlinuz-`uname -r` \
		rdinit=/hello_world | grep 'Hello world'

I can create one (and test the example) for you if you're interested?

Thanks,
Rusty.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86: fix pte_flags() to only return flags, fix ..., Jeremy Fitzhardinge, (Mon Jul 21, 9:49 pm)
Re: [PATCH] x86: fix pte_flags() to only return flags, fix ..., Jeremy Fitzhardinge, (Mon Jul 21, 9:51 pm)
[PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Jeremy Fitzhardinge, (Mon Jul 21, 10:59 pm)
[PATCH 2/2] x86: add PTE_FLAGS_MASK, Jeremy Fitzhardinge, (Mon Jul 21, 10:59 pm)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Ingo Molnar, (Tue Jul 22, 1:36 am)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Rusty Russell, (Tue Jul 22, 3:58 am)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Ingo Molnar, (Tue Jul 22, 4:55 am)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Johannes Weiner, (Tue Jul 22, 6:03 am)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Jeremy Fitzhardinge, (Tue Jul 22, 7:52 am)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Johannes Weiner, (Tue Jul 22, 8:18 am)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Johannes Weiner, (Tue Jul 22, 8:23 am)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Ingo Molnar, (Tue Jul 22, 8:33 am)
Re: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK, Johannes Weiner, (Tue Jul 22, 8:43 am)
Re: [PATCH] x86: fix pte_flags() to only return flags, fix ..., Rusty Russell, (Tue Jul 22, 5:59 pm)