* Netboot test suite: PXE instead of qemu -kernel?
@ 2009-06-23 17:11 Warren Togami
[not found] ` <4A410CA4.8030506-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Warren Togami @ 2009-06-23 17:11 UTC (permalink / raw)
To: <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Just a quick thought.
The netboot tests currently create a server and client qemu image.
Why are we using -kernel and -initrd on the client-side qemu? Wouldn't
testing PXE with the dhcp + tftp server on the server-side be more
realistic?
Additionally we could use -net tap* instead of -net socket, which would
allow brctl setfd of a large value like 20 seconds to simulate the link
delay in the test suite.
Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Netboot test suite: PXE instead of qemu -kernel?
[not found] ` <4A410CA4.8030506-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2009-06-24 4:50 ` David Dillow
[not found] ` <1245819018.18861.3.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: David Dillow @ 2009-06-24 4:50 UTC (permalink / raw)
To: Warren Togami; +Cc: <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
On Tue, 2009-06-23 at 13:11 -0400, Warren Togami wrote:
> Why are we using -kernel and -initrd on the client-side qemu? Wouldn't
> testing PXE with the dhcp + tftp server on the server-side be more
> realistic?
Yes, but I don't know that it buys us much other than giving us BOOTIF,
which we can test by adding it to the test command line. It slows down
the boot process, and means you have to have more software installed to
run the test suite -- a minor point, but something to consider.
> Additionally we could use -net tap* instead of -net socket, which would
> allow brctl setfd of a large value like 20 seconds to simulate the link
> delay in the test suite.
There is merit here, but I think we probably need to have a separate
test suite to check the ip= option parsing. I haven't thought much how
it should be done, other than it seems like we could use a pre-mount
hook to check the configuration without needing to actually mount a real
root.
If we have that test suite, then doing PXE boot or emulating BOOTIF=
seems like a good idea. And I'd rather add a 20+ second delay to one or
two tests here rather than every network root test we do.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Netboot test suite: PXE instead of qemu -kernel?
[not found] ` <1245819018.18861.3.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
@ 2009-06-24 6:53 ` Seewer Philippe
0 siblings, 0 replies; 3+ messages in thread
From: Seewer Philippe @ 2009-06-24 6:53 UTC (permalink / raw)
To: David Dillow
Cc: Warren Togami,
<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
David Dillow wrote:
[snip]
>> Additionally we could use -net tap* instead of -net socket, which would
>> allow brctl setfd of a large value like 20 seconds to simulate the link
>> delay in the test suite.
>
> There is merit here, but I think we probably need to have a separate
> test suite to check the ip= option parsing. I haven't thought much how
> it should be done, other than it seems like we could use a pre-mount
> hook to check the configuration without needing to actually mount a real
> root.
>
> If we have that test suite, then doing PXE boot or emulating BOOTIF=
> seems like a good idea. And I'd rather add a 20+ second delay to one or
> two tests here rather than every network root test we do.
I used an ugly copy of the nfs test suite to test ip= options handling.
I'll try to make time this evening to clean it up and post it.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-24 6:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 17:11 Netboot test suite: PXE instead of qemu -kernel? Warren Togami
[not found] ` <4A410CA4.8030506-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-24 4:50 ` David Dillow
[not found] ` <1245819018.18861.3.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org>
2009-06-24 6:53 ` Seewer Philippe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.