Messages in this thread | | | Subject | Re: [PATCH 3/5] KVM: selftests: Fix hex vs. decimal snafu in Xen test | From | "Woodhouse, David" <> | Date | Wed, 10 Feb 2021 20:54:57 +0000 |
| |
On Wed, 2021-02-10 at 10:26 -0800, Sean Christopherson wrote: > The Xen shinfo selftest uses '40' when setting the GPA of the vCPU info > struct, but checks for the result at '0x40'. Arbitrarily use the hex > version to resolve the bug. > > Fixes: 8d4e7e80838f ("KVM: x86: declare Xen HVM shared info capability and add test case") > Cc: David Woodhouse <dwmw@amazon.co.uk> > Signed-off-by: Sean Christopherson <seanjc@google.com>
Oops, sorry about that. I'm actually kind of impressed that that not only worked for me every time I tested it, but also IIRC it actually *failed* for me on all the occasions I expected it to fail.
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Amazon Development Centre (London) Ltd. Registered in England and Wales with registration number 04543232 with its registered office at 1 Principal Place, Worship Street, London EC2A 2FA, United Kingdom.
| |