Re: [PATCH 0/3] Emulator fuzz tester

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux