[Top][All Lists]

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

Re: [PATCH v2] target/i386: seg_helper: Correct segement selector nullif

From: Paolo Bonzini
Subject: Re: [PATCH v2] target/i386: seg_helper: Correct segement selector nullification in the RET/IRET helper
Date: Tue, 17 Nov 2020 12:06:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

On 17/11/20 11:08, Bin Meng wrote:
I see.  Is there any chance you could write a testcase for
kvm-unit-tests?  Or just explain how to write such a test, and then I
can write it myself; it's not clear to me how the guest can observe the
base and limit of a non-present segment.

I am not familiar with kvm-unit-test. The original issue cannot be
reproduced with a KVM enabled QEMU as the codes-in-flaw is in the
emulation path.

kvm-unit-tests, despite the name, is a set generic tests for CPU behavior; it works with other accelerators that QEMU supports including the emulation path. You can find it at https://gitlab.com/kvm-unit-tests/kvm-unit-tests.

If you explain in enough detail how VxWorks triggers the bug, I can take care of writing the test.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]