Xiao Guangrong dd180b3e90 KVM: VMX: fix tlb flush with invalid root
Commit 341d9b535b6c simplify reload logic while entry guest mode, it
can avoid unnecessary sync-root if KVM_REQ_MMU_RELOAD and
KVM_REQ_MMU_SYNC both set.

But, it cause a issue that when we handle 'KVM_REQ_TLB_FLUSH', the
root is invalid, it is triggered during my test:

Kernel BUG at ffffffffa00212b8 [verbose debug info unavailable]
......

Fixed by directly return if the root is not ready.

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2010-08-02 06:40:16 +03:00
..
2010-03-14 20:58:38 -04:00
2010-04-06 15:52:11 -07:00
2010-04-28 17:25:53 -07:00
2009-12-05 09:10:12 -08:00
2010-02-16 21:22:26 -08:00
2010-05-07 17:13:04 -07:00
2010-08-01 10:35:48 +03:00
2010-03-10 13:23:34 +01:00
2010-04-30 12:19:53 +02:00
2010-03-01 12:36:01 -03:00
2010-05-20 21:04:25 -05:00
2010-01-05 15:34:49 +09:00
2010-05-07 17:13:04 -07:00
2010-02-12 09:42:39 -08:00
2010-01-22 16:05:42 -08:00
2010-03-12 15:52:32 -08:00
2010-03-12 15:52:32 -08:00
2010-06-18 14:16:31 -07:00
2010-03-12 15:52:32 -08:00
2010-03-12 15:52:32 -08:00
2010-08-01 10:46:31 +03:00