From: Avi Kivity <avi@redhat.com>
To: Lucas Meneghel Rodrigues <lmr@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm@vger.kernel.org
Subject: Re: [PATCH 0/3] Emulator fuzz tester
Date: Mon, 29 Aug 2011 15:05:03 +0300 [thread overview]
Message-ID: <4E5B806F.2000706@redhat.com> (raw)
In-Reply-To: <4E56E4B7.1020703@redhat.com>
On 08/26/2011 03:11 AM, Lucas Meneghel Rodrigues wrote:
>> Lucas, how would we go about integrating this into kvm-autotest?
>
>
> I have applied the 3 patches on your latest tree, compiled the kernel
> but I'm having trouble in running the test the way you described.
>
> One thing I've noticed here: I can only compile the test as a kernel
> module, not in the kernel image (menuconfig only gives me
> (N/m/?). So I believe there's no way to test it the way you have
> described... In any case I did try what you have suggested, then the
> kernel panics due to the lack of a filesystem/init. After some
> reading, I learned to create a bogus fs with a bogus init in it, but
> still, the test does not run (I guess it's because the test module is
> not compiled into the bzImage).
>
> I assume there are some details you forgot to mention to get this
> done... Would you mind posting a more detailed procedure?
The module depends on KVM, so if that is a module, then you can only
build the test as a module. If you set CONFIG_KVM=y then you'll be able
to build the fuzzer in.
The simplest kernel you can build is probably
make defconfig
set CONFIG_KVM=y
set CONFIG_KVM_EMULATOR_TEST=y
Note there is no need to build kvm-intel or kvm-amd for that.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2011-08-29 12:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 13:41 [PATCH 0/3] Emulator fuzz tester Avi Kivity
2011-08-22 13:41 ` [PATCH 1/3] KVM: x86 emulator: make prototype of ->write_std() the same as ->write_emulated Avi Kivity
2011-08-22 13:41 ` [PATCH 2/3] KVM: x86 emulator: export main interface Avi Kivity
2011-08-22 13:41 ` [PATCH 3/3] KVM: x86 emulator: fuzz tester Avi Kivity
2011-08-25 16:27 ` Marcelo Tosatti
2011-08-25 19:04 ` Avi Kivity
2011-08-29 12:42 ` Avi Kivity
2011-08-25 22:17 ` Lucas Meneghel Rodrigues
2011-08-29 12:01 ` Avi Kivity
2011-08-25 19:07 ` [PATCH 0/3] Emulator " Lucas Meneghel Rodrigues
2011-08-26 0:11 ` Lucas Meneghel Rodrigues
2011-08-29 12:05 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5B806F.2000706@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=lmr@redhat.com \
--cc=mtosatti@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.