[PATCH kvm-unit-tests] x86: fix last commit

2015-07-30 Thread Paolo Bonzini
Keeping the selector that was loaded from the 32-bit GDT is okay, because only code segment descriptors differ between 32- and 64-bit mode. In fact the same is true for %ss as well, so let's just remove the whole segment loading from load_tss. Thanks to Bandan Das for debugging. Reported-by: Shi

Re: [PATCH kvm-unit-tests] x86: fix last commit

2015-08-01 Thread Shih-Wei Li
Hi Paolo, I've tried to apply the patch, and found that it passed most of the problematic tests I mentioned earlier (IPI related, kvmclock_test). However, it stopped still at "s3" and couldn't finish it. Do you know what might go wrong? Thanks, Shih-Wei On Thu, Jul 30, 2015 at 9:38 AM, Paolo Bon

Re: [PATCH kvm-unit-tests] x86: fix last commit

2015-08-01 Thread Bandan Das
Shih-Wei Li writes: > Hi Paolo, > > I've tried to apply the patch, and found that it passed most of the > problematic tests I mentioned earlier (IPI related, kvmclock_test). > However, it stopped still at "s3" and couldn't finish it. Do you know > what might go wrong? Nothing is wrong, that's th

Re: [PATCH kvm-unit-tests] x86: fix last commit

2015-08-01 Thread Paolo Bonzini
On 01/08/2015 21:05, Bandan Das wrote: > Shih-Wei Li writes: > >> Hi Paolo, >> >> I've tried to apply the patch, and found that it passed most of the >> problematic tests I mentioned earlier (IPI related, kvmclock_test). >> However, it stopped still at "s3" and couldn't finish it. Do you know >

Re: [PATCH kvm-unit-tests] x86: fix last commit

2015-08-01 Thread Bandan Das
Paolo Bonzini writes: > On 01/08/2015 21:05, Bandan Das wrote: >> Shih-Wei Li writes: >> >>> Hi Paolo, >>> >>> I've tried to apply the patch, and found that it passed most of the >>> problematic tests I mentioned earlier (IPI related, kvmclock_test). >>> However, it stopped still at "s3" and co

Re: [PATCH kvm-unit-tests] x86: fix last commit

2015-08-01 Thread Shih-Wei Li
Thanks, Paolo! It works for me too. On Sat, Aug 1, 2015 at 5:20 PM, Bandan Das wrote: > Paolo Bonzini writes: > >> On 01/08/2015 21:05, Bandan Das wrote: >>> Shih-Wei Li writes: >>> Hi Paolo, I've tried to apply the patch, and found that it passed most of the problematic tes

Re: [PATCH kvm-unit-tests] x86: fix last commit

2015-08-02 Thread Paolo Bonzini
On 01/08/2015 23:20, Bandan Das wrote: >> > Actually it should be using the RTC alarm to wake itself up. But the >> > firmware changed recently and the ACPI PMBASE moved from 0xb000 to >> > 0x600. Try this (untested): > Ah thanks! your patch works for me. Is this one of the static entries in >