Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

From: Xiao Guangrong
Date: Wed Jul 17 2013 - 15:52:55 EST



On Jul 18, 2013, at 3:31 AM, Gleb Natapov <gleb@xxxxxxxxxx> wrote:

> On Thu, Jul 18, 2013 at 03:07:11AM +0800, Xiao Guangrong wrote:
>> Ouch!
>>
>> The guest is hang when boot from ubuntu iso, i bisected the code and found it is caused by:
>>
>> cad55f1aed000db46dfd1b5706707f33624d8604 is the first bad commit
>> commit cad55f1aed000db46dfd1b5706707f33624d8604
>> Author: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
>> Date: Wed Jul 3 16:30:53 2013 +0200
>>
>> KVM: kvm-io: support cookies
>>
>> Add new functions kvm_io_bus_{read,write}_cookie() that allows users of
>> the kvm io infrastructure to use a cookie value to speed up lookup of a
>> device on an io bus.
>>
>> Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
>> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
>>
>> Now, i have reset the code behind this commit and continue to install the guest…...
>>
> You are on an old queue branch (the commit was never in next). I fixed it not long time ago. Can you
> pull?

Yes. The issue is gone after update the code. Thank you, Gleb!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/