Re: [PATCH] KVM: VMX: Update instruction length on intercepted BP

Avi Kivity
2010-02-15T06:48:25Z

On 02/14/2010 07:06 PM, Jan Kiszka wrote:
>
>> The autotest people (Lucas copied) are generally good at adding tests,
>> so all we need to do is (a) add a test case to
>> qemu-kvm.git:kvm/user/test (b) indicate to the autotest people how to
>> build and run this thing.
>>
> I wonder if it requires a stand-alone test. So far I'm testing the guest
> side via gdb installed in some Linux image. We need to interact with gdb
> anyway to test guest debugging, so this would just add another instance
> and some indirection (via serial console or ssh into the guest).
>

Scripting gdb is perfectly fine, don't know why I thought of the unit
tests. These are more suitable to test the guest debugging itself.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.